]> granicus.if.org Git - php/commitdiff
Changed silent conversion of array to string to produce a notice. (Patrick)
authorStanislav Malyshev <stas@php.net>
Fri, 21 Oct 2011 06:08:47 +0000 (06:08 +0000)
committerStanislav Malyshev <stas@php.net>
Fri, 21 Oct 2011 06:08:47 +0000 (06:08 +0000)
105 files changed:
Zend/tests/concat_001.phpt
Zend/tests/unset_cv05.phpt
Zend/tests/unset_cv08.phpt
Zend/zend.c
ext/calendar/tests/jdtomonthname.phpt
ext/ereg/tests/ereg_replace_variation_001.phpt
ext/ereg/tests/ereg_replace_variation_002.phpt
ext/ereg/tests/ereg_replace_variation_003.phpt
ext/ereg/tests/ereg_variation_001.phpt
ext/ereg/tests/ereg_variation_002.phpt
ext/ereg/tests/eregi_replace_variation_001.phpt
ext/ereg/tests/eregi_replace_variation_002.phpt
ext/ereg/tests/eregi_replace_variation_003.phpt
ext/ereg/tests/eregi_variation_001.phpt
ext/ereg/tests/eregi_variation_002.phpt
ext/ereg/tests/split_variation_001.phpt
ext/ereg/tests/split_variation_002.phpt
ext/ereg/tests/split_variation_003.phpt
ext/ereg/tests/spliti_variation_001.phpt
ext/ereg/tests/spliti_variation_002.phpt
ext/ereg/tests/spliti_variation_003.phpt
ext/ereg/tests/sql_regcase_variation_001.phpt
ext/intl/tests/locale_accept.phpt
ext/posix/tests/posix_getgrgid_variation.phpt
ext/posix/tests/posix_getpgid_variation.phpt
ext/posix/tests/posix_getpwuid_variation.phpt
ext/posix/tests/posix_kill_variation1.phpt
ext/posix/tests/posix_kill_variation2.phpt
ext/posix/tests/posix_strerror_variation1.phpt
ext/spl/tests/bug53515.phpt
ext/spl/tests/iterator_026.phpt
ext/spl/tests/iterator_047.phpt
ext/spl/tests/iterator_050.phpt
ext/spl/tests/iterator_052.phpt
ext/spl/tests/iterator_054.phpt
ext/standard/tests/array/002.phpt
ext/standard/tests/array/array_diff_variation9.phpt
ext/standard/tests/array/array_intersect_assoc_variation9.phpt
ext/standard/tests/array/array_intersect_variation9.phpt
ext/standard/tests/array/array_unique_variation8.phpt
ext/standard/tests/array/bug29253.phpt
ext/standard/tests/array/range_variation.phpt
ext/standard/tests/class_object/class_exists_variation_001.phpt
ext/standard/tests/class_object/class_exists_variation_002.phpt
ext/standard/tests/class_object/get_class_methods_variation_001.phpt
ext/standard/tests/class_object/get_class_variation_001.phpt
ext/standard/tests/class_object/get_object_vars_variation_003.phpt
ext/standard/tests/class_object/get_parent_class_variation_002.phpt
ext/standard/tests/class_object/is_a_variation_001.phpt
ext/standard/tests/class_object/is_a_variation_002.phpt
ext/standard/tests/class_object/is_subclass_of_variation_001.phpt
ext/standard/tests/class_object/is_subclass_of_variation_002.phpt
ext/standard/tests/class_object/is_subclass_of_variation_004.phpt
ext/standard/tests/class_object/method_exists_variation_001.phpt
ext/standard/tests/class_object/method_exists_variation_002.phpt
ext/standard/tests/class_object/trait_exists_variation_001.phpt
ext/standard/tests/class_object/trait_exists_variation_002.phpt
ext/standard/tests/dir/readdir_variation4.phpt
ext/standard/tests/dir/scandir_variation8.phpt
ext/standard/tests/file/file_put_contents_variation8.phpt
ext/standard/tests/file/fpassthru_variation1.phpt
ext/standard/tests/file/fseek_variation1.phpt
ext/standard/tests/file/readfile_variation10.phpt
ext/standard/tests/file/rename_variation13.phpt
ext/standard/tests/general_functions/strval.phpt
ext/standard/tests/strings/print_variation1.phpt
ext/standard/tests/strings/strval.phpt
ext/standard/tests/url/base64_encode_variation_001.phpt
ext/standard/tests/url/parse_url_variation_001.phpt
ext/standard/tests/url/parse_url_variation_002_32bit.phpt
ext/standard/tests/url/parse_url_variation_002_64bit.phpt
ext/standard/tests/url/rawurldecode_variation_001.phpt
ext/standard/tests/url/rawurlencode_variation_001.phpt
ext/standard/tests/url/urldecode_variation_001.phpt
ext/standard/tests/url/urlencode_variation_001.phpt
ext/sysvmsg/tests/006.phpt
ext/xml/tests/utf8_decode_variation1.phpt
ext/xml/tests/utf8_encode_variation1.phpt
ext/xml/tests/xml_error_string_variation1.phpt
ext/xml/tests/xml_get_current_byte_index_variation1.phpt
ext/xml/tests/xml_get_current_column_number_variation1.phpt
ext/xml/tests/xml_get_current_line_number_variation1.phpt
ext/xml/tests/xml_get_error_code_variation1.phpt
ext/xml/tests/xml_parse_into_struct_variation1.phpt
ext/xml/tests/xml_parse_variation1.phpt
ext/xml/tests/xml_parser_create_ns_variation1.phpt
ext/xml/tests/xml_parser_create_variation1.phpt
ext/xml/tests/xml_parser_free_variation1.phpt
ext/xml/tests/xml_parser_get_option_variation1.phpt
ext/xml/tests/xml_parser_get_option_variation2.phpt
ext/xml/tests/xml_parser_set_option_variation1.phpt
ext/xml/tests/xml_parser_set_option_variation2.phpt
ext/xml/tests/xml_parser_set_option_variation3.phpt
ext/xml/tests/xml_set_character_data_handler_variation1.phpt
ext/xml/tests/xml_set_default_handler_variation1.phpt
ext/xml/tests/xml_set_element_handler_variation1.phpt
ext/xml/tests/xml_set_end_namespace_decl_handler_variation1.phpt
ext/xml/tests/xml_set_external_entity_ref_handler_variation1.phpt
ext/xml/tests/xml_set_notation_decl_handler_variation1.phpt
ext/xml/tests/xml_set_object_variation1.phpt
ext/xml/tests/xml_set_object_variation2.phpt
ext/xml/tests/xml_set_processing_instruction_handler_variation1.phpt
ext/xml/tests/xml_set_start_namespace_decl_handler_variation1.phpt
ext/xml/tests/xml_set_unparsed_entity_decl_handler_variation1.phpt
tests/classes/array_access_010.phpt

