actually, this isn't related to the php language itself, but more to the code beneath it ;)
Since the entire php/apache process segfaults (according to the logs), I can't do a debug_backtrace() from within php :)


- tul

Jason Barnett wrote:

Use cygwin / gcc?!?!  :P

Is debug_backtrace() unable to give you what you want?

<?php

$old_err = set_error_handler('bt_handler');

trigger_error();

restore_error_handler();

function bt_handler($type, $msg, $file, $line) {
  return debug_backtrace();
}

?>

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to