xref: /PHP-8.0/Zend/tests/errmsg_017.phpt (revision f8d79582)
1--TEST--
2errmsg: __unset() must take exactly 1 argument
3--FILE--
4<?php
5
6class test {
7    function __unset() {
8    }
9}
10
11echo "Done\n";
12?>
13--EXPECTF--
14Fatal error: Method test::__unset() must take exactly 1 argument in %s on line %d
15