mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Fixed test
This commit is contained in:
parent
f93e715fc5
commit
7e5392b54a
@ -57,11 +57,11 @@ print strlen($utf8) . "\n";
|
||||
// Wrong Parameters
|
||||
echo "== WRONG PARAMETERS ==\n";
|
||||
// Array
|
||||
// Note: PHP Notice, but returns some value
|
||||
// Note: PHP Warning, strlen() expects parameter 1 to be string, array given
|
||||
$r = strlen($t_ary);
|
||||
echo $r."\n";
|
||||
// Object
|
||||
// Note: PHP Notice, but returns some value
|
||||
// Note: PHP Warning, strlen() expects parameter 1 to be string, object given
|
||||
$r = strlen($t_obj);
|
||||
echo $r."\n";
|
||||
// Wrong encoding
|
||||
@ -91,11 +91,10 @@ echo $r."\n";
|
||||
43
|
||||
101
|
||||
== WRONG PARAMETERS ==
|
||||
ERR: Notice
|
||||
5
|
||||
ERR: Catchable fatal error
|
||||
ERR: Notice
|
||||
6
|
||||
ERR: Warning
|
||||
|
||||
ERR: Warning
|
||||
|
||||
ERR: Warning
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user