Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42554 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74335 invoked from network); 11 Jan 2009 10:37:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2009 10:37:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:33227] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/CF-26912-00CC9694 for ; Sun, 11 Jan 2009 05:37:53 -0500 Received: from ws.home ([10.1.10.14]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 11 Jan 2009 12:38:38 +0200 Message-ID: <4969CBFB.1080500@zend.com> Date: Sun, 11 Jan 2009 13:37:47 +0300 User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Pierre Joye CC: PHP Developers Mailing List , Stanislav Malyshev References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Jan 2009 10:38:38.0707 (UTC) FILETIME=[C3836C30:01C973D8] Subject: Re: regression in the new parameter parsing API, 5.3 From: dmitry@zend.com (Dmitry Stogov) The provided example works fine for me on both Linux and Windows. Thanks. Dmitry. Pierre Joye wrote: > hi, > > The new parameter parser introduced a regression (testing with > 5.3-cvs) on how "z!" is processed. Example code: > > if (0) { > $authns = 1; > $addtl = 1; > } > $result = dns_get_record("php.net", DNS_ANY, $authns, $addtl); > print_r($result); > var_dump($authns); > var_dump($addtl); > > With 5.2, $authns and $addtl are correctly set (zval ptr is not NULL) > but 5.3 gives NULL. Sorry to do not try to fix it myself, I sadly lack > the time to take care of that right now. > > > Cheers,