cvs: phpdoc /en/reference/var/functions unset.xml
| From: | Kalle Sommer Nielsen | Date: | Tue, 12 Aug 2008 22:19:44 +0000 |
| Subject: | cvs: phpdoc /en/reference/var/functions unset.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2025@lists.php.net to get a copy of this message | ||
kalle Tue Aug 12 22:19:44 2008 UTC
Modified files:
/phpdoc/en/reference/var/functions unset.xml
Log:
Fixed example -- Cheers Felipe
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/unset.xml?r1=1.19&r2=1.20&diff_format=u
Index: phpdoc/en/reference/var/functions/unset.xml
diff -u phpdoc/en/reference/var/functions/unset.xml:1.19
phpdoc/en/reference/var/functions/unset.xml:1.20
--- phpdoc/en/reference/var/functions/unset.xml:1.19 Tue Aug 12 22:06:41 2008
+++ phpdoc/en/reference/var/functions/unset.xml Tue Aug 12 22:19:44 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
+<!-- $Revision: 1.20 $ -->
<refentry xml:id="function.unset" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>unset</refname>
@@ -241,11 +241,9 @@
<programlisting role="php">
<![CDATA[
<?php
-$words = Array('foo', 'bar', 'baz', 'void');
+$name = 'Felipe';
-(unset) $words[3];
-
-var_dump($words);
+var_dump((unset) $name);
?>
]]>
</programlisting>