cvs: ZendEngine2 /tests ns_068.phpt

"Marcus Boerger" <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <cvshelly1218540220@cvsserver>
helly		Tue Aug 12 11:23:40 2008 UTC

  Added files:                 
    /ZendEngine2/tests	ns_068.phpt 
  Log:
  - Add new test
  

http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/ns_068.phpt?view=markup&rev=1.1
Index: ZendEngine2/tests/ns_068.phpt
+++ ZendEngine2/tests/ns_068.phpt
--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



-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.