mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
10 lines
204 B
PHP
10 lines
204 B
PHP
--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
|