On 25/05/16 22:52, Thomas Bley wrote:
> var_dump($a->z); // 42
> var_dump(isset($a->z)); // true
> unset($a->z);
$a->z does not exist at this point

> var_dump(isset($a->z)); // false
We know that isset is broken so if $a->z is null we also get false ...
perhaps the 'fault' that isset does not actually work properly is
biting? But since $a->z does not exist false avoids an error.

> var_dump($a->z); // 0 + notice
The notice should be 'variable does not exist' as at this point $a->z
has no context at all!

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to