index d7bc525c4f2fd10af7ea3ef4ee6298d6db0ff88f..1307c28930a61255b494262c3832fc7bf3132e93 100644 (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"
index 6ef7b34ce06f43fbf77ac9d958b0ae78465f165f..36fea3bc4039f65ed3c3309d4538c4dc6d05355f 100644 (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
index 1c4015ab38dc53bbcecacb825266bb17bb2dbdb6..9b8ab1520fbe086f0e29b5e94c83e964f4b31a3a 100644 (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";
index 833539d9d2a5fbc2a4a2cfc02bfbf42542345aec..08295711398fa3ab3bfb8fc8046912e4f7357900 100644 (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;
index 5dc3307428a68f69ad3f38c82723f6fcb08e2c67..5c552474bda73c2a96404531e0eb8bc3bb23fe42 100644 (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)
index ebb1504f637fcb9db8a932a2e22296283bc741ca..1e16d1c8cb074746666d036f4f2b70897bd53e5c 100644 (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)
index 19f91c6b9449e4f4e1a05ce13183ade51de4ac9f..afaece6b22071c9ab848982e533f22172a0189d5 100644 (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)
index c6a606e31acd11b1084090670145156c294427a6..b189c4efc63c67b9a70698e0e4cab694dd0a2d4d 100644 (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)
index 52b88abb71a81c23e8764e453a15b35fdd2357bd..8e28d89a90d6836a4c6082df6a71a4ddefbd4252 100644 (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)
index 1b3e3fc46c5caaae80bbef784ebc481f6fbe65e5..33e0fe1d10805359ad9eea6ba13f96f4a243f44e 100644 (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)
index af2935db6e3ed4d370b2fa6ed294b3a67483cec2..e3d2b655f507c7d53d1a1b798fd6be86a7072e30 100644 (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)
index e14c5a185ba47abede25d0403eb296fa52edc978..46229e0f574cccfbd728672d94481e2a3e7ac06b 100644 (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)
index 8e8e5086bdc4cf6b6843ace33f40abab2e6fba11..ae9edba829f8e544dae5eea97b202be840a8ad48 100644 (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)
index 54e80bb16ed2336c40d616557d72836df8ed251b..38c2cbaef343fbf070210f0e290abded6293e617 100644 (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)
index bb7fc3563677cd66342b1ddc598a3c35ec3b1697..8e803b55fad94b3c218cd76edac7785c25e7d967 100644 (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)
index 454c4b4250ce300c8c2d10225845a96bbb4baa5a..9d9fc9d518bc18341eb3da670010b9ae89091a31 100644 (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)
index 2a07353136f57a4e001558549b2649a295998655..b1ea57c787a708f727f8368ac11f5c50f41f9a58 100644 (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)
index 480db35bc9a93c05c5302597741c478fec0f1743..edef9cfeb9fa5892a6a9ca4dc510db449005a915 100644 (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)
index 08c6ba0d99fb56c9626617ca60ad5b14f6fb1b2b..e5493b34adc9113c4404140c5651e66cdf762481 100644 (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)
index 03fc131e94a00479dcac3633fdc1f7964b064887..752cafc4f555e3dd4b26894986d3af9ce7812180 100644 (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)
index beee4c643ebf3d03ae75b5cf3dacf5727338a5ee..3cfeaeae1a3a3aef0ad2553898025f0a280e7d27 100644 (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)
index c2c28ab50e2d23bcd7457259488197c586cd1fac..0efbe9262274f7143d710a3953a994e8bb58e2f2 100644 (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)
index 923571f8f0cc32876def47349dc24ba9c63a148a..cf1dc6e675c6b7ea8abdfd44529e558e839176fb 100755 (executable)
@@ -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;
index 13db73b79197bbf5ebaafe907451d99c389007a0..5cce391d7b2f929eefd3e36a47e6b3e48e778753 100644 (file)
@@ -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
index e53d58f393df81e19ba2aa441aec39e6624b6ee4..b9c92b539abf8f50d1f24946bbe8e14160188bd5 100644 (file)
@@ -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
index 8e91d6c315c984d4a1564a771839620e06fb298f..8b66f7f3d5c46ac960b5aabeabc91c66621cadf5 100644 (file)
@@ -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
index 6fcf0fa98f284f876459753f07fb734e0c1c405d..230977a9d0a541a829572763c8ac01d8b0d2b971 100644 (file)
@@ -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
index 240cfa57c1e70047b7d09331b98181d6ead72766..c03ead9a4bbc446ccd1b491a894d036ed7c7c8b3 100644 (file)
@@ -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
index 5d6e3545328da55685b151b16f84975d1e8c81c7..4d2b5267163a11b5483d07076287601d9864a162 100644 (file)
@@ -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
index f99840e32228ea446f4f6a08c8b487d57f116788..8ecb02b1e616abd65f39b22d3f01497440d2312c 100644 (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";
 }
index 1e6058246b95c3ba22796d6c019a38c750e68f3c..8eb77a7baf7c24aad0a5b31de6dce6ac5f4c5ee2 100755 (executable)
@@ -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
index e5fec4f5858b78f44f2658395eb66936c0c11fad..548f4865280c7c4f143ca40d00ab4af87c5e313a 100755 (executable)
@@ -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)
index 63d8fbfa9a8f7292c549d029c29f013730a77992..fed4a3b2ee3c21e992c699cf88d8ef242dcfe5b9 100755 (executable)
@@ -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) {
index a0cbdd8f73170be32777b395c6bc17d284f3c6c0..c68bd5234ded7e3b786152b277e510842530c14c 100755 (executable)
@@ -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) {
index 91266c95711d4292e26f44bcaeb8c10da69704c8..1f1cd580c17fdf4f7f7d8db41051c29e24b3d9a6 100755 (executable)
@@ -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]=>
index b865dc100c7cbb676b140527c6b17733799d9538..469e8626754793f3538d5d93f7396b5e60276f1c 100644 (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)
index 58d9c201ba65ece37f66f692f6f63156a9ed322d..1bf1f1c2ac128f8f694936a50daf58539d4ec09c 100644 (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) {
index 456109b1c26d93f4cddce0ce8c536933d5318547..338d40936e2d2895a4b1773fb0a437544900c921 100644 (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) {
index d3525dcd06ad7ae1ce77e394479be0a2dc0794c1..fda63dd628ed6874fb9adecdff23ee5b146d6412 100644 (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) {
index 6cf343221f5b26a6c881013194f751552618751d..ee34deeecc3c9068b1d3da91aa63c694229e4492 100644 (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) {
index 378489f926f5f782ee683fd5675c521903db735d..4be9839221e1261bac90557b9c3bae445c8a5c6b 100755 (executable)
@@ -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--
index 0ac8c55e65f83142cf543bd589349b4148b5f02c..e97d918d9b619a60e7997ed8de2b375d997825df 100644 (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] ) );
   }
 }
index 2141d65eb8faf07c4a3898cd2a1094963f58d7c5..c9146ba9f78e977a1c5ab81edcde60829ba81e0a 100644 (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)
index da10cac908f7aab2a99dc49c4a7285fdc2b2dd89..ae9de157f6a29326ed7d985b5fbcb591952b06cf 100644 (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)
index b881452b4cc5aab120e5fb5f33d4c7d4f4d6f1d6..8cdef12a7b9ea200699e84c13504ba25e50646cb 100644 (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
index e2bf986c21d572979652f4ba98b6adbe8b9d6952..2baef2e14c10966d19b418e59d630d8aac4f3add 100644 (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) );
 };
 
index adefa793ad3472be1281091095555ee5b4dadaf2..1e68d08ee3eac7b1f506e3e04856c50a6ad467ee 100644 (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) );
 };
 
