Browse Source

- Add new test

experimental/first_unicode_implementation
Marcus Boerger 18 years ago
parent
commit
aa87beaded
  1. 14
      Zend/tests/ns_068.phpt

14
Zend/tests/ns_068.phpt

@ -0,0 +1,14 @@
--TEST--
068: Code before namespace
--FILE--
<?php
echo __NAMESPACE__ . "\n";
namespace foo;
echo __NAMESPACE__ . "\n";
namespace bar;
echo __NAMESPACE__ . "\n";
?>
===DONE===
--EXPECTF--
Fatal error: Namespace declaration statement has to be the very first statement in the script in %sns_068.php on line %d
Loading…
Cancel
Save