Since I accidently subscribed to the wrong list I might as well post this 
while I'm here... :)

We do a lot of developing in PHP and we always use classes and inheritance 
for everything but there is one thing that drives me up the wall about PHP.

If I call a function with the wrong number of parameters PHP reports the 
error on the line where the function is declared and gives NO HINT as to 
where that call is being made from.

You have no idea how hard it is and how many hours and hours I've spent 
trying to trace back the one function call with the wrong parameters....

Lord PLEASE implement some kind of "stack_trace()" function (yes, just 
like Java) that shows how PHP got to the place where the error is.

That would shorten my development time fantastically.

I know there is a lot of work being done these days on the inheritance and 
class model in the newest version of PHP (public and private functions 
etc.) so I apologize if this is something that has already been addressed.

-- 
John Lange


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

Reply via email to