cvs: phpdoc /en/reference/array/functions list.xml

From: Date: Mon, 30 Apr 2007 22:26:39 +0000
Subject: cvs: phpdoc /en/reference/array/functions list.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376215@lists.php.net to get a copy of this message
colder Mon Apr 30 22:26:39 2007 UTC Modified files: /phpdoc/en/reference/array/functions list.xml Log: Fix #41205 (As of PHP 5.2.2 list doesn't work on strings) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/array/functions/list.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc/en/reference/array/functions/list.xml diff -u phpdoc/en/reference/array/functions/list.xml:1.15 phpdoc/en/reference/array/functions/list.xml:1.16 --- phpdoc/en/reference/array/functions/list.xml:1.15 Tue Oct 31 11:24:01 2006 +++ phpdoc/en/reference/array/functions/list.xml Mon Apr 30 22:26:39 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.list"> <refnamediv> @@ -45,6 +45,9 @@ list( , , $power) = $info; echo "I need $power!\n"; +// list() doesn't work with strings +list($bar) = "abcde"; +var_dump($bar); // NULL ?> ]]> </programlisting>

« previous php.doc (#969376215) next »