svn: /phpdoc/it/trunk/reference/misc/functions/ halt-compiler.xml

From: Date: Tue, 09 Aug 2016 16:49:22 +0000
Subject: svn: /phpdoc/it/trunk/reference/misc/functions/ halt-compiler.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-2016@lists.php.net to get a copy of this message
pastore Tue, 09 Aug 2016 16:49:22 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339832 Log: Sync with EN Changed paths: A phpdoc/it/trunk/reference/misc/functions/halt-compiler.xml Added: phpdoc/it/trunk/reference/misc/functions/halt-compiler.xml =================================================================== --- phpdoc/it/trunk/reference/misc/functions/halt-compiler.xml (rev 0) +++ phpdoc/it/trunk/reference/misc/functions/halt-compiler.xml 2016-08-09 16:49:22 UTC (rev 339832) @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- EN-Revision: 297028 Maintainer: reghe Status: ready --> +<refentry xml:id="function.halt-compiler" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>__halt_compiler</refname> + <refpurpose> + Blocca l'esecuzione del compilatore. + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>__halt_compiler</methodname> + <void/> + </methodsynopsis> + <para> + Blocca l'esecuzione del compilatore. Può essere utile per inserire dati + negli script PHP, come i file di installazione. + </para> + <para> + La posizione in byte iniziale dei dati può essere determinata dalla + costante <constant>__COMPILER_HALT_OFFSET__</constant> che viene definita + solo se è invocata la funzione <function>__halt_compiler</function> nel + file. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Esempio di <function>__halt_compiler</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +// open this file +$fp = fopen(__FILE__, 'r'); + +// seek file pointer to data +fseek($fp, __COMPILER_HALT_OFFSET__); + +// and output it +var_dump(stream_get_contents($fp)); + +// the end of the script execution +__halt_compiler(); the installation data (eg. tar, gz, PHP, etc.) +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + <function>__halt_compiler</function> può essere usata solo dallo scope + principale. + </para> + </note> + </refsect1> + +</refentry> + +<!-- 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/reference/misc/functions/halt-compiler.xml ___________________________________________________________________ Added: svn:eol-style + native Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL

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