mirror of
https://github.com/php/php-src.git
synced 2024-12-20 15:30:38 +08:00
24 lines
322 B
PHP
24 lines
322 B
PHP
--TEST--
|
|
Bug #71841 (EG(error_zval) is not handled well)
|
|
--INI--
|
|
error_reporting=0
|
|
--FILE--
|
|
<?php
|
|
$z = unserialize('O:1:"A":0:{}');
|
|
var_dump($z->e.=0);
|
|
var_dump(++$z->x);
|
|
var_dump($z->y++);
|
|
|
|
$y = array(PHP_INT_MAX => 0);
|
|
var_dump($y[] .= 0);
|
|
var_dump(++$y[]);
|
|
var_dump($y[]++);
|
|
?>
|
|
--EXPECT--
|
|
NULL
|
|
NULL
|
|
NULL
|
|
NULL
|
|
NULL
|
|
NULL
|