mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Fixed tests (new error message - E_DEPRECATED)
This commit is contained in:
parent
2e893877af
commit
ecd1fe0b39
4 changed files with 6 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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: .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue