summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_017.phpt
blob: ba55c1a2c53c444183c595903848b378bdd6b007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
errmsg: __unset() must take exactly 1 argument
--FILE--
<?php

class test {
	function __unset() {
	}
}

echo "Done\n";
?>
--EXPECTF--
Fatal error: Method test::__unset() must take exactly 1 argument in %s on line %d