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

From: Date: Mon, 16 Aug 2004 15:25:19 +0000
Subject: cvs: phpdoc-hu /reference/var/functions is-array.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-1029@lists.php.net to get a copy of this message
cece Mon Aug 16 11:25:19 2004 EDT Modified files: /phpdoc-hu/reference/var/functions is-array.xml Log: sync http://cvs.php.net/diff.php/phpdoc-hu/reference/var/functions/is-array.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-hu/reference/var/functions/is-array.xml diff -u phpdoc-hu/reference/var/functions/is-array.xml:1.2 phpdoc-hu/reference/var/functions/is-array.xml:1.3 --- phpdoc-hu/reference/var/functions/is-array.xml:1.2 Wed Apr 17 02:58:11 2002 +++ phpdoc-hu/reference/var/functions/is-array.xml Mon Aug 16 11:25:18 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-array' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: goba Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: goba Status: ready --> <!-- OLD-Revision: 1.104/EN.1.2 --> <refentry id="function.is-array"> <refnamediv> @@ -19,7 +19,33 @@ tömb, &false; értéket ad egyébként. </para> <para> - Lásd még + <example> + <title>Változók vizsgálata: tömb-e vagy sem?</title> + <programlisting role="php"> +<![CDATA[ +<?php +$ez_az = array('ez', 'egy', 'tömb'); + +echo is_array($ez_az) ? 'tömb' : 'nem tömb'; +echo "\n"; + +$nem_az = 'ez egy szöveg'; + +echo is_array($nem_az) ? 'tömb' : 'nem tömb'; +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +tömb +nem tömb +]]> + </screen> + </example> + </para> + <para> + Lásd még: <function>is_float</function>, <function>is_int</function>, <function>is_integer</function>,

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