Fixed tests (new error message - E_DEPRECATED)

This commit is contained in:
Felipe Pena 2008-02-24 13:10:33 +00:00
parent 2e893877af
commit ecd1fe0b39
4 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ object(Inc)#%d (1) {
int(2) int(2)
} }
--UEXPECTF-- --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. Compile-time strict error message should precede this.
$f initially points to the first object: $f initially points to the first object:
object(Inc)#%d (1) { 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) { object(Inc)#%d (1) {
[u"id"]=> [u"id"]=>
int(2) int(2)
} }

View file

@ -18,5 +18,5 @@ echo (float)"3.14", "\n";
--EXPECT-- --EXPECT--
3,14 3,14
--UEXPECTF-- --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 3,14

View file

@ -41,7 +41,7 @@ object(foo)#%d (1) {
string(5) "fubar" string(5) "fubar"
string(5) "fubar" string(5) "fubar"
--UEXPECTF-- --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) { object(foo)#%d (1) {
[u"fubar"]=> [u"fubar"]=>
unicode(5) "fubar" unicode(5) "fubar"

View file

@ -19,8 +19,8 @@ printf("thousands_sep: %s\n", $lc['thousands_sep']);
decimal_point: , decimal_point: ,
thousands_sep: . thousands_sep: .
--UEXPECTF-- --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: , decimal_point: ,
thousands_sep: . thousands_sep: .