index f7e5b9df3f72cc0c8753bfd5da9306a579c72ad2..0d19e223640d6ed0df83222f36400f1b3d88b7a3 100644 (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)
index d2d6ce24071f7da75223ca457cff5e3742fc9dec..d449fd3797b8f1b8e75fb98f14c7f2e47e75cb66 100644 (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) );
 };
 
index 970da72f1cd1f7601e01574ec526b94f376ca3eb..a34c325d871d9eac90c3188cbb4bee5a58efe0d8 100644 (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) );
 };
 
index 14aaa3347b01b186951653ad776db4afee19aaf3..201d8789ea88441879c1a7ace93eb35fb7fc94d4 100644 (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)
index c550d8090c683476b2a40bfc4e8dfbb606509413..9bb712b7574f725c0fb371735607d96ef8113c88 100644 (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)
index 2f46c4a8dfedc9616d0e200bdde47b7dd4614bb5..65ae8a4e231fd6fc57522098e90a323f12a788ad 100644 (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)
index 117c211d0d31356ad0de8a7f0c6e461c25c58aef..1947c76ac5ea0116e0f4660c955f8ff4d221a193 100644 (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)
index ba38894b535ab97f7ff9d6c5f4a45b88c616ec01..b1204e833d8ba2a71b7cfe6960547e4070bfc782 100644 (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)
index 16515de6dc1ed91d7f2ea1df791c752cc68b51b5..65ef1993cfc12264566f06b2a26bc929a1e8efd7 100644 (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)
index d29d81a37c985c601b095326ac56a12a9b715e71..a2fcbbf018ff84a5d9e692209c43efd15af25638 100644 (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)
index 4c22de86976ec114556b1fc7f2281e4638098312..9b04a986a67fb20010d0536f86a034de5453c2bb 100644 (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++;
index 36ae88c8f5ae7a0d186906e4edb86f2aaa043e05..4e96e04a4e40db70a29896408ac14697745e6a1a 100644 (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++;
 };
index d4c0bffca17200e84b10feb2183de88a887a2b7f..3cd92c5ec8afbae00fb849486f3dda2004797ff4 100644 (file)
Binary files a/ext/standard/tests/file/file_put_contents_variation8.phpt and b/ext/standard/tests/file/file_put_contents_variation8.phpt differ
index 0d74d2ed7988020185d52a32dbed6f4aad4467c5..f6868e3ecee7730aeddb7013f9e760cf5e568b8c 100644 (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) );
 };
 
