Return to errmsg_019.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
php
--TEST-- errmsg: __destruct() cannot take arguments --FILE-- <?php class test { function __destruct($var) { } } echo "Done\n"; ?> --EXPECTF-- Fatal error: Destructor test::__destruct() cannot take arguments in %s on line %d