xref: /PHP-7.4/Zend/tests/bug70240.phpt (revision 4064ee30)
1--TEST--
2Bug #70240 (Segfault when doing unset($var()))
3--FILE--
4<?php
5unset($var());
6?>
7--EXPECTF--
8Fatal error: Can't use function return value in write context in %sbug70240.php on line %d
9