mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
Fixed test
This commit is contained in:
parent
441d1b8ef0
commit
080f6b10ec
1 changed files with 3 additions and 4 deletions
|
@ -2,10 +2,9 @@
|
|||
Bug #72162 (use-after-free - error_reporting)
|
||||
--FILE--
|
||||
<?php
|
||||
error_reporting(1);
|
||||
error_reporting(E_ALL);
|
||||
$var11 = new StdClass();
|
||||
$var16 = error_reporting($var11);
|
||||
?>
|
||||
okey
|
||||
--EXPECT--
|
||||
okey
|
||||
--EXPECTF--
|
||||
Catchable fatal error: Object of class stdClass could not be converted to string in %sbug72162.php on line %d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue