mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@200598 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f61ed9a7f3
commit
52d438bd50
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue