Advertisement
juzna

Untitled

Mar 25th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. juzna@juzna-pc:/tmp/php-test$ cat > rename.php
  2. <?php
  3. error_reporting(E_ALL);
  4. var_dump(rename('..', '..'));
  5. juzna@juzna-pc:/tmp/php-test$ php rename.php
  6. bool(true)
  7. juzna@juzna-pc:/tmp/php-test$ php -v
  8. PHP 5.4.0 (cli) (built: Mar 11 2012 19:23:58)
  9. Copyright (c) 1997-2012 The PHP Group
  10. Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
  11. with Xdebug v2.2.0rc1, Copyright (c) 2002-2012, by Derick Rethans
  12. juzna@juzna-pc:/tmp/php-test$ uname -a
  13. Linux juzna-pc 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13 19:39:17 UTC 2011 x86_64 GNU/Linux
  14. juzna@juzna-pc:/tmp/php-test$ mount
  15. /dev/sda1 on / type ext4 (rw,noatime,errors=remount-ro,user_xattr,discard)
  16. none on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=1000M,mode=1777)
  17. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement