mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
7aacc705d0
Closes GH-5958
12 lines
194 B
PHP
12 lines
194 B
PHP
--TEST--
|
|
075: Redefining compile-time constants
|
|
--FILE--
|
|
<?php
|
|
namespace foo;
|
|
const NULL = 1;
|
|
|
|
echo NULL;
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot redeclare constant 'NULL' in %sns_075.php on line %d
|