xref: /PHP-5.4/Zend/tests/ns_077_8.phpt (revision 610c7fbe)
1--TEST--
2077: Unknown compile-time constants in namespace
3--FILE--
4<?php
5
6function foo($a = array(namespace\unknown => unknown))
7{
8}
9
10foo();
11--EXPECTF--
12Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d
13