]> granicus.if.org Git - php/commitdiff
Fixed tests (new error message - E_DEPRECATED)
authorFelipe Pena <felipe@php.net>
Sun, 24 Feb 2008 13:10:33 +0000 (13:10 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 24 Feb 2008 13:10:33 +0000 (13:10 +0000)
tests/classes/new_001.phpt
tests/lang/034.phpt
tests/lang/bug22231.phpt
tests/lang/bug30638.phpt

index 03c64e8edae48f337aee094974a11e71046826f9..48f4f6bb0e78c1aba482b14be6e112a5fa1e7e39 100644 (file)
@@ -47,7 +47,7 @@ object(Inc)#%d (1) {
   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 @@ Assigning new object by ref to $k removes it from $f's reference set, so $f is u
 object(Inc)#%d (1) {
   [u"id"]=>
   int(2)
-}
\ No newline at end of file
+}
index 6b3c9ab744d98c2a68745ae1f98389bb30c190c7..aef3f8f3526101eb88bb3d91ce3312ebe05e9401 100644 (file)
@@ -18,5 +18,5 @@ echo (float)"3.14", "\n";
 --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
index 4ab619395a745725f1148ed5c9f9b51af299585e..2b20f9864417f2a781d875c7bec9b9701a33153b 100644 (file)
@@ -41,7 +41,7 @@ object(foo)#%d (1) {
 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"
index a765ee1f7e8b3ac864dbad734904cae156b7e478..727e610874d9bccd0bbf85ecc4e7e35395905be7 100644 (file)
@@ -19,8 +19,8 @@ printf("thousands_sep: %s\n", $lc['thousands_sep']);
 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: .