mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
11 lines
191 B
PHP
11 lines
191 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
|