Rick Widmer wrote:
D. Dante Lorenso wrote:
No, that doesn't address the problem. See this:
print @ifsetor($x, $y, $z, "dante")."\n";
Usage of the shutup operator, @, in this context is a shameful coding
habit and hides too much:
print @ifsetor($x, fakefunction($y), $z, "dante")."\n";
Does not show any warnings or errors, but REALLY hides this:
PHP Notice: Undefined variable: x in .../ifsetor.php on line 13
PHP Fatal error: Call to undefined function fakefunction() in
.../ifsetor.php on line 13
Ignoring the notice on $x is fine, but that fatal error shouldn't be
ignored.
Dante
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php