Changed silent conversion of array to string to produce a notice. (Patrick)

This commit is contained in:
Stanislav Malyshev 2011-10-21 06:08:47 +00:00
parent 2cf34bc9fc
commit d81ea16ef1
107 changed files with 643 additions and 97 deletions

3
NEWS
View File

@ -1,6 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2011, PHP 5.4.0 RC1
- General improvements:
. Changed silent conversion of array to string to produce a notice. (Patrick)
20 Oct 2011, PHP 5.4.0 beta2
- General improvements:
@ -8,6 +10,7 @@ PHP NEWS
. Improve ternary operator performance when returning arrays. (Arnaud, Dmitry)
- Core:
. Fixed bug #55801 (Behavior of unserialize has changed). (Mike)
. Fixed bug #55749 (TOCTOU issue in getenv() on Windows builds). (Pierre)
. Fixed bug #55707 (undefined reference to `__sync_fetch_and_add_4' on Linux
parisc). (Felipe)

Binary file not shown.

View File

@ -50,26 +50,46 @@ var_dump($d.$d);
echo "Done\n";
?>
--EXPECTF--
Notice: Array to string conversion in %sconcat_001.php on line %d
string(24) "Arraythis is test object"
Notice: Array to string conversion in %sconcat_001.php on line %d
string(16) "Arraysome string"
Notice: Array to string conversion in %sconcat_001.php on line %d
string(8) "Array222"
Notice: Array to string conversion in %sconcat_001.php on line %d
string(13) "Array2323.444"
Notice: Array to string conversion in %sconcat_001.php on line %d
Notice: Array to string conversion in %sconcat_001.php on line %d
string(10) "ArrayArray"
Notice: Array to string conversion in %sconcat_001.php on line %d
string(24) "this is test objectArray"
string(30) "this is test objectsome string"
string(22) "this is test object222"
string(27) "this is test object2323.444"
string(38) "this is test objectthis is test object"
string(30) "some stringthis is test object"
Notice: Array to string conversion in %sconcat_001.php on line %d
string(16) "some stringArray"
string(14) "some string222"
string(19) "some string2323.444"
string(22) "some stringsome string"
Notice: Array to string conversion in %sconcat_001.php on line %d
string(8) "222Array"
string(22) "222this is test object"
string(14) "222some string"
string(11) "2222323.444"
string(6) "222222"
Notice: Array to string conversion in %sconcat_001.php on line %d
string(13) "2323.444Array"
string(27) "2323.444this is test object"
string(19) "2323.444some string"

View File

@ -23,5 +23,7 @@ ok
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at %sunset_cv05.php on line %d
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at %sunset_cv05.php:%d) in %sunset_cv05.php on line %d
Notice: Array to string conversion in %sunset_cv05.php on line %d
Array
ok

View File

@ -4,7 +4,7 @@ unset() CV 8 (unset() of global variable in array_unique($GLOBALS))
<?php
$a = "ok\n";
$b = "ok\n";
array_unique($GLOBALS);
@array_unique($GLOBALS);
echo $a;
echo $b;
echo "ok\n";

View File

@ -250,6 +250,7 @@ ZEND_API void zend_make_printable_zval(zval *expr, zval *expr_copy, int *use_cop
Z_STRLEN_P(expr_copy) = snprintf(Z_STRVAL_P(expr_copy), sizeof("Resource id #") - 1 + MAX_LENGTH_OF_LONG, "Resource id #%ld", Z_LVAL_P(expr));
break;
case IS_ARRAY:
zend_error(E_NOTICE, "Array to string conversion");
Z_STRLEN_P(expr_copy) = sizeof("Array") - 1;
Z_STRVAL_P(expr_copy) = estrndup("Array", Z_STRLEN_P(expr_copy));
break;

View File

@ -52,7 +52,9 @@ string(0) ""
string(0) ""
string(0) ""
=== Array
===
Notice: Array to string conversion in %sjdtomonthname.php on line %d
Array
Warning: jdmonthname() expects parameter 1 to be long, array given in %s on line %d
bool(false)

View File

@ -122,23 +122,28 @@ Arg value 0.5
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Error: 8 - Array to string conversion, %sereg_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace(): REG_EMPTY, %s(74)
bool(false)
Error: 8 - Array to string conversion, %sereg_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Error: 8 - Array to string conversion, %sereg_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Error: 8 - Array to string conversion, %sereg_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "original"
Error: 8 - Array to string conversion, %sereg_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)

View File

@ -119,22 +119,27 @@ string(5) "ho%21"
Arg value 0.5
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Error: 8 - Array to string conversion, %sereg_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
Error: 8 - Array to string conversion, %sereg_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Error: 8 - Array to string conversion, %sereg_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Error: 8 - Array to string conversion, %sereg_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Error: 8 - Array to string conversion, %sereg_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)

View File

@ -119,26 +119,31 @@ string(29) "new value.0765432new valueE-9"
Arg value 0.5
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(3) "0.5"
Error: 8 - Array to string conversion, %sereg_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sereg_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sereg_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sereg_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
Error: 2 - ereg_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sereg_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)

View File

@ -120,26 +120,31 @@ bool(false)
Arg value 0.5
Error: 8192 - Function ereg() is deprecated, %s(75)
bool(false)
Error: 8 - Array to string conversion, %sereg_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Error: 8 - Array to string conversion, %sereg_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Error: 8 - Array to string conversion, %sereg_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Error: 8 - Array to string conversion, %sereg_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Error: 8 - Array to string conversion, %sereg_variation_001.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(75)

View File

@ -119,26 +119,31 @@ int(1)
Arg value 0.5
Error: 8192 - Function ereg() is deprecated, %s(74)
bool(false)
Error: 8 - Array to string conversion, %sereg_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sereg_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sereg_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sereg_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(74)
Error: 2 - ereg() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sereg_variation_002.php(%d)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(74)

View File

@ -122,23 +122,28 @@ Arg value 0.5
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Error: 8 - Array to string conversion, %seregi_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace(): REG_EMPTY, %s(74)
bool(false)
Error: 8 - Array to string conversion, %seregi_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Error: 8 - Array to string conversion, %seregi_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Error: 8 - Array to string conversion, %seregi_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "original"
Error: 8 - Array to string conversion, %seregi_replace_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)

View File

@ -119,22 +119,27 @@ string(5) "ho%21"
Arg value 0.5
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Error: 8 - Array to string conversion, %seregi_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
Error: 8 - Array to string conversion, %seregi_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Error: 8 - Array to string conversion, %seregi_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Error: 8 - Array to string conversion, %seregi_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(8) "h%01o%21"
Error: 8 - Array to string conversion, %seregi_replace_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)

View File

@ -119,26 +119,31 @@ string(29) "new value.0765432new valueE-9"
Arg value 0.5
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(3) "0.5"
Error: 8 - Array to string conversion, %seregi_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %seregi_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %seregi_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %seregi_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
Error: 2 - eregi_replace() expects parameter 3 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %seregi_replace_variation_003.php(%d)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)

View File

@ -120,26 +120,31 @@ bool(false)
Arg value 0.5
Error: 8192 - Function eregi() is deprecated, %s(75)
bool(false)
Error: 8 - Array to string conversion, %seregi_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Error: 8 - Array to string conversion, %seregi_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Error: 8 - Array to string conversion, %seregi_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Error: 8 - Array to string conversion, %seregi_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(75)
Error: 8 - Array to string conversion, %s(75)
bool(false)
Error: 8 - Array to string conversion, %seregi_variation_001.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(75)

View File

@ -119,26 +119,31 @@ int(1)
Arg value 0.5
Error: 8192 - Function eregi() is deprecated, %s(74)
bool(false)
Error: 8 - Array to string conversion, %seregi_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %seregi_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %seregi_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %seregi_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(74)
Error: 2 - eregi() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %seregi_variation_002.php(%d)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(74)

View File

@ -152,26 +152,31 @@ array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Error: 8 - Array to string conversion, %ssplit_variation_001.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_001.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_001.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_001.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_001.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)

View File

@ -148,26 +148,31 @@ array(1) {
[0]=>
string(3) "0.5"
}
Error: 8 - Array to string conversion, %ssplit_variation_002.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_002.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_002.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_002.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
Error: 2 - split() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_002.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)

View File

@ -116,26 +116,31 @@ array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Error: 8 - Array to string conversion, %ssplit_variation_003.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_003.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_003.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_003.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(73)
Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %ssplit_variation_003.php(%d)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(73)

View File

@ -152,26 +152,31 @@ array(1) {
[0]=>
string(16) "1 a 1 Array 1 c "
}
Error: 8 - Array to string conversion, %sspliti_variation_001.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_001.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_001.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_001.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_001.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)

View File

@ -148,26 +148,31 @@ array(1) {
[0]=>
string(3) "0.5"
}
Error: 8 - Array to string conversion, %sspliti_variation_002.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_002.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_002.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_002.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
Error: 2 - spliti() expects parameter 2 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_002.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)

View File

@ -116,26 +116,31 @@ array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
Error: 8 - Array to string conversion, %sspliti_variation_003.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_003.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_003.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_003.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(73)
Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %sspliti_variation_003.php(%d)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(73)

View File

@ -117,26 +117,31 @@ string(16) "1.07654321[Ee]-9"
Arg value 0.5
Error: 8192 - Function sql_regcase() is deprecated, %s(72)
string(3) "0.5"
Error: 8 - Array to string conversion, %ssql_regcase_variation_001.php(%d)
Arg value Array
Error: 8192 - Function sql_regcase() is deprecated, %s(72)
Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
NULL
Error: 8 - Array to string conversion, %ssql_regcase_variation_001.php(%d)
Arg value Array
Error: 8192 - Function sql_regcase() is deprecated, %s(72)
Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
NULL
Error: 8 - Array to string conversion, %ssql_regcase_variation_001.php(%d)
Arg value Array
Error: 8192 - Function sql_regcase() is deprecated, %s(72)
Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
NULL
Error: 8 - Array to string conversion, %ssql_regcase_variation_001.php(%d)
Arg value Array
Error: 8192 - Function sql_regcase() is deprecated, %s(72)
Error: 2 - sql_regcase() expects parameter 1 to be string, array given, %s(72)
NULL
Error: 8 - Array to string conversion, %ssql_regcase_variation_001.php(%d)
Arg value Array
Error: 8192 - Function sql_regcase() is deprecated, %s(72)

View File

@ -24,7 +24,7 @@ function ut_main()
foreach($http_acc as $http) {
$res = ut_loc_accept_http($http);
$res_str .= "Accepting $http: $res\n";
$res_str .= @"Accepting $http: $res\n";
}
return $res_str;

View File

@ -103,26 +103,36 @@ valid output
Arg value 0.5
valid output
Arg value Array
Warning: posix_getgrgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
Warning: posix_getgrgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Arg value Array
Warning: posix_getgrgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
Warning: posix_getgrgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
Warning: posix_getgrgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
Warning: posix_getgrgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
Warning: posix_getgrgid() expects parameter 1 to be long, array given in %s on line %d

View File

@ -103,26 +103,36 @@ valid output
Arg value 0.5
valid output
Arg value Array
Warning: posix_getpgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
Warning: posix_getpgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Arg value Array
Warning: posix_getpgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
Warning: posix_getpgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
Warning: posix_getpgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
Warning: posix_getpgid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
Warning: posix_getpgid() expects parameter 1 to be long, array given in %s on line %d

View File

@ -103,26 +103,36 @@ valid output
Arg value 0.5
valid output
Arg value Array
Warning: posix_getpwuid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
Warning: posix_getpwuid() expects parameter 1 to be long, array given in %s on line %d
valid output
Arg value Array
Warning: posix_getpwuid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
Warning: posix_getpwuid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
Warning: posix_getpwuid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
Warning: posix_getpwuid() expects parameter 1 to be long, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
Warning: posix_getpwuid() expects parameter 1 to be long, array given in %s on line %d

View File

@ -97,26 +97,36 @@ bool(false)
Arg value 0.5
bool(false)
Arg value Array
Warning: posix_kill() expects parameter 1 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 1 to be long, array given in %s on line %d
bool(false)
Arg value Array
Warning: posix_kill() expects parameter 1 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 1 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 1 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 1 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 1 to be long, array given in %s on line %d

View File

@ -97,26 +97,36 @@ bool(false)
Arg value 0.5
bool(false)
Arg value Array
Warning: posix_kill() expects parameter 2 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 2 to be long, array given in %s on line %d
bool(false)
Arg value Array
Warning: posix_kill() expects parameter 2 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 2 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 2 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 2 to be long, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
Warning: posix_kill() expects parameter 2 to be long, array given in %s on line %d

View File

@ -96,26 +96,36 @@ string
Arg value 0.5
string
Arg value Array
Warning: posix_strerror() expects parameter 1 to be long, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
Warning: posix_strerror() expects parameter 1 to be long, array given in %s on line %d
boolean
Arg value Array
Warning: posix_strerror() expects parameter 1 to be long, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
Warning: posix_strerror() expects parameter 1 to be long, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
Warning: posix_strerror() expects parameter 1 to be long, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
Warning: posix_strerror() expects parameter 1 to be long, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
Warning: posix_strerror() expects parameter 1 to be long, array given in %s on line %d

View File

@ -10,7 +10,7 @@ $a['z'] = '';
$a[''] = '';
foreach ($a as $key => $value) {
echo $key . ': ' . (is_null($value) ? 'null' : $value) .
echo $key . ': ' . (is_null($value) ? 'null' : @"$value") .
' array_key_exists: ' . (array_key_exists($key, $a) ? 'true' : 'false') .
' property_exists: ' . (property_exists($o, $key) ? 'true' : 'false'),"\n";
}

View File

@ -23,10 +23,14 @@ foreach($it as $k=>$v)
hasNext: yes
1=>2
hasNext: yes
Notice: Array to string conversion in %siterator_026.php on line %d
0=>31
hasNext: yes
1=>32
hasNext: yes
Notice: Array to string conversion in %siterator_026.php on line %d
0=>331
hasNext: no
3=>4

View File

@ -70,6 +70,8 @@ int(0)
int(0)
MyRecursiveArrayIterator::hasChildren()
MyRecursiveArrayIterator::getChildren()
Notice: Array to string conversion in %siterator_047.php on line %d
MyRecursiveArrayIterator::hasChildren()
int(0)
int(10)
@ -78,6 +80,8 @@ int(2)
int(2)
MyRecursiveArrayIterator::hasChildren()
MyRecursiveArrayIterator::getChildren()
Notice: Array to string conversion in %siterator_047.php on line %d
MyRecursiveArrayIterator::hasChildren()
int(0)
int(30)
@ -100,6 +104,8 @@ int(0)
int(0)
MyRecursiveArrayIterator::hasChildren()
MyRecursiveArrayIterator::getChildren()
Notice: Array to string conversion in %siterator_047.php on line %d
MyRecursiveArrayIterator::hasChildren()
int(0)
int(10)
@ -108,6 +114,8 @@ int(2)
int(2)
MyRecursiveArrayIterator::hasChildren()
MyRecursiveArrayIterator::getChildren()
Notice: Array to string conversion in %siterator_047.php on line %d
MyRecursiveArrayIterator::hasChildren()
int(0)
int(30)

View File

