cvs: phpdoc-zh /reference/var/functions is-scalar.xml
| From: | Krazy Nio | Date: | Mon, 16 Jun 2003 13:21:50 +0000 |
| Subject: | cvs: phpdoc-zh /reference/var/functions is-scalar.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1525@lists.php.net to get a copy of this message | ||
nio Mon Jun 16 09:21:50 2003 EDT
Modified files:
/phpdoc-zh/reference/var/functions is-scalar.xml
Log:
EN 1.3
Index: phpdoc-zh/reference/var/functions/is-scalar.xml
diff -u phpdoc-zh/reference/var/functions/is-scalar.xml:1.2
phpdoc-zh/reference/var/functions/is-scalar.xml:1.3
--- phpdoc-zh/reference/var/functions/is-scalar.xml:1.2 Tue May 20 09:29:22 2003
+++ phpdoc-zh/reference/var/functions/is-scalar.xml Mon Jun 16 09:21:50 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- $Author: nio $ -->
-<!-- EN-Revision: 1.2 Maintainer: nio Status: ready -->
+<!-- EN-Revision: 1.3 Maintainer: nio Status: ready -->
<!-- splitted from ./en/functions/var.xml, last change in rev 1.35 -->
<refentry id="function.is-scalar">
<refnamediv>
@@ -30,6 +30,7 @@
<!-- TODO: better example, this one can be quite misleading for unexperienced
programmers. -->
<![CDATA[
+<?php
function show_var($var) {
if (is_scalar($var)) {
echo $var;
@@ -53,6 +54,7 @@
// [2]=>
// string(10) "ferredoxin"
// }
+?>
]]>
</programlisting>
</informalexample>