php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54115
Patch chown-example revision 2011-02-28 09:08 UTC by shein@php.net

Patch chown-example for Documentation problem Bug #54115

Patch version 2011-02-28 09:08 UTC

Return to Bug #54115 | Download this patch
Patch Revisions:

Developer: shein@php.net

Index: en/reference/filesystem/functions/chown.xml
===================================================================
--- en/reference/filesystem/functions/chown.xml	(revision 290412)
+++ en/reference/filesystem/functions/chown.xml	(revision )
@@ -78,22 +78,16 @@
     &example.outputs.similar;
     <screen>
 <![CDATA[
-array(7) {
-  ["name"]=>
-  string(13) "php.net"
-  ["passwd"]=>
-  string(1) "x"
-  ["uid"]=>
-  int(148864)
-  ["gid"]=>
-  int(148910)
-  ["gecos"]=>
-  string(13) "php.net"
-  ["dir"]=>
-  string(25) "/home/sites/php.net"
-  ["shell"]=>
-  string(13) "/sbin/nologin"
-}
+Array
+(
+    [name] => root
+    [passwd] => x
+    [uid] => 0
+    [gid] => 0
+    [gecos] => root
+    [dir] => /root
+    [shell] => /bin/bash
+)
 ]]>
     </screen>
    </example>
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 09:00:02 2026 UTC