Closed
Description
Description
The following code:
<?php
$date_string = '00.00.0000 - 00:00:00';
$fusion = $date_string;
class Box {
}
class Test {
function __destruct() {
global $box;
$box->value = null;
}
}
function test($box) {
var_dump($box->value = new Test);
}
$box = new Box();
test($box);
try {mb_eregi($fusion,$date_string,$box);} catch (Exception $e) { echo($e); }
Resulted in this output:
/home/phpfuzz/WorkSpace/flowfusion/php-src/Zend/zend_hash.c(2672) : ht=0x7ff28984b360 is being destroyed
php: /home/phpfuzz/WorkSpace/flowfusion/php-src/Zend/zend_hash.c:74: void _zend_is_inconsistent(const HashTable *, const char *, int): Assertion `0' failed.
Aborted (core dumped)
PHP Version
nightly
Operating System
No response