xref: /PHP-8.3/Zend/tests/gh16509.phpt (revision de7ef3fa)
1--TEST--
2GH-16509: Incorrect lineno reported for function redeclaration
3--FILE--
4<?php
5
6include __DIR__ . '/gh16509.inc';
7include __DIR__ . '/gh16509.inc';
8
9?>
10--EXPECTF--
11Fatal error: Cannot redeclare test() (previously declared in %sgh16509.inc:3) in %sgh16509.inc on line 3
12