xref: /php-src/Zend/tests/errmsg/errmsg_015.phpt (revision 275f63e7)
1--TEST--
2errmsg: __clone() cannot accept any arguments
3--FILE--
4<?php
5
6class test {
7    function __clone($var) {
8    }
9}
10
11echo "Done\n";
12?>
13--EXPECTF--
14Fatal error: Method test::__clone() cannot take arguments in %s on line %d
15