mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
Merge branch 'PHP-5.3' into PHP-5.4
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
--TEST--
|
||||||
|
Bug #64578 (debug_backtrace in set_error_handler corrupts zend heap: segfault)
|
||||||
|
--FILE--
|
||||||
|
<?php
|
||||||
|
function x($s) {
|
||||||
|
$resource = fopen("php://input", "r");
|
||||||
|
$s[$resource] = '2';
|
||||||
|
}
|
||||||
|
$y = "1";
|
||||||
|
x($y);
|
||||||
|
var_dump($y);
|
||||||
|
?>
|
||||||
|
--EXPECTF--
|
||||||
|
Warning: Illegal offset type in %sbug64578.php on line %d
|
||||||
|
string(1) "1"
|
||||||
Reference in New Issue
Block a user