index ebf3cf698db6ebbf6ac68a97c48ea09c55934982..fbe4673a3f3e5fe0d54adc9a5287bc78fa108ec4 100644 (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));
 };
index 2b48d4eed50172cc83a27e020d7094dd6562685c..3bbc329f31765cde1d461fc8bdaed688c5caa26c 100644 (file)
Binary files a/ext/standard/tests/file/readfile_variation10.phpt and b/ext/standard/tests/file/readfile_variation10.phpt differ
index ac6419197821938b45d4266bc78759832089712b..ec1ee7c78d740d3046eec29ad184248e7b070206 100644 (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)) {
index 3506785781378e33b741b5df4af5bbb717bfb891..b92be41ef49e1b243565f59586ad0af2a7f6d4e7 100644 (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) ""
index 084f22f64157f222dc82639e6d6c59c900bbb671..7c499f1084c6194bf4bba642c721a27724c57adf 100644 (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 --
index 3f8b5cc985d1b3a9a042994aaecefdf11c9e1306..b837a079d45ba6ebd467f0c419f220876ee304fa 100644 (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"
index 30da145a8b7bb20ea73dcba58911d036f085fa7e..f632bebf5d954221c15c9e764682022d023537de 100644 (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)
index 18ef0a547b56a02428e44cce36e529068fe0a657..0b804eed579a24650c41fc08dea16cadf6ac686b 100644 (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)
index 88971e9642788252037fbd32cda57733d70d8298..aefb37a117347f339ff91bd68661896d141d7fa6 100644 (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)
index 74ea7965cf2b1f5517deaddad825cca9562a8b9f..35a600cdba20504ea71dbd0e827d25d1f04a1947 100644 (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)
index 4942e8b357e3d5da7c0b5caa9a809fd2e76d5cf1..9527fe60623dca1195795646b330bee2ca054660 100644 (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)
index d90825ba7f53f41dedc8d1bf431f439fade13ac5..a3443361ec50c38965d395abae24d03961c30fba 100644 (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)
index 7ebc7bdbef830959806c874da2a31cdddc2119ca..42026d103ce0dab0498799e876eb0b061d867dc3 100644 (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)
index 1f82b65f3891d412c283a329a800a6888bfbe937..04d0921b2c4ac554329ab44dd8f9b1402b9c6e34 100644 (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)
index 675e5e114b8fa287a6a4d6b6cacb196e0f726260..cb4fd2457ed40069f01ad358cdcc7410c677ce28 100644 (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);
index 5966531723c42d4017275307dcc9fc58d1b50a28..4b9679a89576f15f232d2f732f70f2315f49c1b5 100644 (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) );
 };
 
index 4b5d3c5d3ca461b7ec8c7a23639a6ccb116d1e98..04b956c42216090d99bee5cf47d8081f29445cd6 100644 (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) );
 };
 
index 2d21cd9c48951bfae9da27b20b756cdf5dd0c9c5..40b542c141be229700482264d4d8720dbb3d8c3e 100644 (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) );
 };
 
index 7f57ee3297c2421d7a0e1ba50d63eea02099e85b..b5c83d78e9d669ccba8e3c32e7f9f98e50e7fac5 100644 (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) );
 };
 
index 59db61029164bae973c292344941a1e3ea6b516b..0eeb8d078e00edb5d55de20b04074e72a574f0c1 100644 (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) );
 };
 
index 0878dbb736fbbdb1bad296545c5ecaea05f6979e..af41c6f9e8a7c02a54a37dfd81e09b73f13f9b4a 100644 (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) );
 };
 
index 32caa52b5fa3766150d81f16425c101bef42d7ce..474921406a430cf36d196db2032818a32dedcfb5 100644 (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) );
 };
 
index 78b0cf43cda1d6fab9674e7efc0571a5b2a59f4b..fa1e8d2990805dcfae3f6273980a61880f668163 100644 (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) );
 };
 
index 23f199a4dc78df09e4ebd16f359efb64e3c5f3ad..cf3666649983cc1e0f045a1ded0337664b8a6011 100644 (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) );
 };
 
index 5446a4f3eeec8adfffbbde266e5d244b4bb46a51..2818b82fe83d1c7ddab98f137107ee2404a566c3 100644 (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) {
index 445b40d08e9072d894353c049fb6f0549e07b8fd..c5d588fec3908ec4fc1e616e56b76b5f5ca80ad0 100644 (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) {
index 4b4de5d05b01ed3ec2ac49893fee78e1edc9260a..0ecb1092c8cec16eb1096b633206448241b1e4c4 100644 (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) );
 };
 
