xref: /PHP-8.1/Zend/tests/isset_func_error.phpt (revision 657762ee)
1--TEST--
2Error message for isset(func())
3--FILE--
4<?php
5isset(abc());
6?>
7--EXPECTF--
8Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in %s on line %d
9