For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > August 2007 > cvs: ZendEngine2 /tests ns_035.phpt ns_036.phpt









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2 /tests ns_035.phpt ns_036.phpt
Antony Dovgal

2007-08-25, 6:58 pm

tony2001 Sat Aug 25 16:02:11 2007 UTC

Modified files:
/ZendEngine2/tests ns_035.phpt ns_036.phpt
Log:
fix tests


http://cvs.php.net/viewvc.cgi/ZendE...2&diff_format=u
Index: ZendEngine2/tests/ns_035.phpt
diff -u ZendEngine2/tests/ns_035.phpt:1.1 ZendEngine2/tests/ns_035.phpt:1.2
--- ZendEngine2/tests/ns_035.phpt:1.1 Fri Jul 27 09:04:12 2007
+++ ZendEngine2/tests/ns_035.phpt Sat Aug 25 16:02:11 2007
@@ -1,5 +1,7 @@
--TEST--
035: Name ambiguity in compile-time constant reference (php name)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) die("skip SPL is no available"); ?>
--FILE--
<?php
namespace A;
@@ -13,6 +15,8 @@
var_dump(::ArrayObject::STD_PROP_LIST);
f1();
f2();
+
+?>
--EXPECT--
int(1)
int(1)
http://cvs.php.net/viewvc.cgi/ZendE...2&diff_format=u
Index: ZendEngine2/tests/ns_036.phpt
diff -u ZendEngine2/tests/ns_036.phpt:1.1 ZendEngine2/tests/ns_036.phpt:1.2
--- ZendEngine2/tests/ns_036.phpt:1.1 Fri Jul 27 09:04:12 2007
+++ ZendEngine2/tests/ns_036.phpt Sat Aug 25 16:02:11 2007
@@ -1,5 +1,7 @@
--TEST--
036: Name ambiguity in compile-time constant reference (ns name)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) die("skip SPL is no available"); ?>
--FILE--
<?php
namespace A;
@@ -32,6 +34,7 @@
f3();
f4();
f5();
+?>
--EXPECT--
int(2)
int(1)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com