Re: Error reporting in PHP
| From: | John Lange | Date: | Thu, 15 Aug 2002 20:45:28 +0000 |
| Subject: | Re: Error reporting in PHP | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86880@lists.php.net to get a copy of this message | ||
Thanks to all who replied to this. It looks like xdebug is going to work
for me at least until it becomes part of the main PHP (or Zend) code.
I'll get off this list now since I'm not a developer ;)
John Lange
On August 15, 2002 03:06 pm, Markus Fischer wrote:
> Your lucky day, ZE2 will implement this (see
> http://www.php.net/ZEND_CHANGES.txt ). If you need this
> functionality right now I suggest going with xdebug or apd,
> both provide such kind of facility.
>
> On Thu, Aug 15, 2002 at 02:20:33PM -0500, John Lange wrote :
> > 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
>
> --
> GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> "Finally, if someone actually flying a plane is relying on
> a freakin' webcam to land, we're all in trouble."
> - A /. poster.
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
John Lange