Annotation of embedaddon/php/Zend/tests/bug42817.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #42817 (clone() on a non-object does not result in a fatal error)
                      3: --FILE--
                      4: <?php
                      5: $a = clone(null);
                      6: array_push($a->b, $c);
                      7: ?>
                      8: --EXPECTF--
                      9: Fatal error: __clone method called on non-object in %sbug42817.php on line 2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>