mirror of
https://github.com/php/php-src.git
synced 2024-12-16 05:15:03 +08:00
7aacc705d0
Closes GH-5958
13 lines
361 B
PHP
13 lines
361 B
PHP
--TEST--
|
|
Bug #71221 (Null pointer deref (segfault) in get_defined_vars via ob_start)
|
|
--FILE--
|
|
<?php
|
|
register_shutdown_function("get_defined_vars");
|
|
?>
|
|
--EXPECT--
|
|
Fatal error: Uncaught Error: Cannot call get_defined_vars() dynamically in [no active file]:0
|
|
Stack trace:
|
|
#0 [internal function]: get_defined_vars()
|
|
#1 {main}
|
|
thrown in [no active file] on line 0
|