The eval function works great on any defined function, built-in or
user. However, if I call eval with a function that isn't defined (by
user typo in the IDE, for example), it doesn't just fail and return an
error. It completely crashes Apache.
I am using Apache 2.0.55 with PHP 5.0.5 under Windows XP-SP 2. A
screenshot can be found at http://www.beandogsoft.com/ApacheCrash.PNG
(case-sensitive URL). It's crashing in php5ts.dll.
Any clues on why this would happen? Doing an
eval("SomeUndefinedFunction();") in a PHP file would crash the script,
but definitely not the server.
Ben Dilts
Received on Thu Apr 20 2006 - 04:34:29 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST