svn: /phpdoc/it/trunk/language/predefined/variables/ argc.xml

From: Date: Tue, 07 Apr 2015 12:24:26 +0000
Subject: svn: /phpdoc/it/trunk/language/predefined/variables/ argc.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-1831@lists.php.net to get a copy of this message
cucinato Tue, 07 Apr 2015 12:24:26 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=336430 Log: Sync with EN Changed paths: A phpdoc/it/trunk/language/predefined/variables/argc.xml Added: phpdoc/it/trunk/language/predefined/variables/argc.xml =================================================================== --- phpdoc/it/trunk/language/predefined/variables/argc.xml (rev 0) +++ phpdoc/it/trunk/language/predefined/variables/argc.xml 2015-04-07 12:24:26 UTC (rev 336430) @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- EN-Revision: 312956 Maintainer: Matteo Gazzeri Status: ready --> + +<phpdoc:varentry xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="reserved.variables.argc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>$argc</refname> + <refpurpose>Il numero degli argomenti passati allo script</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <para> + Contiene il numero degli argomenti passati allo script corrente quando si sta eseguendo + dalla <link linkend="features.commandline">linea di comando</link>. + </para> + <note> + <simpara> + Il nome del file dello script è sempre passato come un argomento allo script, per cui + il valore minimo di <varname>$argc</varname> è <literal>1</literal>. + </simpara> + </note> + <note> + <simpara> + Questa variabile non è disponibile quando <link linkend="ini.register-argc-argv">register_argc_argv</link> + è disabilitato. + </simpara> + </note> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example xml:id="variable.argc.basic"> + <title><varname>$argc</varname> esempio</title> + <programlisting role="php"> +<![CDATA[ +<?php +var_dump($argc); +?> +]]> + </programlisting> + <simpara> + Quando si esegue l'esempio con: php script.php arg1 arg2 arg3 + </simpara> + &example.outputs.similar; + <screen> +<![CDATA[ +int(4) +]]> + </screen> + </example> + </para> + </refsect1> + +</phpdoc:varentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + Property changes on: phpdoc/it/trunk/language/predefined/variables/argc.xml ___________________________________________________________________ Added: svn:eol-style + native Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL

« previous php.doc.it (#1831) next »