cvs: phpdoc-zh /reference/datetime/functions mktime.xml strtotime.xml /reference/filesystem/functions feof.xml /reference/image/functions
imagefill.xml /reference/url/functions get-headers.xml
| From: | Dallas Thunder | Date: | Tue, 28 Feb 2006 04:47:19 +0000 |
| Subject: | cvs: phpdoc-zh /reference/datetime/functions mktime.xml strtotime.xml /reference/filesystem/functions feof.xml /reference/image/functions imagefill.xml /reference/url/functions get-headers.xml |
||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2798@lists.php.net to get a copy of this message | ||
dallas Tue Feb 28 04:47:19 2006 UTC
Modified files:
/phpdoc-zh/reference/datetime/functions mktime.xml strtotime.xml
/phpdoc-zh/reference/filesystem/functions feof.xml
/phpdoc-zh/reference/image/functions imagefill.xml
/phpdoc-zh/reference/url/functions get-headers.xml
Log:
Updated.
http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/datetime/functions/mktime.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-zh/reference/datetime/functions/mktime.xml
diff -u phpdoc-zh/reference/datetime/functions/mktime.xml:1.6
phpdoc-zh/reference/datetime/functions/mktime.xml:1.7
--- phpdoc-zh/reference/datetime/functions/mktime.xml:1.6 Tue Aug 30 20:32:22 2005
+++ phpdoc-zh/reference/datetime/functions/mktime.xml Tue Feb 28 04:47:19 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.20 Maintainer: dallas Status: ready -->
+<!-- EN-Revision: 1.21 Maintainer: dallas Status: ready -->
<refentry id="function.mktime">
<refnamediv>
<refname>mktime</refname>
@@ -115,7 +115,7 @@
&reftitle.returnvalues;
<para>
<function>mktime</function> ¸ù¾Ý¸ø³öµÄ²ÎÊý·µ»Ø Unix
-
ʱ¼ä´Á¡£Èç¹û²ÎÊý·Ç·¨£¨ÀýÈçÄ꣬Ô£¬ÈÕ¶¼ÊÇÁ㣩£¬±¾º¯Êý·µ»Ø
+ ʱ¼ä´Á¡£Èç¹û²ÎÊý·Ç·¨£¬±¾º¯Êý·µ»Ø
&false;£¨ÔÚ PHP 5.1 ֮ǰ·µ»Ø <literal>-1</literal>£©¡£
</para>
</refsect1>
@@ -140,7 +140,7 @@
<entry>5.1.0</entry>
<entry>
<parameter>is_dst</parameter>
²ÎÊý±»·ÏÆú¡£³ö´íʱº¯Êý·µ»Ø
- &false; ¶ø²»ÔÙÊÇ <literal>-1</literal>
+ &false; ¶ø²»ÔÙÊÇ
<literal>-1</literal>¡£ÐÞÕýÁ˱¾º¯Êý¿ÉÒÔ½ÓÊÜÄêÔÂÈÕ²ÎÊýȫΪÁã¡£
</entry>
</row>
</tbody>
http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/datetime/functions/strtotime.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-zh/reference/datetime/functions/strtotime.xml
diff -u phpdoc-zh/reference/datetime/functions/strtotime.xml:1.7
phpdoc-zh/reference/datetime/functions/strtotime.xml:1.8
--- phpdoc-zh/reference/datetime/functions/strtotime.xml:1.7 Sun Nov 27 04:17:57 2005
+++ phpdoc-zh/reference/datetime/functions/strtotime.xml Tue Feb 28 04:47:19 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.17 Maintainer: dallas Status: ready -->
+<!-- EN-Revision: 1.18 Maintainer: dallas Status: ready -->
<refentry id="function.strtotime">
<refnamediv>
<refname>strtotime</refname>
@@ -139,6 +139,11 @@
ºÍÆäËüÏà¶Ôʱ¼ä´Ó½ñÌìÎçÒ¹Æð´íÎó¼ÆËãÁË¡£ÕâºÍÕýÈ·´Óµ±Ç°Ê±¼äÆð¼ÆËãµÄÆäËü°æ±¾²»Í¬¡£
</para>
</warning>
+ <warning>
+ <para>
+ ÔÚ PHP 4.4 ֮ǰ£¬<literal>"next"</literal>
±»´íÎó¼ÆËãΪ +2¡£¶Ô´Ëͨ³£µÄ½â¾ö·½·¨ÊÇÓÃ
<literal>"+1"</literal>¡£
+ </para>
+ </warning>
<note>
<para>
ÓÐЧµÄʱ¼ä´Áͨ³£´Ó Fri, 13 Dec 1901 20:45:54 GMT µ½
http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/filesystem/functions/feof.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc-zh/reference/filesystem/functions/feof.xml
diff -u phpdoc-zh/reference/filesystem/functions/feof.xml:1.8
phpdoc-zh/reference/filesystem/functions/feof.xml:1.9
--- phpdoc-zh/reference/filesystem/functions/feof.xml:1.8 Tue Sep 20 21:43:04 2005
+++ phpdoc-zh/reference/filesystem/functions/feof.xml Tue Feb 28 04:47:19 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.11 Maintainer: dallas Status: ready -->
+<!-- EN-Revision: 1.12 Maintainer: dallas Status: ready -->
<refentry id="function.feof">
<refnamediv>
<refname>feof</refname>
@@ -42,7 +42,7 @@
fclose($file);
?>
-?]]>
+]]>
</programlisting>
</example>
</para>
http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/image/functions/imagefill.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-zh/reference/image/functions/imagefill.xml
diff -u phpdoc-zh/reference/image/functions/imagefill.xml:1.3
phpdoc-zh/reference/image/functions/imagefill.xml:1.4
--- phpdoc-zh/reference/image/functions/imagefill.xml:1.3 Sat Jan 14 04:09:24 2006
+++ phpdoc-zh/reference/image/functions/imagefill.xml Tue Feb 28 04:47:19 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready -->
+<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready -->
<refentry id="function.imagefill">
<refnamediv>
<refname>imagefill</refname>
@@ -29,12 +29,15 @@
<![CDATA[
<?php
-$im = imagecreatetruecolor('example.jpg', 100, 100);
+$im = imagecreatetruecolor(100, 100);
-// sets background to red
+// ½«±³¾°ÉèΪºìÉ«
$red = imagecolorallocate($im, 255, 0, 0);
imagefill($im, 0, 0, $red);
+header('Content-type: image/png');
+imagepng($im);
+imagedestroy($im);
?>
]]>
</programlisting>
http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/url/functions/get-headers.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-zh/reference/url/functions/get-headers.xml
diff -u phpdoc-zh/reference/url/functions/get-headers.xml:1.1
phpdoc-zh/reference/url/functions/get-headers.xml:1.2
--- phpdoc-zh/reference/url/functions/get-headers.xml:1.1 Sun Feb 5 00:47:02 2006
+++ phpdoc-zh/reference/url/functions/get-headers.xml Tue Feb 28 04:47:19 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready -->
+<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready -->
<refentry id="function.get-headers">
<refnamediv>
<refname>get_headers</refname>
@@ -21,8 +21,14 @@
</para>
<para>
Èç¹û½«¿ÉÑ¡µÄ <parameter>format</parameter> ²ÎÊýÉèΪ 1£¬Ôò
- <function>get_headers</function>
»á½âÎöÏìÓ¦µÄÐÅÏ¢²¢É趨Êý×éµÄ¼üÃû¡£
+ <function>get_headers</function>
»á½âÎöÏàÓ¦µÄÐÅÏ¢²¢É趨Êý×éµÄ¼üÃû¡£
</para>
+ <note>
+ <para>
+ ×Ô PHP 5.1.3 Æð±¾º¯ÊýʹÓÃĬÈϵÄÁ÷ÉÏÏÂÎÄ£¬Æä¿ÉÒÔÓÃ
<function>stream_context_get_default</function>
+ º¯ÊýÉ趨ºÍÐ޸ġ£
+ </para>
+ </note>
<para>
<example>
<title><function>get_headers</function> Àý×Ó</title>