cvs: phpdoc /en/reference/strings/functions sscanf.xml

From: Date: Wed, 16 Nov 2005 12:52:50 +0000
Subject: cvs: phpdoc /en/reference/strings/functions sscanf.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370881@lists.php.net to get a copy of this message
vrana Wed Nov 16 07:52:50 2005 EDT Modified files: /phpdoc/en/reference/strings/functions sscanf.xml Log: Fix example http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/sscanf.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc/en/reference/strings/functions/sscanf.xml diff -u phpdoc/en/reference/strings/functions/sscanf.xml:1.13 phpdoc/en/reference/strings/functions/sscanf.xml:1.14 --- phpdoc/en/reference/strings/functions/sscanf.xml:1.13 Sun Jan 30 17:41:49 2005 +++ phpdoc/en/reference/strings/functions/sscanf.xml Wed Nov 16 07:52:34 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.33 --> <refentry id="function.sscanf"> <refnamediv> @@ -39,7 +39,7 @@ <![CDATA[ <?php // getting the serial number -$serial = sscanf("SN/2350001", "SN/%d"); +list($serial) = sscanf("SN/2350001", "SN/%d"); // and the date of manufacturing $mandate = "January 01 2000"; list($month, $day, $year) = sscanf($mandate, "%s %d %d");

« previous php.doc (#969370881) next »