Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42870 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74730 invoked from network); 28 Jan 2009 18:39:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2009 18:39:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=iammrdan@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=iammrdan@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.220.10 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iammrdan@googlemail.com X-Host-Fingerprint: 209.85.220.10 mail-fx0-f10.google.com Received: from [209.85.220.10] ([209.85.220.10:35813] helo=mail-fx0-f10.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/DB-08436-D56A0894 for ; Wed, 28 Jan 2009 13:39:26 -0500 Received: by fxm3 with SMTP id 3so1884759fxm.23 for ; Wed, 28 Jan 2009 10:39:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=TwN7BbssxK1JnmGIeOZEGFMgDh9QxdvASeqPaX/f+Cw=; b=hxqDj6T903suDElr67kYCrFQiYM/wXlXUhuRvRWv1lAYdUfBbAn9G7fi2fIv/cGvU0 pdQkSyJL8NvaXctE4EzRaB10zTqemfmU+O+lubIrrgvL+VyMTFfZ5QKXQPQHR2/3apnD j0VjhBLIN6HAud68anHTGd7N8hbuC2a7oLyl8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=TstcDjV44YXq6txV2H2edplIpUH9oILYKGN2QoWF6SqqgguN//7VxhC2Ffd5ZkK2QN AuC0VhFtF9BRfL+rQSx+WqvwwB7U8y1y9PGgkta8gG26S0rHvNC3MMSCQZ8y26ZZHOkX MDhuAEUMWpr6Y8cUbkUZWYYid7VK63rj1/at4= MIME-Version: 1.0 Sender: iammrdan@googlemail.com Received: by 10.223.124.137 with SMTP id u9mr2316755far.96.1233167962251; Wed, 28 Jan 2009 10:39:22 -0800 (PST) In-Reply-To: <498098D7.2080901@macvicar.net> References: <497E1FFB.5050404@gnat.ca> <497E5DF6.4060606@oracle.com> <1233063239.8505.10.camel@goldfinger> <497F37F8.6070407@gnat.ca> <49807F9E.4020401@pewasoft.com> <4980976D.60202@gnat.ca> <498098D7.2080901@macvicar.net> Date: Wed, 28 Jan 2009 18:39:22 +0000 X-Google-Sender-Auth: 027b303aa061f75f Message-ID: To: Scott MacVicar Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=001636c5acc156a1b304618f4adb Subject: Re: [PHP-DEV] substr passing null... From: dan@dancryer.com (Dan) --001636c5acc156a1b304618f4adb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > > You're assumption is wrong then, NULL isn't treated as not passing a > value. The reason it worked with substr was by pure chance. > Out of interest, is there a reason that that is the case? Surely passing null would be best treated as the same as passing nothing? --001636c5acc156a1b304618f4adb--