summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_077_8.phpt
blob: 9f9240db072505cb8bd7dbe8dd3d8acd23447f8c (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(namespace\unknown => unknown))
{
}

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