Re: svn: /phpdoc/en/trunk/reference/strings/functions/ addslashes.xml

From: Date: Tue, 09 Feb 2010 10:27:01 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/strings/functions/ addslashes.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6044@lists.php.net to get a copy of this message
On Tue, Feb 9, 2010 at 11:00, Yago Ferrer <yago@php.net> wrote: > yago                                     Tue, 09 Feb 2010 10:00:57 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=294791 > > Log: > typo in NULL > > Changed paths: >    U   phpdoc/en/trunk/reference/strings/functions/addslashes.xml > > Modified: phpdoc/en/trunk/reference/strings/functions/addslashes.xml > =================================================================== > --- phpdoc/en/trunk/reference/strings/functions/addslashes.xml  2010-02-09 06:38:18 UTC (rev > 294790) > +++ phpdoc/en/trunk/reference/strings/functions/addslashes.xml  2010-02-09 10:00:57 UTC (rev > 294791) > @@ -17,7 +17,7 @@ >    to be quoted in database queries etc.  These characters are >    single quote (<literal>'</literal>), double quote >    (<literal>"</literal>), backslash (<literal>\</literal>) > -   and NUL (the &null; byte). > +   and NULL (the &null; byte). This isn't a typo. There is a difference between a null byte and NULL. To make that fact clear it sometimes is spelled with a single L. NUL === chr(0) chr(0) != NULL -Hannes

« previous php.doc.cvs (#6044) next »