mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
11 lines
278 B
PHP
11 lines
278 B
PHP
--TEST--
|
|
Bug #72162 (use-after-free - error_reporting)
|
|
--FILE--
|
|
<?php
|
|
error_reporting(E_ALL);
|
|
$var11 = new StdClass();
|
|
$var16 = error_reporting($var11);
|
|
?>
|
|
--EXPECTF--
|
|
Catchable fatal error: Object of class stdClass could not be converted to string in %sbug72162.php on line %d
|