cvs: phpdoc-hu /reference/var/functions is-scalar.xml

From: Date: Mon, 16 Aug 2004 15:30:19 +0000
Subject: cvs: phpdoc-hu /reference/var/functions is-scalar.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-1031@lists.php.net to get a copy of this message
cece Mon Aug 16 11:30:19 2004 EDT Modified files: /phpdoc-hu/reference/var/functions is-scalar.xml Log: sync http://cvs.php.net/diff.php/phpdoc-hu/reference/var/functions/is-scalar.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-hu/reference/var/functions/is-scalar.xml diff -u phpdoc-hu/reference/var/functions/is-scalar.xml:1.2 phpdoc-hu/reference/var/functions/is-scalar.xml:1.3 --- phpdoc-hu/reference/var/functions/is-scalar.xml:1.2 Wed Apr 17 02:58:11 2002 +++ phpdoc-hu/reference/var/functions/is-scalar.xml Mon Aug 16 11:30:19 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- splitted from ./hu/functions/var.xml, last change in rev 1.1 --> <!-- last change to 'is-scalar' in en/ tree in rev 1.35 --> -<!-- EN-Revision: 1.2 Maintainer: goba Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: goba Status: ready --> <!-- OLD-Revision: 1.104/EN.1.35 --> <refentry id="function.is-scalar"> <refnamediv> @@ -31,7 +31,9 @@ <!-- TODO: better example, this one can be quite misleading for unexperienced programmers. --> <![CDATA[ -function valtozo_kiiras($valtozo) { +<?php +function valtozo_kiiras($valtozo) +{ if (is_scalar($valtozo)) { echo $valtozo; } else { @@ -54,6 +56,7 @@ // [2]=> // string(10) "ferredoxin" // } +?> ]]> </programlisting> </informalexample>

« previous php.doc.hu (#1031) next »