mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
e2b49d6c45
In particular we were disgarding SILENCE live ranges in opcache, because we decided that a MAY_BE_LONG type does not need a live range.
19 lines
296 B
PHP
19 lines
296 B
PHP
--TEST--
|
|
Error suppression should have no impact on uncaught exceptions
|
|
--FILE--
|
|
<?php
|
|
|
|
function abc() {
|
|
throw new Error('Example Exception');
|
|
}
|
|
|
|
@abc();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught Error: Example Exception in %s:%d
|
|
Stack trace:
|
|
#0 %s(%d): abc()
|
|
#1 {main}
|
|
thrown in %s on line %d
|