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