nlopess Tue Sep 6 12:25:26 2005 EDT
Modified files: /phpdoc/en/reference/simplexml/functions simplexml-load-file.xml Log: clarify that 'escaping URI' note applies just to PHP 5.0.x http://cvs.php.net/diff.php/phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml diff -u phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml:1.10 phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml:1.11 --- phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml:1.10 Fri Jul 22 08:37:54 2005 +++ phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml Tue Sep 6 12:25:26 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry id='function.simplexml-load-file'> <refnamediv> <refname>simplexml_load_file</refname> @@ -38,7 +38,8 @@ <literal>b&c</literal> as the URI parameter <literal>a</literal>, you have to call <literal>simplexml_load_file(rawurlencode('http://example.com/?a=' . - urlencode('b&c')))</literal>. + urlencode('b&c')))</literal>. Since PHP 5.1.0 you don't need to do + this because PHP will do it for you. </para> </note> <para>