index 4edf1d6a0b64b3feead556ce67cd9562128df10d..b53f80318882a4487ced782680fc97a05f14b8e3 100644 (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) );
 };
 
index de82111f83c47793376da4857133c7477a950240..2341c413f1727a67fc719dba9afaebcac38d7658 100644 (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) );
 };
 
index e3e3df8319fb3cac8bb51cc68bc9a25954d9deb2..6cfce0b4e35ebd550b645874e1d27758236abe27 100644 (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) );
 };
 
index 6f84ebb696bea709ff2c36e14447fc1c13c5ffd4..9900d6fe6a540cc0c22d4a1128d2d39e55a21314 100644 (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) );
 };
 
index 5f9880390538069a43943719625c6a3279722457..c215ef5fdedbfe60ec2541b63f1bd742f0065df1 100644 (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) );
 };
 
index bd384c9b62fe60c3bfc62c0cf9d54f621793dc56..40cff9193fec16098ac9681052f47e3e7c42f511 100644 (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) );
 };
 
index a887e01673a3a5e73b684c9e428f30285f11903d..35089a066a5d8ffd70d178435a580d79111a14e5 100644 (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) );
 };
 
index 83f370afea9029eb97c1ea4e479a3393c87caa39..225cf770b3121d84703d1cca7c6c269cdb852a35 100644 (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) );
 };
 
index c2fcacfe8b643516116fe7fd28abe350e11d04d9..c7c2f6f176bcd890c935547c116e8219bf470b83 100644 (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) );
 };
 
index 1ad6a11279e84a9c14b37a4bbfbc7f62bbba565a..10835b33b27912d69f3b360bb68db97396d3c7a3 100644 (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) );
 };
 
index d89b04d2a5caba5f88a749b86d3e7f52c1d4d040..d41e691edc922148214d9ec9487aa6b310bf9bca 100644 (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_notation_decl_handler($value, $hdl) );
 };
 
index cc40445725689fa61640bc45897d5959a9296677..851dfaff101a698dec71267c9c7f2945efb2aa7c 100644 (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_set_object($value, $obj) );
 };
 
index 210544c45d721fefde409c6674c96d1514b0c989..08446617867e4249555537fe8499d1052d99dcb5 100644 (file)
@@ -80,7 +80,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( xml_set_object($parser, $value) );
 };
 
index 74cc1e558033c1e489902cb8ccc29b925c847b6d..9da14cc5fdff914d8ac2df84079bd60651d9e18a 100644 (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_processing_instruction_handler($value, $hdl) );
 };
 
index c0323b36ae791752d1c161c10ae9fad7712f830c..684a0fdac4b195df9c5affa04b4e3d89fe30faa3 100644 (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_start_namespace_decl_handler($value, $hdl) );
 };
 
index 04290fa4e12d5699d7f2ae578c236299e339cc21..18041150217a4568ba8e3b35ed91f5e2518ddc92 100644 (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_unparsed_entity_decl_handler($value, $hdl) );
 };
 
index e60716dc1b2d3dee2776df930a4361d271e7c178..ad374d278c0fb4c9bb76b1b154cd9c9453c87d28 100755 (executable)
@@ -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]);
        }
 }