xref: /PHP-8.1/Zend/tests/ns_075.phpt (revision 7aacc705)
1--TEST--
2075: Redefining compile-time constants
3--FILE--
4<?php
5namespace foo;
6const NULL = 1;
7
8echo NULL;
9?>
10--EXPECTF--
11Fatal error: Cannot redeclare constant 'NULL' in %sns_075.php on line %d
12