Jochem Maas wrote:
Mehdi Achour wrote:
Because it's a change, that should be reverted, or documented.
don't top post - its bad form and many people ignore topposts.
Mehdi is right to say that debug_backtrace() has changed - but so has
the whole engine - I don't think that function was ever meant
Jochem Maas wrote:
Morten Rønseth wrote:
Hi,
I just tried the example code at
http://www.zend.com/lists/php-dev/200307/msg00244.html using PHP 5.0.3
The backtrace doesn't see class b at all, all references to it have
vanished into thin air.
as a side note - using a function
Bruno B B Magalhães wrote:
Richard,
my solution right know is:
if(substr($url,-1) != '/')
{
$url = $url.'/';
}
Simple and fast... :)
$url = preg_replace ("|^(.*)/?$|", "\\1/", $url);
Regards,
Bruno B B Magalhaes
On Jan 12, 2005, at 3:37 PM, Richard Lynch wrote:
Bruno B B Magalhães wrote:
how
Hi,
I just tried the example code at
http://www.zend.com/lists/php-dev/200307/msg00244.html using PHP 5.0.3
The backtrace doesn't see class b at all, all references to it have
vanished into thin air.
I spent days trying to solve this on my own until I happened upon this
thread - it appears tha
Hi,
The subject says it all, really, I need to be able to override a superclass
method AND also call the super's method in a way so that IN the super's
method "$this" will refer to the original object, as follows:
doit ();
print (get_class ($this));
}
}
$b = new B ();
$b->doit ();
Hi,
Is there any way to do a stack crawl/trace when an error occurs? Today, I
only get the line in the script in which the error occured, but I have to
put on my Sherlock habit in order to find the actual sequence of avents that
led up to the error
Cheers,
-Morten
6 matches
Mail list logo