mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
10 lines
204 B
Plaintext
10 lines
204 B
Plaintext
|
--TEST--
|
||
|
Function redeclaration must produce a simple fatal
|
||
|
--FILE--
|
||
|
<?php
|
||
|
function f() {}
|
||
|
function f() {}
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot redeclare f() (previously declared in %s:%d) in %s on line %d
|