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