On 16 September 2015 21:03:42 BST, Robert Williams <rewilli...@thesba.com> 
wrote:
>looking at actual behavior of PHP, it’s clear that an undefined
>variable behaves differently from one assigned null. One can easily
>tell if a variable is null, but one can’t easily tell if a variable is
>just not defined.

This strikes me as close to self-contradictory - you can't easily tell the 
difference precisely because 99% of the time there is no difference.

If you think an undefined variable shouldn't raise a notice, then let's discuss 
improvements to the way such messages are emitted so that it would be easier to 
adjust that behaviour.

Regards,
-- 
Rowan Collins
[IMSoP]


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

Reply via email to