cvs: phpdoc /en/language/oop5 iterations.xml /en/reference/apd/functions apd-continue.xml apd-echo.xml /en/reference/array/functions
array-key-exists.xml /en/reference/classkit/functions classkit-method-remove.xml /en/reference/domxml/functions DomElement-get-attribute.xml
DomElement-has-attribute.xml /en/reference/errorfunc/functions set-exception-handler.xml /en/reference/ming/functions swfmovie.streammp3.xml
/en/reference/parsekit/functions parsekit-compile-file.xml parsekit-func-arginfo.xml /en/reference/soap/functions is-soap-fault.xml /en/security
database.xml
| From: | Jakub Vrana | Date: | Mon, 08 Nov 2004 12:10:21 +0000 |
| Subject: | cvs: phpdoc /en/language/oop5 iterations.xml /en/reference/apd/functions apd-continue.xml apd-echo.xml /en/reference/array/functions array-key-exists.xml /en/reference/classkit/functions classkit-method-remove.xml /en/reference/domxml/functions DomElement-get-attribute.xml DomElement-has-attribute.xml /en/reference/errorfunc/functions set-exception-handler.xml /en/reference/ming/functions swfmovie.streammp3.xml /en/reference/parsekit/functions parsekit-compile-file.xml parsekit-func-arginfo.xml /en/reference/soap/functions is-soap-fault.xml /en/security database.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969364939@lists.php.net to get a copy of this message | ||
vrana Mon Nov 8 07:10:21 2004 EDT
Modified files:
/phpdoc/en/language/oop5 iterations.xml
/phpdoc/en/reference/apd/functions apd-continue.xml apd-echo.xml
/phpdoc/en/reference/array/functions array-key-exists.xml
/phpdoc/en/reference/classkit/functions classkit-method-remove.xml
/phpdoc/en/reference/domxml/functions DomElement-get-attribute.xml
DomElement-has-attribute.xml
/phpdoc/en/reference/errorfunc/functions set-exception-handler.xml
/phpdoc/en/reference/ming/functions swfmovie.streammp3.xml
/phpdoc/en/reference/parsekit/functions parsekit-compile-file.xml
parsekit-func-arginfo.xml
/phpdoc/en/reference/soap/functions is-soap-fault.xml
/phpdoc/en/security database.xml
Log:
Nuke PHP syntax errors (including bug #30717)
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/iterations.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/language/oop5/iterations.xml diff -u phpdoc/en/language/oop5/iterations.xml:1.10 phpdoc/en/language/oop5/iterations.xml:1.11 --- phpdoc/en/language/oop5/iterations.xml:1.10 Wed Oct 27 22:54:15 2004 +++ phpdoc/en/language/oop5/iterations.xml Mon Nov 8 07:10:14 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <sect1 id="language.oop5.iterations"> <title>Object Iteration</title> <para> @@ -39,7 +39,7 @@ foreach($class as $key => $value) { print "$key => $value\n"; } -echo "\n" +echo "\n"; $class->iterateVisible(); http://cvs.php.net/diff.php/phpdoc/en/reference/apd/functions/apd-continue.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/apd/functions/apd-continue.xml diff -u phpdoc/en/reference/apd/functions/apd-continue.xml:1.4 phpdoc/en/reference/apd/functions/apd-continue.xml:1.5 --- phpdoc/en/reference/apd/functions/apd-continue.xml:1.4 Fri Aug 13 12:12:04 2004 +++ phpdoc/en/reference/apd/functions/apd-continue.xml Mon Nov 8 07:10:17 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> <refentry id="function.apd-continue"> <refnamediv> @@ -21,7 +21,7 @@ <programlisting role="php"> <![CDATA[ <?php ->apd_continue(0); +apd_continue(0); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc/en/reference/apd/functions/apd-echo.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/apd/functions/apd-echo.xml diff -u phpdoc/en/reference/apd/functions/apd-echo.xml:1.3 phpdoc/en/reference/apd/functions/apd-echo.xml:1.4 --- phpdoc/en/reference/apd/functions/apd-echo.xml:1.3 Thu Aug 19 08:14:45 2004 +++ phpdoc/en/reference/apd/functions/apd-echo.xml Mon Nov 8 07:10:18 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> <refentry id="function.apd-echo"> <refnamediv> @@ -22,7 +22,7 @@ <programlisting role="php"> <![CDATA[ <?php ->apd_echo($i); +apd_echo($i); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/array-key-exists.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/array/functions/array-key-exists.xml diff -u phpdoc/en/reference/array/functions/array-key-exists.xml:1.10 phpdoc/en/reference/array/functions/array-key-exists.xml:1.11 --- phpdoc/en/reference/array/functions/array-key-exists.xml:1.10 Wed Aug 4 08:08:12 2004 +++ phpdoc/en/reference/array/functions/array-key-exists.xml Mon Nov 8 07:10:18 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.119 --> <refentry id="function.array-key-exists"> <refnamediv> @@ -54,7 +54,7 @@ $search_array = array('first' => null, 'second' => 4); // returns false -isset($search_array['first']) +isset($search_array['first']); // returns true array_key_exists('first', $search_array); http://cvs.php.net/diff.php/phpdoc/en/reference/classkit/functions/classkit-method-remove.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/classkit/functions/classkit-method-remove.xml diff -u phpdoc/en/reference/classkit/functions/classkit-method-remove.xml:1.4 phpdoc/en/reference/classkit/functions/classkit-method-remove.xml:1.5 --- phpdoc/en/reference/classkit/functions/classkit-method-remove.xml:1.4 Wed Aug 25 00:33:52 2004 +++ phpdoc/en/reference/classkit/functions/classkit-method-remove.xml Mon Nov 8 07:10:18 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.classkit-method-remove"> <refnamediv> <refname>classkit_method_remove</refname> @@ -70,7 +70,6 @@ ); echo implode(' ', get_class_methods('Example')); -} ?> ]]> http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.7 phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.7 Mon Nov 1 11:22:46 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml Mon Nov 8 07:10:19 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.28 --> <refentry id='function.domelement-get-attribute'> <refnamediv> @@ -39,7 +39,7 @@ // get chapter $root = $dom->document_element(); -echo $root->get_attribute('language')); // en +echo $root->get_attribute('language'); // en ?> ]]> http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.6 phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.6 Mon Nov 1 11:22:47 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml Mon Nov 8 07:10:19 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domelement-has-attribute'> <refnamediv> @@ -34,7 +34,7 @@ $root = $dom->document_element(); -$buffer = '<html' +$buffer = '<html'; if ($root->has_attribute('language')) { $buffer .= 'lang="' . $root->get_attribute('language') . '"'; } http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml diff -u phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.3 phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.4 --- phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.3 Thu Aug 26 01:37:58 2004 +++ phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml Mon Nov 8 07:10:20 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.set-exception-handler"> <refnamediv> <refname>set_exception_handler</refname> @@ -76,6 +76,7 @@ throw new Exception('Uncaught Exception'); echo "Not Executed\n"; +?> ]]> </programlisting> </example> http://cvs.php.net/diff.php/phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml diff -u phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml:1.5 phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml:1.6 --- phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml:1.5 Wed Sep 22 04:19:30 2004 +++ phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml Mon Nov 8 07:10:20 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 --> <refentry id="function.swfmovie.streammp3"> <refnamediv> @@ -37,7 +37,7 @@ <?php $m = new SWFMovie(); $m->setRate(12.0); - $m->streamMp3(file_get_contents("distortobass.mp3"))); + $m->streamMp3(file_get_contents("distortobass.mp3")); // use your own MP3 // 11.85 seconds at 12.0 fps = 142 frames http://cvs.php.net/diff.php/phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml diff -u phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml:1.3 phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml:1.4 --- phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml:1.3 Thu Aug 26 17:48:21 2004 +++ phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml Mon Nov 8 07:10:20 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.parsekit-compile-file"> <refnamediv> <refname>parsekit_compile_file</refname> @@ -66,6 +66,7 @@ <![CDATA[ <?php var_dump(parsekit_compile_file('hello_world.php', $errors, PARSEKIT_SIMPLE)); +?> ]]> </programlisting> &example.outputs; http://cvs.php.net/diff.php/phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml diff -u phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml:1.2 phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml:1.3 --- phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml:1.2 Thu Aug 26 15:51:14 2004 +++ phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml Mon Nov 8 07:10:21 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="function.parsekit-func-arginfo"> <refnamediv> <refname>parsekit_func_arginfo</refname> @@ -47,6 +47,7 @@ } var_dump(parsekit_func_arginfo('foo')); +?> ]]> </programlisting> &example.outputs; http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/is-soap-fault.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/soap/functions/is-soap-fault.xml diff -u phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.6 phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.7 --- phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.6 Mon Aug 30 22:15:48 2004 +++ phpdoc/en/reference/soap/functions/is-soap-fault.xml Mon Nov 8 07:10:21 2004 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.is-soap-fault"> <refnamediv> <refname>is_soap_fault</refname> @@ -50,7 +50,7 @@ <?php try { $client = new SoapClient("some.wsdl"); - $result = $client->SomeFunction(...); + $result = $client->SomeFunction(/* ... */); } catch (SoapFault $fault) { trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_ERROR); } http://cvs.php.net/diff.php/phpdoc/en/security/database.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/security/database.xml diff -u phpdoc/en/security/database.xml:1.8 phpdoc/en/security/database.xml:1.9 --- phpdoc/en/security/database.xml:1.8 Thu Oct 28 10:25:50 2004 +++ phpdoc/en/security/database.xml Mon Nov 8 07:10:21 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./index.xml, last change in rev 1.66 --> <chapter id="security.database"> <title>Database Security</title> @@ -171,7 +171,7 @@ <![CDATA[ <?php -$offset = argv[0]; // beware, no input validation! +$offset = $argv[0]; // beware, no input validation! $query = "SELECT id, name FROM products ORDER BY name LIMIT 20 OFFSET $offset;"; // with PostgreSQL $result = pg_query($conn, $query);
http://cvs.php.net/diff.php/phpdoc/en/language/oop5/iterations.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/language/oop5/iterations.xml diff -u phpdoc/en/language/oop5/iterations.xml:1.10 phpdoc/en/language/oop5/iterations.xml:1.11 --- phpdoc/en/language/oop5/iterations.xml:1.10 Wed Oct 27 22:54:15 2004 +++ phpdoc/en/language/oop5/iterations.xml Mon Nov 8 07:10:14 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <sect1 id="language.oop5.iterations"> <title>Object Iteration</title> <para> @@ -39,7 +39,7 @@ foreach($class as $key => $value) { print "$key => $value\n"; } -echo "\n" +echo "\n"; $class->iterateVisible(); http://cvs.php.net/diff.php/phpdoc/en/reference/apd/functions/apd-continue.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/apd/functions/apd-continue.xml diff -u phpdoc/en/reference/apd/functions/apd-continue.xml:1.4 phpdoc/en/reference/apd/functions/apd-continue.xml:1.5 --- phpdoc/en/reference/apd/functions/apd-continue.xml:1.4 Fri Aug 13 12:12:04 2004 +++ phpdoc/en/reference/apd/functions/apd-continue.xml Mon Nov 8 07:10:17 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> <refentry id="function.apd-continue"> <refnamediv> @@ -21,7 +21,7 @@ <programlisting role="php"> <![CDATA[ <?php ->apd_continue(0); +apd_continue(0); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc/en/reference/apd/functions/apd-echo.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/apd/functions/apd-echo.xml diff -u phpdoc/en/reference/apd/functions/apd-echo.xml:1.3 phpdoc/en/reference/apd/functions/apd-echo.xml:1.4 --- phpdoc/en/reference/apd/functions/apd-echo.xml:1.3 Thu Aug 19 08:14:45 2004 +++ phpdoc/en/reference/apd/functions/apd-echo.xml Mon Nov 8 07:10:18 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/apd.xml, last change in rev 1.4 --> <refentry id="function.apd-echo"> <refnamediv> @@ -22,7 +22,7 @@ <programlisting role="php"> <![CDATA[ <?php ->apd_echo($i); +apd_echo($i); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/array-key-exists.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/array/functions/array-key-exists.xml diff -u phpdoc/en/reference/array/functions/array-key-exists.xml:1.10 phpdoc/en/reference/array/functions/array-key-exists.xml:1.11 --- phpdoc/en/reference/array/functions/array-key-exists.xml:1.10 Wed Aug 4 08:08:12 2004 +++ phpdoc/en/reference/array/functions/array-key-exists.xml Mon Nov 8 07:10:18 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.119 --> <refentry id="function.array-key-exists"> <refnamediv> @@ -54,7 +54,7 @@ $search_array = array('first' => null, 'second' => 4); // returns false -isset($search_array['first']) +isset($search_array['first']); // returns true array_key_exists('first', $search_array); http://cvs.php.net/diff.php/phpdoc/en/reference/classkit/functions/classkit-method-remove.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/classkit/functions/classkit-method-remove.xml diff -u phpdoc/en/reference/classkit/functions/classkit-method-remove.xml:1.4 phpdoc/en/reference/classkit/functions/classkit-method-remove.xml:1.5 --- phpdoc/en/reference/classkit/functions/classkit-method-remove.xml:1.4 Wed Aug 25 00:33:52 2004 +++ phpdoc/en/reference/classkit/functions/classkit-method-remove.xml Mon Nov 8 07:10:18 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.classkit-method-remove"> <refnamediv> <refname>classkit_method_remove</refname> @@ -70,7 +70,6 @@ ); echo implode(' ', get_class_methods('Example')); -} ?> ]]> http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.7 phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml:1.7 Mon Nov 1 11:22:46 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-get-attribute.xml Mon Nov 8 07:10:19 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.28 --> <refentry id='function.domelement-get-attribute'> <refnamediv> @@ -39,7 +39,7 @@ // get chapter $root = $dom->document_element(); -echo $root->get_attribute('language')); // en +echo $root->get_attribute('language'); // en ?> ]]> http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml diff -u phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.6 phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml:1.6 Mon Nov 1 11:22:47 2004 +++ phpdoc/en/reference/domxml/functions/DomElement-has-attribute.xml Mon Nov 8 07:10:19 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.domelement-has-attribute'> <refnamediv> @@ -34,7 +34,7 @@ $root = $dom->document_element(); -$buffer = '<html' +$buffer = '<html'; if ($root->has_attribute('language')) { $buffer .= 'lang="' . $root->get_attribute('language') . '"'; } http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml diff -u phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.3 phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.4 --- phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.3 Thu Aug 26 01:37:58 2004 +++ phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml Mon Nov 8 07:10:20 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.set-exception-handler"> <refnamediv> <refname>set_exception_handler</refname> @@ -76,6 +76,7 @@ throw new Exception('Uncaught Exception'); echo "Not Executed\n"; +?> ]]> </programlisting> </example> http://cvs.php.net/diff.php/phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml diff -u phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml:1.5 phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml:1.6 --- phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml:1.5 Wed Sep 22 04:19:30 2004 +++ phpdoc/en/reference/ming/functions/swfmovie.streammp3.xml Mon Nov 8 07:10:20 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 --> <refentry id="function.swfmovie.streammp3"> <refnamediv> @@ -37,7 +37,7 @@ <?php $m = new SWFMovie(); $m->setRate(12.0); - $m->streamMp3(file_get_contents("distortobass.mp3"))); + $m->streamMp3(file_get_contents("distortobass.mp3")); // use your own MP3 // 11.85 seconds at 12.0 fps = 142 frames http://cvs.php.net/diff.php/phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml diff -u phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml:1.3 phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml:1.4 --- phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml:1.3 Thu Aug 26 17:48:21 2004 +++ phpdoc/en/reference/parsekit/functions/parsekit-compile-file.xml Mon Nov 8 07:10:20 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.parsekit-compile-file"> <refnamediv> <refname>parsekit_compile_file</refname> @@ -66,6 +66,7 @@ <![CDATA[ <?php var_dump(parsekit_compile_file('hello_world.php', $errors, PARSEKIT_SIMPLE)); +?> ]]> </programlisting> &example.outputs; http://cvs.php.net/diff.php/phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml diff -u phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml:1.2 phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml:1.3 --- phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml:1.2 Thu Aug 26 15:51:14 2004 +++ phpdoc/en/reference/parsekit/functions/parsekit-func-arginfo.xml Mon Nov 8 07:10:21 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="function.parsekit-func-arginfo"> <refnamediv> <refname>parsekit_func_arginfo</refname> @@ -47,6 +47,7 @@ } var_dump(parsekit_func_arginfo('foo')); +?> ]]> </programlisting> &example.outputs; http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/is-soap-fault.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/soap/functions/is-soap-fault.xml diff -u phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.6 phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.7 --- phpdoc/en/reference/soap/functions/is-soap-fault.xml:1.6 Mon Aug 30 22:15:48 2004 +++ phpdoc/en/reference/soap/functions/is-soap-fault.xml Mon Nov 8 07:10:21 2004 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.is-soap-fault"> <refnamediv> <refname>is_soap_fault</refname> @@ -50,7 +50,7 @@ <?php try { $client = new SoapClient("some.wsdl"); - $result = $client->SomeFunction(...); + $result = $client->SomeFunction(/* ... */); } catch (SoapFault $fault) { trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_ERROR); } http://cvs.php.net/diff.php/phpdoc/en/security/database.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/security/database.xml diff -u phpdoc/en/security/database.xml:1.8 phpdoc/en/security/database.xml:1.9 --- phpdoc/en/security/database.xml:1.8 Thu Oct 28 10:25:50 2004 +++ phpdoc/en/security/database.xml Mon Nov 8 07:10:21 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./index.xml, last change in rev 1.66 --> <chapter id="security.database"> <title>Database Security</title> @@ -171,7 +171,7 @@ <![CDATA[ <?php -$offset = argv[0]; // beware, no input validation! +$offset = $argv[0]; // beware, no input validation! $query = "SELECT id, name FROM products ORDER BY name LIMIT 20 OFFSET $offset;"; // with PostgreSQL $result = pg_query($conn, $query);