Re: howto do a backtrace on windows?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux