cvs: phpdoc /en/internals2/ze1/zendapi arguments.xml copy-constructor.xml creating.xml structure.xml variables.xml

From: Date: Fri, 17 Apr 2009 09:23:02 +0000
Subject: cvs: phpdoc /en/internals2/ze1/zendapi arguments.xml copy-constructor.xml creating.xml structure.xml variables.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3769@lists.php.net to get a copy of this message
bjori Fri Apr 17 09:23:02 2009 UTC Modified files: /phpdoc/en/internals2/ze1/zendapi arguments.xml copy-constructor.xml creating.xml structure.xml variables.xml Log: Don't escape & in CDATA sections http://cvs.php.net/viewvc.cgi/phpdoc/en/internals2/ze1/zendapi/arguments.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/internals2/ze1/zendapi/arguments.xml diff -u phpdoc/en/internals2/ze1/zendapi/arguments.xml:1.9 phpdoc/en/internals2/ze1/zendapi/arguments.xml:1.10 --- phpdoc/en/internals2/ze1/zendapi/arguments.xml:1.9 Tue Feb 17 09:49:32 2009 +++ phpdoc/en/internals2/ze1/zendapi/arguments.xml Fri Apr 17 09:23:02 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.9 $ --> + <!-- $Revision: 1.10 $ --> <sect2 xml:id="internals2.ze1.zendapi.arguments" xmlns="http://docbook.org/ns/docbook"> <title>Accepting Arguments</title> <para> @@ -917,7 +917,7 @@ to a write-safe state: <programlisting role="c"> <![CDATA[ -my_function(&amp;$parameter); +my_function(&$parameter); ]]> </programlisting> </para> http://cvs.php.net/viewvc.cgi/phpdoc/en/internals2/ze1/zendapi/copy-constructor.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/internals2/ze1/zendapi/copy-constructor.xml diff -u phpdoc/en/internals2/ze1/zendapi/copy-constructor.xml:1.2 phpdoc/en/internals2/ze1/zendapi/copy-constructor.xml:1.3 --- phpdoc/en/internals2/ze1/zendapi/copy-constructor.xml:1.2 Wed Jun 20 22:39:09 2007 +++ phpdoc/en/internals2/ze1/zendapi/copy-constructor.xml Fri Apr 17 09:23:02 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.2 $ --> + <!-- $Revision: 1.3 $ --> <sect2 xml:id="internals2.ze1.zendapi.copy-constructor" xmlns="http://docbook.org/ns/docbook"> <title>Duplicating Variable Contents: The Copy Constructor</title> <para> @@ -51,7 +51,7 @@ <![CDATA[ zval *parameter; -if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &amp;parameter) == FAILURE) +if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &parameter) == FAILURE) return; } http://cvs.php.net/viewvc.cgi/phpdoc/en/internals2/ze1/zendapi/creating.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/internals2/ze1/zendapi/creating.xml diff -u phpdoc/en/internals2/ze1/zendapi/creating.xml:1.3 phpdoc/en/internals2/ze1/zendapi/creating.xml:1.4 --- phpdoc/en/internals2/ze1/zendapi/creating.xml:1.3 Thu Nov 1 16:40:36 2007 +++ phpdoc/en/internals2/ze1/zendapi/creating.xml Fri Apr 17 09:23:02 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.3 $ --> + <!-- $Revision: 1.4 $ --> <sect2 xml:id="internals2.ze1.zendapi.creating" xmlns="http://docbook.org/ns/docbook"> <title>Creating Extensions</title> <para> @@ -49,7 +49,7 @@ { long parameter; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &amp;parameter) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &parameter) == FAILURE) { return; } http://cvs.php.net/viewvc.cgi/phpdoc/en/internals2/ze1/zendapi/structure.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/internals2/ze1/zendapi/structure.xml diff -u phpdoc/en/internals2/ze1/zendapi/structure.xml:1.2 phpdoc/en/internals2/ze1/zendapi/structure.xml:1.3 --- phpdoc/en/internals2/ze1/zendapi/structure.xml:1.2 Wed Jun 20 22:39:09 2007 +++ phpdoc/en/internals2/ze1/zendapi/structure.xml Fri Apr 17 09:23:02 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.2 $ --> + <!-- $Revision: 1.3 $ --> <sect2 xml:id="internals2.ze1.zendapi.structure" xmlns="http://docbook.org/ns/docbook"> <title>Source Discussion</title> <para> @@ -674,7 +674,7 @@ { long parameter; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &amp;parameter) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &parameter) == FAILURE) { return; } http://cvs.php.net/viewvc.cgi/phpdoc/en/internals2/ze1/zendapi/variables.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/internals2/ze1/zendapi/variables.xml diff -u phpdoc/en/internals2/ze1/zendapi/variables.xml:1.7 phpdoc/en/internals2/ze1/zendapi/variables.xml:1.8 --- phpdoc/en/internals2/ze1/zendapi/variables.xml:1.7 Tue Feb 17 09:49:32 2009 +++ phpdoc/en/internals2/ze1/zendapi/variables.xml Fri Apr 17 09:23:02 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- $Revision: 1.7 $ --> + <!-- $Revision: 1.8 $ --> <sect2 xml:id="internals2.ze1.zendapi.variables" xmlns="http://docbook.org/ns/docbook"> <title>Creating Variables</title> <para> @@ -84,7 +84,7 @@ EG(active_symbol_table), "new_variable_name", strlen("new_variable_name") + 1, - &amp;new_variable, + &new_variable, sizeof(zval *), NULL ); @@ -109,7 +109,7 @@ // // introduce this variable by the name "new_variable_name" into the global symbol table -ZEND_SET_SYMBOL(&amp;EG(symbol_table), "new_variable_name", new_variable); +ZEND_SET_SYMBOL(&EG(symbol_table), "new_variable_name", new_variable); ]]> </programlisting> The macro <literal>ZEND_SET_SYMBOL</literal> is now being @@ -140,10 +140,10 @@ // introduce this variable by the name "new_variable_name" into the global symbol table zend_hash_update( - &amp;EG(symbol_table), + &EG(symbol_table), "new_variable_name", strlen("new_variable_name") + 1, - &amp;new_variable, + &new_variable, sizeof(zval *), NULL ); @@ -174,7 +174,7 @@ ZVAL_LONG(new_var2, 5); ZEND_SET_SYMBOL(EG(active_symbol_table), "local_variable", new_var1); - ZEND_SET_SYMBOL(&amp;EG(symbol_table), "global_variable", new_var2); + ZEND_SET_SYMBOL(&EG(symbol_table), "global_variable", new_var2); RETURN_NULL(); @@ -598,7 +598,7 @@ ZVAL_LONG(new_element, 10); -if(zend_hash_update(new_array-&gt;value.ht, key, strlen(key) + 1, (void *)&amp;new_element, sizeof(zval *), NULL) == FAILURE) +if(zend_hash_update(new_array-&gt;value.ht, key, strlen(key) + 1, (void *)&new_element, sizeof(zval *), NULL) == FAILURE) { // do error handling here } @@ -619,7 +619,7 @@ ZVAL_LONG(new_element, 10); -if(zend_hash_index_update(new_array-&gt;value.ht, key, (void *)&amp;new_element, sizeof(zval *), NULL) == FAILURE) +if(zend_hash_index_update(new_array-&gt;value.ht, key, (void *)&new_element, sizeof(zval *), NULL) == FAILURE) { // do error handling here }

« previous php.doc.cvs (#3769) next »