![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: errmsg: __destruct() cannot take arguments 3: --FILE-- 4: <?php 5: 6: class test { 7: function __destruct($var) { 8: } 9: } 10: 11: echo "Done\n"; 12: ?> 13: --EXPECTF-- 14: Fatal error: Destructor test::__destruct() cannot take arguments in %s on line %d