From 58f051e5c168d00a6b493071516eb16457a538ec Mon Sep 17 00:00:00 2001 From: Mehdi Achour <didou@php.net> Date: Wed, 21 Jul 2004 21:16:23 +0000 Subject: [PATCH] missing closing tags and commnted invalid code git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163954 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/fileperms.xml | 5 +++-- reference/info/functions/get-magic-quotes-gpc.xml | 3 ++- reference/mysql/functions/mysql-fetch-object.xml | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/reference/filesystem/functions/fileperms.xml b/reference/filesystem/functions/fileperms.xml index baac6d1de8..148497ae88 100644 --- a/reference/filesystem/functions/fileperms.xml +++ b/reference/filesystem/functions/fileperms.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileperms"> <refnamediv> @@ -24,6 +24,7 @@ <?php echo substr(sprintf('%o', fileperms('/tmp')), -4); echo substr(sprintf('%o', fileperms('/etc/passwd')), -4); +?> ]]> </programlisting> <para>This would produce the output:</para> @@ -125,4 +126,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +--> diff --git a/reference/info/functions/get-magic-quotes-gpc.xml b/reference/info/functions/get-magic-quotes-gpc.xml index a3cf275481..163fc0a487 100644 --- a/reference/info/functions/get-magic-quotes-gpc.xml +++ b/reference/info/functions/get-magic-quotes-gpc.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.2 --> <refentry id="function.get-magic-quotes-gpc"> <refnamediv> @@ -83,6 +83,7 @@ if (get_magic_quotes_gpc()) { $_GET = array_map('stripslashes_deep', $_GET); $_COOKIE = array_map('stripslashes_deep', $_COOKIE); } +?> ]]> </programlisting> </example> diff --git a/reference/mysql/functions/mysql-fetch-object.xml b/reference/mysql/functions/mysql-fetch-object.xml index 329b667e31..72fac7e4e2 100644 --- a/reference/mysql/functions/mysql-fetch-object.xml +++ b/reference/mysql/functions/mysql-fetch-object.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 --> <refentry id="function.mysql-fetch-object"> <refnamediv> @@ -32,7 +32,7 @@ /* this is valid */ echo $row->field; /* this is invalid */ -echo $row->0; +// echo $row->0; ?> ]]>