Return to __call_002.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / classes |
1.1 misho 1: --TEST-- 2: ZE2 __call() signature check 3: --SKIPIF-- 4: <?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?> 5: --FILE-- 6: <?php 7: 8: class Test { 9: function __call() { 10: } 11: } 12: 13: ?> 14: --EXPECTF-- 15: Fatal error: Method Test::__call() must take exactly 2 arguments in %s__call_002.php on line %d