Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickallaert/1004204 to your computer and use it in GitHub Desktop.
Save patrickallaert/1004204 to your computer and use it in GitHub Desktop.
Notice on array to string conversion (tests)
diff --git a/Zend/tests/cast_to_string.phpt b/Zend/tests/cast_to_string.phpt
index d06daa2..76576de 100644
Binary files a/Zend/tests/cast_to_string.phpt and b/Zend/tests/cast_to_string.phpt differ
diff --git a/Zend/tests/concat_001.phpt b/Zend/tests/concat_001.phpt
index be12976..1773add 100644
--- a/Zend/tests/concat_001.phpt
+++ b/Zend/tests/concat_001.phpt
@@ -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"
diff --git a/Zend/tests/unset_cv05.phpt b/Zend/tests/unset_cv05.phpt
index 6ef7b34..36fea3b 100644
--- a/Zend/tests/unset_cv05.phpt
+++ b/Zend/tests/unset_cv05.phpt
@@ -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
diff --git a/Zend/tests/unset_cv08.phpt b/Zend/tests/unset_cv08.phpt
index 1c4015a..9b8ab15 100644
--- a/Zend/tests/unset_cv08.phpt
+++ b/Zend/tests/unset_cv08.phpt
@@ -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";
diff --git a/ext/ereg/tests/ereg_replace_variation_001.phpt b/ext/ereg/tests/ereg_replace_variation_001.phpt
index ebb1504..b65ff7e 100644
--- a/ext/ereg/tests/ereg_replace_variation_001.phpt
+++ b/ext/ereg/tests/ereg_replace_variation_001.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
diff --git a/ext/ereg/tests/ereg_replace_variation_002.phpt b/ext/ereg/tests/ereg_replace_variation_002.phpt
index 19f91c6..fdc9ac6 100644
--- a/ext/ereg/tests/ereg_replace_variation_002.phpt
+++ b/ext/ereg/tests/ereg_replace_variation_002.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
@@ -185,4 +190,4 @@ string(5) "ho%21"
Arg value
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
string(5) "ho%21"
-Done
\ No newline at end of file
+Done
diff --git a/ext/ereg/tests/ereg_replace_variation_003.phpt b/ext/ereg/tests/ereg_replace_variation_003.phpt
index c6a606e..e1290aa 100644
--- a/ext/ereg/tests/ereg_replace_variation_003.phpt
+++ b/ext/ereg/tests/ereg_replace_variation_003.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function ereg_replace() is deprecated, %s(74)
diff --git a/ext/ereg/tests/ereg_variation_001.phpt b/ext/ereg/tests/ereg_variation_001.phpt
index 52b88ab..bb650c9 100644
--- a/ext/ereg/tests/ereg_variation_001.phpt
+++ b/ext/ereg/tests/ereg_variation_001.phpt
@@ -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(74)
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(74)
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(74)
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(74)
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(74)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(75)
diff --git a/ext/ereg/tests/ereg_variation_002.phpt b/ext/ereg/tests/ereg_variation_002.phpt
index 1b3e3fc..8c60b47 100644
--- a/ext/ereg/tests/ereg_variation_002.phpt
+++ b/ext/ereg/tests/ereg_variation_002.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function ereg() is deprecated, %s(74)
diff --git a/ext/ereg/tests/eregi_replace_variation_001.phpt b/ext/ereg/tests/eregi_replace_variation_001.phpt
index af2935d..23ec86f 100644
--- a/ext/ereg/tests/eregi_replace_variation_001.phpt
+++ b/ext/ereg/tests/eregi_replace_variation_001.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
diff --git a/ext/ereg/tests/eregi_replace_variation_002.phpt b/ext/ereg/tests/eregi_replace_variation_002.phpt
index e14c5a1..d4c7a1c 100644
--- a/ext/ereg/tests/eregi_replace_variation_002.phpt
+++ b/ext/ereg/tests/eregi_replace_variation_002.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
@@ -185,4 +190,4 @@ string(5) "ho%21"
Arg value
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
string(5) "ho%21"
-Done
\ No newline at end of file
+Done
diff --git a/ext/ereg/tests/eregi_replace_variation_003.phpt b/ext/ereg/tests/eregi_replace_variation_003.phpt
index 8e8e508..a3213b6 100644
--- a/ext/ereg/tests/eregi_replace_variation_003.phpt
+++ b/ext/ereg/tests/eregi_replace_variation_003.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function eregi_replace() is deprecated, %s(74)
diff --git a/ext/ereg/tests/eregi_variation_001.phpt b/ext/ereg/tests/eregi_variation_001.phpt
index 54e80bb..f607149 100644
--- a/ext/ereg/tests/eregi_variation_001.phpt
+++ b/ext/ereg/tests/eregi_variation_001.phpt
@@ -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(74)
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(74)
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(74)
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(74)
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(74)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(75)
diff --git a/ext/ereg/tests/eregi_variation_002.phpt b/ext/ereg/tests/eregi_variation_002.phpt
index bb7fc35..38f1c52 100644
--- a/ext/ereg/tests/eregi_variation_002.phpt
+++ b/ext/ereg/tests/eregi_variation_002.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function eregi() is deprecated, %s(74)
diff --git a/ext/ereg/tests/split_variation_001.phpt b/ext/ereg/tests/split_variation_001.phpt
index 454c4b4..fc9f983 100644
--- a/ext/ereg/tests/split_variation_001.phpt
+++ b/ext/ereg/tests/split_variation_001.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
diff --git a/ext/ereg/tests/split_variation_002.phpt b/ext/ereg/tests/split_variation_002.phpt
index 2a07353..049a4b9 100644
--- a/ext/ereg/tests/split_variation_002.phpt
+++ b/ext/ereg/tests/split_variation_002.phpt
@@ -148,26 +148,31 @@ array(1) {
[0]=>
string(3) "0.5"
}
+Error: 8 - Array to string conversion, %ssplit_variation_002.php(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(74)
diff --git a/ext/ereg/tests/split_variation_003.phpt b/ext/ereg/tests/split_variation_003.phpt
index 480db35..eba33a1 100644
--- a/ext/ereg/tests/split_variation_003.phpt
+++ b/ext/ereg/tests/split_variation_003.phpt
@@ -116,26 +116,31 @@ array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
+Error: 8 - Array to string conversion, %ssplit_variation_003.php(72)
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(72)
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(72)
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(72)
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(72)
Arg value Array
Error: 8192 - Function split() is deprecated, %s(73)
@@ -223,4 +228,4 @@ array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Done
\ No newline at end of file
+Done
diff --git a/ext/ereg/tests/spliti_variation_001.phpt b/ext/ereg/tests/spliti_variation_001.phpt
index 08c6ba0..ad83bbf 100644
--- a/ext/ereg/tests/spliti_variation_001.phpt
+++ b/ext/ereg/tests/spliti_variation_001.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
diff --git a/ext/ereg/tests/spliti_variation_002.phpt b/ext/ereg/tests/spliti_variation_002.phpt
index 03fc131..972dfca 100644
--- a/ext/ereg/tests/spliti_variation_002.phpt
+++ b/ext/ereg/tests/spliti_variation_002.phpt
@@ -148,26 +148,31 @@ array(1) {
[0]=>
string(3) "0.5"
}
+Error: 8 - Array to string conversion, %sspliti_variation_002.php(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(74)
diff --git a/ext/ereg/tests/spliti_variation_003.phpt b/ext/ereg/tests/spliti_variation_003.phpt
index beee4c6..15ab916 100644
--- a/ext/ereg/tests/spliti_variation_003.phpt
+++ b/ext/ereg/tests/spliti_variation_003.phpt
@@ -116,26 +116,31 @@ array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
+Error: 8 - Array to string conversion, %sspliti_variation_003.php(72)
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(72)
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(72)
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(72)
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(72)
Arg value Array
Error: 8192 - Function spliti() is deprecated, %s(73)
@@ -223,4 +228,4 @@ array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Done
\ No newline at end of file
+Done
diff --git a/ext/ereg/tests/sql_regcase_variation_001.phpt b/ext/ereg/tests/sql_regcase_variation_001.phpt
index c2c28ab..ceb0d54 100644
--- a/ext/ereg/tests/sql_regcase_variation_001.phpt
+++ b/ext/ereg/tests/sql_regcase_variation_001.phpt
@@ -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(71)
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(71)
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(71)
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(71)
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(71)
Arg value Array
Error: 8192 - Function sql_regcase() is deprecated, %s(72)
diff --git a/ext/intl/tests/locale_accept.phpt b/ext/intl/tests/locale_accept.phpt
index 923571f..dbc2095 100755
--- a/ext/intl/tests/locale_accept.phpt
+++ b/ext/intl/tests/locale_accept.phpt
@@ -37,7 +37,11 @@ ut_run();
--EXPECTF--
Warning: Locale::acceptFromHttp() expects parameter 1 to be string, array given in %s on line %d
+Notice: Array to string conversion in %slocale_accept.php on line %d
+
Warning: locale_accept_from_http() expects parameter 1 to be string, array given in %s on line %d
+
+Notice: Array to string conversion in %slocale_accept.php on line %d
Accepting en-us,en;q=0.5: en_US
Accepting da, en-gb;q=0.8, en;q=0.7: da
Accepting zh, en-us;q=0.8, en;q=0.7: zh
diff --git a/ext/posix/tests/posix_getgrgid_variation.phpt b/ext/posix/tests/posix_getgrgid_variation.phpt
index 13db73b..5cce391 100644
--- a/ext/posix/tests/posix_getgrgid_variation.phpt
+++ b/ext/posix/tests/posix_getgrgid_variation.phpt
@@ -103,26 +103,36 @@ valid output
Arg value 0.5
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
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
diff --git a/ext/posix/tests/posix_getpgid_variation.phpt b/ext/posix/tests/posix_getpgid_variation.phpt
index 34a4beb..ece2315 100644
--- a/ext/posix/tests/posix_getpgid_variation.phpt
+++ b/ext/posix/tests/posix_getpgid_variation.phpt
@@ -103,26 +103,36 @@ valid output
Arg value 0.5
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
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
diff --git a/ext/posix/tests/posix_getpwuid_variation.phpt b/ext/posix/tests/posix_getpwuid_variation.phpt
index 8e91d6c..8b66f7f 100644
--- a/ext/posix/tests/posix_getpwuid_variation.phpt
+++ b/ext/posix/tests/posix_getpwuid_variation.phpt
@@ -103,26 +103,36 @@ valid output
Arg value 0.5
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
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
diff --git a/ext/posix/tests/posix_kill_variation1.phpt b/ext/posix/tests/posix_kill_variation1.phpt
index 6fcf0fa..230977a 100644
--- a/ext/posix/tests/posix_kill_variation1.phpt
+++ b/ext/posix/tests/posix_kill_variation1.phpt
@@ -97,26 +97,36 @@ bool(false)
Arg value 0.5
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
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
diff --git a/ext/posix/tests/posix_kill_variation2.phpt b/ext/posix/tests/posix_kill_variation2.phpt
index 240cfa5..c03ead9 100644
--- a/ext/posix/tests/posix_kill_variation2.phpt
+++ b/ext/posix/tests/posix_kill_variation2.phpt
@@ -97,26 +97,36 @@ bool(false)
Arg value 0.5
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
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
diff --git a/ext/posix/tests/posix_strerror_variation1.phpt b/ext/posix/tests/posix_strerror_variation1.phpt
index 5d6e354..4d2b526 100644
--- a/ext/posix/tests/posix_strerror_variation1.phpt
+++ b/ext/posix/tests/posix_strerror_variation1.phpt
@@ -96,26 +96,36 @@ string
Arg value 0.5
string
+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
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
diff --git a/ext/spl/tests/bug53515.phpt b/ext/spl/tests/bug53515.phpt
index f99840e..c79b2e5 100644
--- a/ext/spl/tests/bug53515.phpt
+++ b/ext/spl/tests/bug53515.phpt
@@ -16,12 +16,14 @@ foreach ($a as $key => $value) {
}
?>
---EXPECT--
+--EXPECTF--
a: 1 array_key_exists: true property_exists: true
b: 1 array_key_exists: true property_exists: true
c: 0 array_key_exists: true property_exists: true
d: null array_key_exists: true property_exists: true
e: array_key_exists: true property_exists: true
+
+Notice: Array to string conversion in %sbug53515.php on line %d
f: Array array_key_exists: true property_exists: true
z: array_key_exists: true property_exists: false
: array_key_exists: true property_exists: false
diff --git a/ext/spl/tests/iterator_026.phpt b/ext/spl/tests/iterator_026.phpt
index 1e60582..8eb77a7 100755
--- a/ext/spl/tests/iterator_026.phpt
+++ b/ext/spl/tests/iterator_026.phpt
@@ -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
diff --git a/ext/spl/tests/iterator_047.phpt b/ext/spl/tests/iterator_047.phpt
index e5fec4f..548f486 100755
--- a/ext/spl/tests/iterator_047.phpt
+++ b/ext/spl/tests/iterator_047.phpt
@@ -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)
diff --git a/ext/spl/tests/iterator_050.phpt b/ext/spl/tests/iterator_050.phpt
index 63d8fbf..fed4a3b 100755
--- a/ext/spl/tests/iterator_050.phpt
+++ b/ext/spl/tests/iterator_050.phpt
@@ -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) {
diff --git a/ext/spl/tests/iterator_052.phpt b/ext/spl/tests/iterator_052.phpt
index a0cbdd8..c68bd52 100755
--- a/ext/spl/tests/iterator_052.phpt
+++ b/ext/spl/tests/iterator_052.phpt
@@ -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) {
diff --git a/ext/spl/tests/iterator_054.phpt b/ext/spl/tests/iterator_054.phpt
index 91266c9..1f1cd58 100755
--- a/ext/spl/tests/iterator_054.phpt
+++ b/ext/spl/tests/iterator_054.phpt
@@ -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]=>
diff --git a/ext/standard/tests/array/002.phpt b/ext/standard/tests/array/002.phpt
index b865dc1..469e862 100644
--- a/ext/standard/tests/array/002.phpt
+++ b/ext/standard/tests/array/002.phpt
@@ -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)
diff --git a/ext/standard/tests/array/array_diff_variation9.phpt b/ext/standard/tests/array/array_diff_variation9.phpt
index 58d9c20..546b4be 100644
--- a/ext/standard/tests/array/array_diff_variation9.phpt
+++ b/ext/standard/tests/array/array_diff_variation9.phpt
@@ -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) {
@@ -97,4 +153,4 @@ array(2) {
string(1) "c"
}
}
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/array/array_intersect_assoc_variation9.phpt b/ext/standard/tests/array/array_intersect_assoc_variation9.phpt
index 456109b..338d409 100644
--- a/ext/standard/tests/array/array_intersect_assoc_variation9.phpt
+++ b/ext/standard/tests/array/array_intersect_assoc_variation9.phpt
@@ -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) {
diff --git a/ext/standard/tests/array/array_intersect_variation9.phpt b/ext/standard/tests/array/array_intersect_variation9.phpt
index d3525dc..fda63dd 100644
--- a/ext/standard/tests/array/array_intersect_variation9.phpt
+++ b/ext/standard/tests/array/array_intersect_variation9.phpt
@@ -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) {
diff --git a/ext/standard/tests/array/array_unique_variation8.phpt b/ext/standard/tests/array/array_unique_variation8.phpt
index 6cf3432..ee34dee 100644
--- a/ext/standard/tests/array/array_unique_variation8.phpt
+++ b/ext/standard/tests/array/array_unique_variation8.phpt
@@ -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) {
diff --git a/ext/standard/tests/array/bug29253.phpt b/ext/standard/tests/array/bug29253.phpt
index 378489f..f04d420 100755
--- a/ext/standard/tests/array/bug29253.phpt
+++ b/ext/standard/tests/array/bug29253.phpt
@@ -8,6 +8,37 @@ var_dump(array_diff_assoc($GLOBALS, $zz));
var_dump($gg);
?>
--EXPECTF--
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
+
+Notice: Array to string conversion in %sbug29253.php on line %d
array(0) {
}
string(4) "afad"
diff --git a/ext/standard/tests/array/range_variation.phpt b/ext/standard/tests/array/range_variation.phpt
index 0ac8c55..8627b32 100644
--- a/ext/standard/tests/array/range_variation.phpt
+++ b/ext/standard/tests/array/range_variation.phpt
@@ -82,6 +82,8 @@ array(1) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = 'ABCD' and high = 'Array' --
array(2) {
[0]=>
@@ -228,6 +230,8 @@ array(11) {
float(-0.5555)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = '-10.5555' and high = 'Array' --
array(12) {
[0]=>
@@ -322,6 +326,8 @@ array(2) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = '1' and high = 'Array' --
array(1) {
[0]=>
@@ -386,6 +392,8 @@ array(1) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = '' and high = 'Array' --
array(2) {
[0]=>
@@ -452,6 +460,8 @@ array(1) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = '' and high = 'Array' --
array(2) {
[0]=>
@@ -518,6 +528,8 @@ array(1) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = '' and high = 'Array' --
array(2) {
[0]=>
@@ -526,6 +538,8 @@ array(2) {
int(1)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = 'Array' and high = 'ABCD' --
array(2) {
[0]=>
@@ -534,6 +548,8 @@ array(2) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = 'Array' and high = '-10.5555' --
array(12) {
[0]=>
@@ -562,12 +578,16 @@ array(12) {
float(-10)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = 'Array' and high = '1' --
array(1) {
[0]=>
int(1)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = 'Array' and high = '' --
array(2) {
[0]=>
@@ -576,6 +596,8 @@ array(2) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = 'Array' and high = '' --
array(2) {
[0]=>
@@ -584,6 +606,8 @@ array(2) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = 'Array' and high = '' --
array(2) {
[0]=>
@@ -592,6 +616,10 @@ array(2) {
int(0)
}
+Notice: Array to string conversion in %srange_variation.php on line %d
+
+Notice: Array to string conversion in %srange_variation.php on line %d
+
-- creating an array with low = 'Array' and high = 'Array' --
array(1) {
[0]=>
diff --git a/ext/standard/tests/class_object/class_exists_variation_001.phpt b/ext/standard/tests/class_object/class_exists_variation_001.phpt
index 2141d65..cd748de 100644
--- a/ext/standard/tests/class_object/class_exists_variation_001.phpt
+++ b/ext/standard/tests/class_object/class_exists_variation_001.phpt
@@ -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(76)
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(76)
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(76)
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(76)
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(76)
Arg value Array
Error: 2 - class_exists() expects parameter 1 to be string, array given, %s(77)
@@ -179,4 +184,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/class_exists_variation_002.phpt b/ext/standard/tests/class_object/class_exists_variation_002.phpt
index da10cac..139d78f 100644
--- a/ext/standard/tests/class_object/class_exists_variation_002.phpt
+++ b/ext/standard/tests/class_object/class_exists_variation_002.phpt
@@ -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(80)
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(80)
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(80)
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(80)
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(80)
Arg value Array
Error: 2 - class_exists() expects parameter 2 to be boolean, array given, %s(81)
@@ -190,4 +195,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/get_class_methods_variation_001.phpt b/ext/standard/tests/class_object/get_class_methods_variation_001.phpt
index b881452..bfb731f 100644
--- a/ext/standard/tests/class_object/get_class_methods_variation_001.phpt
+++ b/ext/standard/tests/class_object/get_class_methods_variation_001.phpt
@@ -113,18 +113,23 @@ NULL
Arg value 0.5
NULL
+Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(76)
Arg value Array
NULL
+Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(76)
Arg value Array
NULL
+Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(76)
Arg value Array
NULL
+Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(76)
Arg value Array
NULL
+Error: 8 - Array to string conversion, %sget_class_methods_variation_001.php(76)
Arg value Array
NULL
@@ -169,4 +174,4 @@ NULL
Arg value
NULL
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/get_class_variation_001.phpt b/ext/standard/tests/class_object/get_class_variation_001.phpt
index e2bf986..1d43ca4 100644
--- a/ext/standard/tests/class_object/get_class_variation_001.phpt
+++ b/ext/standard/tests/class_object/get_class_variation_001.phpt
@@ -125,26 +125,36 @@ Arg value: 0.5 (type: double)
Warning: get_class() expects parameter 1 to be object, double given in %sget_class_variation_001.php on line %d
bool(false)
+Notice: Array to string conversion in %sget_class_variation_001.php on line %d
+
Arg value: Array (type: array)
Warning: get_class() expects parameter 1 to be object, array given in %sget_class_variation_001.php on line %d
bool(false)
+Notice: Array to string conversion in %sget_class_variation_001.php on line %d
+
Arg value: Array (type: array)
Warning: get_class() expects parameter 1 to be object, array given in %sget_class_variation_001.php on line %d
bool(false)
+Notice: Array to string conversion in %sget_class_variation_001.php on line %d
+
Arg value: Array (type: array)
Warning: get_class() expects parameter 1 to be object, array given in %sget_class_variation_001.php on line %d
bool(false)
+Notice: Array to string conversion in %sget_class_variation_001.php on line %d
+
Arg value: Array (type: array)
Warning: get_class() expects parameter 1 to be object, array given in %sget_class_variation_001.php on line %d
bool(false)
+Notice: Array to string conversion in %sget_class_variation_001.php on line %d
+
Arg value: Array (type: array)
Warning: get_class() expects parameter 1 to be object, array given in %sget_class_variation_001.php on line %d
diff --git a/ext/standard/tests/class_object/get_object_vars_variation_003.phpt b/ext/standard/tests/class_object/get_object_vars_variation_003.phpt
index adefa79..59ac7d4 100644
--- a/ext/standard/tests/class_object/get_object_vars_variation_003.phpt
+++ b/ext/standard/tests/class_object/get_object_vars_variation_003.phpt
@@ -123,26 +123,36 @@ Arg value 0.5
Warning: get_object_vars() expects parameter 1 to be object, double given in %s on line %d
NULL
+Notice: Array to string conversion in %sget_object_vars_variation_003.php on line %d
+
Arg value Array
Warning: get_object_vars() expects parameter 1 to be object, array given in %s on line %d
NULL
+Notice: Array to string conversion in %sget_object_vars_variation_003.php on line %d
+
Arg value Array
Warning: get_object_vars() expects parameter 1 to be object, array given in %s on line %d
NULL
+Notice: Array to string conversion in %sget_object_vars_variation_003.php on line %d
+
Arg value Array
Warning: get_object_vars() expects parameter 1 to be object, array given in %s on line %d
NULL
+Notice: Array to string conversion in %sget_object_vars_variation_003.php on line %d
+
Arg value Array
Warning: get_object_vars() expects parameter 1 to be object, array given in %s on line %d
NULL
+Notice: Array to string conversion in %sget_object_vars_variation_003.php on line %d
+
Arg value Array
Warning: get_object_vars() expects parameter 1 to be object, array given in %s on line %d
@@ -207,4 +217,4 @@ Arg value
Warning: get_object_vars() expects parameter 1 to be object, null given in %s on line %d
NULL
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/get_parent_class_variation_002.phpt b/ext/standard/tests/class_object/get_parent_class_variation_002.phpt
index f7e5b9d..82c2dbd 100644
--- a/ext/standard/tests/class_object/get_parent_class_variation_002.phpt
+++ b/ext/standard/tests/class_object/get_parent_class_variation_002.phpt
@@ -114,18 +114,23 @@ bool(false)
Arg value 0.5
bool(false)
+Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(77)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(77)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(77)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(77)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sget_parent_class_variation_002.php(77)
Arg value Array
bool(false)
@@ -171,4 +176,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/is_a_variation_001.phpt b/ext/standard/tests/class_object/is_a_variation_001.phpt
index d2d6ce2..93c044d 100644
--- a/ext/standard/tests/class_object/is_a_variation_001.phpt
+++ b/ext/standard/tests/class_object/is_a_variation_001.phpt
@@ -110,18 +110,28 @@ bool(false)
Arg value 0.5
bool(false)
+Notice: Array to string conversion in %sis_a_variation_001.php on line 68
+
Arg value Array
bool(false)
+Notice: Array to string conversion in %sis_a_variation_001.php on line 68
+
Arg value Array
bool(false)
+Notice: Array to string conversion in %sis_a_variation_001.php on line 68
+
Arg value Array
bool(false)
+Notice: Array to string conversion in %sis_a_variation_001.php on line 68
+
Arg value Array
bool(false)
+Notice: Array to string conversion in %sis_a_variation_001.php on line 68
+
Arg value Array
bool(false)
diff --git a/ext/standard/tests/class_object/is_a_variation_002.phpt b/ext/standard/tests/class_object/is_a_variation_002.phpt
index 970da72..7b01ae0 100644
--- a/ext/standard/tests/class_object/is_a_variation_002.phpt
+++ b/ext/standard/tests/class_object/is_a_variation_002.phpt
@@ -115,26 +115,36 @@ bool(false)
Arg value 0.5
bool(false)
+Notice: Array to string conversion in %sis_a_variation_002.php on line 73
+
Arg value Array
Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
NULL
+Notice: Array to string conversion in %sis_a_variation_002.php on line 73
+
Arg value Array
Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
NULL
+Notice: Array to string conversion in %sis_a_variation_002.php on line 73
+
Arg value Array
Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
NULL
+Notice: Array to string conversion in %sis_a_variation_002.php on line 73
+
Arg value Array
Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
NULL
+Notice: Array to string conversion in %sis_a_variation_002.php on line 73
+
Arg value Array
Warning: is_a() expects parameter 2 to be string, array given in %s on line %d
diff --git a/ext/standard/tests/class_object/is_subclass_of_variation_001.phpt b/ext/standard/tests/class_object/is_subclass_of_variation_001.phpt
index f11183d..eca24a9 100644
--- a/ext/standard/tests/class_object/is_subclass_of_variation_001.phpt
+++ b/ext/standard/tests/class_object/is_subclass_of_variation_001.phpt
@@ -115,18 +115,23 @@ bool(false)
Arg value 0.5
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(78)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(78)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(78)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(78)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_001.php(78)
Arg value Array
bool(false)
@@ -172,4 +177,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt b/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt
index c550d80..e2cb76b 100644
--- a/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt
+++ b/ext/standard/tests/class_object/is_subclass_of_variation_002.phpt
@@ -113,22 +113,27 @@ bool(false)
Arg value 0.5
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_002.php(76)
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(76)
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(76)
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(76)
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(76)
Arg value Array
Error: 2 - is_subclass_of() expects parameter 2 to be string, array given, %s(%d)
@@ -168,4 +173,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt b/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt
index 72a02a0..235f88e 100644
--- a/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt
+++ b/ext/standard/tests/class_object/is_subclass_of_variation_004.phpt
@@ -115,18 +115,23 @@ bool(false)
Arg value 0.5
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(78)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(78)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(78)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(78)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %sis_subclass_of_variation_004.php(78)
Arg value Array
bool(false)
@@ -172,4 +177,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/method_exists_variation_001.phpt b/ext/standard/tests/class_object/method_exists_variation_001.phpt
index 117c211..91a9370 100644
--- a/ext/standard/tests/class_object/method_exists_variation_001.phpt
+++ b/ext/standard/tests/class_object/method_exists_variation_001.phpt
@@ -114,18 +114,23 @@ bool(false)
Arg value 0.5
bool(false)
+Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(77)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(77)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(77)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(77)
Arg value Array
bool(false)
+Error: 8 - Array to string conversion, %smethod_exists_variation_001.php(77)
Arg value Array
bool(false)
@@ -167,4 +172,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/method_exists_variation_002.phpt b/ext/standard/tests/class_object/method_exists_variation_002.phpt
index ba38894..76ffac6 100644
--- a/ext/standard/tests/class_object/method_exists_variation_002.phpt
+++ b/ext/standard/tests/class_object/method_exists_variation_002.phpt
@@ -113,22 +113,27 @@ bool(false)
Arg value 0.5
bool(false)
+Error: 8 - Array to string conversion, %smethod_exists_variation_002.php(76)
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(76)
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(76)
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(76)
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(76)
Arg value Array
Error: 2 - method_exists() expects parameter 2 to be string, array given, %s(77)
@@ -168,4 +173,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/trait_exists_variation_001.phpt b/ext/standard/tests/class_object/trait_exists_variation_001.phpt
index 16515de..3e2baac 100644
--- a/ext/standard/tests/class_object/trait_exists_variation_001.phpt
+++ b/ext/standard/tests/class_object/trait_exists_variation_001.phpt
@@ -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(76)
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(76)
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(76)
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(76)
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(76)
Arg value Array
Error: 2 - trait_exists() expects parameter 1 to be string, array given, %s(77)
@@ -179,4 +184,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/class_object/trait_exists_variation_002.phpt b/ext/standard/tests/class_object/trait_exists_variation_002.phpt
index d29d81a..a7e86ad 100644
--- a/ext/standard/tests/class_object/trait_exists_variation_002.phpt
+++ b/ext/standard/tests/class_object/trait_exists_variation_002.phpt
@@ -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(80)
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(80)
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(80)
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(80)
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(80)
Arg value Array
Error: 2 - trait_exists() expects parameter 2 to be boolean, array given, %s(81)
@@ -190,4 +195,4 @@ bool(false)
Arg value
bool(false)
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/dir/readdir_variation4.phpt b/ext/standard/tests/dir/readdir_variation4.phpt
index 4c22de8..4dea07f 100644
--- a/ext/standard/tests/dir/readdir_variation4.phpt
+++ b/ext/standard/tests/dir/readdir_variation4.phpt
@@ -125,6 +125,8 @@ resource(%d) of type (stream)
int(1)
-- Iteration 11 --
+
+Notice: Array to string conversion in %sreaddir_variation4.php on line %d
resource(%d) of type (stream)
int(2)
diff --git a/ext/standard/tests/dir/scandir_variation8.phpt b/ext/standard/tests/dir/scandir_variation8.phpt
index 36ae88c..cb09dd0 100644
--- a/ext/standard/tests/dir/scandir_variation8.phpt
+++ b/ext/standard/tests/dir/scandir_variation8.phpt
@@ -105,6 +105,8 @@ resource(%d) of type (stream)
resource(%d) of type (stream)
-- Iteration 11 --
+
+Notice: Array to string conversion in %sscandir_variation8.php on line %d
resource(%d) of type (stream)
-- Iteration 12 --
diff --git a/ext/standard/tests/file/file_put_contents_variation8.phpt b/ext/standard/tests/file/file_put_contents_variation8.phpt
index 1e27e71..8ce081a 100644
Binary files a/ext/standard/tests/file/file_put_contents_variation8.phpt and b/ext/standard/tests/file/file_put_contents_variation8.phpt differ
diff --git a/ext/standard/tests/file/readfile_variation10.phpt b/ext/standard/tests/file/readfile_variation10.phpt
index a48150a..71520e8 100644
Binary files a/ext/standard/tests/file/readfile_variation10.phpt and b/ext/standard/tests/file/readfile_variation10.phpt differ
diff --git a/ext/standard/tests/file/rename_variation13.phpt b/ext/standard/tests/file/rename_variation13.phpt
index 24697d5..f8aaf84 100644
--- a/ext/standard/tests/file/rename_variation13.phpt
+++ b/ext/standard/tests/file/rename_variation13.phpt
@@ -104,6 +104,8 @@ bool(false)
Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
bool(false)
+
+Notice: Array to string conversion in %srename_variation13.php on line %d
-- testing 'Array' --
Warning: rename() expects parameter 2 to be string, array given in %s on line %d
diff --git a/ext/standard/tests/general_functions/strval.phpt b/ext/standard/tests/general_functions/strval.phpt
index 3506785..b92be41 100644
--- a/ext/standard/tests/general_functions/strval.phpt
+++ b/ext/standard/tests/general_functions/strval.phpt
@@ -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) ""
diff --git a/ext/standard/tests/strings/print_variation1.phpt b/ext/standard/tests/strings/print_variation1.phpt
index 084f22f..2a81030 100644
--- a/ext/standard/tests/strings/print_variation1.phpt
+++ b/ext/standard/tests/strings/print_variation1.phpt
@@ -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 --
@@ -147,4 +153,4 @@ int(1)
-- Iteration 21 --
int(1)
-===DONE===
\ No newline at end of file
+===DONE===
diff --git a/ext/standard/tests/strings/strval.phpt b/ext/standard/tests/strings/strval.phpt
index 3f8b5cc..b837a07 100644
--- a/ext/standard/tests/strings/strval.phpt
+++ b/ext/standard/tests/strings/strval.phpt
@@ -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"
diff --git a/ext/standard/tests/url/base64_encode_variation_001.phpt b/ext/standard/tests/url/base64_encode_variation_001.phpt
index 30da145..d9c8c7c 100644
--- a/ext/standard/tests/url/base64_encode_variation_001.phpt
+++ b/ext/standard/tests/url/base64_encode_variation_001.phpt
@@ -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(72)
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(72)
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(72)
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(72)
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(72)
Arg value Array
Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
diff --git a/ext/standard/tests/url/parse_url_variation_001.phpt b/ext/standard/tests/url/parse_url_variation_001.phpt
index 18ef0a5..bfa1fc6 100644
--- a/ext/standard/tests/url/parse_url_variation_001.phpt
+++ b/ext/standard/tests/url/parse_url_variation_001.phpt
@@ -133,22 +133,27 @@ array(1) {
["path"]=>
string(3) "0.5"
}
+Error: 8 - Array to string conversion, %sparse_url_variation_001.php(69)
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(69)
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(69)
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(69)
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(69)
Arg value Array
Error: 2 - parse_url() expects parameter 1 to be string, array given, %s(70)
@@ -218,4 +223,4 @@ array(1) {
["path"]=>
string(0) ""
}
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/url/parse_url_variation_002_32bit.phpt b/ext/standard/tests/url/parse_url_variation_002_32bit.phpt
index 88971e9..82e78f2 100644
--- a/ext/standard/tests/url/parse_url_variation_002_32bit.phpt
+++ b/ext/standard/tests/url/parse_url_variation_002_32bit.phpt
@@ -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(70)
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(70)
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(70)
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(70)
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(70)
Arg value Array
Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
@@ -197,4 +202,4 @@ string(4) "http"
Arg value
string(4) "http"
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/url/rawurldecode_variation_001.phpt b/ext/standard/tests/url/rawurldecode_variation_001.phpt
index 4942e8b..fdd000a 100644
--- a/ext/standard/tests/url/rawurldecode_variation_001.phpt
+++ b/ext/standard/tests/url/rawurldecode_variation_001.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
@@ -165,4 +170,4 @@ string(0) ""
Arg value
string(0) ""
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/url/rawurlencode_variation_001.phpt b/ext/standard/tests/url/rawurlencode_variation_001.phpt
index d90825b..6794256 100644
--- a/ext/standard/tests/url/rawurlencode_variation_001.phpt
+++ b/ext/standard/tests/url/rawurlencode_variation_001.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
@@ -165,4 +170,4 @@ string(0) ""
Arg value
string(0) ""
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/url/urldecode_variation_001.phpt b/ext/standard/tests/url/urldecode_variation_001.phpt
index 7ebc7bd..986aa6f 100644
--- a/ext/standard/tests/url/urldecode_variation_001.phpt
+++ b/ext/standard/tests/url/urldecode_variation_001.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
@@ -165,4 +170,4 @@ string(0) ""
Arg value
string(0) ""
-Done
\ No newline at end of file
+Done
diff --git a/ext/standard/tests/url/urlencode_variation_001.phpt b/ext/standard/tests/url/urlencode_variation_001.phpt
index 1f82b65..e3ffde6 100644
--- a/ext/standard/tests/url/urlencode_variation_001.phpt
+++ b/ext/standard/tests/url/urlencode_variation_001.phpt
@@ -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(73)
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(73)
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(73)
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(73)
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(73)
Arg value Array
Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
@@ -165,4 +170,4 @@ string(0) ""
Arg value
string(0) ""
-Done
\ No newline at end of file
+Done
diff --git a/ext/sysvmsg/tests/006.phpt b/ext/sysvmsg/tests/006.phpt
index 675e5e1..a121d0a 100644
--- a/ext/sysvmsg/tests/006.phpt
+++ b/ext/sysvmsg/tests/006.phpt
@@ -59,6 +59,8 @@ bool(false)
bool(false)
bool(true)
bool(false)
+
+Notice: Array to string conversion in %s006.php on line %d
Sending/receiving 'Array':
Warning: msg_send(): Message parameter must be either a string or a number. in %s on line %d
diff --git a/tests/classes/array_access_010.phpt b/tests/classes/array_access_010.phpt
index e60716d..ad374d2 100755
--- a/tests/classes/array_access_010.phpt
+++ b/tests/classes/array_access_010.phpt
@@ -12,7 +12,7 @@ class ArrayReferenceProxy implements ArrayAccess
function __construct(ArrayAccess $object, array &$element)
{
- echo __METHOD__ . "($element)\n";
+ echo __METHOD__ . "(Array)\n";
$this->object = $object;
$this->element = &$element;
}
@@ -23,17 +23,17 @@ class ArrayReferenceProxy implements ArrayAccess
}
function offsetGet($index) {
- echo __METHOD__ . "($this->element, $index)\n";
+ echo __METHOD__ . "(Array, $index)\n";
return isset($this->element[$index]) ? $this->element[$index] : NULL;
}
function offsetSet($index, $value) {
- echo __METHOD__ . "($this->element, $index, $value)\n";
+ echo __METHOD__ . "(Array, $index, $value)\n";
$this->element[$index] = $value;
}
function offsetUnset($index) {
- echo __METHOD__ . "($this->element, $index)\n";
+ echo __METHOD__ . "(Array, $index)\n";
unset($this->element[$index]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment