summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_077_6.phpt
blob: 17afe03f4b20fe33611f21f3774dfae8fd67f246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
077: Unknown compile-time constants in namespace
--FILE--
<?php

function foo($a = array(0 => \unknown))
{
}

foo();
--EXPECTF--
Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d