mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
df434f056f
Fixes oss-fuzz #39346
13 lines
212 B
PHP
13 lines
212 B
PHP
--TEST--
|
|
string offset 005 indirect string modification by error handler
|
|
--FILE--
|
|
<?php
|
|
set_error_handler(function(){$GLOBALS['a']=8;});
|
|
$a='a';
|
|
var_dump($a[$b]);
|
|
var_dump($a);
|
|
?>
|
|
--EXPECT--
|
|
string(1) "a"
|
|
int(8)
|