Return to clone_001.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 ! misho 1: --TEST-- ! 2: Using clone statement on non-object ! 3: --FILE-- ! 4: <?php ! 5: ! 6: $a = clone array(); ! 7: ! 8: ?> ! 9: --EXPECTF-- ! 10: Fatal error: __clone method called on non-object in %s on line %d