Robert Cummings wrote:
I don't agree with your position that the above code is incorrect
I think notices are fine for situations where you've probably screwed
up. I'd rather PHP let me know than do nothing.
I see this situation as being very similar to the following:
<?php
function foo(&$bar)
{
/* ... */
}
foo(3);
?>
This happens to throw a fatal error, which seems fine (mainly because it
always has, as far as I know, so no one can have working code that does
this sort of thing).
I'm curious to know whether you would also disagree that this code is
incorrect. I don't see a big fundamental difference, but I might be
misunderstanding something.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php