felipe Sun Feb 24 13:10:33 2008 UTC
Modified files:
/php-src/tests/classes new_001.phpt
/php-src/tests/lang 034.phpt bug22231.phpt bug30638.phpt
Log:
Fixed tests (new error message - E_DEPRECATED)
http://cvs.php.net/viewvc.cgi/php-src/tests/classes/new_001.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/tests/classes/new_001.phpt
diff -u php-src/tests/classes/new_001.phpt:1.3
php-src/tests/classes/new_001.phpt:1.4
--- php-src/tests/classes/new_001.phpt:1.3 Sat Feb 23 17:03:53 2008
+++ php-src/tests/classes/new_001.phpt Sun Feb 24 13:10:33 2008
@@ -47,7 +47,7 @@
int(2)
}
--UEXPECTF--
-Strict Standards: Assigning the return value of new by reference is deprecated
in %s on line 23
+Deprecated: Assigning the return value of new by reference is deprecated in %s
on line 23
Compile-time strict error message should precede this.
$f initially points to the first object:
object(Inc)#%d (1) {
@@ -63,4 +63,4 @@
object(Inc)#%d (1) {
[u"id"]=>
int(2)
-}
\ No newline at end of file
+}
http://cvs.php.net/viewvc.cgi/php-src/tests/lang/034.phpt?r1=1.12&r2=1.13&diff_format=u
Index: php-src/tests/lang/034.phpt
diff -u php-src/tests/lang/034.phpt:1.12 php-src/tests/lang/034.phpt:1.13
--- php-src/tests/lang/034.phpt:1.12 Fri May 18 11:29:40 2007
+++ php-src/tests/lang/034.phpt Sun Feb 24 13:10:33 2008
@@ -18,5 +18,5 @@
--EXPECT--
3,14
--UEXPECTF--
-Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU
locale functions in %s on line %d
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale
functions in %s on line %d
3,14
http://cvs.php.net/viewvc.cgi/php-src/tests/lang/bug22231.phpt?r1=1.7&r2=1.8&diff_format=u
Index: php-src/tests/lang/bug22231.phpt
diff -u php-src/tests/lang/bug22231.phpt:1.7
php-src/tests/lang/bug22231.phpt:1.8
--- php-src/tests/lang/bug22231.phpt:1.7 Sat Feb 23 17:03:53 2008
+++ php-src/tests/lang/bug22231.phpt Sun Feb 24 13:10:33 2008
@@ -41,7 +41,7 @@
string(5) "fubar"
string(5) "fubar"
--UEXPECTF--
-Strict Standards: Assigning the return value of new by reference is deprecated
in %s on line %d
+Deprecated: Assigning the return value of new by reference is deprecated in %s
on line %d
object(foo)#%d (1) {
[u"fubar"]=>
unicode(5) "fubar"
http://cvs.php.net/viewvc.cgi/php-src/tests/lang/bug30638.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/tests/lang/bug30638.phpt
diff -u php-src/tests/lang/bug30638.phpt:1.4
php-src/tests/lang/bug30638.phpt:1.5
--- php-src/tests/lang/bug30638.phpt:1.4 Sun Feb 11 20:12:45 2007
+++ php-src/tests/lang/bug30638.phpt Sun Feb 24 13:10:33 2008
@@ -19,8 +19,8 @@
decimal_point: ,
thousands_sep: .
--UEXPECTF--
-Strict Standards: setlocale(): deprecated in Unicode mode, please use ICU
locale functions in %s on line %d
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale
functions in %s on line %d
-Strict Standards: localeconv(): deprecated in Unicode mode, please use ICU
locale functions in %s on line %d
+Deprecated: localeconv(): deprecated in Unicode mode, please use ICU locale
functions in %s on line %d
decimal_point: ,
thousands_sep: .
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php