jason213123 Posted July 21, 2010 Share Posted July 21, 2010 hi, sometimes when i run a script i receive this error: Fatal error: Allowed memory size i need to send a alert some like this: echo "<script> alert ( ' '); <script>"; when a error is detected there is a error handler in php? something like this: on error goto x thanks a lot for your help Link to comment https://forums.phpfreaks.com/topic/208463-php-on-error-handler/ Share on other sites More sharing options...
Mchl Posted July 21, 2010 Share Posted July 21, 2010 It's a fatal error and therefore not catchable. You can set your own error handler, but fatal errors do not trigger it. Link to comment https://forums.phpfreaks.com/topic/208463-php-on-error-handler/#findComment-1089268 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.