mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +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
|