Nuno Lopes wrote:
<?
function a($b) {}
a(1,2,3);
?>
PHP accepts this and generates no errors. My purpose is to start
generating an E_NOTICE, just like we do for not yet initialized
variables.
No, stupid output!
Generating E_NOTICE is not a good idea. You don't need to create functions
with variable arguments count like printf()?
No, I at least I think I've never created such a function. To be sincere,
I've not even remembered of such functions when I was writing that e-mail :)
So, I think my suggestion is bogus.. Although a special syntax (copied from
C) could be introduced.. well maybe not..
Nuno
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php