cvs: phpdoc-zh /reference/var/functions settype.xml

From: Date: Mon, 16 Jun 2003 13:28:26 +0000
Subject: cvs: phpdoc-zh /reference/var/functions settype.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-1528@lists.php.net to get a copy of this message
nio Mon Jun 16 09:28:26 2003 EDT Modified files: /phpdoc-zh/reference/var/functions settype.xml Log: EN 1.5 Index: phpdoc-zh/reference/var/functions/settype.xml diff -u phpdoc-zh/reference/var/functions/settype.xml:1.1 phpdoc-zh/reference/var/functions/settype.xml:1.2 --- phpdoc-zh/reference/var/functions/settype.xml:1.1 Thu Jun 12 09:55:59 2003 +++ phpdoc-zh/reference/var/functions/settype.xml Mon Jun 16 09:28:26 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: nio $ --> -<!-- EN-Revision: 1.4 Maintainer: nio Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: nio Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> <refentry id="function.settype"> <refnamediv> @@ -67,11 +67,13 @@ <title><function>settype</function> ʾÀý</title> <programlisting role="php"> <![CDATA[ +<?php $foo = "5bar"; // string $bar = true; // boolean settype($foo, "integer"); // $foo ÏÖÔÚÊÇ 5 (integer) settype($bar, "string"); // $bar ÏÖÔÚÊÇ "1" (string) +?> ]]> </programlisting> </example>

« previous php.doc.zh (#1528) next »