xref: /PHP-5.6/Zend/tests/ns_083.phpt (revision ea45b713)
1--TEST--
2083: bracketed namespace with junk before the ns declaration
3--FILE--
4<?php
5$a = 'oops';
6echo $a;
7namespace foo {
8}
9namespace ok {
10echo "ok\n";
11}
12?>
13--EXPECTF--
14Fatal error: Namespace declaration statement has to be the very first statement in the script in %s on line %d
15