@ -46,6 +46,8 @@ array(3) {
[2]=>
%s(1) "2"
}
Notice: Array to string conversion in %siterator_050.php on line %d
int(0)
array(2) {
[0]=>
@ -67,6 +69,8 @@ array(2) {
[1]=>
%s(1) "1"
}
Notice: Array to string conversion in %siterator_050.php on line %d
object(ArrayIterator)#%d (1) {
%s"storage"%s"ArrayIterator":private]=>
array(9) {

View File

@ -122,6 +122,8 @@ array(3) {
array(0) {
}
}
Notice: Array to string conversion in %siterator_052.php on line %d
bool(true)
int(5)
array(3) {
@ -248,6 +250,8 @@ array(2) {
array(0) {
}
}
Notice: Array to string conversion in %siterator_052.php on line %d
bool(true)
int(5)
array(2) {

View File

@ -42,6 +42,8 @@ array(3) {
[2]=>
string(1) "3"
}
Notice: Array to string conversion in %siterator_054.php on line %d
int(7)
array(2) {
[0]=>

View File

@ -129,6 +129,16 @@ array(8) {
float(-0.33333333333333)
}
Using SORT_STRING
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
array(8) {
[1000]=>
string(4) "test"
@ -227,6 +237,16 @@ array(8) {
int(27)
}
Using SORT_STRING
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
array(8) {
[16777216]=>
float(-0.33333333333333)
@ -521,6 +541,16 @@ array(8) {
float(-0.33333333333333)
}
Using SORT_STRING
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
array(8) {
[0]=>
string(4) "test"
@ -619,6 +649,16 @@ array(8) {
int(27)
}
Using SORT_STRING
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
Notice: Array to string conversion in %s002.php on line %d
array(8) {
[0]=>
float(-0.33333333333333)

View File

@ -39,8 +39,40 @@ echo "Done";
--EXPECTF--
*** Testing array_diff() : usage variations ***
-- Compare two 2-D arrays --
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
array(0) {
}
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
array(0) {
}
@ -69,6 +101,16 @@ array(3) {
}
-- Compare a subarray from one 2-D array and one 2-D array --
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
array(3) {
[0]=>
int(1)
@ -77,6 +119,20 @@ array(3) {
[2]=>
int(3)
}
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
Notice: Array to string conversion in %sarray_diff_variation9.php on line %d
array(2) {
["sub_array1"]=>
array(3) {

View File

@ -61,6 +61,14 @@ echo "Done";
*** Testing array_intersect_assoc() : passing two dimensional array to both $arr1 and $arr2 arguments ***
-- Passing the entire 2-D array to $arr1 and $arr2 --
- With default arguments -
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
array(2) {
[0]=>
array(4) {
@ -86,6 +94,22 @@ array(2) {
}
}
- With more arguments -
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_assoc_variation9.php on line %d
array(2) {
[0]=>
array(4) {

View File

@ -60,6 +60,42 @@ echo "Done";
*** Testing array_intersect() : passing two dimensional array to both $arr1 and $arr2 arguments ***
-- Passing the entire 2-D array to $arr1 and $arr2 --
- With default arguments -
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
array(4) {
[0]=>
array(4) {
@ -103,6 +139,62 @@ array(4) {
}
}
- With more arguments -
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
Notice: Array to string conversion in %sarray_intersect_variation9.php on line %d
array(4) {
[0]=>
array(4) {

View File

@ -28,6 +28,34 @@ echo "Done";
?>
--EXPECTF--
*** Testing array_unique() : two dimensional array for $input argument ***
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
Notice: Array to string conversion in %sarray_unique_variation8.php on line %d
array(1) {
[0]=>
array(4) {

View File

@ -4,7 +4,7 @@ Bug #29253 (array_diff with $GLOBALS argument fails)
<?php
$zz = $GLOBALS;
$gg = 'afad';
var_dump(array_diff_assoc($GLOBALS, $zz));
var_dump(@array_diff_assoc($GLOBALS, $zz));
var_dump($gg);
?>
--EXPECTF--

View File

@ -11,7 +11,7 @@ $high_arr = array( "ABCD", -10.5555, TRUE, NULL, FALSE, "", array(1,2));
for( $i = 0; $i < count($low_arr); $i++) {
for( $j = 0; $j < count($high_arr); $j++) {
echo "\n-- creating an array with low = '$low_arr[$i]' and high = '$high_arr[$j]' --\n";
echo @"\n-- creating an array with low = '$low_arr[$i]' and high = '$high_arr[$j]' --\n";
var_dump( range( $low_arr[$i], $high_arr[$j] ) );
}
}

View File

@ -122,22 +122,27 @@ bool(false)
Arg value 0.5
In __autoload(0.5)
bool(false)
Error: 8 - Array to string conversion, %sclass_exists_variation_001.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %sclass_exists_variation_001.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %sclass_exists_variation_001.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %sclass_exists_variation_001.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %sclass_exists_variation_001.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)

View File

@ -125,22 +125,27 @@ bool(false)
Arg value 0.5
In __autoload(string_val)
bool(false)
Error: 8 - Array to string conversion, %sclass_exists_variation_002.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
NULL
Error: 8 - Array to string conversion, %sclass_exists_variation_002.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
NULL
Error: 8 - Array to string conversion, %sclass_exists_variation_002.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
NULL
Error: 8 - Array to string conversion, %sclass_exists_variation_002.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
NULL
Error: 8 - Array to string conversion, %sclass_exists_variation_002.php(%d)
Arg value Array
Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)

View File

@ -113,18 +113,23 @@ NULL
Arg value 0.5
NULL
Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(%d)
Arg value Array
NULL
Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(%d)
Arg value Array
NULL
Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(%d)
Arg value Array
NULL
Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(%d)
Arg value Array
NULL
Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(%d)
Arg value Array
NULL

View File

@ -67,7 +67,7 @@ $values = array(
// loop through each element of the array for object
foreach($values as $value) {
echo "\nArg value: $value (type: " . gettype($value) . ")\n";
echo @"\nArg value: $value (type: " . gettype($value) . ")\n";
var_dump( get_class($value) );
};

View File

@ -65,7 +65,7 @@ $values = array(
// loop through each element of the array for obj
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( get_object_vars($value) );
};

View File

@ -114,18 +114,23 @@ bool(false)
Arg value 0.5
bool(false)
Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(%d)
Arg value Array
bool(false)

View File

@ -70,7 +70,7 @@ $values = array(
// loop through each element of the array for object
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( is_a($value, $class_name) );
};

View File

@ -75,7 +75,7 @@ $values = array(
// loop through each element of the array for class_name
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( is_a($object, $value) );
};

View File

@ -115,18 +115,23 @@ bool(false)
Arg value 0.5
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(%d)
Arg value Array
bool(false)

View File

@ -113,22 +113,27 @@ bool(false)
Arg value 0.5
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_002.php(%d)
Arg value Array
Error: 2 - is_subclass_of() expects parameter 2 to be string, array given, %s(%d)
NULL
Error: 8 - Array to string conversion, %sis_subclass_of_variation_002.php(%d)
Arg value Array
Error: 2 - is_subclass_of() expects parameter 2 to be string, array given, %s(%d)
NULL
Error: 8 - Array to string conversion, %sis_subclass_of_variation_002.php(%d)
Arg value Array
Error: 2 - is_subclass_of() expects parameter 2 to be string, array given, %s(%d)
NULL
Error: 8 - Array to string conversion, %sis_subclass_of_variation_002.php(%d)
Arg value Array
Error: 2 - is_subclass_of() expects parameter 2 to be string, array given, %s(%d)
NULL
Error: 8 - Array to string conversion, %sis_subclass_of_variation_002.php(%d)
Arg value Array
Error: 2 - is_subclass_of() expects parameter 2 to be string, array given, %s(%d)

View File

@ -115,18 +115,23 @@ bool(false)
Arg value 0.5
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(%d)
Arg value Array
bool(false)

View File

@ -114,18 +114,23 @@ bool(false)
Arg value 0.5
bool(false)
Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(%d)
Arg value Array
bool(false)
Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(%d)
Arg value Array
bool(false)

View File

@ -113,22 +113,27 @@ bool(false)
Arg value 0.5
bool(false)
Error: 8 - Array to string conversion, %smethod_exists_variation_002.php(%d)
Arg value Array
Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %smethod_exists_variation_002.php(%d)
Arg value Array
Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %smethod_exists_variation_002.php(%d)
Arg value Array
Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %smethod_exists_variation_002.php(%d)
Arg value Array
Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %smethod_exists_variation_002.php(%d)
Arg value Array
Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77)

View File

@ -122,22 +122,27 @@ bool(false)
Arg value 0.5
In __autoload(0.5)
bool(false)
Error: 8 - Array to string conversion, %strait_exists_variation_001.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 1 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %strait_exists_variation_001.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 1 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %strait_exists_variation_001.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 1 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %strait_exists_variation_001.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 1 to be string, array given, %s(77)
NULL
Error: 8 - Array to string conversion, %strait_exists_variation_001.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 1 to be string, array given, %s(77)

View File

@ -125,22 +125,27 @@ bool(false)
Arg value 0.5
In __autoload(string_val)
bool(false)
Error: 8 - Array to string conversion, %strait_exists_variation_002.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 2 to be boolean, array given, %s(81)
NULL
Error: 8 - Array to string conversion, %strait_exists_variation_002.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 2 to be boolean, array given, %s(81)
NULL
Error: 8 - Array to string conversion, %strait_exists_variation_002.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 2 to be boolean, array given, %s(81)
NULL
Error: 8 - Array to string conversion, %strait_exists_variation_002.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 2 to be boolean, array given, %s(81)
NULL
Error: 8 - Array to string conversion, %strait_exists_variation_002.php(%d)
Arg value Array
Error: 2 - trait_exists() expects parameter 2 to be boolean, array given, %s(81)

View File

@ -51,7 +51,7 @@ $iterator = 1;
foreach($inputs as $key => $input) {
echo "\n-- Iteration $iterator --\n";
$handle = "fp{$iterator}";
var_dump( $$handle = fopen($dir_path . $input . '.tmp', 'w') );
var_dump( $$handle = fopen(@"$dir_path$input.tmp", 'w') );
var_dump( fwrite($$handle, $key));
fclose($$handle);
$iterator++;

View File

@ -51,7 +51,7 @@ $iterator = 1;
foreach($inputs as $key => $input) {
echo "\n-- Iteration $iterator --\n";
$handle = "fp{$iterator}";
var_dump( $$handle = fopen($dir_path . $input . '.tmp', 'w') );
var_dump( $$handle = fopen(@"$dir_path$input.tmp", 'w') );
fclose($$handle);
$iterator++;
};

View File

@ -77,7 +77,7 @@ $values = array(
// loop through each element of the array for fp
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( fpassthru($value) );
};

View File

@ -76,7 +76,7 @@ $values = array(
// loop through each element of the array for offset
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( fseek($fp, $value, $whence) );
var_dump( ftell($fp));
};

View File

@ -41,7 +41,7 @@ $names_arr = array(
for( $i=0; $i<count($names_arr); $i++ ) {
$name = $names_arr[$i];
echo "-- testing '$name' --\n";
echo @"-- testing '$name' --\n";
touch($aFile);
var_dump(rename($aFile, $name));
if (file_exists($name)) {

View File

@ -283,12 +283,20 @@ string(14) "Resource id #5"
-- Iteration 3 --
string(14) "Resource id #6"
-- Iteration 4 --
Notice: Array to string conversion in %sstrval.php on line %d
string(5) "Array"
-- Iteration 5 --
Notice: Array to string conversion in %sstrval.php on line %d
string(5) "Array"
-- Iteration 6 --
Notice: Array to string conversion in %sstrval.php on line %d
string(5) "Array"
-- Iteration 7 --
Notice: Array to string conversion in %sstrval.php on line %d
string(5) "Array"
-- Iteration 8 --
string(0) ""

View File

@ -109,12 +109,18 @@ int(1)
101234567000
int(1)
-- Iteration 9 --
Notice: Array to string conversion in %sprint_variation1.php on line %d
Array
int(1)
-- Iteration 10 --
Notice: Array to string conversion in %sprint_variation1.php on line %d
Array
int(1)
-- Iteration 11 --
Notice: Array to string conversion in %sprint_variation1.php on line %d
Array
int(1)
-- Iteration 12 --

View File

@ -13,7 +13,7 @@ var_dump(strval(true));
var_dump(strval(false));
var_dump(strval(array('foo')));
?>
--EXPECT--
--EXPECTF--
string(3) "bar"
string(3) "BAR"
string(6) "foobar"
@ -21,4 +21,6 @@ string(1) "1"
string(3) "1.1"
string(1) "1"
string(0) ""
Notice: Array to string conversion in %sstrval.php on line %d
string(5) "Array"

View File

@ -109,22 +109,27 @@ string(20) "MS4wNzY1NDMyMUUtOQ=="
Arg value 0.5
string(4) "MC41"
Error: 8 - Array to string conversion, %sbase64_encode_variation_001.php(%d)
Arg value Array
Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %sbase64_encode_variation_001.php(%d)
Arg value Array
Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %sbase64_encode_variation_001.php(%d)
Arg value Array
Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %sbase64_encode_variation_001.php(%d)
Arg value Array
Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
NULL
Error: 8 - Array to string conversion, %sbase64_encode_variation_001.php(%d)
Arg value Array
Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)

View File

@ -133,22 +133,27 @@ array(1) {
["path"]=>
string(3) "0.5"
}
Error: 8 - Array to string conversion, %sparse_url_variation_001.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_001.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_001.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_001.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_001.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)

View File

@ -132,22 +132,27 @@ string(4) "http"
Arg value 0.5
string(4) "http"
Error: 8 - Array to string conversion, %sparse_url_variation_002_32bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_002_32bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_002_32bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_002_32bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_002_32bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)

View File

@ -116,22 +116,27 @@ string(4) "http"
Arg value 0.5
string(4) "http"
Error: 8 - Array to string conversion, %sparse_url_variation_002_64bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_002_64bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_002_64bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_002_64bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
NULL
Error: 8 - Array to string conversion, %sparse_url_variation_002_64bit.php(%d)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)

View File

@ -110,22 +110,27 @@ string(13) "1.07654321E-9"
Arg value 0.5
string(3) "0.5"
Error: 8 - Array to string conversion, %srawurldecode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %srawurldecode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %srawurldecode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %srawurldecode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %srawurldecode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)

View File

@ -110,22 +110,27 @@ string(13) "1.07654321E-9"
Arg value 0.5
string(3) "0.5"
Error: 8 - Array to string conversion, %srawurlencode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %srawurlencode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %srawurlencode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %srawurlencode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %srawurlencode_variation_001.php(%d)
Arg value Array
Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)

View File

@ -110,22 +110,27 @@ string(13) "1.07654321E-9"
Arg value 0.5
string(3) "0.5"
Error: 8 - Array to string conversion, %surldecode_variation_001.php(%d)
Arg value Array
Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %surldecode_variation_001.php(%d)
Arg value Array
Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %surldecode_variation_001.php(%d)
Arg value Array
Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %surldecode_variation_001.php(%d)
Arg value Array
Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %surldecode_variation_001.php(%d)
Arg value Array
Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)

View File

@ -110,22 +110,27 @@ string(13) "1.07654321E-9"
Arg value 0.5
string(3) "0.5"
Error: 8 - Array to string conversion, %surlencode_variation_001.php(%d)
Arg value Array
Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %surlencode_variation_001.php(%d)
Arg value Array
Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %surlencode_variation_001.php(%d)
Arg value Array
Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %surlencode_variation_001.php(%d)
Arg value Array
Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
NULL
Error: 8 - Array to string conversion, %surlencode_variation_001.php(%d)
Arg value Array
Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)

View File

@ -10,7 +10,7 @@ $queue = msg_get_queue (ftok(__FILE__, 'r'), 0600);
$tests = array('foo', 123, PHP_INT_MAX +1, true, 1.01, null, array('bar'));
foreach ($tests as $elem) {
echo "Sending/receiving '$elem':\n";
echo @"Sending/receiving '$elem':\n";
var_dump(msg_send($queue, 1, $elem, false));
unset($msg);

View File

@ -79,7 +79,7 @@ $values = array(
// loop through each element of the array for data
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( utf8_decode($value) );
};

View File

@ -79,7 +79,7 @@ $values = array(
// loop through each element of the array for data
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( utf8_encode($value) );
};

View File

@ -77,7 +77,7 @@ $values = array(
// loop through each element of the array for code
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_error_string($value) );
};

View File

@ -87,7 +87,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_get_current_byte_index($value) );
};

View File

@ -88,7 +88,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_get_current_column_number($value) );
};

View File

@ -87,7 +87,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_get_current_line_number($value) );
};

View File

@ -87,7 +87,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_get_error_code($value) );
};

View File

@ -88,7 +88,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_parse_into_struct($value, $data, $struct, $index) );
};

View File

@ -89,7 +89,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_parse($value, $data, $isFinal) );
};

View File

@ -91,7 +91,7 @@ $values = array(
// loop through each element of the array for encoding
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
$res = xml_parser_create_ns($value);
var_dump($res);
if ($res !== false) {

View File

@ -91,7 +91,7 @@ $values = array(
// loop through each element of the array for encoding
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
$res = xml_parser_create($value);
var_dump($res);
if ($res !== false) {

View File

@ -87,7 +87,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_parser_free($value) );
};

View File

@ -88,7 +88,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_parser_get_option($value, $option) );
};

View File

@ -86,7 +86,7 @@ $values = array(
// loop through each element of the array for option
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_parser_get_option($parser, $value) );
};

View File

@ -88,7 +88,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_parser_set_option($value, $option, 1) );
};

View File

@ -81,7 +81,7 @@ $values = array(
// loop through each element of the array for option
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_parser_set_option($parser, $value, 1) );
};

View File

@ -90,7 +90,7 @@ $values = array(
// loop through each element of the array for value
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_parser_set_option($parser, $option, $value) );
};

View File

@ -92,7 +92,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_set_character_data_handler($value, $hdl) );
};

View File

@ -92,7 +92,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_set_default_handler($value, $hdl) );
};

View File

@ -92,7 +92,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_set_element_handler($value, $hdl, $hdl) );
};

View File

@ -92,7 +92,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_set_end_namespace_decl_handler($value, $hdl) );
};

View File

@ -92,7 +92,7 @@ $values = array(
// loop through each element of the array for parser
foreach($values as $value) {
echo "\nArg value $value \n";
echo @"\nArg value $value \n";
var_dump( xml_set_external_entity_ref_handler($value, $hdl) );
};

Some files were not shown because too many files have changed in this diff Show More