1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 11:32:11 +02:00
Files
archived-php-src/Zend/tests/bug71221.phpt
Máté Kocsis 2204dbde3b Add missing ZPP checks
Closes GH-4878.
2019-11-01 15:26:52 +01:00

12 lines
358 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