xref: /PHP-8.4/Zend/tests/isset_expr_error.phpt (revision ec061a93)
1--TEST--
2Error message for isset(func())
3--FILE--
4<?php
5isset(1 + 1);
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