On Tuesday, June 7, 2011, Richard Quadling wrote:
> But the surprising issue is that your 5.1.6 returns bool(false). So
> far, that's the only report I've got that shows inconsistent
> behaviour for PHP5+
I too was surprised, which is why I took the time to report. AFAICT,
I've got the standard L
On 7 June 2011 13:04, Geoff Lane wrote:
> On Tuesday, June 7, 2011, Richard Quadling wrote:
>
>> What do you get for ...
>
>> php -r "var_dump(realpath(null));"
>
> PHP 5.3.5-1ubuntu7.2 on Ubuntu 11.04 kernel 2.6.18 returns the same
> value as __DIR__
>
> However, PHP 5.1.6 on CentOS 5.6 kernel 2.
On Tuesday, June 7, 2011, Richard Quadling wrote:
> What do you get for ...
> php -r "var_dump(realpath(null));"
PHP 5.3.5-1ubuntu7.2 on Ubuntu 11.04 kernel 2.6.18 returns the same
value as __DIR__
However, PHP 5.1.6 on CentOS 5.6 kernel 2.6.18 returns bool(false).
Doing php -r "var_dump(__DIR_
3 matches
Mail list logo