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