echo "Alive\n";
?>
--EXPECTF--
-int(1)
+int(0)
string(43) "Call to a member function compare() on null"
-int(1)
+int(0)
string(43) "Call to a member function compare() on null"
-int(1)
+int(0)
string(43) "Call to a member function compare() on null"
-int(1)
+int(0)
string(43) "Call to a member function compare() on null"
array(5) {
[0]=>
// TODO: we can't convert compile-time errors to exceptions yet???
if (EG(current_execute_data) && !CG(in_compilation)) {
- zend_throw_exception(exception_ce, message, E_ERROR);
+ zend_throw_exception(exception_ce, message, 0);
} else {
zend_error(E_ERROR, message);
}