cvs: phpdoc /ja/appendices migration4.xml phpdevel.xml
| From: | Masaki Fujimoto | Date: | Tue, 11 Dec 2001 22:13:32 +0000 |
| Subject: | cvs: phpdoc /ja/appendices migration4.xml phpdevel.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969339639@lists.php.net to get a copy of this message | ||
fujimoto Tue Dec 11 17:13:32 2001 EDT
Modified files:
/phpdoc/ja/appendices migration4.xml phpdevel.xml
Log:
fixed escaped characters in CDATA section.
Index: phpdoc/ja/appendices/migration4.xml
diff -u phpdoc/ja/appendices/migration4.xml:1.8 phpdoc/ja/appendices/migration4.xml:1.9
--- phpdoc/ja/appendices/migration4.xml:1.8 Mon Dec 10 10:16:33 2001
+++ phpdoc/ja/appendices/migration4.xml Tue Dec 11 17:13:32 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<appendix id="migration4">
<title>PHP 3.0ããPHP 4.0ã¸ã®ç§»è¡</title>
@@ -74,8 +74,8 @@
<informalexample>
<programlisting role="apache">
<![CDATA[
-application/x-httpd-php3 --> application/x-httpd-php
-application/x-httpd-php3-source --> application/x-httpd-php-source
+application/x-httpd-php3 --> application/x-httpd-php
+application/x-httpd-php3-source --> application/x-httpd-php-source
]]>
</programlisting>
</informalexample>
Index: phpdoc/ja/appendices/phpdevel.xml
diff -u phpdoc/ja/appendices/phpdevel.xml:1.8 phpdoc/ja/appendices/phpdevel.xml:1.9
--- phpdoc/ja/appendices/phpdevel.xml:1.8 Mon Dec 10 10:16:33 2001
+++ phpdoc/ja/appendices/phpdevel.xml Tue Dec 11 17:13:32 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<appendix id="phpdevel">
<title>PHP ã®éçº</title>
@@ -36,7 +36,7 @@
<programlisting role="c">
<![CDATA[
pval *arg1, *arg2;
-if (ARG_COUNT(ht) != 2 || getParameters(ht,2,&arg1,&arg2)==FAILURE) {
+if (ARG_COUNT(ht) != 2 || getParameters(ht,2,&arg1,&arg2)==FAILURE) {
WRONG_PARAM_COUNT;
}
]]>
@@ -83,7 +83,7 @@
int arg_count = ARG_COUNT(ht);
if (arg_count < 2 || arg_count > 3 ||
- getParameters(ht,arg_count,&arg1,&arg2,&arg3)==FAILURE) {
+ getParameters(ht,arg_count,&arg1,&arg2,&arg3)==FAILURE) {
WRONG_PARAM_COUNT;
}
]]>
@@ -278,7 +278,7 @@
<title>ã·ã³ãã«ãã¼ãã«ã«ãã夿°ã®ãµã¤ãºã®èª¿ã¹æ¹</title>
<programlisting role="c">
<![CDATA[
-hash_find(active_symbol_table,"foo",sizeof("foo"),&pvalue);
+hash_find(active_symbol_table,"foo",sizeof("foo"),&pvalue);
check(pvalue.type);
]]>
</programlisting>
@@ -307,8 +307,8 @@
<![CDATA[
pval arr;
-if (array_init(&arr) == FAILURE) { failed... };
-hash_update(active_symbol_table,"foo",sizeof("foo"),&arr,sizeof(pval),NULL);
+if (array_init(&arr) == FAILURE) { failed... };
+hash_update(active_symbol_table,"foo",sizeof("foo"),&arr,sizeof(pval),NULL);
]]>
</programlisting>
</example>
@@ -329,15 +329,15 @@
entry.value.lval = 5;
/* $foo["bar"] = 5 ãå®ç¾©ãã */
-hash_update(arr.value.ht,"bar",sizeof("bar"),&entry,sizeof(pval),NULL);
+hash_update(arr.value.ht,"bar",sizeof("bar"),&entry,sizeof(pval),NULL);
/* $foo[7] = 5 ãå®ç¾©ãã */
-hash_index_update(arr.value.ht,7,&entry,sizeof(pval),NULL);
+hash_index_update(arr.value.ht,7,&entry,sizeof(pval),NULL);
/* $foo[]
ã«ãããæ¬¡ã®ç©ºãã¡ã¢ãªã¼ãã¤ã¾ã
$foo[8] ã 5 ã«å®ç¾©ãã
* (php2 ã¨åæ§ã«åä½ãã¾ã)
*/
-hash_next_index_insert(arr.value.ht,&entry,sizeof(pval),NULL);
+hash_next_index_insert(arr.value.ht,&entry,sizeof(pval),NULL);
]]>
</programlisting>
</example>
@@ -382,8 +382,8 @@
<![CDATA[
pval *arr;
-if (hash_find(active_symbol_table,"foo",sizeof("foo"),(void
**)&arr)==FAILURE) { can't find... }
-else { use arr->value.ht... }
+if (hash_find(active_symbol_table,"foo",sizeof("foo"),(void
**)&arr)==FAILURE) { can't find... }
+else { use arr->value.ht... }
]]>
</programlisting>
</para>
@@ -581,8 +581,8 @@
/*
...ãªã½ã¼ã¹ç¨ã®ã¡ã¢ãªã確ä¿ãããªã½ã¼ã¹ãç²å¾ãã¾ã...
*/
/*
æ°è¦ã®ãªã½ã¼ã¹ããªã¹ãã«è¿½å ãã¾ã
*/
-return_value->value.lval = php3_list_insert((void *) resource, LE_RESOURCE_TYPE);
-return_value->type = IS_LONG;
+return_value->value.lval = php3_list_insert((void *) resource, LE_RESOURCE_TYPE);
+return_value->type = IS_LONG;
]]>
</programlisting>
</example>
@@ -596,9 +596,9 @@
int type;
convert_to_long(resource_id);
-resource = php3_list_find(resource_id->value.lval, &type);
+resource = php3_list_find(resource_id->value.lval, &type);
if (type != LE_RESOURCE_TYPE) {
-php3_error(E_WARNING,"resource index %d has the wrong
type",resource_id->value.lval);
+php3_error(E_WARNING,"resource index %d has the wrong type",resource_id->value.lval);
RETURN_FALSE;
}
/* ...ãªã½ã¼ã¹ã使ç¨ãã¾ã... */
@@ -615,7 +615,7 @@
int type;
convert_to_long(resource_id);
-php3_list_delete(resource_id->value.lval);
+php3_list_delete(resource_id->value.lval);
]]>
</programlisting>
</example>