Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43818 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47274 invoked from network); 30 Apr 2009 20:02:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2009 20:02:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 204.13.248.71 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 204.13.248.71 mho-01-ewr.mailhop.org Received: from [204.13.248.71] ([204.13.248.71:51986] helo=mho-01-ewr.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/72-32602-8E30AF94 for ; Thu, 30 Apr 2009 16:02:49 -0400 Received: from cs181029147.pp.htv.fi ([82.181.29.147] helo=[127.0.0.1]) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LzcT0-000Hah-82; Thu, 30 Apr 2009 20:02:46 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 82.181.29.147 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18+ADri6CDG2vGESpZ4o218EH3+A6sl7x4= Message-ID: <49FA03E6.3070103@sci.fi> Date: Thu, 30 Apr 2009 23:02:46 +0300 Reply-To: jani.taskinen@iki.fi User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Andrei Zmievski CC: PHP internals References: <49F9F0B3.1010401@gravitonic.com> In-Reply-To: <49F9F0B3.1010401@gravitonic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] rfc1867.c question From: jani.taskinen@sci.fi (Jani Taskinen) Andrei Zmievski kirjoitti: > Why do we have safe_php_register_variable() calls there with NULL for > track_vars_array? The underlying code simply returns if that parameter > is NULL. Is it an oversight or some legacy stuff? What branch and what lines? I checked PHP_5_2 and as far as I can tell, there is no such function that simply returns when passed track_vars_array is NULL.. Maybe HEAD is different, but that branch doesn't even compile so I don't really have time for it.. :) --Jani