Re: What do you get for ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 07 June 2011 13:35:06 Richard Quadling wrote:
> Hi.
>
> What do you get for ...
>
> php -r "var_dump(realpath(null));"
>

1.
PHP 5.3.6 @ Gentoo Linux(x86_64)

tmp $ php -r "print getcwd();"
/var/tmp

tmp $ php -r "var_dump(realpath(null));"
string(8) "/var/tmp"

2.
PHP 5.2.14 @ Linux(ARM) 

tmp $ php -r "print getcwd();"
/var/tmp

tmp $ php -r "var_dump(realpath(null));"
string(8) "/var/tmp"

-- 
Vitalii

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux