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