mirror of
https://github.com/php/php-src.git
synced 2024-09-30 14:26:12 +00:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
13 lines
210 B
PHP
13 lines
210 B
PHP
--TEST--
|
|
053: Run-time constant definition
|
|
--FILE--
|
|
<?php
|
|
namespace test::ns1;
|
|
|
|
define(__NAMESPACE__ . '::NAME', basename(__FILE__));
|
|
echo NAME."\n";
|
|
echo test::ns1::NAME."\n";
|
|
--EXPECT--
|
|
ns_053.php
|
|
ns_053.php
|