xref: /PHP-5.4/Zend/tests/clone_001.phpt (revision f6c57d1f)
1--TEST--
2Using clone statement on non-object
3--FILE--
4<?php
5
6$a = clone array();
7
8?>
9--EXPECTF--
10Fatal error: __clone method called on non-object in %s on line %d
11