mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
missing closing tags and commnted invalid code
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163954 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
83a4521b84
commit
58f051e5c1
3 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
-->
|
||||
-->
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue