cvs: phpdoc-zh /reference/filesystem/functions parse-ini-file.xml

From: Date: Sun, 14 Aug 2005 13:04:39 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions parse-ini-file.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2253@lists.php.net to get a copy of this message
lm92 Sun Aug 14 09:04:39 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions parse-ini-file.xml Log: updated to en version http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/parse-ini-file.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/parse-ini-file.xml diff -u phpdoc-zh/reference/filesystem/functions/parse-ini-file.xml:1.4 phpdoc-zh/reference/filesystem/functions/parse-ini-file.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/parse-ini-file.xml:1.4 Mon Aug 18 19:23:46 2003 +++ phpdoc-zh/reference/filesystem/functions/parse-ini-file.xml Sun Aug 14 09:04:36 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.14 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: lm92 $ --> +<!-- EN-Revision: 1.20 Maintainer: dallas Status: ready --> <refentry id="function.parse-ini-file"> <refnamediv> <refname>parse_ini_file</refname> @@ -17,7 +17,7 @@ <para> <function>parse_ini_file</function> ÔØÈëÒ»¸öÓÉ <parameter>filename</parameter> Ö¸¶¨µÄ ini - Îļþ£¬²¢½«ÆäÖеÄÉèÖÃ×÷Ϊһ¸ö½áºÏÊý×é·µ»Ø¡£Èç¹û½«×îºóµÄ + Îļþ£¬²¢½«ÆäÖеÄÉèÖÃ×÷Ϊһ¸öÁªºÏÊý×é·µ»Ø¡£Èç¹û½«×îºóµÄ <parameter>process_sections</parameter> ²ÎÊýÉèΪ &true;£¬½«µÃµ½Ò»¸ö¶àάÊý×飬°üÀ¨ÁËÅäÖÃÎļþÖÐÿһ½ÚµÄÃû³ÆºÍÉèÖá£<parameter>process_sections</parameter> µÄĬÈÏÖµÊÇ &false;¡£ @@ -40,8 +40,14 @@ </simpara> </note> <note> + <para> + ×Ô PHP 5.0 °æ±¾¿ªÊ¼£¬¸Ãº¯ÊýÒ²´¦ÀíÑ¡ÏîÖµÄÚµÄÐÂÐС£ + </para> + </note> + <note> <simpara> - ÓÐЩ±£Áô×Ö²»ÄÜ×÷Ϊ ini ÎļþÖеļüÃû£¬°üÀ¨£ºnull£¬yes£¬no£¬true ºÍ false¡£ + ÓÐЩ±£Áô×Ö²»ÄÜ×÷Ϊ ini ÎļþÖеļüÃû£¬°üÀ¨£ºnull£¬yes£¬no£¬true ºÍ false¡£×Ö·û + <literal>|&amp;~![()"</literal> Ò²²»ÄÜÓÃÔÚ¼üÃûµÄÈκεط½£¬¶øÇÒÕâЩ×Ö·ûÔÚÑ¡ÏîÖµÖÐÓÐ×ÅÌØÊâµÄÒâÒå¡£ </simpara> </note> <para> @@ -76,18 +82,18 @@ <para> <example> <title><function>parse_ini_file</function> Àý×Ó</title> - <programlisting> + <programlisting role="php"> <![CDATA[ <?php -define ('BIRD', 'Dodo bird'); +define('BIRD', 'Dodo bird'); // Parse without sections $ini_array = parse_ini_file("sample.ini"); print_r($ini_array); // Parse with sections -$ini_array = parse_ini_file("sample.ini", TRUE); +$ini_array = parse_ini_file("sample.ini", true); print_r($ini_array); ?> @@ -126,6 +132,10 @@ </screen> </example> </para> + <para> + ÓÉÊý×Ö×é³ÉµÄ¼üÃûºÍС½ÚÃû»á±» PHP µ±×÷ <link linkend="language.types.integer">integers</link> + À´´¦Àí£¬ËùÒÔÒÔ 0 ¿ªÍ·µÄÊý×ֻᱻµ±×÷°Ë½øÖƶøÒÔ 0x ¿ªÍ·µÄ»á±»µ±×÷Ê®Áù½øÖÆ¡£ + </para> </refsect1> </refentry>

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