summaryrefslogtreecommitdiff
path: root/Zend/tests/bug36071.phpt
blob: e5146091e134327d57e6f25a96f135f705b7a9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Bug #36071 (Engine Crash related with 'clone')
--INI--
error_reporting=4095
--FILE--
<?php
$a = clone 0;
$a[0]->b = 0;
?>
--EXPECTF--
Fatal error: __clone method called on non-object in %sbug36071.php on line 2