mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
1c30c5e707
Fixes GH-13950 Closes GH-13999
10 lines
213 B
PHP
10 lines
213 B
PHP
--TEST--
|
|
Function redeclaration must produce a simple fatal
|
|
--FILE--
|
|
<?php
|
|
function f() {}
|
|
function f() {}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot redeclare function f() (previously declared in %s:%d) in %s on line %d
|