summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/curl/tests/curl_setopt_error.phpt2
-rw-r--r--ext/date/tests/014.phpt2
-rw-r--r--ext/date/tests/68062.phpt2
-rw-r--r--ext/date/tests/DateTimeImmutable_createFromMutable.phpt2
-rw-r--r--ext/date/tests/DateTime_createFromImmutable.phpt2
-rw-r--r--ext/date/tests/bug36988.phpt2
-rw-r--r--ext/date/tests/bug52062.phpt2
-rw-r--r--ext/date/tests/bug70245.phpt2
-rw-r--r--ext/date/tests/microtime_error.phpt4
-rw-r--r--ext/date/tests/timezone_offset_get_error.phpt12
-rw-r--r--ext/ffi/tests/045.phpt2
-rw-r--r--ext/fileinfo/tests/finfo_open_001.phpt2
-rw-r--r--ext/fileinfo/tests/finfo_open_error.phpt4
-rw-r--r--ext/gd/tests/imagegd2_nullbyte_injection.phpt2
-rw-r--r--ext/gd/tests/imagegd_nullbyte_injection.phpt2
-rw-r--r--ext/gd/tests/imagexbm_nullbyte_injection.phpt2
-rw-r--r--ext/gmp/tests/gmp_clrbit.phpt2
-rw-r--r--ext/gmp/tests/gmp_pow.phpt2
-rw-r--r--ext/gmp/tests/gmp_setbit.phpt4
-rw-r--r--ext/imap/tests/imap_expunge_error.phpt4
-rw-r--r--ext/imap/tests/imap_gc_error.phpt4
-rw-r--r--ext/imap/tests/imap_headers.phpt4
-rw-r--r--ext/imap/tests/imap_num_msg_error.phpt4
-rw-r--r--ext/imap/tests/imap_num_recent_error.phpt4
-rw-r--r--ext/imap/tests/imap_ping_error.phpt4
-rw-r--r--ext/imap/tests/imap_timeout_basic.phpt2
-rw-r--r--ext/intl/tests/breakiter___construct_error.phpt2
-rw-r--r--ext/intl/tests/bug48227.phpt4
-rw-r--r--ext/intl/tests/calendar_add_error.phpt2
-rw-r--r--ext/intl/tests/calendar_before_after_error.phpt4
-rw-r--r--ext/intl/tests/calendar_clear_error.phpt2
-rw-r--r--ext/intl/tests/calendar_equals_error.phpt6
-rw-r--r--ext/intl/tests/calendar_fieldDifference_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getDayOfWeekType_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getErrorCode_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getErrorMessage_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getTimeZone_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getTime_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getType_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getWeekendTransition_error.phpt2
-rw-r--r--ext/intl/tests/calendar_get_Least_Greatest_Minimum_Maximum_error.phpt8
-rw-r--r--ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt6
-rw-r--r--ext/intl/tests/calendar_inDaylightTime_error.phpt2
-rw-r--r--ext/intl/tests/calendar_isEquivalentTo_error.phpt8
-rw-r--r--ext/intl/tests/calendar_isLenient_error.phpt2
-rw-r--r--ext/intl/tests/calendar_isSet_error.phpt2
-rw-r--r--ext/intl/tests/calendar_isWeekend_error.phpt2
-rw-r--r--ext/intl/tests/calendar_roll_error.phpt2
-rw-r--r--ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt2
-rw-r--r--ext/intl/tests/calendar_setLenient_error.phpt2
-rw-r--r--ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt2
-rw-r--r--ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt2
-rw-r--r--ext/intl/tests/calendar_setTimeZone_error.phpt2
-rw-r--r--ext/intl/tests/calendar_set_error.phpt2
-rw-r--r--ext/intl/tests/calendar_toDateTime_error.phpt2
-rw-r--r--ext/intl/tests/formatter_fail.phpt6
-rw-r--r--ext/intl/tests/gregoriancalendar___construct_error.phpt2
-rw-r--r--ext/intl/tests/gregoriancalendar_getGregorianChange_error.phpt2
-rw-r--r--ext/intl/tests/gregoriancalendar_isLeapYear_error.phpt2
-rw-r--r--ext/intl/tests/msgfmt_fail2.phpt6
-rw-r--r--ext/intl/tests/timezone_getDSTSavings_error.phpt2
-rw-r--r--ext/intl/tests/timezone_getDisplayName_error.phpt2
-rw-r--r--ext/intl/tests/timezone_getErrorCode_error.phpt2
-rw-r--r--ext/intl/tests/timezone_getErrorMessage_error.phpt2
-rw-r--r--ext/intl/tests/timezone_getID_error.phpt2
-rw-r--r--ext/intl/tests/timezone_getOffset_error.phpt2
-rw-r--r--ext/intl/tests/timezone_getRawOffset_error.phpt2
-rw-r--r--ext/intl/tests/timezone_hasSameRules_error.phpt4
-rw-r--r--ext/intl/tests/timezone_toDateTimeZone_error.phpt2
-rw-r--r--ext/intl/tests/timezone_useDaylightTime_error.phpt2
-rw-r--r--ext/intl/tests/transliterator_create_inverse_error.phpt2
-rw-r--r--ext/intl/tests/transliterator_get_error_code_error.phpt2
-rw-r--r--ext/intl/tests/transliterator_get_error_message_error.phpt2
-rw-r--r--ext/libxml/tests/004.phpt10
-rw-r--r--ext/libxml/tests/bug63389.phpt2
-rw-r--r--ext/mbstring/tests/mb_ereg1.phpt4
-rw-r--r--ext/mysqli/tests/mysqli_class_mysqli_warning.phpt2
-rw-r--r--ext/mysqli/tests/mysqli_embedded_connect.phpt2
-rw-r--r--ext/mysqli/tests/mysqli_fetch_object.phpt2
-rw-r--r--ext/mysqli/tests/mysqli_fetch_object_oo.phpt4
-rw-r--r--ext/oci8/tests/bug51291_1.phpt4
-rw-r--r--ext/oci8/tests/conn_attr_4.phpt6
-rw-r--r--ext/oci8/tests/lob_002.phpt4
-rw-r--r--ext/oci8/tests/lob_021.phpt2
-rw-r--r--ext/oci8/tests/lob_026.phpt2
-rw-r--r--ext/oci8/tests/null_byte_1.phpt4
-rw-r--r--ext/oci8/tests/privileged_connect.phpt2
-rw-r--r--ext/oci8/tests/privileged_connect1.phpt2
-rw-r--r--ext/odbc/tests/odbc_exec_001.phpt4
-rw-r--r--ext/openssl/tests/openssl_csr_export_bacis.phpt2
-rw-r--r--ext/openssl/tests/openssl_csr_export_to_file_basic.phpt2
-rw-r--r--ext/openssl/tests/openssl_pkey_new_error.phpt6
-rw-r--r--ext/pcre/tests/preg_grep_error1.phpt4
-rw-r--r--ext/pcre/tests/preg_match_all_error1.phpt4
-rw-r--r--ext/pcre/tests/preg_match_all_error2.phpt2
-rw-r--r--ext/pcre/tests/preg_match_error1.phpt4
-rw-r--r--ext/pcre/tests/preg_match_error2.phpt4
-rw-r--r--ext/pcre/tests/preg_split_error1.phpt4
-rw-r--r--ext/pdo_oci/tests/pdo_oci_stmt_getcolumnmeta.phpt2
-rw-r--r--ext/phar/tests/badparameters.phpt36
-rw-r--r--ext/phar/tests/bug64931/bug64931.phpt2
-rw-r--r--ext/phar/tests/create_path_error.phpt2
-rw-r--r--ext/phar/tests/fgc_edgecases.phpt2
-rw-r--r--ext/phar/tests/fopen_edgecases2.phpt2
-rw-r--r--ext/phar/tests/opendir_edgecases.phpt2
-rw-r--r--ext/phar/tests/phar_extract.phpt2
-rw-r--r--ext/phar/tests/phar_oo_006.phpt2
-rw-r--r--ext/phar/tests/phar_unlinkarchive.phpt2
-rw-r--r--ext/phar/tests/pharfileinfo_construct.phpt2
-rw-r--r--ext/reflection/tests/ReflectionClass_getMethod_002.phpt4
-rw-r--r--ext/reflection/tests/ReflectionClass_getProperty_002.phpt4
-rw-r--r--ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt2
-rw-r--r--ext/reflection/tests/ReflectionClass_newInstanceArgs_002.phpt2
-rw-r--r--ext/reflection/tests/ReflectionClass_setStaticPropertyValue_002.phpt2
-rw-r--r--ext/reflection/tests/ReflectionExtension_constructor_error.phpt2
-rw-r--r--ext/reflection/tests/ReflectionFunction_construct.001.phpt4
-rw-r--r--ext/reflection/tests/ReflectionMethod_invokeArgs_error2.phpt2
-rw-r--r--ext/reflection/tests/ReflectionMethod_invoke_basic.phpt2
-rw-r--r--ext/reflection/tests/ReflectionMethod_invoke_error1.phpt2
-rw-r--r--ext/reflection/tests/ReflectionReference_errors.phpt2
-rw-r--r--ext/reflection/tests/bug42976.phpt4
-rw-r--r--ext/reflection/tests/request38992.phpt4
-rw-r--r--ext/session/tests/session_set_save_handler_iface_002.phpt2
-rw-r--r--ext/snmp/tests/snmp-object-error.phpt4
-rw-r--r--ext/soap/tests/bug77088.phpt2
-rw-r--r--ext/sodium/tests/sodium_error_001.phpt2
-rw-r--r--ext/spl/tests/CallbackFilterIteratorTest-002.phpt4
-rw-r--r--ext/spl/tests/SplFileInfo_setFileClass_error.phpt2
-rw-r--r--ext/spl/tests/SplFileInfo_setInfoClass_error.phpt2
-rw-r--r--ext/spl/tests/SplFixedArray__construct_param_array.phpt2
-rw-r--r--ext/spl/tests/SplFixedArray__construct_param_string.phpt2
-rw-r--r--ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt2
-rw-r--r--ext/spl/tests/SplTempFileObject_constructor_error.phpt2
-rw-r--r--ext/spl/tests/arrayObject___construct_error1.phpt4
-rw-r--r--ext/spl/tests/arrayObject_asort_basic1.phpt2
-rw-r--r--ext/spl/tests/arrayObject_ksort_basic1.phpt2
-rw-r--r--ext/spl/tests/arrayObject_setIteratorClass_error1.phpt8
-rw-r--r--ext/spl/tests/bug54291.phpt2
-rw-r--r--ext/spl/tests/bug54292.phpt2
-rw-r--r--ext/spl/tests/bug77431.phpt7
-rw-r--r--ext/spl/tests/bug78863.phpt2
-rw-r--r--ext/spl/tests/fixedarray_005.phpt6
-rw-r--r--ext/spl/tests/fixedarray_009.phpt2
-rw-r--r--ext/spl/tests/fixedarray_015.phpt2
-rw-r--r--ext/spl/tests/iterator_042.phpt2
-rw-r--r--ext/spl/tests/iterator_044.phpt8
-rw-r--r--ext/spl/tests/iterator_count.phpt2
-rw-r--r--ext/spl/tests/iterator_to_array.phpt2
-rw-r--r--ext/spl/tests/recursive_tree_iterator_003.phpt2
-rw-r--r--ext/spl/tests/spl_004.phpt4
-rw-r--r--ext/standard/filestat.c4
-rw-r--r--ext/standard/string.c4
-rw-r--r--ext/standard/tests/array/array_change_key_case_variation.phpt2
-rw-r--r--ext/standard/tests/array/array_diff_uassoc_error.phpt4
-rw-r--r--ext/standard/tests/array/array_diff_ukey_variation10.phpt4
-rw-r--r--ext/standard/tests/array/array_filter_variation9.phpt4
-rw-r--r--ext/standard/tests/array/array_intersect_ukey_variation8.phpt6
-rw-r--r--ext/standard/tests/array/array_key_exists.phpt2
-rw-r--r--ext/standard/tests/array/array_map_object1.phpt10
-rw-r--r--ext/standard/tests/array/array_map_object2.phpt4
-rw-r--r--ext/standard/tests/array/array_map_object3.phpt4
-rw-r--r--ext/standard/tests/array/array_map_variation12.phpt2
-rw-r--r--ext/standard/tests/array/array_map_variation14.phpt4
-rw-r--r--ext/standard/tests/array/array_map_variation15.phpt2
-rw-r--r--ext/standard/tests/array/array_map_variation16.phpt16
-rw-r--r--ext/standard/tests/array/array_map_variation17.phpt40
-rw-r--r--ext/standard/tests/array/array_search_variation3.phpt4
-rw-r--r--ext/standard/tests/array/array_slice_variation1.phpt4
-rw-r--r--ext/standard/tests/array/array_walk_objects.phpt2
-rw-r--r--ext/standard/tests/array/array_walk_rec_objects.phptbin947 -> 921 bytes
-rw-r--r--ext/standard/tests/array/array_walk_recursive_variation8.phpt2
-rw-r--r--ext/standard/tests/array/array_walk_variation8.phpt2
-rw-r--r--ext/standard/tests/array/bug40191.phpt2
-rw-r--r--ext/standard/tests/array/in_array_variation3.phpt4
-rw-r--r--ext/standard/tests/array/range_errors.phpt8
-rw-r--r--ext/standard/tests/array/range_variation.phpt2
-rw-r--r--ext/standard/tests/class_object/get_class_variation_001.phpt52
-rw-r--r--ext/standard/tests/file/006_variation2.phpt16
-rw-r--r--ext/standard/tests/file/bug39863.phpt2
-rw-r--r--ext/standard/tests/file/chgrp.phpt2
-rw-r--r--ext/standard/tests/file/disk_free_space_variation.phpt16
-rw-r--r--ext/standard/tests/file/disk_total_space_variation.phpt8
-rw-r--r--ext/standard/tests/file/file_get_contents_variation8-win32.phpt4
-rw-r--r--ext/standard/tests/file/file_get_contents_variation8.phpt4
-rw-r--r--ext/standard/tests/file/file_put_contents_variation8-win32.phpt4
-rw-r--r--ext/standard/tests/file/file_put_contents_variation8.phpt4
-rw-r--r--ext/standard/tests/file/filegroup_variation3.phpt4
-rw-r--r--ext/standard/tests/file/fileinode_variation3.phpt4
-rw-r--r--ext/standard/tests/file/fileowner_variation3.phpt4
-rw-r--r--ext/standard/tests/file/fileperms_variation3.phpt4
-rw-r--r--ext/standard/tests/file/flock_error.phpt10
-rw-r--r--ext/standard/tests/file/fnmatch_variation.phpt66
-rw-r--r--ext/standard/tests/file/fopen_variation10-win32.phpt10
-rw-r--r--ext/standard/tests/file/fopen_variation11-win32.phpt10
-rw-r--r--ext/standard/tests/file/glob_variation-win32-mb.phpt4
-rw-r--r--ext/standard/tests/file/glob_variation-win32.phpt4
-rw-r--r--ext/standard/tests/file/glob_variation.phpt4
-rw-r--r--ext/standard/tests/file/is_dir_variation4.phpt4
-rw-r--r--ext/standard/tests/file/is_executable_variation1.phpt4
-rw-r--r--ext/standard/tests/file/is_file_variation4.phpt4
-rw-r--r--ext/standard/tests/file/is_readable_variation1.phpt6
-rw-r--r--ext/standard/tests/file/is_writable_variation1.phpt12
-rw-r--r--ext/standard/tests/file/mkdir_rmdir_variation2.phpt4
-rw-r--r--ext/standard/tests/file/readfile_variation10-win32.phpt4
-rw-r--r--ext/standard/tests/file/readfile_variation10.phptbin1739 -> 1734 bytes
-rw-r--r--ext/standard/tests/file/stream_rfc2397_006.phpt4
-rw-r--r--ext/standard/tests/file/tempnam_variation3-win32.phpt4
-rw-r--r--ext/standard/tests/file/tempnam_variation3.phpt4
-rw-r--r--ext/standard/tests/file/tempnam_variation7-win32.phpt4
-rw-r--r--ext/standard/tests/file/tempnam_variation7.phpt4
-rw-r--r--ext/standard/tests/file/windows_links/bug78862.phpt2
-rw-r--r--ext/standard/tests/general_functions/bug41970.phpt8
-rw-r--r--ext/standard/tests/general_functions/call_user_func_array_variation_001.phpt2
-rw-r--r--ext/standard/tests/general_functions/callbacks_001.phpt4
-rw-r--r--ext/standard/tests/general_functions/callbacks_002.phpt8
-rw-r--r--ext/standard/tests/math/abs_variation.phpt16
-rw-r--r--ext/standard/tests/math/bindec_variation1.phpt4
-rw-r--r--ext/standard/tests/math/bindec_variation1_64bit.phpt4
-rw-r--r--ext/standard/tests/math/ceil_variation1.phpt16
-rw-r--r--ext/standard/tests/math/floor_variation1.phpt16
-rw-r--r--ext/standard/tests/math/hexdec_variation1.phpt4
-rw-r--r--ext/standard/tests/math/hexdec_variation1_64bit.phpt4
-rw-r--r--ext/standard/tests/math/octdec_variation1.phpt4
-rw-r--r--ext/standard/tests/math/round_variation1.phpt16
-rw-r--r--ext/standard/tests/network/bug73594.phpt2
-rw-r--r--ext/standard/tests/password/password_hash_error.phpt6
-rw-r--r--ext/standard/tests/password/password_needs_rehash_error.phpt4
-rw-r--r--ext/standard/tests/strings/addcslashes_001.phptbin1646 -> 1641 bytes
-rw-r--r--ext/standard/tests/strings/bug54322.phpt2
-rw-r--r--ext/standard/tests/strings/chunk_split_variation5.phptbin2226 -> 2221 bytes
-rw-r--r--ext/standard/tests/strings/chunk_split_variation8.phpt2
-rw-r--r--ext/standard/tests/strings/implode1.phptbin6313 -> 6273 bytes
-rw-r--r--ext/standard/tests/strings/join_error.phpt2
-rw-r--r--ext/standard/tests/strings/join_variation1.phpt12
-rw-r--r--ext/standard/tests/strings/join_variation2.phpt46
-rw-r--r--ext/standard/tests/strings/join_variation4.phptbin2290 -> 2285 bytes
-rw-r--r--ext/standard/tests/strings/join_variation5.phpt2
-rw-r--r--ext/standard/tests/strings/printf_variation1.phpt36
-rw-r--r--ext/standard/tests/strings/sprintf_variation1.phpt36
-rw-r--r--ext/standard/tests/strings/str_pad_variation1.phpt2
-rw-r--r--ext/standard/tests/strings/str_replace_basic.phpt2
-rw-r--r--ext/standard/tests/strings/str_replace_variation3.phpt4
-rw-r--r--ext/standard/tests/strings/stripos_variation10.phpt12
-rw-r--r--ext/standard/tests/strings/stripos_variation11.phpt24
-rw-r--r--ext/standard/tests/strings/stristr_variation2.phpt8
-rw-r--r--ext/standard/tests/strings/strpos.phptbin8050 -> 8035 bytes
-rw-r--r--ext/standard/tests/strings/strrchr_variation10.phpt12
-rw-r--r--ext/standard/tests/strings/strrchr_variation11.phpt12
-rw-r--r--ext/standard/tests/strings/strripos_offset.phpt2
-rw-r--r--ext/standard/tests/strings/strrpos_offset.phpt2
-rw-r--r--ext/standard/tests/strings/strrpos_variation10.phpt12
-rw-r--r--ext/standard/tests/strings/strrpos_variation11.phpt24
-rw-r--r--ext/standard/tests/strings/strtr_variation6.phpt2
-rw-r--r--ext/standard/tests/strings/strtr_variation8.phpt2
-rw-r--r--ext/standard/tests/strings/vfprintf_error3.phpt2
-rw-r--r--ext/standard/tests/strings/vfprintf_error4.phpt2
-rw-r--r--ext/standard/tests/strings/vfprintf_variation20.phpt12
-rw-r--r--ext/standard/tests/strings/vprintf_variation1.phpt12
-rw-r--r--ext/standard/tests/strings/vsprintf_variation1.phpt12
262 files changed, 668 insertions, 665 deletions
diff --git a/ext/curl/tests/curl_setopt_error.phpt b/ext/curl/tests/curl_setopt_error.phpt
index e6a76e7afa..62a6002f39 100644
--- a/ext/curl/tests/curl_setopt_error.phpt
+++ b/ext/curl/tests/curl_setopt_error.phpt
@@ -20,6 +20,6 @@ curl_setopt($ch, -10, 0);
?>
--EXPECTF--
*** curl_setopt() call with incorrect parameters
-curl_setopt() expects argument #2 ($option) to be of type int, string given
+curl_setopt(): Argument #2 ($option) must be of type int, string given
Warning: curl_setopt(): Invalid curl configuration option in %scurl_setopt_error.php on line %d
diff --git a/ext/date/tests/014.phpt b/ext/date/tests/014.phpt
index ce346c2ba9..a2f81090e7 100644
--- a/ext/date/tests/014.phpt
+++ b/ext/date/tests/014.phpt
@@ -33,7 +33,7 @@ object(DateTimeZone)#%d (2) {
}
int(0)
-Fatal error: Uncaught TypeError: timezone_offset_get() expects argument #1 ($object) to be of type DateTimeZone, object given in %s:%d
+Fatal error: Uncaught TypeError: timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, object given in %s:%d
Stack trace:
#0 %s(%d): timezone_offset_get(Object(DateTime), Object(DateTimeZone))
#1 {main}
diff --git a/ext/date/tests/68062.phpt b/ext/date/tests/68062.phpt
index 63e40a3bd0..2a7c6ad61a 100644
--- a/ext/date/tests/68062.phpt
+++ b/ext/date/tests/68062.phpt
@@ -14,4 +14,4 @@ try {
}
--EXPECT--
3600
-DateTimeZone::getOffset() expects argument #1 ($datetime) to be of type DateTimeInterface, int given
+DateTimeZone::getOffset(): Argument #1 ($datetime) must be of type DateTimeInterface, int given
diff --git a/ext/date/tests/DateTimeImmutable_createFromMutable.phpt b/ext/date/tests/DateTimeImmutable_createFromMutable.phpt
index 8651a90d34..3ac17de49f 100644
--- a/ext/date/tests/DateTimeImmutable_createFromMutable.phpt
+++ b/ext/date/tests/DateTimeImmutable_createFromMutable.phpt
@@ -24,4 +24,4 @@ object(DateTimeImmutable)#%d (3) {
["timezone"]=>
string(13) "Europe/London"
}
-DateTimeImmutable::createFromMutable() expects argument #1 ($object) to be of type DateTime, object given
+DateTimeImmutable::createFromMutable(): Argument #1 ($object) must be of type DateTime, object given
diff --git a/ext/date/tests/DateTime_createFromImmutable.phpt b/ext/date/tests/DateTime_createFromImmutable.phpt
index 153e7f3cbf..6407333f06 100644
--- a/ext/date/tests/DateTime_createFromImmutable.phpt
+++ b/ext/date/tests/DateTime_createFromImmutable.phpt
@@ -30,4 +30,4 @@ object(DateTime)#%d (3) {
string(13) "Europe/London"
}
bool(true)
-DateTime::createFromImmutable() expects argument #1 ($object) to be of type DateTimeImmutable, object given
+DateTime::createFromImmutable(): Argument #1 ($object) must be of type DateTimeImmutable, object given
diff --git a/ext/date/tests/bug36988.phpt b/ext/date/tests/bug36988.phpt
index ecb6e8ad7a..275dc80a0d 100644
--- a/ext/date/tests/bug36988.phpt
+++ b/ext/date/tests/bug36988.phpt
@@ -13,4 +13,4 @@ try {
}
?>
--EXPECT--
-mktime() expects argument #6 ($year) to be of type int, float given
+mktime(): Argument #6 ($year) must be of type int, float given
diff --git a/ext/date/tests/bug52062.phpt b/ext/date/tests/bug52062.phpt
index 639868aecb..de2936c853 100644
--- a/ext/date/tests/bug52062.phpt
+++ b/ext/date/tests/bug52062.phpt
@@ -28,7 +28,7 @@ var_dump($i->format('%s'));
string(32) "5138-11-16 09:46:40 100000000000"
bool(false)
string(12) "100000000000"
-DateTime::setTimestamp() expects argument #1 ($timestamp) to be of type int, float given
+DateTime::setTimestamp(): Argument #1 ($timestamp) must be of type int, float given
string(32) "5138-11-16 09:46:40 100000000000"
bool(false)
string(10) "1215752192"
diff --git a/ext/date/tests/bug70245.phpt b/ext/date/tests/bug70245.phpt
index 2443d91d01..9fd566de9a 100644
--- a/ext/date/tests/bug70245.phpt
+++ b/ext/date/tests/bug70245.phpt
@@ -10,4 +10,4 @@ try {
}
?>
--EXPECT--
-strtotime() expects argument #2 ($now) to be of type int, object given
+strtotime(): Argument #2 ($now) must be of type int, object given
diff --git a/ext/date/tests/microtime_error.phpt b/ext/date/tests/microtime_error.phpt
index d746e5b3ac..9ab11355e8 100644
--- a/ext/date/tests/microtime_error.phpt
+++ b/ext/date/tests/microtime_error.phpt
@@ -47,11 +47,11 @@ float(%s)
int(0)
}
}
-microtime() expects argument #1 ($get_as_float) to be of type bool, array given
+microtime(): Argument #1 ($get_as_float) must be of type bool, array given
--> bad arg: object(stdClass)#%d (0) {
}
-microtime() expects argument #1 ($get_as_float) to be of type bool, object given
+microtime(): Argument #1 ($get_as_float) must be of type bool, object given
--> bad arg: int(1)
float(%s)
diff --git a/ext/date/tests/timezone_offset_get_error.phpt b/ext/date/tests/timezone_offset_get_error.phpt
index 1782ced195..864dc54c2a 100644
--- a/ext/date/tests/timezone_offset_get_error.phpt
+++ b/ext/date/tests/timezone_offset_get_error.phpt
@@ -65,16 +65,16 @@ try {
*** Testing timezone_offset_get() : error conditions ***
-- Testing timezone_offset_get() function with an invalid values for $object argument --
-string(92) "timezone_offset_get() expects argument #1 ($object) to be of type DateTimeZone, object given"
+string(87) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, object given"
-string(89) "timezone_offset_get() expects argument #1 ($object) to be of type DateTimeZone, int given"
+string(84) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, int given"
-string(90) "timezone_offset_get() expects argument #1 ($object) to be of type DateTimeZone, null given"
+string(85) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, null given"
-- Testing timezone_offset_get() function with an invalid values for $datetime argument --
-string(99) "timezone_offset_get() expects argument #2 ($datetime) to be of type DateTimeInterface, object given"
+string(94) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, object given"
-string(96) "timezone_offset_get() expects argument #2 ($datetime) to be of type DateTimeInterface, int given"
+string(91) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, int given"
-string(97) "timezone_offset_get() expects argument #2 ($datetime) to be of type DateTimeInterface, null given"
+string(92) "timezone_offset_get(): Argument #2 ($datetime) must be of type DateTimeInterface, null given"
diff --git a/ext/ffi/tests/045.phpt b/ext/ffi/tests/045.phpt
index 411a03702b..7503fb763b 100644
--- a/ext/ffi/tests/045.phpt
+++ b/ext/ffi/tests/045.phpt
@@ -23,5 +23,5 @@ try {
--EXPECTF--
bool(true)
bool(false)
-TypeError: FFI::isNull() expects argument #1 ($ptr) to be of type FFI\CData, null given
+TypeError: FFI::isNull(): Argument #1 ($ptr) must be of type FFI\CData, null given
FFI\Exception: Cannot instantiate FFI\CData of zero size
diff --git a/ext/fileinfo/tests/finfo_open_001.phpt b/ext/fileinfo/tests/finfo_open_001.phpt
index 2ceb80444c..7099897142 100644
--- a/ext/fileinfo/tests/finfo_open_001.phpt
+++ b/ext/fileinfo/tests/finfo_open_001.phpt
@@ -19,7 +19,7 @@ var_dump(finfo_open(FILEINFO_MIME, '/foo/bar/inexistent'));
?>
--EXPECTF--
-finfo_open() expects argument #2 ($arg) to be a valid path, string given
+finfo_open(): Argument #2 ($arg) must be a valid path, string given
resource(%d) of type (file_info)
resource(%d) of type (file_info)
diff --git a/ext/fileinfo/tests/finfo_open_error.phpt b/ext/fileinfo/tests/finfo_open_error.phpt
index 6e0c02c489..72b6db3e62 100644
--- a/ext/fileinfo/tests/finfo_open_error.phpt
+++ b/ext/fileinfo/tests/finfo_open_error.phpt
@@ -42,5 +42,5 @@ bool(false)
Notice: finfo_open(): Warning: using regular magic file `%smagic' in %sfinfo_open_error.php on line %d
resource(6) of type (file_info)
-finfo_open() expects argument #1 ($options) to be of type int, string given
-finfo::__construct() expects argument #1 ($options) to be of type int, string given
+finfo_open(): Argument #1 ($options) must be of type int, string given
+finfo::__construct(): Argument #1 ($options) must be of type int, string given
diff --git a/ext/gd/tests/imagegd2_nullbyte_injection.phpt b/ext/gd/tests/imagegd2_nullbyte_injection.phpt
index 775da28b7f..eda6cfed42 100644
--- a/ext/gd/tests/imagegd2_nullbyte_injection.phpt
+++ b/ext/gd/tests/imagegd2_nullbyte_injection.phpt
@@ -14,4 +14,4 @@ try {
}
?>
--EXPECT--
-imagegd() expects argument #2 ($to) to be a valid path, string given
+imagegd(): Argument #2 ($to) must be a valid path, string given
diff --git a/ext/gd/tests/imagegd_nullbyte_injection.phpt b/ext/gd/tests/imagegd_nullbyte_injection.phpt
index e9d0af3c93..d10e7dc31b 100644
--- a/ext/gd/tests/imagegd_nullbyte_injection.phpt
+++ b/ext/gd/tests/imagegd_nullbyte_injection.phpt
@@ -14,4 +14,4 @@ try {
}
?>
--EXPECT--
-imagegd() expects argument #2 ($to) to be a valid path, string given
+imagegd(): Argument #2 ($to) must be a valid path, string given
diff --git a/ext/gd/tests/imagexbm_nullbyte_injection.phpt b/ext/gd/tests/imagexbm_nullbyte_injection.phpt
index a84bc78eeb..7a24ebf816 100644
--- a/ext/gd/tests/imagexbm_nullbyte_injection.phpt
+++ b/ext/gd/tests/imagexbm_nullbyte_injection.phpt
@@ -14,4 +14,4 @@ try {
}
?>
--EXPECTF--
-imagexbm() expects argument #2 ($filename) to be a valid path, string given
+imagexbm(): Argument #2 ($filename) must be a valid path, string given
diff --git a/ext/gmp/tests/gmp_clrbit.phpt b/ext/gmp/tests/gmp_clrbit.phpt
index 5169cc7986..491ef79bfc 100644
--- a/ext/gmp/tests/gmp_clrbit.phpt
+++ b/ext/gmp/tests/gmp_clrbit.phpt
@@ -47,5 +47,5 @@ Warning: gmp_clrbit(): Index must be greater than or equal to zero in %s on line
string(7) "1000000"
string(7) "1000000"
string(30) "238462734628347239571822592658"
-gmp_clrbit() expects argument #1 ($a) to be of type GMP, array given
+gmp_clrbit(): Argument #1 ($a) must be of type GMP, array given
Done
diff --git a/ext/gmp/tests/gmp_pow.phpt b/ext/gmp/tests/gmp_pow.phpt
index afa8cc13e9..449f668667 100644
--- a/ext/gmp/tests/gmp_pow.phpt
+++ b/ext/gmp/tests/gmp_pow.phpt
@@ -47,7 +47,7 @@ Warning: gmp_pow(): Negative exponent not supported in %s on line %d
string(1) "0"
string(14) "10240000000000"
string(14) "10240000000000"
-gmp_pow() expects argument #2 ($exp) to be of type int, array given
+gmp_pow(): Argument #2 ($exp) must be of type int, array given
Warning: gmp_pow(): Unable to convert variable to GMP - wrong type in %s on line %d
bool(false)
diff --git a/ext/gmp/tests/gmp_setbit.phpt b/ext/gmp/tests/gmp_setbit.phpt
index 30d9021247..b883060e54 100644
--- a/ext/gmp/tests/gmp_setbit.phpt
+++ b/ext/gmp/tests/gmp_setbit.phpt
@@ -57,6 +57,6 @@ string(1) "7"
string(12) "100008388608"
string(12) "100000000000"
string(12) "100000000008"
-gmp_setbit() expects argument #1 ($a) to be of type GMP, string given
-gmp_setbit() expects argument #1 ($a) to be of type GMP, array given
+gmp_setbit(): Argument #1 ($a) must be of type GMP, string given
+gmp_setbit(): Argument #1 ($a) must be of type GMP, array given
Done
diff --git a/ext/imap/tests/imap_expunge_error.phpt b/ext/imap/tests/imap_expunge_error.phpt
index 3b6686a68d..b27038093c 100644
--- a/ext/imap/tests/imap_expunge_error.phpt
+++ b/ext/imap/tests/imap_expunge_error.phpt
@@ -22,6 +22,6 @@ Checking with no parameters
Warning: imap_num_recent() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
-Warning: imap_num_recent() expects argument #1 to be of type resource, string given in %s on line %d
+Warning: imap_num_recent(): Argument #1 must be of type resource, string given in %s on line %d
-Warning: imap_num_recent() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: imap_num_recent(): Argument #1 must be of type resource, bool given in %s on line %d
diff --git a/ext/imap/tests/imap_gc_error.phpt b/ext/imap/tests/imap_gc_error.phpt
index e3c05c6855..2d825ce1fd 100644
--- a/ext/imap/tests/imap_gc_error.phpt
+++ b/ext/imap/tests/imap_gc_error.phpt
@@ -28,8 +28,8 @@ Checking with no parameters
Warning: imap_gc() Expects exactly 2 parameters, 0 given in %s on line %d
Checking with incorrect parameter type
-Warning: imap_gc() expects argument #1 to be of type resource, string given in %s on line %d
+Warning: imap_gc(): Argument #1 must be of type resource, string given in %s on line %d
-Warning: imap_gc() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: imap_gc(): Argument #1 must be of type resource, bool given in %s on line %d
Warning: imap_gc(): Invalid value for the flags parameter in %s on line %d
diff --git a/ext/imap/tests/imap_headers.phpt b/ext/imap/tests/imap_headers.phpt
index 73c0c52306..1ff30bfc10 100644
--- a/ext/imap/tests/imap_headers.phpt
+++ b/ext/imap/tests/imap_headers.phpt
@@ -22,6 +22,6 @@ Checking with no parameters
Warning: imap_headers() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
-Warning: imap_headers() expects argument #1 to be of type resource, string given in %s on line %d
+Warning: imap_headers(): Argument #1 must be of type resource, string given in %s on line %d
-Warning: imap_headers() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: imap_headers(): Argument #1 must be of type resource, bool given in %s on line %d
diff --git a/ext/imap/tests/imap_num_msg_error.phpt b/ext/imap/tests/imap_num_msg_error.phpt
index e6a5650e6d..28a727ddb2 100644
--- a/ext/imap/tests/imap_num_msg_error.phpt
+++ b/ext/imap/tests/imap_num_msg_error.phpt
@@ -22,6 +22,6 @@ Checking with no parameters
Warning: imap_num_msg() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
-Warning: imap_num_msg() expects argument #1 to be of type resource, string given in %s on line %d
+Warning: imap_num_msg(): Argument #1 must be of type resource, string given in %s on line %d
-Warning: imap_num_msg() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: imap_num_msg(): Argument #1 must be of type resource, bool given in %s on line %d
diff --git a/ext/imap/tests/imap_num_recent_error.phpt b/ext/imap/tests/imap_num_recent_error.phpt
index 4f4fef5054..0bb877c76d 100644
--- a/ext/imap/tests/imap_num_recent_error.phpt
+++ b/ext/imap/tests/imap_num_recent_error.phpt
@@ -22,6 +22,6 @@ Checking with no parameters
Warning: imap_expunge() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
-Warning: imap_expunge() expects argument #1 to be of type resource, string given in %s on line %d
+Warning: imap_expunge(): Argument #1 must be of type resource, string given in %s on line %d
-Warning: imap_expunge() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: imap_expunge(): Argument #1 must be of type resource, bool given in %s on line %d
diff --git a/ext/imap/tests/imap_ping_error.phpt b/ext/imap/tests/imap_ping_error.phpt
index 918407ac06..2aedcbddd5 100644
--- a/ext/imap/tests/imap_ping_error.phpt
+++ b/ext/imap/tests/imap_ping_error.phpt
@@ -22,6 +22,6 @@ Checking with no parameters
Warning: imap_ping() expects exactly 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
-Warning: imap_ping() expects argument #1 to be of type resource, string given in %s on line %d
+Warning: imap_ping(): Argument #1 must be of type resource, string given in %s on line %d
-Warning: imap_ping() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: imap_ping(): Argument #1 must be of type resource, bool given in %s on line %d
diff --git a/ext/imap/tests/imap_timeout_basic.phpt b/ext/imap/tests/imap_timeout_basic.phpt
index 7b83309ef7..afe1d2d081 100644
--- a/ext/imap/tests/imap_timeout_basic.phpt
+++ b/ext/imap/tests/imap_timeout_basic.phpt
@@ -44,7 +44,7 @@ Checking with no parameters
Warning: imap_timeout() expects at least 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
-Warning: imap_timeout() expects argument #1 to be of type int, %s given in %s on line %d
+Warning: imap_timeout(): Argument #1 must be of type int, %s given in %s on line %d
GET values:
int(%d)
int(%d)
diff --git a/ext/intl/tests/breakiter___construct_error.phpt b/ext/intl/tests/breakiter___construct_error.phpt
index 35a145dcec..c8cbdcc6de 100644
--- a/ext/intl/tests/breakiter___construct_error.phpt
+++ b/ext/intl/tests/breakiter___construct_error.phpt
@@ -43,6 +43,6 @@ Exception: IntlRuleBasedBreakIterator::__construct() expects at least 1 paramete
Exception: IntlRuleBasedBreakIterator::__construct() expects at most 2 parameters, 3 given in %s on line %d
-Exception: IntlRuleBasedBreakIterator::__construct() expects argument #2 ($areCompiled) to be of type bool, array given in %s on line %d
+Exception: IntlRuleBasedBreakIterator::__construct(): Argument #2 ($areCompiled) must be of type bool, array given in %s on line %d
Exception: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to create instance from compiled rules in %s on line %d
diff --git a/ext/intl/tests/bug48227.phpt b/ext/intl/tests/bug48227.phpt
index 28a614da03..9635b70906 100644
--- a/ext/intl/tests/bug48227.phpt
+++ b/ext/intl/tests/bug48227.phpt
@@ -16,7 +16,7 @@ foreach (['', 1, NULL, $x] as $value) {
?>
--EXPECT--
-NumberFormatter::format() expects argument #1 ($value) to be of type number, string given
+NumberFormatter::format(): Argument #1 ($value) must be of type number, string given
string(1) "1"
string(1) "0"
-NumberFormatter::format() expects argument #1 ($value) to be of type number, object given
+NumberFormatter::format(): Argument #1 ($value) must be of type number, object given
diff --git a/ext/intl/tests/calendar_add_error.phpt b/ext/intl/tests/calendar_add_error.phpt
index e30ed02856..59b9abc053 100644
--- a/ext/intl/tests/calendar_add_error.phpt
+++ b/ext/intl/tests/calendar_add_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_add(1, 2, 3));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_add() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_add(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_add(1, 2, 3)
#1 {main}
diff --git a/ext/intl/tests/calendar_before_after_error.phpt b/ext/intl/tests/calendar_before_after_error.phpt
index a9bbed25e6..8fd6db2a1b 100644
--- a/ext/intl/tests/calendar_before_after_error.phpt
+++ b/ext/intl/tests/calendar_before_after_error.phpt
@@ -65,9 +65,9 @@ error: 0, IntlCalendar::after() expects exactly 1 parameter, 0 given
error: 0, IntlCalendar::before() expects exactly 1 parameter, 0 given
-error: 0, IntlCalendar::after() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, IntlCalendar::after(): Argument #1 ($calendar) must be of type IntlCalendar, int given
-error: 0, IntlCalendar::before() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, IntlCalendar::before(): Argument #1 ($calendar) must be of type IntlCalendar, int given
error: 0, IntlCalendar::after() expects exactly 1 parameter, 2 given
diff --git a/ext/intl/tests/calendar_clear_error.phpt b/ext/intl/tests/calendar_clear_error.phpt
index c56f9065fc..dd2c1e0e75 100644
--- a/ext/intl/tests/calendar_clear_error.phpt
+++ b/ext/intl/tests/calendar_clear_error.phpt
@@ -23,7 +23,7 @@ bool(false)
Warning: intlcal_clear(): intlcal_clear: invalid field in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_clear() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_clear(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_clear(1, 2)
#1 {main}
diff --git a/ext/intl/tests/calendar_equals_error.phpt b/ext/intl/tests/calendar_equals_error.phpt
index 0d4665af60..9da547fe5a 100644
--- a/ext/intl/tests/calendar_equals_error.phpt
+++ b/ext/intl/tests/calendar_equals_error.phpt
@@ -47,10 +47,10 @@ try {
--EXPECT--
error: 0, IntlCalendar::equals() expects exactly 1 parameter, 0 given
-error: 0, IntlCalendar::equals() expects argument #1 ($calendar) to be of type IntlCalendar, object given
+error: 0, IntlCalendar::equals(): Argument #1 ($calendar) must be of type IntlCalendar, object given
error: 0, IntlCalendar::equals() expects exactly 1 parameter, 2 given
-error: 0, intlcal_equals() expects argument #2 ($calendar) to be of type IntlCalendar, array given
+error: 0, intlcal_equals(): Argument #2 ($calendar) must be of type IntlCalendar, array given
-error: 0, intlcal_equals() expects argument #1 ($calendarObject) to be of type IntlCalendar, int given
+error: 0, intlcal_equals(): Argument #1 ($calendarObject) must be of type IntlCalendar, int given
diff --git a/ext/intl/tests/calendar_fieldDifference_error.phpt b/ext/intl/tests/calendar_fieldDifference_error.phpt
index 872fea825d..bf9ab18c76 100644
--- a/ext/intl/tests/calendar_fieldDifference_error.phpt
+++ b/ext/intl/tests/calendar_fieldDifference_error.phpt
@@ -32,7 +32,7 @@ Warning: IntlCalendar::fieldDifference(): intlcal_field_difference: Call to ICU
bool(false)
intlcal_field_difference() expects exactly 3 parameters, 4 given
-Fatal error: Uncaught TypeError: intlcal_field_difference() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_field_difference(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_field_difference(1, 0, 1)
#1 {main}
diff --git a/ext/intl/tests/calendar_getDayOfWeekType_error.phpt b/ext/intl/tests/calendar_getDayOfWeekType_error.phpt
index 644e580f11..5408f966e2 100644
--- a/ext/intl/tests/calendar_getDayOfWeekType_error.phpt
+++ b/ext/intl/tests/calendar_getDayOfWeekType_error.phpt
@@ -19,7 +19,7 @@ var_dump(intlcal_get_day_of_week_type(1, 1));
Warning: IntlCalendar::getDayOfWeekType(): intlcal_get_day_of_week_type: invalid day of week in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_get_day_of_week_type() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_day_of_week_type(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_day_of_week_type(1, 1)
#1 {main}
diff --git a/ext/intl/tests/calendar_getErrorCode_error.phpt b/ext/intl/tests/calendar_getErrorCode_error.phpt
index 4d69bdedfd..5bf65b59c5 100644
--- a/ext/intl/tests/calendar_getErrorCode_error.phpt
+++ b/ext/intl/tests/calendar_getErrorCode_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_error_code(null));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_get_error_code() expects argument #1 ($calendar) to be of type IntlCalendar, null given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_error_code(): Argument #1 ($calendar) must be of type IntlCalendar, null given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_error_code(NULL)
#1 {main}
diff --git a/ext/intl/tests/calendar_getErrorMessage_error.phpt b/ext/intl/tests/calendar_getErrorMessage_error.phpt
index 68b1ad1d6c..733194fee9 100644
--- a/ext/intl/tests/calendar_getErrorMessage_error.phpt
+++ b/ext/intl/tests/calendar_getErrorMessage_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_error_message(null));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_get_error_message() expects argument #1 ($calendar) to be of type IntlCalendar, null given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_error_message(): Argument #1 ($calendar) must be of type IntlCalendar, null given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_error_message(NULL)
#1 {main}
diff --git a/ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt b/ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt
index 22de5dadcd..fa37edd380 100644
--- a/ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt
+++ b/ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_first_day_of_week(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_get_first_day_of_week() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_first_day_of_week(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_first_day_of_week(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt b/ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt
index 644a7eab1c..9a84ac9719 100644
--- a/ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt
+++ b/ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_minimal_days_in_first_week(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_get_minimal_days_in_first_week() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_minimal_days_in_first_week(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_minimal_days_in_first_week(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt b/ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt
index b49861ba49..3c8082d62b 100644
--- a/ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt
+++ b/ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_skipped_wall_time_option(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_get_skipped_wall_time_option() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_skipped_wall_time_option(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_skipped_wall_time_option(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_getTimeZone_error.phpt b/ext/intl/tests/calendar_getTimeZone_error.phpt
index be9585a821..11bc5631c8 100644
--- a/ext/intl/tests/calendar_getTimeZone_error.phpt
+++ b/ext/intl/tests/calendar_getTimeZone_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_time_zone(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_get_time_zone() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_time_zone(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_time_zone(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_getTime_error.phpt b/ext/intl/tests/calendar_getTime_error.phpt
index 6c917103cb..6018cd7c92 100644
--- a/ext/intl/tests/calendar_getTime_error.phpt
+++ b/ext/intl/tests/calendar_getTime_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_time(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_get_time() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_time(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_time(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_getType_error.phpt b/ext/intl/tests/calendar_getType_error.phpt
index f623bd3e8b..83bf072508 100644
--- a/ext/intl/tests/calendar_getType_error.phpt
+++ b/ext/intl/tests/calendar_getType_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_type(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_get_type() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_type(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_type(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_getWeekendTransition_error.phpt b/ext/intl/tests/calendar_getWeekendTransition_error.phpt
index b9d7f30299..3be22cfc9c 100644
--- a/ext/intl/tests/calendar_getWeekendTransition_error.phpt
+++ b/ext/intl/tests/calendar_getWeekendTransition_error.phpt
@@ -18,7 +18,7 @@ var_dump(intlcal_get_weekend_transition(1, 1));
Warning: IntlCalendar::getWeekendTransition(): intlcal_get_weekend_transition: invalid day of week in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_get_weekend_transition() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_get_weekend_transition(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_get_weekend_transition(1, 1)
#1 {main}
diff --git a/ext/intl/tests/calendar_get_Least_Greatest_Minimum_Maximum_error.phpt b/ext/intl/tests/calendar_get_Least_Greatest_Minimum_Maximum_error.phpt
index 7392294b96..318738f094 100644
--- a/ext/intl/tests/calendar_get_Least_Greatest_Minimum_Maximum_error.phpt
+++ b/ext/intl/tests/calendar_get_Least_Greatest_Minimum_Maximum_error.phpt
@@ -71,10 +71,10 @@ bool(false)
Warning: intlcal_get_minimum(): intlcal_get_minimum: invalid field in %s on line %d
bool(false)
-error: 0, intlcal_get_least_maximum() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, intlcal_get_least_maximum(): Argument #1 ($calendar) must be of type IntlCalendar, int given
-error: 0, intlcal_get_maximum() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, intlcal_get_maximum(): Argument #1 ($calendar) must be of type IntlCalendar, int given
-error: 0, intlcal_get_greatest_minimum() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, intlcal_get_greatest_minimum(): Argument #1 ($calendar) must be of type IntlCalendar, int given
-error: 0, intlcal_get_minimum() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, intlcal_get_minimum(): Argument #1 ($calendar) must be of type IntlCalendar, int given
diff --git a/ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt b/ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt
index 5fe75fe17a..207d9e5cdb 100644
--- a/ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt
+++ b/ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt
@@ -93,11 +93,11 @@ error: 2, intlcal_get_actual_maximum(): intlcal_get_actual_maximum: invalid fiel
bool(false)
error: 2, intlcal_get_actual_minimum(): intlcal_get_actual_minimum: invalid field
bool(false)
-error: 0, intlcal_get() expects argument #2 ($field) to be of type int, string given
+error: 0, intlcal_get(): Argument #2 ($field) must be of type int, string given
-error: 0, intlcal_get_actual_maximum() expects argument #2 ($field) to be of type int, string given
+error: 0, intlcal_get_actual_maximum(): Argument #2 ($field) must be of type int, string given
-error: 0, intlcal_get_actual_minimum() expects argument #2 ($field) to be of type int, string given
+error: 0, intlcal_get_actual_minimum(): Argument #2 ($field) must be of type int, string given
error: 0, intlcal_get() expects exactly 2 parameters, 1 given
diff --git a/ext/intl/tests/calendar_inDaylightTime_error.phpt b/ext/intl/tests/calendar_inDaylightTime_error.phpt
index fb4492cb08..4b6d88aa4c 100644
--- a/ext/intl/tests/calendar_inDaylightTime_error.phpt
+++ b/ext/intl/tests/calendar_inDaylightTime_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_in_daylight_time(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_in_daylight_time() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_in_daylight_time(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_in_daylight_time(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_isEquivalentTo_error.phpt b/ext/intl/tests/calendar_isEquivalentTo_error.phpt
index 4acb3b6143..a801bba952 100644
--- a/ext/intl/tests/calendar_isEquivalentTo_error.phpt
+++ b/ext/intl/tests/calendar_isEquivalentTo_error.phpt
@@ -49,14 +49,14 @@ try {
echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
}
--EXPECT--
-error: 0, IntlCalendar::isEquivalentTo() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, IntlCalendar::isEquivalentTo(): Argument #1 ($calendar) must be of type IntlCalendar, int given
error: 0, IntlCalendar::isEquivalentTo() expects exactly 1 parameter, 2 given
-error: 0, IntlCalendar::isEquivalentTo() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, IntlCalendar::isEquivalentTo(): Argument #1 ($calendar) must be of type IntlCalendar, int given
error: 0, intlcal_is_equivalent_to() expects exactly 2 parameters, 1 given
-error: 0, intlcal_is_equivalent_to() expects argument #2 ($calendar) to be of type IntlCalendar, int given
+error: 0, intlcal_is_equivalent_to(): Argument #2 ($calendar) must be of type IntlCalendar, int given
-error: 0, intlcal_is_equivalent_to() expects argument #1 ($calendarObject) to be of type IntlCalendar, int given
+error: 0, intlcal_is_equivalent_to(): Argument #1 ($calendarObject) must be of type IntlCalendar, int given
diff --git a/ext/intl/tests/calendar_isLenient_error.phpt b/ext/intl/tests/calendar_isLenient_error.phpt
index 9e4a573908..dafefcc640 100644
--- a/ext/intl/tests/calendar_isLenient_error.phpt
+++ b/ext/intl/tests/calendar_isLenient_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_is_lenient(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_is_lenient() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_is_lenient(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_is_lenient(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_isSet_error.phpt b/ext/intl/tests/calendar_isSet_error.phpt
index 905e7c082d..969a5130a5 100644
--- a/ext/intl/tests/calendar_isSet_error.phpt
+++ b/ext/intl/tests/calendar_isSet_error.phpt
@@ -19,7 +19,7 @@ var_dump(intlcal_is_set(1, 2));
Warning: IntlCalendar::isSet(): intlcal_is_set: invalid field in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_is_set() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_is_set(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_is_set(1, 2)
#1 {main}
diff --git a/ext/intl/tests/calendar_isWeekend_error.phpt b/ext/intl/tests/calendar_isWeekend_error.phpt
index 138939d61e..aed66aefda 100644
--- a/ext/intl/tests/calendar_isWeekend_error.phpt
+++ b/ext/intl/tests/calendar_isWeekend_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_is_weekend(1));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_is_weekend() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_is_weekend(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_is_weekend(1)
#1 {main}
diff --git a/ext/intl/tests/calendar_roll_error.phpt b/ext/intl/tests/calendar_roll_error.phpt
index e37c6d24b2..de110a864c 100644
--- a/ext/intl/tests/calendar_roll_error.phpt
+++ b/ext/intl/tests/calendar_roll_error.phpt
@@ -19,7 +19,7 @@ var_dump(intlcal_roll(1, 2, 3));
Warning: IntlCalendar::roll(): intlcal_roll: invalid field in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_roll() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_roll(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_roll(1, 2, 3)
#1 {main}
diff --git a/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt b/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt
index abaad15708..163e41fe48 100644
--- a/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt
+++ b/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt
@@ -23,7 +23,7 @@ bool(false)
Warning: intlcal_set_first_day_of_week(): intlcal_set_first_day_of_week: invalid day of week in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_set_first_day_of_week() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_set_first_day_of_week(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_set_first_day_of_week(1, 2)
#1 {main}
diff --git a/ext/intl/tests/calendar_setLenient_error.phpt b/ext/intl/tests/calendar_setLenient_error.phpt
index 7e16004dc2..4dadb15c9f 100644
--- a/ext/intl/tests/calendar_setLenient_error.phpt
+++ b/ext/intl/tests/calendar_setLenient_error.phpt
@@ -12,7 +12,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_set_lenient(1, false));
--EXPECTF--
-Fatal error: Uncaught TypeError: intlcal_set_lenient() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_set_lenient(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_set_lenient(1, false)
#1 {main}
diff --git a/ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt b/ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt
index 1973018628..c1b1a944fb 100644
--- a/ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt
+++ b/ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt
@@ -23,7 +23,7 @@ bool(false)
Warning: intlcal_set_minimal_days_in_first_week(): intlcal_set_minimal_days_in_first_week: invalid number of days; must be between 1 and 7 in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_set_minimal_days_in_first_week() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_set_minimal_days_in_first_week(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_set_minimal_days_in_first_week(1, 2)
#1 {main}
diff --git a/ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt b/ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt
index 795d5d56f9..c89e502e7a 100644
--- a/ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt
+++ b/ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt
@@ -23,7 +23,7 @@ bool(false)
Warning: IntlCalendar::setRepeatedWallTimeOption(): intlcal_set_repeated_wall_time_option: invalid option in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_set_repeated_wall_time_option() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_set_repeated_wall_time_option(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_set_repeated_wall_time_option(1, 1)
#1 {main}
diff --git a/ext/intl/tests/calendar_setTimeZone_error.phpt b/ext/intl/tests/calendar_setTimeZone_error.phpt
index e8204c0d9f..722b876ec3 100644
--- a/ext/intl/tests/calendar_setTimeZone_error.phpt
+++ b/ext/intl/tests/calendar_setTimeZone_error.phpt
@@ -47,4 +47,4 @@ error: 0, IntlCalendar::setTimeZone() expects exactly 1 parameter, 0 given
error: 0, intlcal_set_time_zone() expects exactly 2 parameters, 3 given
-error: 0, intlcal_set_time_zone() expects argument #1 ($calendar) to be of type IntlCalendar, int given
+error: 0, intlcal_set_time_zone(): Argument #1 ($calendar) must be of type IntlCalendar, int given
diff --git a/ext/intl/tests/calendar_set_error.phpt b/ext/intl/tests/calendar_set_error.phpt
index 397deb48da..2113353604 100644
--- a/ext/intl/tests/calendar_set_error.phpt
+++ b/ext/intl/tests/calendar_set_error.phpt
@@ -38,7 +38,7 @@ bool(false)
Warning: intlcal_set(): intlcal_set: invalid field in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intlcal_set() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_set(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_set(1, 2, 3)
#1 {main}
diff --git a/ext/intl/tests/calendar_toDateTime_error.phpt b/ext/intl/tests/calendar_toDateTime_error.phpt
index e6ed8faf9c..20f45ef6d2 100644
--- a/ext/intl/tests/calendar_toDateTime_error.phpt
+++ b/ext/intl/tests/calendar_toDateTime_error.phpt
@@ -21,7 +21,7 @@ var_dump(intlcal_to_date_time(3));
Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception in %s on line %d
string(77) "exception: DateTimeZone::__construct(): Unknown or bad timezone (Etc/Unknown)"
-Fatal error: Uncaught TypeError: intlcal_to_date_time() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlcal_to_date_time(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlcal_to_date_time(3)
#1 {main}
diff --git a/ext/intl/tests/formatter_fail.phpt b/ext/intl/tests/formatter_fail.phpt
index 8103f1f1a3..3201c9a82b 100644
--- a/ext/intl/tests/formatter_fail.phpt
+++ b/ext/intl/tests/formatter_fail.phpt
@@ -100,13 +100,13 @@ IntlException: Constructor failed in %s on line %d
'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
-TypeError: NumberFormatter::__construct() expects argument #1 ($locale) to be of type string, array given in %s on line %d
+TypeError: NumberFormatter::__construct(): Argument #1 ($locale) must be of type string, array given in %s on line %d
'U_ZERO_ERROR'
-TypeError: NumberFormatter::create() expects argument #1 ($locale) to be of type string, array given in %s on line %d
+TypeError: NumberFormatter::create(): Argument #1 ($locale) must be of type string, array given in %s on line %d
'U_ZERO_ERROR'
-TypeError: numfmt_create() expects argument #1 ($locale) to be of type string, array given in %s on line %d
+TypeError: numfmt_create(): Argument #1 ($locale) must be of type string, array given in %s on line %d
'U_ZERO_ERROR'
IntlException: Constructor failed in %s on line %d
diff --git a/ext/intl/tests/gregoriancalendar___construct_error.phpt b/ext/intl/tests/gregoriancalendar___construct_error.phpt
index 83de556587..1f8d90b518 100644
--- a/ext/intl/tests/gregoriancalendar___construct_error.phpt
+++ b/ext/intl/tests/gregoriancalendar___construct_error.phpt
@@ -38,4 +38,4 @@ Too many arguments
Too many arguments
No variant with 4 arguments (excluding trailing NULLs)
No variant with 4 arguments (excluding trailing NULLs)
-IntlGregorianCalendar::__construct() expects argument #6 to be of type int, array given
+IntlGregorianCalendar::__construct(): Argument #6 must be of type int, array given
diff --git a/ext/intl/tests/gregoriancalendar_getGregorianChange_error.phpt b/ext/intl/tests/gregoriancalendar_getGregorianChange_error.phpt
index 2caa055388..3fe4faf464 100644
--- a/ext/intl/tests/gregoriancalendar_getGregorianChange_error.phpt
+++ b/ext/intl/tests/gregoriancalendar_getGregorianChange_error.phpt
@@ -14,7 +14,7 @@ var_dump(intlgregcal_get_gregorian_change(1));
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: intlgregcal_get_gregorian_change() expects argument #1 ($calendar) to be of type IntlGregorianCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlgregcal_get_gregorian_change(): Argument #1 ($calendar) must be of type IntlGregorianCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlgregcal_get_gregorian_change(1)
#1 {main}
diff --git a/ext/intl/tests/gregoriancalendar_isLeapYear_error.phpt b/ext/intl/tests/gregoriancalendar_isLeapYear_error.phpt
index 6223256def..9cee3881f3 100644
--- a/ext/intl/tests/gregoriancalendar_isLeapYear_error.phpt
+++ b/ext/intl/tests/gregoriancalendar_isLeapYear_error.phpt
@@ -14,7 +14,7 @@ var_dump(intlgregcal_is_leap_year(1, 2));
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: intlgregcal_is_leap_year() expects argument #1 ($calendar) to be of type IntlGregorianCalendar, int given in %s:%d
+Fatal error: Uncaught TypeError: intlgregcal_is_leap_year(): Argument #1 ($calendar) must be of type IntlGregorianCalendar, int given in %s:%d
Stack trace:
#0 %s(%d): intlgregcal_is_leap_year(1, 2)
#1 {main}
diff --git a/ext/intl/tests/msgfmt_fail2.phpt b/ext/intl/tests/msgfmt_fail2.phpt
index c02fcb35c3..b53e70e8ea 100644
--- a/ext/intl/tests/msgfmt_fail2.phpt
+++ b/ext/intl/tests/msgfmt_fail2.phpt
@@ -136,13 +136,13 @@ IntlException: Constructor failed in %s on line %d
'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
-TypeError: MessageFormatter::__construct() expects argument #1 ($locale) to be of type string, array given in %s on line %d
+TypeError: MessageFormatter::__construct(): Argument #1 ($locale) must be of type string, array given in %s on line %d
'U_ZERO_ERROR'
-TypeError: MessageFormatter::create() expects argument #1 ($locale) to be of type string, array given in %s on line %d
+TypeError: MessageFormatter::create(): Argument #1 ($locale) must be of type string, array given in %s on line %d
'U_ZERO_ERROR'
-TypeError: msgfmt_create() expects argument #1 ($locale) to be of type string, array given in %s on line %d
+TypeError: msgfmt_create(): Argument #1 ($locale) must be of type string, array given in %s on line %d
'U_ZERO_ERROR'
IntlException: Constructor failed in %s on line %d
diff --git a/ext/intl/tests/timezone_getDSTSavings_error.phpt b/ext/intl/tests/timezone_getDSTSavings_error.phpt
index e5802d1ef4..fe59f3cae4 100644
--- a/ext/intl/tests/timezone_getDSTSavings_error.phpt
+++ b/ext/intl/tests/timezone_getDSTSavings_error.phpt
@@ -11,7 +11,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intltz_get_dst_savings(null));
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: intltz_get_dst_savings() expects argument #1 ($tz) to be of type IntlTimeZone, null given in %s:%d
+Fatal error: Uncaught TypeError: intltz_get_dst_savings(): Argument #1 ($tz) must be of type IntlTimeZone, null given in %s:%d
Stack trace:
#0 %s(%d): intltz_get_dst_savings(NULL)
#1 {main}
diff --git a/ext/intl/tests/timezone_getDisplayName_error.phpt b/ext/intl/tests/timezone_getDisplayName_error.phpt
index 7861f25fe6..0a76fcf1e9 100644
--- a/ext/intl/tests/timezone_getDisplayName_error.phpt
+++ b/ext/intl/tests/timezone_getDisplayName_error.phpt
@@ -16,7 +16,7 @@ var_dump(intltz_get_display_name(null, IntlTimeZone::DISPLAY_SHORT, false, 'pt_P
Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: wrong display type in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intltz_get_display_name() expects argument #1 ($tz) to be of type IntlTimeZone, null given in %s:%d
+Fatal error: Uncaught TypeError: intltz_get_display_name(): Argument #1 ($tz) must be of type IntlTimeZone, null given in %s:%d
Stack trace:
#0 %s(%d): intltz_get_display_name(NULL, 1, false, 'pt_PT')
#1 {main}
diff --git a/ext/intl/tests/timezone_getErrorCode_error.phpt b/ext/intl/tests/timezone_getErrorCode_error.phpt
index 91d0167b8a..c20e3c666a 100644
--- a/ext/intl/tests/timezone_getErrorCode_error.phpt
+++ b/ext/intl/tests/timezone_getErrorCode_error.phpt
@@ -11,7 +11,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intltz_get_error_code(null));
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: intltz_get_error_code() expects argument #1 ($tz) to be of type IntlTimeZone, null given in %s:%d
+Fatal error: Uncaught TypeError: intltz_get_error_code(): Argument #1 ($tz) must be of type IntlTimeZone, null given in %s:%d
Stack trace:
#0 %s(%d): intltz_get_error_code(NULL)
#1 {main}
diff --git a/ext/intl/tests/timezone_getErrorMessage_error.phpt b/ext/intl/tests/timezone_getErrorMessage_error.phpt
index d492a956ea..9cd26d4f45 100644
--- a/ext/intl/tests/timezone_getErrorMessage_error.phpt
+++ b/ext/intl/tests/timezone_getErrorMessage_error.phpt
@@ -11,7 +11,7 @@ ini_set("intl.error_level", E_WARNING);
var_dump(intltz_get_error_message(null));
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: intltz_get_error_message() expects argument #1 ($tz) to be of type IntlTimeZone, null given in %s:%d
+Fatal error: Uncaught TypeError: intltz_get_error_message(): Argument #1 ($tz) must be of type IntlTimeZone, null given in %s:%d
Stack trace:
#0 %s(%d): intltz_get_error_message(NULL)
#1 {main}
diff --git a/ext/intl/tests/timezone_getID_error.phpt b/ext/intl/tests/timezone_getID_error.phpt
index 23c4cd1726..da79d7c1bb 100644
--- a/ext/intl/tests/timezone_getID_error.phpt
+++ b/ext/intl/tests/timezone_getID_error.phpt
@@ -11,7 +11,7 @@ ini_set("intl.error_level", E_WARNING);
intltz_get_id(null);
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: intltz_get_id() expects argument #1 ($tz) to be of type IntlTimeZone, null given in %s:%d
+Fatal error: Uncaught TypeError: intltz_get_id(): Argument #1 ($tz) must be of type IntlTimeZone, null given in %s:%d
Stack trace:
#0 %s(%d): intltz_get_id(NULL)
#1 {main}
diff --git a/ext/intl/tests/timezone_getOffset_error.phpt b/ext/intl/tests/timezone_getOffset_error.phpt
index d9715b4998..639b690595 100644
--- a/ext/intl/tests/timezone_getOffset_error.phpt
+++ b/ext/intl/tests/timezone_getOffset_error.phpt
@@ -23,7 +23,7 @@ intltz_get_offset(null, time()*1000, false, $a, $a);
Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d
bool(false)
-Fatal error: Uncaught TypeError: intltz_get_offset() expects argument #1 ($tz) to be of type IntlTimeZone, null given in %s:%d
+Fatal error: Uncaught TypeError: intltz_get_offset(): Argument #1 ($tz) must be of type IntlTimeZone, null given in %s:%d
Stack trace:
#0 %s(%d): intltz_get_offset(NULL, %d, false, NULL, NULL)
#1 {main}
diff --git a/ext/intl/tests/timezone_getRawOffset_error.phpt b/ext/intl/tests/timezone_getRawOffset_error.phpt
index 5b495322a1..612fa9b39d 100644
--- a/ext/intl/tests/timezone_getRawOffset_error.phpt
+++ b/ext/intl/tests/timezone_getRawOffset_error.phpt
@@ -11,7 +11,7 @@ ini_set("intl.error_level", E_WARNING);
intltz_get_raw_offset(null);
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: intltz_get_raw_offset() expects argument #1 ($tz) to be of type IntlTimeZone, null given in %s:%d
+Fatal error: Uncaught TypeError: intltz_get_raw_offset(): Argument #1 ($tz) must be of type IntlTimeZone, null given in %s:%d
Stack trace:
#0 %s(%d): intltz_get_raw_offset(NULL)
#1 {main}
diff --git a/ext/intl/tests/timezone_hasSameRules_error.phpt b/ext/intl/tests/timezone_hasSameRules_error.phpt
index 4f99dc6eb5..99d2a2e21d 100644
--- a/ext/intl/tests/timezone_hasSameRules_error.phpt
+++ b/ext/intl/tests/timezone_hasSameRules_error.phpt
@@ -31,7 +31,7 @@ try {
}
--EXPECT--
int(0)
-string(106) "IntlTimeZone::hasSameRules() expects argument #1 ($otherTimeZone) to be of type IntlTimeZone, string given"
+string(101) "IntlTimeZone::hasSameRules(): Argument #1 ($otherTimeZone) must be of type IntlTimeZone, string given"
int(0)
-string(88) "intltz_has_same_rules() expects argument #1 ($tz) to be of type IntlTimeZone, null given"
+string(83) "intltz_has_same_rules(): Argument #1 ($tz) must be of type IntlTimeZone, null given"
diff --git a/ext/intl/tests/timezone_toDateTimeZone_error.phpt b/ext/intl/tests/timezone_toDateTimeZone_error.phpt
index fc07b16ad5..530c73e3be 100644
--- a/ext/intl/tests/timezone_toDateTimeZone_error.phpt
+++ b/ext/intl/tests/timezone_toDateTimeZone_error.phpt
@@ -21,7 +21,7 @@ var_dump(intltz_to_date_time_zone(1));
Warning: IntlTimeZone::toDateTimeZone(): intltz_to_date_time_zone: DateTimeZone constructor threw exception in %s on line %d
string(66) "DateTimeZone::__construct(): Unknown or bad timezone (Etc/Unknown)"
-Fatal error: Uncaught TypeError: intltz_to_date_time_zone() expects argument #1 ($tz) to be of type IntlTimeZone, int given in %s:%d
+Fatal error: Uncaught TypeError: intltz_to_date_time_zone(): Argument #1 ($tz) must be of type IntlTimeZone, int given in %s:%d
Stack trace:
#0 %s(%d): intltz_to_date_time_zone(1)
#1 {main}
diff --git a/ext/intl/tests/timezone_useDaylightTime_error.phpt b/ext/intl/tests/timezone_useDaylightTime_error.phpt
index 283e42ea23..6f702848a9 100644
--- a/ext/intl/tests/timezone_useDaylightTime_error.phpt
+++ b/ext/intl/tests/timezone_useDaylightTime_error.phpt
@@ -11,7 +11,7 @@ ini_set("intl.error_level", E_WARNING);
intltz_use_daylight_time(null);
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: intltz_use_daylight_time() expects argument #1 ($tz) to be of type IntlTimeZone, null given in %s:%d
+Fatal error: Uncaught TypeError: intltz_use_daylight_time(): Argument #1 ($tz) must be of type IntlTimeZone, null given in %s:%d
Stack trace:
#0 %s(%d): intltz_use_daylight_time(NULL)
#1 {main}
diff --git a/ext/intl/tests/transliterator_create_inverse_error.phpt b/ext/intl/tests/transliterator_create_inverse_error.phpt
index 3b069cb230..a93554043d 100644
--- a/ext/intl/tests/transliterator_create_inverse_error.phpt
+++ b/ext/intl/tests/transliterator_create_inverse_error.phpt
@@ -10,7 +10,7 @@ ini_set("intl.error_level", E_WARNING);
transliterator_create_inverse("jj");
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: transliterator_create_inverse() expects argument #1 ($orig_trans) to be of type Transliterator, string given in %s:%d
+Fatal error: Uncaught TypeError: transliterator_create_inverse(): Argument #1 ($orig_trans) must be of type Transliterator, string given in %s:%d
Stack trace:
#0 %s(%d): transliterator_create_inverse('jj')
#1 {main}
diff --git a/ext/intl/tests/transliterator_get_error_code_error.phpt b/ext/intl/tests/transliterator_get_error_code_error.phpt
index bfd3c1b118..64f9ea5cc2 100644
--- a/ext/intl/tests/transliterator_get_error_code_error.phpt
+++ b/ext/intl/tests/transliterator_get_error_code_error.phpt
@@ -8,7 +8,7 @@ ini_set("intl.error_level", E_WARNING);
echo transliterator_get_error_code(array()), "\n";
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: transliterator_get_error_code() expects argument #1 ($trans) to be of type Transliterator, array given in %s:%d
+Fatal error: Uncaught TypeError: transliterator_get_error_code(): Argument #1 ($trans) must be of type Transliterator, array given in %s:%d
Stack trace:
#0 %s(%d): transliterator_get_error_code(Array)
#1 {main}
diff --git a/ext/intl/tests/transliterator_get_error_message_error.phpt b/ext/intl/tests/transliterator_get_error_message_error.phpt
index 543480d55e..9c2e837da3 100644
--- a/ext/intl/tests/transliterator_get_error_message_error.phpt
+++ b/ext/intl/tests/transliterator_get_error_message_error.phpt
@@ -8,7 +8,7 @@ ini_set("intl.error_level", E_WARNING);
echo transliterator_get_error_message(array()), "\n";
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: transliterator_get_error_message() expects argument #1 ($trans) to be of type Transliterator, array given in %s:%d
+Fatal error: Uncaught TypeError: transliterator_get_error_message(): Argument #1 ($trans) must be of type Transliterator, array given in %s:%d
Stack trace:
#0 %s(%d): transliterator_get_error_message(Array)
#1 {main}
diff --git a/ext/libxml/tests/004.phpt b/ext/libxml/tests/004.phpt
index ad05ca1b9f..93c3c497a2 100644
--- a/ext/libxml/tests/004.phpt
+++ b/ext/libxml/tests/004.phpt
@@ -28,15 +28,15 @@ echo "Done\n";
?>
--EXPECT--
-libxml_set_streams_context() expects argument #1 ($context) to be of type resource, null given
+libxml_set_streams_context(): Argument #1 ($context) must be of type resource, null given
bool(true)
-libxml_set_streams_context() expects argument #1 ($context) to be of type resource, string given
+libxml_set_streams_context(): Argument #1 ($context) must be of type resource, string given
bool(true)
-libxml_set_streams_context() expects argument #1 ($context) to be of type resource, int given
+libxml_set_streams_context(): Argument #1 ($context) must be of type resource, int given
bool(true)
-libxml_set_streams_context() expects argument #1 ($context) to be of type resource, object given
+libxml_set_streams_context(): Argument #1 ($context) must be of type resource, object given
bool(true)
-libxml_set_streams_context() expects argument #1 ($context) to be of type resource, array given
+libxml_set_streams_context(): Argument #1 ($context) must be of type resource, array given
bool(true)
NULL
bool(true)
diff --git a/ext/libxml/tests/bug63389.phpt b/ext/libxml/tests/bug63389.phpt
index 12b3a032a5..88fce5d115 100644
--- a/ext/libxml/tests/bug63389.phpt
+++ b/ext/libxml/tests/bug63389.phpt
@@ -14,5 +14,5 @@ try {
echo "okey";
?>
--EXPECT--
-libxml_set_streams_context() expects argument #1 ($context) to be of type resource, string given
+libxml_set_streams_context(): Argument #1 ($context) must be of type resource, string given
okey
diff --git a/ext/mbstring/tests/mb_ereg1.phpt b/ext/mbstring/tests/mb_ereg1.phpt
index 3f6c1132d1..27e321bb64 100644
--- a/ext/mbstring/tests/mb_ereg1.phpt
+++ b/ext/mbstring/tests/mb_ereg1.phpt
@@ -45,7 +45,7 @@ array(3) {
array(0) {
}
}
-mb_ereg() expects argument #1 ($pattern) to be of type string, array given
+mb_ereg(): Argument #1 ($pattern) must be of type string, array given
array(3) {
[0]=>
array(0) {
@@ -55,7 +55,7 @@ array(3) {
[2]=>
&string(0) ""
}
-mb_ereg() expects argument #2 ($string) to be of type string, array given
+mb_ereg(): Argument #2 ($string) must be of type string, array given
array(3) {
[0]=>
int(1)
diff --git a/ext/mysqli/tests/mysqli_class_mysqli_warning.phpt b/ext/mysqli/tests/mysqli_class_mysqli_warning.phpt
index 0cd2696c5a..f11984d0ef 100644
--- a/ext/mysqli/tests/mysqli_class_mysqli_warning.phpt
+++ b/ext/mysqli/tests/mysqli_class_mysqli_warning.phpt
@@ -96,7 +96,7 @@ if (!$TEST_EXPERIMENTAL)
--EXPECTF--
Warning: Wrong parameter count for mysqli_warning::mysqli_warning() in %s on line %d
-Warning: mysqli_warning::mysqli_warning() expects argument #1 to be of type object, null given in %s on line %d
+Warning: mysqli_warning::mysqli_warning(): Argument #1 must be of type object, null given in %s on line %d
Warning: Wrong parameter count for mysqli_warning::mysqli_warning() in %s on line %d
diff --git a/ext/mysqli/tests/mysqli_embedded_connect.phpt b/ext/mysqli/tests/mysqli_embedded_connect.phpt
index ecd096953f..aa970aaf74 100644
--- a/ext/mysqli/tests/mysqli_embedded_connect.phpt
+++ b/ext/mysqli/tests/mysqli_embedded_connect.phpt
@@ -28,5 +28,5 @@ require_once('skipifconnectfailure.inc');
print "done!";
?>
--EXPECTF--
-Warning: mysqli_embedded_connect() expects argument #1 to be of type mysqli, null given in %s on line %d
+Warning: mysqli_embedded_connect(): Argument #1 must be of type mysqli, null given in %s on line %d
done!
diff --git a/ext/mysqli/tests/mysqli_fetch_object.phpt b/ext/mysqli/tests/mysqli_fetch_object.phpt
index f1bbab7e39..c3dde0e2f7 100644
--- a/ext/mysqli/tests/mysqli_fetch_object.phpt
+++ b/ext/mysqli/tests/mysqli_fetch_object.phpt
@@ -145,6 +145,6 @@ Exception: Too few arguments to function mysqli_fetch_object_construct::__constr
NULL
NULL
mysqli_result object is already closed
-[0] mysqli_fetch_object() expects argument #3 ($params) to be of type array, string given in %s on line %d
+[0] mysqli_fetch_object(): Argument #3 ($params) must be of type array, string given in %s on line %d
Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
diff --git a/ext/mysqli/tests/mysqli_fetch_object_oo.phpt b/ext/mysqli/tests/mysqli_fetch_object_oo.phpt
index 82e1814050..341a08ef79 100644
--- a/ext/mysqli/tests/mysqli_fetch_object_oo.phpt
+++ b/ext/mysqli/tests/mysqli_fetch_object_oo.phpt
@@ -130,9 +130,9 @@ require_once('skipifconnectfailure.inc');
?>
--EXPECTF--
mysqli object is not fully initialized
-[0] mysqli_result::fetch_object() expects argument #1 ($class_name) to be of type string, object given in %s on line %d
+[0] mysqli_result::fetch_object(): Argument #1 ($class_name) must be of type string, object given in %s on line %d
[0] mysqli_result::fetch_object() expects at most 2 parameters, 3 given in %s on line %d
-[0] mysqli_result::fetch_object() expects argument #2 ($params) to be of type array, null given in %s on line %d
+[0] mysqli_result::fetch_object(): Argument #2 ($params) must be of type array, null given in %s on line %d
Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected
NULL
NULL
diff --git a/ext/oci8/tests/bug51291_1.phpt b/ext/oci8/tests/bug51291_1.phpt
index 4875b1dc17..fcb41dd7c9 100644
--- a/ext/oci8/tests/bug51291_1.phpt
+++ b/ext/oci8/tests/bug51291_1.phpt
@@ -165,7 +165,7 @@ array(4) {
Test 2 - Parse
-Warning: oci_error() expects argument #1 to be of type resource, bool%sgiven in %sbug51291_1.php on line %d
+Warning: oci_error(): Argument #1 must be of type resource, bool%sgiven in %sbug51291_1.php on line %d
bool(false)
array(4) {
["code"]=>
@@ -180,7 +180,7 @@ array(4) {
NULL
2nd call
-Warning: oci_error() expects argument #1 to be of type resource, bool%sgiven in %sbug51291_1.php on line %d
+Warning: oci_error(): Argument #1 must be of type resource, bool%sgiven in %sbug51291_1.php on line %d
bool(false)
array(4) {
["code"]=>
diff --git a/ext/oci8/tests/conn_attr_4.phpt b/ext/oci8/tests/conn_attr_4.phpt
index 14bdfb73d6..72ed493d8a 100644
--- a/ext/oci8/tests/conn_attr_4.phpt
+++ b/ext/oci8/tests/conn_attr_4.phpt
@@ -79,17 +79,17 @@ echo "Done\n";
Invalid Connection resource
-Warning: oci_set_action() expects argument #1 to be of type resource, null given in %s on line %d
+Warning: oci_set_action(): Argument #1 must be of type resource, null given in %s on line %d
NULL
Invalid Connection resource 2
-Warning: oci_set_client_info() expects argument #1 to be of type resource, %s given in %s on line %d
+Warning: oci_set_client_info(): Argument #1 must be of type resource, %s given in %s on line %d
NULL
Invalid Value
-Warning: oci_set_action() expects argument #2 to be of type %s, resource given in %s on line %d
+Warning: oci_set_action(): Argument #2 must be of type %s, resource given in %s on line %d
NULL
Set Values multiple times
diff --git a/ext/oci8/tests/lob_002.phpt b/ext/oci8/tests/lob_002.phpt
index e69de8e0db..426ab91cba 100644
--- a/ext/oci8/tests/lob_002.phpt
+++ b/ext/oci8/tests/lob_002.phpt
@@ -60,13 +60,13 @@ object(OCI-Lob)#%d (1) {
}
int(0)
-Warning: OCI-Lob::write() expects argument #2 to be of type int%s string given in %slob_002.php on line %d
+Warning: OCI-Lob::write(): Argument #2 must be of type int%s string given in %slob_002.php on line %d
NULL
int(4)
int(40000)
int(40004)
-Warning: OCI-Lob::seek() expects argument #1 to be of type int%s string given in %slob_002.php on line %d
+Warning: OCI-Lob::seek(): Argument #1 must be of type int%s string given in %slob_002.php on line %d
NULL
bool(false)
int(40004)
diff --git a/ext/oci8/tests/lob_021.phpt b/ext/oci8/tests/lob_021.phpt
index 0745c76c3c..3fbf4fab5a 100644
--- a/ext/oci8/tests/lob_021.phpt
+++ b/ext/oci8/tests/lob_021.phpt
@@ -61,7 +61,7 @@ bool(false)
Warning: oci_free_descriptor(): %s is not a valid oci8 descriptor resource in %s on line %d
bool(false)
-Warning: oci_free_descriptor() expects argument #1 to be of type OCI-Lob, object given in %s on line %d
+Warning: oci_free_descriptor(): Argument #1 must be of type OCI-Lob, object given in %s on line %d
NULL
Warning: oci_free_descriptor(): Unable to find descriptor property in %s on line %d
diff --git a/ext/oci8/tests/lob_026.phpt b/ext/oci8/tests/lob_026.phpt
index 2a39db46d6..301a8f4b62 100644
--- a/ext/oci8/tests/lob_026.phpt
+++ b/ext/oci8/tests/lob_026.phpt
@@ -73,7 +73,7 @@ NULL
bool(true)
int(3)
-Warning: oci_lob_seek() expects argument #1 to be of type OCI-Lob, int%sgiven in %s on line %d
+Warning: oci_lob_seek(): Argument #1 must be of type OCI-Lob, int%sgiven in %s on line %d
NULL
bool(true)
array(2) {
diff --git a/ext/oci8/tests/null_byte_1.phpt b/ext/oci8/tests/null_byte_1.phpt
index e5857450f8..4a69258ea3 100644
--- a/ext/oci8/tests/null_byte_1.phpt
+++ b/ext/oci8/tests/null_byte_1.phpt
@@ -35,9 +35,9 @@ var_dump($r);
--EXPECTF--
Test 1: Import
-Warning: OCI-Lob::savefile() expects argument #1 ($function) to be a valid path, string given in %snull_byte_1.php on line %d
+Warning: OCI-Lob::savefile(): Argument #1 ($function) must be a valid path, string given in %snull_byte_1.php on line %d
NULL
Test 2: Export
-Warning: OCI-Lob::export() expects argument #1 ($function) to be a valid path, string given in %snull_byte_1.php on line %d
+Warning: OCI-Lob::export(): Argument #1 ($function) must be a valid path, string given in %snull_byte_1.php on line %d
NULL
diff --git a/ext/oci8/tests/privileged_connect.phpt b/ext/oci8/tests/privileged_connect.phpt
index ca785aa361..26955d4b17 100644
--- a/ext/oci8/tests/privileged_connect.phpt
+++ b/ext/oci8/tests/privileged_connect.phpt
@@ -21,5 +21,5 @@ Warning: oci_connect(): Privileged connect is disabled. Enable oci8.privileged_c
Warning: oci_connect(): Invalid session mode specified (-1) in %s on line %d
-Warning: oci_connect() expects argument #5 to be of type int%s string given in %s on line %d
+Warning: oci_connect(): Argument #5 must be of type int%s string given in %s on line %d
Done
diff --git a/ext/oci8/tests/privileged_connect1.phpt b/ext/oci8/tests/privileged_connect1.phpt
index aaa819ca92..8093620168 100644
--- a/ext/oci8/tests/privileged_connect1.phpt
+++ b/ext/oci8/tests/privileged_connect1.phpt
@@ -23,5 +23,5 @@ Warning: oci_connect(): ORA-%d: %s in %s on line %d
Warning: oci_connect(): Invalid session mode specified (-1) in %s on line %d
-Warning: oci_connect() expects argument #5 to be of type int%s string given in %s on line %d
+Warning: oci_connect(): Argument #5 must be of type int%s string given in %s on line %d
Done
diff --git a/ext/odbc/tests/odbc_exec_001.phpt b/ext/odbc/tests/odbc_exec_001.phpt
index 195520484f..b288bcd2d0 100644
--- a/ext/odbc/tests/odbc_exec_001.phpt
+++ b/ext/odbc/tests/odbc_exec_001.phpt
@@ -28,11 +28,11 @@ odbc_exec($conn, NULL);
?>
--EXPECTF--
-Warning: odbc_exec() expects argument #3 to be of type int, string given in %s on line %d
+Warning: odbc_exec(): Argument #3 must be of type int, string given in %s on line %d
Warning: odbc_exec(): SQL error: %s in %s on line %d
-Warning: odbc_exec() expects argument #3 to be of type int, string given in %s on line %d
+Warning: odbc_exec(): Argument #3 must be of type int, string given in %s on line %d
Warning: odbc_exec(): SQL error: %s in %s on line %d
diff --git a/ext/openssl/tests/openssl_csr_export_bacis.phpt b/ext/openssl/tests/openssl_csr_export_bacis.phpt
index 714b9f7092..f0a258dd15 100644
--- a/ext/openssl/tests/openssl_csr_export_bacis.phpt
+++ b/ext/openssl/tests/openssl_csr_export_bacis.phpt
@@ -41,6 +41,6 @@ var_dump(openssl_csr_export($csr, $output, false));
?>
--EXPECT--
bool(true)
-openssl_csr_export() expects argument #1 ($csr) to be of type resource, string given
+openssl_csr_export(): Argument #1 ($csr) must be of type resource, string given
openssl_csr_export(): supplied resource is not a valid OpenSSL X.509 CSR resource
bool(true)
diff --git a/ext/openssl/tests/openssl_csr_export_to_file_basic.phpt b/ext/openssl/tests/openssl_csr_export_to_file_basic.phpt
index 907b7fd844..7f6347840d 100644
--- a/ext/openssl/tests/openssl_csr_export_to_file_basic.phpt
+++ b/ext/openssl/tests/openssl_csr_export_to_file_basic.phpt
@@ -76,6 +76,6 @@ sfBgVeqg0P4SWez5fHXqBNcjMdMI5f0bikcDZSIfTHS8FX+PMurLBC8UPB0YNIOl
JViHkCA9x6m8RJXAFvqmgLlWlUzbDv/cRrDfjWjR
-----END CERTIFICATE REQUEST-----
"
-openssl_csr_export_to_file() expects argument #1 ($csr) to be of type resource, string given
+openssl_csr_export_to_file(): Argument #1 ($csr) must be of type resource, string given
openssl_csr_export_to_file(): supplied resource is not a valid OpenSSL X.509 CSR resource
bool(true)
diff --git a/ext/openssl/tests/openssl_pkey_new_error.phpt b/ext/openssl/tests/openssl_pkey_new_error.phpt
index 1a6235db70..4bed65278c 100644
--- a/ext/openssl/tests/openssl_pkey_new_error.phpt
+++ b/ext/openssl/tests/openssl_pkey_new_error.phpt
@@ -28,6 +28,6 @@ try {
}
?>
--EXPECT--
-openssl_pkey_get_details() expects argument #1 ($key) to be of type resource, bool given
-openssl_pkey_get_details() expects argument #1 ($key) to be of type resource, bool given
-openssl_pkey_get_details() expects argument #1 ($key) to be of type resource, bool given
+openssl_pkey_get_details(): Argument #1 ($key) must be of type resource, bool given
+openssl_pkey_get_details(): Argument #1 ($key) must be of type resource, bool given
+openssl_pkey_get_details(): Argument #1 ($key) must be of type resource, bool given
diff --git a/ext/pcre/tests/preg_grep_error1.phpt b/ext/pcre/tests/preg_grep_error1.phpt
index 5b191a72dc..b3450beff7 100644
--- a/ext/pcre/tests/preg_grep_error1.phpt
+++ b/ext/pcre/tests/preg_grep_error1.phpt
@@ -57,7 +57,7 @@ Warning: preg_grep(): Unknown modifier 'F' in %spreg_grep_error1.php on line %d
bool(false)
Arg value is Array
-preg_grep() expects argument #1 ($regex) to be of type string, array given
+preg_grep(): Argument #1 ($regex) must be of type string, array given
Arg value is /[a-zA-Z]/
array(2) {
@@ -66,5 +66,5 @@ array(2) {
[2]=>
string(4) "test"
}
-preg_grep() expects argument #1 ($regex) to be of type string, object given
+preg_grep(): Argument #1 ($regex) must be of type string, object given
Done
diff --git a/ext/pcre/tests/preg_match_all_error1.phpt b/ext/pcre/tests/preg_match_all_error1.phpt
index 3a65fca852..e052327cea 100644
--- a/ext/pcre/tests/preg_match_all_error1.phpt
+++ b/ext/pcre/tests/preg_match_all_error1.phpt
@@ -62,7 +62,7 @@ bool(false)
NULL
Arg value is Array
-preg_match_all() expects argument #1 ($pattern) to be of type string, array given
+preg_match_all(): Argument #1 ($pattern) must be of type string, array given
NULL
Arg value is /[a-zA-Z]/
@@ -80,5 +80,5 @@ array(1) {
string(1) "t"
}
}
-preg_match_all() expects argument #1 ($pattern) to be of type string, object given
+preg_match_all(): Argument #1 ($pattern) must be of type string, object given
NULL
diff --git a/ext/pcre/tests/preg_match_all_error2.phpt b/ext/pcre/tests/preg_match_all_error2.phpt
index 98e70385c0..a2254555bb 100644
--- a/ext/pcre/tests/preg_match_all_error2.phpt
+++ b/ext/pcre/tests/preg_match_all_error2.phpt
@@ -27,7 +27,7 @@ echo "Done";
*** Testing preg_match_all() : error conditions ***
Arg value is: Array
-preg_match_all() expects argument #2 ($subject) to be of type string, array given
+preg_match_all(): Argument #2 ($subject) must be of type string, array given
NULL
Arg value is: test
diff --git a/ext/pcre/tests/preg_match_error1.phpt b/ext/pcre/tests/preg_match_error1.phpt
index 3dbb7c2f03..b4540bf5da 100644
--- a/ext/pcre/tests/preg_match_error1.phpt
+++ b/ext/pcre/tests/preg_match_error1.phpt
@@ -56,8 +56,8 @@ Warning: preg_match(): Unknown modifier 'F' in %spreg_match_error1.php on line %
bool(false)
Arg value is Array
-preg_match() expects argument #1 ($pattern) to be of type string, array given
+preg_match(): Argument #1 ($pattern) must be of type string, array given
Arg value is /[a-zA-Z]/
int(1)
-preg_match() expects argument #1 ($pattern) to be of type string, object given
+preg_match(): Argument #1 ($pattern) must be of type string, object given
diff --git a/ext/pcre/tests/preg_match_error2.phpt b/ext/pcre/tests/preg_match_error2.phpt
index bc48facc0a..a03bcf4417 100644
--- a/ext/pcre/tests/preg_match_error2.phpt
+++ b/ext/pcre/tests/preg_match_error2.phpt
@@ -35,6 +35,6 @@ Arg value is: this is a string
int(1)
Arg value is: Array
-preg_match() expects argument #2 ($subject) to be of type string, array given
-preg_match() expects argument #2 ($subject) to be of type string, object given
+preg_match(): Argument #2 ($subject) must be of type string, array given
+preg_match(): Argument #2 ($subject) must be of type string, object given
Done
diff --git a/ext/pcre/tests/preg_split_error1.phpt b/ext/pcre/tests/preg_split_error1.phpt
index 0ec80d99f1..daf7852767 100644
--- a/ext/pcre/tests/preg_split_error1.phpt
+++ b/ext/pcre/tests/preg_split_error1.phpt
@@ -56,7 +56,7 @@ Warning: preg_split(): Unknown modifier 'F' in %spreg_split_error1.php on line %
bool(false)
Arg value is Array
-preg_split() expects argument #1 ($pattern) to be of type string, array given
+preg_split(): Argument #1 ($pattern) must be of type string, array given
Arg value is /[a-zA-Z]/
array(3) {
@@ -67,4 +67,4 @@ array(3) {
[2]=>
string(4) " 5 6"
}
-preg_split() expects argument #1 ($pattern) to be of type string, object given
+preg_split(): Argument #1 ($pattern) must be of type string, object given
diff --git a/ext/pdo_oci/tests/pdo_oci_stmt_getcolumnmeta.phpt b/ext/pdo_oci/tests/pdo_oci_stmt_getcolumnmeta.phpt
index b2ee84a945..1b566be3e3 100644
--- a/ext/pdo_oci/tests/pdo_oci_stmt_getcolumnmeta.phpt
+++ b/ext/pdo_oci/tests/pdo_oci_stmt_getcolumnmeta.phpt
@@ -47,7 +47,7 @@ SQL
if (false !== ($tmp = @$stmt->getColumnMeta(-1)))
printf("[004] Expecting false got %s\n", var_export($tmp, true));
- // Warning: PDOStatement::getColumnMeta() expects argument #1 to be of type int, array given in
+ // Warning: PDOStatement::getColumnMeta(): Argument #1 must be of type int, array given in
if (false !== ($tmp = @$stmt->getColumnMeta(array())))
printf("[005] Expecting false got %s\n", var_export($tmp, true));
diff --git a/ext/phar/tests/badparameters.phpt b/ext/phar/tests/badparameters.phpt
index e086e89c28..f2aee20828 100644
--- a/ext/phar/tests/badparameters.phpt
+++ b/ext/phar/tests/badparameters.phpt
@@ -228,40 +228,40 @@ try {
}
?>
--EXPECTF--
-Phar::mungServer() expects argument #1 ($munglist) to be of type array, string given
-Phar::createDefaultStub() expects argument #1 ($index) to be a valid path, array given
-Phar::loadPhar() expects argument #1 ($filename) to be a valid path, array given
-Phar::canCompress() expects argument #1 ($method) to be of type int, string given
-Phar::__construct() expects argument #1 ($filename) to be a valid path, array given
-Phar::convertToExecutable() expects argument #1 ($format) to be of type int, array given
-Phar::convertToData() expects argument #1 ($format) to be of type int, array given
-PharData::delete() expects argument #1 ($entry) to be a valid path, array given
+Phar::mungServer(): Argument #1 ($munglist) must be of type array, string given
+Phar::createDefaultStub(): Argument #1 ($index) must be a valid path, array given
+Phar::loadPhar(): Argument #1 ($filename) must be a valid path, array given
+Phar::canCompress(): Argument #1 ($method) must be of type int, string given
+Phar::__construct(): Argument #1 ($filename) must be a valid path, array given
+Phar::convertToExecutable(): Argument #1 ($format) must be of type int, array given
+Phar::convertToData(): Argument #1 ($format) must be of type int, array given
+PharData::delete(): Argument #1 ($entry) must be a valid path, array given
Cannot write out phar archive, phar is read-only
Entry oops does not exist and cannot be deleted
%sfrontcontroller10.phar
Cannot write out phar archive, phar is read-only
A Phar alias cannot be set in a plain tar archive
-Phar::setAlias() expects argument #1 ($alias) to be of type string, array given
+Phar::setAlias(): Argument #1 ($alias) must be of type string, array given
Cannot change stub, phar is read-only
A Phar stub cannot be set in a plain tar archive
-Phar::setStub() expects argument #1 ($newstub) to be of type string, array given
+Phar::setStub(): Argument #1 ($newstub) must be of type string, array given
A Phar stub cannot be set in a plain tar archive
-Phar::setDefaultStub() expects argument #1 ($index) to be of type string, array given
+Phar::setDefaultStub(): Argument #1 ($index) must be of type string, array given
Cannot change stub: phar.readonly=1
Cannot set signature algorithm, phar is read-only
-Phar::compress() expects argument #1 ($compression_type) to be of type int, array given
+Phar::compress(): Argument #1 ($compression_type) must be of type int, array given
Cannot compress phar archive, phar is read-only
-Phar::compressFiles() expects argument #1 ($compression_type) to be of type int, array given
+Phar::compressFiles(): Argument #1 ($compression_type) must be of type int, array given
Phar is readonly, cannot change compression
Phar::copy() expects exactly 2 parameters, 1 given
Cannot copy "a" to "b", phar is read-only
-Phar::offsetExists() expects argument #1 ($entry) to be a valid path, array given
-Phar::offsetGet() expects argument #1 ($entry) to be a valid path, array given
+Phar::offsetExists(): Argument #1 ($entry) must be a valid path, array given
+Phar::offsetGet(): Argument #1 ($entry) must be a valid path, array given
Phar::offsetSet() expects exactly 2 parameters, 1 given
-PharData::offsetUnset() expects argument #1 ($entry) to be a valid path, array given
+PharData::offsetUnset(): Argument #1 ($entry) must be a valid path, array given
Write operations disabled by the php.ini setting phar.readonly
-Phar::addEmptyDir() expects argument #1 ($dirname) to be a valid path, array given
-Phar::addFile() expects argument #1 ($filename) to be a valid path, array given
+Phar::addEmptyDir(): Argument #1 ($dirname) must be a valid path, array given
+Phar::addFile(): Argument #1 ($filename) must be a valid path, array given
Phar::addFromString() expects exactly 2 parameters, 1 given
Write operations disabled by the php.ini setting phar.readonly
Phar::setMetadata() expects exactly 1 parameter, 2 given
diff --git a/ext/phar/tests/bug64931/bug64931.phpt b/ext/phar/tests/bug64931/bug64931.phpt
index 8c25692c3f..2b4b17051e 100644
--- a/ext/phar/tests/bug64931/bug64931.phpt
+++ b/ext/phar/tests/bug64931/bug64931.phpt
@@ -53,4 +53,4 @@ CAUGHT: Cannot create any files in magic ".phar" directory
CAUGHT: Cannot create any files in magic ".phar" directory
CAUGHT: Cannot create any files in magic ".phar" directory
CAUGHT: Cannot create any files in magic ".phar" directory
-CAUGHT: Phar::addFromString() expects argument #1 ($localname) to be a valid path, string given
+CAUGHT: Phar::addFromString(): Argument #1 ($localname) must be a valid path, string given
diff --git a/ext/phar/tests/create_path_error.phpt b/ext/phar/tests/create_path_error.phpt
index 458ec8b6f5..ce0b8a59a2 100644
--- a/ext/phar/tests/create_path_error.phpt
+++ b/ext/phar/tests/create_path_error.phpt
@@ -78,4 +78,4 @@ string(5) "query"
11:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contains illegal character
12:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contains illegal character
13:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contains illegal character
-Exception: Phar::offsetSet() expects argument #1 ($entry) to be a valid path, string given
+Exception: Phar::offsetSet(): Argument #1 ($entry) must be a valid path, string given
diff --git a/ext/phar/tests/fgc_edgecases.phpt b/ext/phar/tests/fgc_edgecases.phpt
index 861933ba4e..8f4b40c72b 100644
--- a/ext/phar/tests/fgc_edgecases.phpt
+++ b/ext/phar/tests/fgc_edgecases.phpt
@@ -49,7 +49,7 @@ include $pname . '/foo/hi';
<?php rmdir(__DIR__ . '/poo'); ?>
<?php unlink(__DIR__ . '/fgc_edgecases.txt'); ?>
--EXPECTF--
-file_get_contents() expects argument #1 ($filename) to be a valid path, array given
+file_get_contents(): Argument #1 ($filename) must be a valid path, array given
blah
<?php
echo file_get_contents("foo/" . basename(__FILE__));
diff --git a/ext/phar/tests/fopen_edgecases2.phpt b/ext/phar/tests/fopen_edgecases2.phpt
index 548f50a362..9d9b9feed9 100644
--- a/ext/phar/tests/fopen_edgecases2.phpt
+++ b/ext/phar/tests/fopen_edgecases2.phpt
@@ -38,7 +38,7 @@ include $pname . '/foo/hi';
<?php rmdir(__DIR__ . '/poo'); ?>
<?php unlink(__DIR__ . '/fopen_edgecases2.txt'); ?>
--EXPECTF--
-fopen() expects argument #1 ($filename) to be a valid path, array given
+fopen(): Argument #1 ($filename) must be a valid path, array given
blah
test
diff --git a/ext/phar/tests/opendir_edgecases.phpt b/ext/phar/tests/opendir_edgecases.phpt
index 59deca53c8..14f7f5dae0 100644
--- a/ext/phar/tests/opendir_edgecases.phpt
+++ b/ext/phar/tests/opendir_edgecases.phpt
@@ -55,7 +55,7 @@ include $pname . '/foo';
<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
<?php rmdir(__DIR__ . '/poo');
--EXPECTF--
-opendir() expects argument #1 ($path) to be a valid path, array given
+opendir(): Argument #1 ($path) must be a valid path, array given
.
..
foo
diff --git a/ext/phar/tests/phar_extract.phpt b/ext/phar/tests/phar_extract.phpt
index e5bba5d757..bbe95dec0d 100644
--- a/ext/phar/tests/phar_extract.phpt
+++ b/ext/phar/tests/phar_extract.phpt
@@ -142,7 +142,7 @@ string(3) "hi3"
string(3) "hi2"
bool(false)
Invalid argument, expected a filename (string) or array of filenames
-Phar::extractTo() expects argument #1 ($pathto) to be a valid path, array given
+Phar::extractTo(): Argument #1 ($pathto) must be a valid path, array given
Invalid argument, extraction path must be non-zero length
Unable to use path "%soops" for extraction, it is a file, must be a directory
Invalid argument, array of filenames to extract contains non-string value
diff --git a/ext/phar/tests/phar_oo_006.phpt b/ext/phar/tests/phar_oo_006.phpt
index 5de390600f..c050859b86 100644
--- a/ext/phar/tests/phar_oo_006.phpt
+++ b/ext/phar/tests/phar_oo_006.phpt
@@ -40,7 +40,7 @@ unlink(__DIR__ . '/files/phar_oo_006.phar.php');
__halt_compiler();
?>
--EXPECTF--
-SplFileInfo::setFileClass() expects argument #1 ($class_name) to be a class name derived from SplFileObject, 'SplFileInfo' given
+SplFileInfo::setFileClass(): Argument #1 ($class_name) must be a class name derived from SplFileObject, 'SplFileInfo' given
MyFile::__construct(phar://%s/a.php)
a.php
MyFile::__construct(phar://%s/b/c.php)
diff --git a/ext/phar/tests/phar_unlinkarchive.phpt b/ext/phar/tests/phar_unlinkarchive.phpt
index 70b251257d..5dc55ce487 100644
--- a/ext/phar/tests/phar_unlinkarchive.phpt
+++ b/ext/phar/tests/phar_unlinkarchive.phpt
@@ -92,7 +92,7 @@ __HALT_COMPILER();
Unknown phar archive ""
Unknown phar archive "%sphar_unlinkarchive.phar"
Unknown phar archive "%sphar_unlinkarchive.phar.tar": internal corruption of phar "%sphar_unlinkarchive.phar.tar" (truncated entry)
-Phar::unlinkArchive() expects argument #1 ($archive) to be a valid path, array given
+Phar::unlinkArchive(): Argument #1 ($archive) must be a valid path, array given
bool(false)
string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>"
phar archive "%sphar_unlinkarchive.phar" has open file handles or objects. fclose() all file handles, and unset() all objects prior to calling unlinkArchive()
diff --git a/ext/phar/tests/pharfileinfo_construct.phpt b/ext/phar/tests/pharfileinfo_construct.phpt
index 5ac63d82f5..5f22264423 100644
--- a/ext/phar/tests/pharfileinfo_construct.phpt
+++ b/ext/phar/tests/pharfileinfo_construct.phpt
@@ -49,7 +49,7 @@ echo $e->getMessage() . "\n";
<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); ?>
--EXPECTF--
Cannot open phar file 'phar://%spharfileinfo_construct.phar/oops': internal corruption of phar "%spharfileinfo_construct.phar" (truncated entry)
-PharFileInfo::__construct() expects argument #1 ($filename) to be a valid path, array given
+PharFileInfo::__construct(): Argument #1 ($filename) must be a valid path, array given
Cannot access phar file entry '%s' in archive '%s'
Cannot call constructor twice
'%s' is not a valid phar archive URL (must have at least phar://filename.phar)
diff --git a/ext/reflection/tests/ReflectionClass_getMethod_002.phpt b/ext/reflection/tests/ReflectionClass_getMethod_002.phpt
index 721ad337cc..e48d43587e 100644
--- a/ext/reflection/tests/ReflectionClass_getMethod_002.phpt
+++ b/ext/reflection/tests/ReflectionClass_getMethod_002.phpt
@@ -62,5 +62,5 @@ Method does not exist
Method 1 does not exist
Method 1.5 does not exist
Method 1 does not exist
-ReflectionClass::getMethod() expects argument #1 ($name) to be of type string, array given
-ReflectionClass::getMethod() expects argument #1 ($name) to be of type string, object given
+ReflectionClass::getMethod(): Argument #1 ($name) must be of type string, array given
+ReflectionClass::getMethod(): Argument #1 ($name) must be of type string, object given
diff --git a/ext/reflection/tests/ReflectionClass_getProperty_002.phpt b/ext/reflection/tests/ReflectionClass_getProperty_002.phpt
index dd3b5f33a2..86060c8acf 100644
--- a/ext/reflection/tests/ReflectionClass_getProperty_002.phpt
+++ b/ext/reflection/tests/ReflectionClass_getProperty_002.phpt
@@ -60,5 +60,5 @@ Property does not exist
Property 1 does not exist
Property 1.5 does not exist
Property 1 does not exist
-ReflectionClass::getProperty() expects argument #1 ($name) to be of type string, array given
-ReflectionClass::getProperty() expects argument #1 ($name) to be of type string, object given
+ReflectionClass::getProperty(): Argument #1 ($name) must be of type string, array given
+ReflectionClass::getProperty(): Argument #1 ($name) must be of type string, object given
diff --git a/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt b/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt
index 2cdbcebefb..e034e08215 100644
--- a/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt
+++ b/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt
@@ -43,4 +43,4 @@ ReflectionClass::getStaticPropertyValue() expects at most 2 parameters, 3 given
ReflectionClass::getStaticPropertyValue() expects at least 1 parameter, 0 given
Class C does not have a property named
string(3) "def"
-ReflectionClass::getStaticPropertyValue() expects argument #1 ($name) to be of type string, array given
+ReflectionClass::getStaticPropertyValue(): Argument #1 ($name) must be of type string, array given
diff --git a/ext/reflection/tests/ReflectionClass_newInstanceArgs_002.phpt b/ext/reflection/tests/ReflectionClass_newInstanceArgs_002.phpt
index 1805607e19..e7256ea2cb 100644
--- a/ext/reflection/tests/ReflectionClass_newInstanceArgs_002.phpt
+++ b/ext/reflection/tests/ReflectionClass_newInstanceArgs_002.phpt
@@ -16,7 +16,7 @@ var_dump($a);
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: ReflectionClass::newInstanceArgs() expects argument #1 ($args) to be of type array, string given in %s:%d
+Fatal error: Uncaught TypeError: ReflectionClass::newInstanceArgs(): Argument #1 ($args) must be of type array, string given in %s:%d
Stack trace:
#0 %s(%d): ReflectionClass->newInstanceArgs('x')
#1 {main}
diff --git a/ext/reflection/tests/ReflectionClass_setStaticPropertyValue_002.phpt b/ext/reflection/tests/ReflectionClass_setStaticPropertyValue_002.phpt
index 87cb894ea8..b9bb76c786 100644
--- a/ext/reflection/tests/ReflectionClass_setStaticPropertyValue_002.phpt
+++ b/ext/reflection/tests/ReflectionClass_setStaticPropertyValue_002.phpt
@@ -49,4 +49,4 @@ ReflectionClass::setStaticPropertyValue() expects exactly 2 parameters, 0 given
ReflectionClass::setStaticPropertyValue() expects exactly 2 parameters, 1 given
Class C does not have a property named
Class C does not have a property named 1.5
-ReflectionClass::setStaticPropertyValue() expects argument #1 ($name) to be of type string, array given
+ReflectionClass::setStaticPropertyValue(): Argument #1 ($name) must be of type string, array given
diff --git a/ext/reflection/tests/ReflectionExtension_constructor_error.phpt b/ext/reflection/tests/ReflectionExtension_constructor_error.phpt
index 1047c927dc..ccf2414e43 100644
--- a/ext/reflection/tests/ReflectionExtension_constructor_error.phpt
+++ b/ext/reflection/tests/ReflectionExtension_constructor_error.phpt
@@ -28,4 +28,4 @@ try {
--EXPECTF--
Ok - ReflectionExtension::__construct() expects exactly %d parameter, %d given
Ok - ReflectionExtension::__construct() expects exactly %d parameter, %d given
-Ok - ReflectionExtension::__construct() expects argument #1 ($name) to be of type string, array given
+Ok - ReflectionExtension::__construct(): Argument #1 ($name) must be of type string, array given
diff --git a/ext/reflection/tests/ReflectionFunction_construct.001.phpt b/ext/reflection/tests/ReflectionFunction_construct.001.phpt
index dbd829252b..1772ba5b68 100644
--- a/ext/reflection/tests/ReflectionFunction_construct.001.phpt
+++ b/ext/reflection/tests/ReflectionFunction_construct.001.phpt
@@ -35,8 +35,8 @@ try {
?>
--EXPECT--
-Ok - ReflectionFunction::__construct() expects argument #1 ($name) to be of type string, array given
+Ok - ReflectionFunction::__construct(): Argument #1 ($name) must be of type string, array given
Function nonExistentFunction() does not exist
Ok - ReflectionFunction::__construct() expects exactly 1 parameter, 0 given
Ok - ReflectionFunction::__construct() expects exactly 1 parameter, 2 given
-Ok - ReflectionFunction::__construct() expects argument #1 ($name) to be of type string, array given
+Ok - ReflectionFunction::__construct(): Argument #1 ($name) must be of type string, array given
diff --git a/ext/reflection/tests/ReflectionMethod_invokeArgs_error2.phpt b/ext/reflection/tests/ReflectionMethod_invokeArgs_error2.phpt
index 0d585d2a73..869682ccdd 100644
--- a/ext/reflection/tests/ReflectionMethod_invokeArgs_error2.phpt
+++ b/ext/reflection/tests/ReflectionMethod_invokeArgs_error2.phpt
@@ -24,4 +24,4 @@ try {
?>
--EXPECT--
-string(90) "ReflectionMethod::invokeArgs() expects argument #2 ($args) to be of type array, bool given"
+string(85) "ReflectionMethod::invokeArgs(): Argument #2 ($args) must be of type array, bool given"
diff --git a/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt b/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
index 3dc0ed626e..5ff9d2e50d 100644
--- a/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
+++ b/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
@@ -103,7 +103,7 @@ NULL
Static method:
ReflectionMethod::invoke() expects at least 1 parameter, 0 given
-ReflectionMethod::invoke() expects argument #1 ($object) to be of type object, bool given
+ReflectionMethod::invoke(): Argument #1 ($object) must be of type object, bool given
Called staticMethod()
Exception: Using $this when not in object context
NULL
diff --git a/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt b/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
index 8788370b2f..2b50fa8131 100644
--- a/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
+++ b/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
@@ -59,7 +59,7 @@ try {
?>
--EXPECT--
invoke() on a non-object:
-string(89) "ReflectionMethod::invoke() expects argument #1 ($object) to be of type object, bool given"
+string(84) "ReflectionMethod::invoke(): Argument #1 ($object) must be of type object, bool given"
invoke() on a non-instance:
string(72) "Given object is not an instance of the class this method was declared in"
diff --git a/ext/reflection/tests/ReflectionReference_errors.phpt b/ext/reflection/tests/ReflectionReference_errors.phpt
index e70348cba1..33154ba22e 100644
--- a/ext/reflection/tests/ReflectionReference_errors.phpt
+++ b/ext/reflection/tests/ReflectionReference_errors.phpt
@@ -41,7 +41,7 @@ var_dump(unserialize('O:19:"ReflectionReference":0:{}'));
?>
--EXPECTF--
Call to private ReflectionReference::__construct() from invalid context
-ReflectionReference::fromArrayElement() expects argument #1 ($array) to be of type array, object given
+ReflectionReference::fromArrayElement(): Argument #1 ($array) must be of type array, object given
Key must be array or string
Array key not found
Serialization of 'ReflectionReference' is not allowed
diff --git a/ext/reflection/tests/bug42976.phpt b/ext/reflection/tests/bug42976.phpt
index 014d0d0321..5e5c3c5be5 100644
--- a/ext/reflection/tests/bug42976.phpt
+++ b/ext/reflection/tests/bug42976.phpt
@@ -26,9 +26,9 @@ echo "Done\n";
--EXPECTF--
string(9) "x.changed"
-Warning: C::__construct() expects argument #1 ($x) to be passed by reference, value given in %s on line %d
+Warning: C::__construct(): Argument #1 ($x) must be passed by reference, value given in %s on line %d
string(10) "x.original"
-Warning: C::__construct() expects argument #1 ($x) to be passed by reference, value given in %s on line %d
+Warning: C::__construct(): Argument #1 ($x) must be passed by reference, value given in %s on line %d
string(10) "x.original"
Done
diff --git a/ext/reflection/tests/request38992.phpt b/ext/reflection/tests/request38992.phpt
index 0266cee430..b7cd212551 100644
--- a/ext/reflection/tests/request38992.phpt
+++ b/ext/reflection/tests/request38992.phpt
@@ -23,5 +23,5 @@ try {
}
?>
--EXPECT--
-ReflectionMethod::invoke() expects argument #1 ($object) to be of type object, string given
-ReflectionMethod::invokeArgs() expects argument #1 ($object) to be of type object, string given
+ReflectionMethod::invoke(): Argument #1 ($object) must be of type object, string given
+ReflectionMethod::invokeArgs(): Argument #1 ($object) must be of type object, string given
diff --git a/ext/session/tests/session_set_save_handler_iface_002.phpt b/ext/session/tests/session_set_save_handler_iface_002.phpt
index 269005565d..6c11849956 100644
--- a/ext/session/tests/session_set_save_handler_iface_002.phpt
+++ b/ext/session/tests/session_set_save_handler_iface_002.phpt
@@ -86,5 +86,5 @@ session_start();
--EXPECT--
*** Testing session_set_save_handler() function: interface wrong ***
bool(true)
-session_set_save_handler() expects argument #1 ($open) to be of type SessionHandlerInterface, object given
+session_set_save_handler(): Argument #1 ($open) must be of type SessionHandlerInterface, object given
good handler writing
diff --git a/ext/snmp/tests/snmp-object-error.phpt b/ext/snmp/tests/snmp-object-error.phpt
index c7adf8f25c..20901ce702 100644
--- a/ext/snmp/tests/snmp-object-error.phpt
+++ b/ext/snmp/tests/snmp-object-error.phpt
@@ -70,8 +70,8 @@ var_dump($session->max_oids);
?>
--EXPECTF--
SNMP::__construct() expects at least 3 parameters, 2 given
-SNMP::__construct() expects argument #4 to be of type int, string given
-SNMP::__construct() expects argument #5 to be of type int, string given
+SNMP::__construct(): Argument #4 must be of type int, string given
+SNMP::__construct(): Argument #5 must be of type int, string given
Unknown SNMP protocol version
Exception handling
diff --git a/ext/soap/tests/bug77088.phpt b/ext/soap/tests/bug77088.phpt
index ed2bea1465..46d2e1d987 100644
--- a/ext/soap/tests/bug77088.phpt
+++ b/ext/soap/tests/bug77088.phpt
@@ -21,7 +21,7 @@ catch(TypeError $e)
--EXPECTF--
object(TypeError)#%d (%d) {
["message":protected]=>
- string(%d) "SoapClient::__construct() expects argument #2 ($options) to be of type array, null given"
+ string(%d) "SoapClient::__construct(): Argument #2 ($options) must be of type array, null given"
["string":"Error":private]=>
string(0) ""
["code":protected]=>
diff --git a/ext/sodium/tests/sodium_error_001.phpt b/ext/sodium/tests/sodium_error_001.phpt
index b5b19b1d12..5ebcb8e80e 100644
--- a/ext/sodium/tests/sodium_error_001.phpt
+++ b/ext/sodium/tests/sodium_error_001.phpt
@@ -15,7 +15,7 @@ $key = random_bytes(SODIUM_CRYPTO_SHORTHASH_KEYBYTES);
$hash = do_crypto_shorthash($m, $key);
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: sodium_crypto_shorthash() expects argument #1 ($string) to be of type string, int given in %s:%d
+Fatal error: Uncaught TypeError: sodium_crypto_shorthash(): Argument #1 ($string) must be of type string, int given in %s:%d
Stack trace:
#0 %s(%d): sodium_crypto_shorthash()
#1 %s(%d): do_crypto_shorthash()
diff --git a/ext/spl/tests/CallbackFilterIteratorTest-002.phpt b/ext/spl/tests/CallbackFilterIteratorTest-002.phpt
index e1d37ecce5..11529cfee0 100644
--- a/ext/spl/tests/CallbackFilterIteratorTest-002.phpt
+++ b/ext/spl/tests/CallbackFilterIteratorTest-002.phpt
@@ -43,6 +43,6 @@ try {
--EXPECT--
CallbackFilterIterator::__construct() expects exactly 2 parameters, 0 given
CallbackFilterIterator::__construct() expects exactly 2 parameters, 1 given
-CallbackFilterIterator::__construct() expects argument #2 ($callback) to be a valid callback, no array or string given
-CallbackFilterIterator::__construct() expects argument #2 ($callback) to be a valid callback, array must have exactly two members
+CallbackFilterIterator::__construct(): Argument #2 ($callback) must be a valid callback, no array or string given
+CallbackFilterIterator::__construct(): Argument #2 ($callback) must be a valid callback, array must have exactly two members
some message
diff --git a/ext/spl/tests/SplFileInfo_setFileClass_error.phpt b/ext/spl/tests/SplFileInfo_setFileClass_error.phpt
index b8aea64ea2..c1b373cebe 100644
--- a/ext/spl/tests/SplFileInfo_setFileClass_error.phpt
+++ b/ext/spl/tests/SplFileInfo_setFileClass_error.phpt
@@ -13,4 +13,4 @@ try {
?>
--EXPECT--
-SplFileInfo::setFileClass() expects argument #1 ($class_name) to be a class name derived from SplFileObject, 'stdClass' given
+SplFileInfo::setFileClass(): Argument #1 ($class_name) must be a class name derived from SplFileObject, 'stdClass' given
diff --git a/ext/spl/tests/SplFileInfo_setInfoClass_error.phpt b/ext/spl/tests/SplFileInfo_setInfoClass_error.phpt
index b0a358a9b3..f9ef81aeeb 100644
--- a/ext/spl/tests/SplFileInfo_setInfoClass_error.phpt
+++ b/ext/spl/tests/SplFileInfo_setInfoClass_error.phpt
@@ -13,4 +13,4 @@ try {
?>
--EXPECT--
-SplFileInfo::setInfoClass() expects argument #1 ($class_name) to be a class name derived from SplFileInfo, 'stdClass' given
+SplFileInfo::setInfoClass(): Argument #1 ($class_name) must be a class name derived from SplFileInfo, 'stdClass' given
diff --git a/ext/spl/tests/SplFixedArray__construct_param_array.phpt b/ext/spl/tests/SplFixedArray__construct_param_array.phpt
index f4fb329989..76f32855b2 100644
--- a/ext/spl/tests/SplFixedArray__construct_param_array.phpt
+++ b/ext/spl/tests/SplFixedArray__construct_param_array.phpt
@@ -13,4 +13,4 @@ try {
?>
--EXPECT--
-Ok - SplFixedArray::__construct() expects argument #1 ($size) to be of type int, array given
+Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, array given
diff --git a/ext/spl/tests/SplFixedArray__construct_param_string.phpt b/ext/spl/tests/SplFixedArray__construct_param_string.phpt
index 240631cc88..1c9a681e82 100644
--- a/ext/spl/tests/SplFixedArray__construct_param_string.phpt
+++ b/ext/spl/tests/SplFixedArray__construct_param_string.phpt
@@ -13,4 +13,4 @@ try {
?>
--EXPECT--
-Ok - SplFixedArray::__construct() expects argument #1 ($size) to be of type int, string given
+Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
diff --git a/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt b/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt
index cfb0ca79a9..12e632514e 100644
--- a/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt
+++ b/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt
@@ -12,4 +12,4 @@ try {
?>
--EXPECT--
-Ok - SplFixedArray::__construct() expects argument #1 ($size) to be of type int, object given
+Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, object given
diff --git a/ext/spl/tests/SplTempFileObject_constructor_error.phpt b/ext/spl/tests/SplTempFileObject_constructor_error.phpt
index aaf2738915..855479c54a 100644
--- a/ext/spl/tests/SplTempFileObject_constructor_error.phpt
+++ b/ext/spl/tests/SplTempFileObject_constructor_error.phpt
@@ -9,4 +9,4 @@ try {
}
?>
--EXPECT--
-SplTempFileObject::__construct() expects argument #1 ($max_memory) to be of type int, string given
+SplTempFileObject::__construct(): Argument #1 ($max_memory) must be of type int, string given
diff --git a/ext/spl/tests/arrayObject___construct_error1.phpt b/ext/spl/tests/arrayObject___construct_error1.phpt
index b7700e4e31..3ac214260a 100644
--- a/ext/spl/tests/arrayObject___construct_error1.phpt
+++ b/ext/spl/tests/arrayObject___construct_error1.phpt
@@ -20,6 +20,6 @@ try {
?>
--EXPECT--
Bad iterator type:
-ArrayObject::__construct() expects argument #3 ($iterator_class) to be a class name derived from Iterator, 'Exception' given(6)
+ArrayObject::__construct(): Argument #3 ($iterator_class) must be a class name derived from Iterator, 'Exception' given(6)
Non-existent class:
-ArrayObject::__construct() expects argument #3 ($iterator_class) to be a class name derived from Iterator, 'nonExistentClassName' given(13)
+ArrayObject::__construct(): Argument #3 ($iterator_class) must be a class name derived from Iterator, 'nonExistentClassName' given(13)
diff --git a/ext/spl/tests/arrayObject_asort_basic1.phpt b/ext/spl/tests/arrayObject_asort_basic1.phpt
index db751c6fba..042e317273 100644
--- a/ext/spl/tests/arrayObject_asort_basic1.phpt
+++ b/ext/spl/tests/arrayObject_asort_basic1.phpt
@@ -38,7 +38,7 @@ object(ArrayObject)#%d (1) {
int(4)
}
}
-asort() expects argument #2 ($sort_flags) to be of type int, string given
+asort(): Argument #2 ($sort_flags) must be of type int, string given
object(ArrayObject)#%d (1) {
["storage":"ArrayObject":private]=>
array(3) {
diff --git a/ext/spl/tests/arrayObject_ksort_basic1.phpt b/ext/spl/tests/arrayObject_ksort_basic1.phpt
index 6e20013177..892e392b8b 100644
--- a/ext/spl/tests/arrayObject_ksort_basic1.phpt
+++ b/ext/spl/tests/arrayObject_ksort_basic1.phpt
@@ -37,7 +37,7 @@ object(ArrayObject)#%d (1) {
int(3)
}
}
-ksort() expects argument #2 ($sort_flags) to be of type int, string given
+ksort(): Argument #2 ($sort_flags) must be of type int, string given
object(ArrayObject)#2 (1) {
["storage":"ArrayObject":private]=>
array(4) {
diff --git a/ext/spl/tests/arrayObject_setIteratorClass_error1.phpt b/ext/spl/tests/arrayObject_setIteratorClass_error1.phpt
index a80c8cbb0d..918dcbee96 100644
--- a/ext/spl/tests/arrayObject_setIteratorClass_error1.phpt
+++ b/ext/spl/tests/arrayObject_setIteratorClass_error1.phpt
@@ -43,7 +43,7 @@ try {
?>
--EXPECT--
-string(135) "ArrayObject::setIteratorClass() expects argument #1 ($iteratorClass) to be a class name derived from Iterator, 'nonExistentClass' given"
-string(127) "ArrayObject::setIteratorClass() expects argument #1 ($iteratorClass) to be a class name derived from Iterator, 'stdClass' given"
-string(131) "ArrayObject::__construct() expects argument #3 ($iterator_class) to be a class name derived from Iterator, 'nonExistentClass' given"
-string(123) "ArrayObject::__construct() expects argument #3 ($iterator_class) to be a class name derived from Iterator, 'stdClass' given"
+string(130) "ArrayObject::setIteratorClass(): Argument #1 ($iteratorClass) must be a class name derived from Iterator, 'nonExistentClass' given"
+string(122) "ArrayObject::setIteratorClass(): Argument #1 ($iteratorClass) must be a class name derived from Iterator, 'stdClass' given"
+string(126) "ArrayObject::__construct(): Argument #3 ($iterator_class) must be a class name derived from Iterator, 'nonExistentClass' given"
+string(118) "ArrayObject::__construct(): Argument #3 ($iterator_class) must be a class name derived from Iterator, 'stdClass' given"
diff --git a/ext/spl/tests/bug54291.phpt b/ext/spl/tests/bug54291.phpt
index e48f80fe00..2521c50223 100644
--- a/ext/spl/tests/bug54291.phpt
+++ b/ext/spl/tests/bug54291.phpt
@@ -5,7 +5,7 @@ Bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0)
$dir = new DirectoryIterator("\x00/abc");
$dir->isFile();
--EXPECTF--
-Fatal error: Uncaught TypeError: DirectoryIterator::__construct() expects argument #1 ($path) to be a valid path, string given in %s:%d
+Fatal error: Uncaught TypeError: DirectoryIterator::__construct(): Argument #1 ($path) must be a valid path, string given in %s:%d
Stack trace:
#0 %s(%d): DirectoryIterator->__construct('\x00/abc')
#1 {main}
diff --git a/ext/spl/tests/bug54292.phpt b/ext/spl/tests/bug54292.phpt
index 9355ef4408..27bd706ad8 100644
--- a/ext/spl/tests/bug54292.phpt
+++ b/ext/spl/tests/bug54292.phpt
@@ -11,4 +11,4 @@ try {
?>
--EXPECT--
-string(95) "SplFileObject::__construct() expects argument #2 ($open_mode) to be of type string, array given"
+string(90) "SplFileObject::__construct(): Argument #2 ($open_mode) must be of type string, array given"
diff --git a/ext/spl/tests/bug77431.phpt b/ext/spl/tests/bug77431.phpt
index 20545fb141..75d5c2d600 100644
--- a/ext/spl/tests/bug77431.phpt
+++ b/ext/spl/tests/bug77431.phpt
@@ -5,5 +5,8 @@ Bug #77431 (SplFileInfo::__construct() accepts NUL bytes)
new SplFileInfo("bad\0good");
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: SplFileInfo::__construct() expects argument #1 ($file_name) to be a valid path, string given in %s:%d
-Stack trace:%A
+Fatal error: Uncaught TypeError: SplFileInfo::__construct(): Argument #1 ($file_name) must be a valid path, string given in %s:%d
+Stack trace:
+#0 %s(%d): SplFileInfo->__construct('bad\x00good')
+#1 {main}
+ thrown in %s on line %d
diff --git a/ext/spl/tests/bug78863.phpt b/ext/spl/tests/bug78863.phpt
index 4db36c202e..ad18f49689 100644
--- a/ext/spl/tests/bug78863.phpt
+++ b/ext/spl/tests/bug78863.phpt
@@ -16,7 +16,7 @@ foreach ($it as $fileinfo) {
}
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: DirectoryIterator::__construct() expects argument #1 ($path) to be a valid path, string given in %s:%d
+Fatal error: Uncaught TypeError: DirectoryIterator::__construct(): Argument #1 ($path) must be a valid path, string given in %s:%d
Stack trace:
#0 %s(%d): DirectoryIterator->__construct('%s')
#1 {main}
diff --git a/ext/spl/tests/fixedarray_005.phpt b/ext/spl/tests/fixedarray_005.phpt
index 80fffd1566..573a995cb1 100644
--- a/ext/spl/tests/fixedarray_005.phpt
+++ b/ext/spl/tests/fixedarray_005.phpt
@@ -23,6 +23,6 @@ try {
?>
--EXPECT--
-Ok - SplFixedArray::__construct() expects argument #1 ($size) to be of type int, object given
-Ok - SplFixedArray::__construct() expects argument #1 ($size) to be of type int, string given
-Ok - SplFixedArray::__construct() expects argument #1 ($size) to be of type int, string given
+Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, object given
+Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
+Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
diff --git a/ext/spl/tests/fixedarray_009.phpt b/ext/spl/tests/fixedarray_009.phpt
index 6dc6e4cbca..9cc684ce03 100644
--- a/ext/spl/tests/fixedarray_009.phpt
+++ b/ext/spl/tests/fixedarray_009.phpt
@@ -10,4 +10,4 @@ try {
}
?>
--EXPECT--
-Ok - SplFixedArray::__construct() expects argument #1 ($size) to be of type int, string given
+Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
diff --git a/ext/spl/tests/fixedarray_015.phpt b/ext/spl/tests/fixedarray_015.phpt
index 74814268e7..1936cc962b 100644
--- a/ext/spl/tests/fixedarray_015.phpt
+++ b/ext/spl/tests/fixedarray_015.phpt
@@ -12,5 +12,5 @@ try {
echo "Done\n";
?>
--EXPECT--
-Ok - SplFixedArray::__construct() expects argument #1 ($size) to be of type int, string given
+Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
Done
diff --git a/ext/spl/tests/iterator_042.phpt b/ext/spl/tests/iterator_042.phpt
index f768e47077..4ede8afa59 100644
--- a/ext/spl/tests/iterator_042.phpt
+++ b/ext/spl/tests/iterator_042.phpt
@@ -39,7 +39,7 @@ foreach($it as $k => $v)
?>
--EXPECTF--
-Error AppendIterator::append() expects argument #1 ($iterator) to be of type Iterator, array given in %s on line %d
+Error AppendIterator::append(): Argument #1 ($iterator) must be of type Iterator, array given in %s on line %d
object(ArrayIterator)#%d (1) {
%s"storage"%s"ArrayIterator":private]=>
array(2) {
diff --git a/ext/spl/tests/iterator_044.phpt b/ext/spl/tests/iterator_044.phpt
index c62abb5c1a..21ab075cc9 100644
--- a/ext/spl/tests/iterator_044.phpt
+++ b/ext/spl/tests/iterator_044.phpt
@@ -83,8 +83,8 @@ NULL
===1===
object(stdClass)#%d (0) {
}
-CachingIterator::offsetExists() expects argument #1 ($index) to be of type string, object given
-CachingIterator::offsetGet() expects argument #1 ($index) to be of type string, object given
+CachingIterator::offsetExists(): Argument #1 ($index) must be of type string, object given
+CachingIterator::offsetGet(): Argument #1 ($index) must be of type string, object given
===2===
object(MyFoo)#%d (0) {
}
@@ -124,8 +124,8 @@ int(0)
===1===
object(stdClass)#1 (0) {
}
-CachingIterator::offsetExists() expects argument #1 ($index) to be of type string, object given
-CachingIterator::offsetGet() expects argument #1 ($index) to be of type string, object given
+CachingIterator::offsetExists(): Argument #1 ($index) must be of type string, object given
+CachingIterator::offsetGet(): Argument #1 ($index) must be of type string, object given
===2===
object(MyFoo)#2 (0) {
}
diff --git a/ext/spl/tests/iterator_count.phpt b/ext/spl/tests/iterator_count.phpt
index 3071f9b06c..62f9ee8334 100644
--- a/ext/spl/tests/iterator_count.phpt
+++ b/ext/spl/tests/iterator_count.phpt
@@ -13,7 +13,7 @@ iterator_count('1');
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: iterator_count() expects argument #1 ($iterator) to be of type Traversable, string given in %s:%d
+Fatal error: Uncaught TypeError: iterator_count(): Argument #1 ($iterator) must be of type Traversable, string given in %s:%d
Stack trace:
#0 %s(%d): iterator_count('1')
#1 {main}
diff --git a/ext/spl/tests/iterator_to_array.phpt b/ext/spl/tests/iterator_to_array.phpt
index 09dcf5d02f..a754c9da6f 100644
--- a/ext/spl/tests/iterator_to_array.phpt
+++ b/ext/spl/tests/iterator_to_array.phpt
@@ -13,7 +13,7 @@ iterator_to_array('test','test');
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: iterator_to_array() expects argument #1 ($iterator) to be of type Traversable, string given in %s:%d
+Fatal error: Uncaught TypeError: iterator_to_array(): Argument #1 ($iterator) must be of type Traversable, string given in %s:%d
Stack trace:
#0 %s(%d): iterator_to_array('test', 'test')
#1 {main}
diff --git a/ext/spl/tests/recursive_tree_iterator_003.phpt b/ext/spl/tests/recursive_tree_iterator_003.phpt
index 0f4fed97b3..39a94ba8d3 100644
--- a/ext/spl/tests/recursive_tree_iterator_003.phpt
+++ b/ext/spl/tests/recursive_tree_iterator_003.phpt
@@ -9,4 +9,4 @@ try {
}
?>
--EXPECT--
-RecursiveCachingIterator::__construct() expects argument #1 ($iterator) to be of type RecursiveIterator, object given
+RecursiveCachingIterator::__construct(): Argument #1 ($iterator) must be of type RecursiveIterator, object given
diff --git a/ext/spl/tests/spl_004.phpt b/ext/spl/tests/spl_004.phpt
index 0b628d3ee1..0aca8398e6 100644
--- a/ext/spl/tests/spl_004.phpt
+++ b/ext/spl/tests/spl_004.phpt
@@ -84,6 +84,6 @@ int(5)
int(6)
int(4)
===ERRORS===
-iterator_apply() expects argument #3 ($args) to be of type array, int given
-iterator_apply() expects argument #2 ($function) to be a valid callback, function 'non_existing_function' not found or invalid function name
+iterator_apply(): Argument #3 ($args) must be of type array, int given
+iterator_apply(): Argument #2 ($function) must be a valid callback, function 'non_existing_function' not found or invalid function name
iterator_apply() expects at most 3 parameters, 4 given
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c
index c391cef48a..5aad3d990a 100644
--- a/ext/standard/filestat.c
+++ b/ext/standard/filestat.c
@@ -353,7 +353,7 @@ static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp) /* {{{ */
option = PHP_STREAM_META_GROUP_NAME;
value = Z_STRVAL_P(group);
} else {
- zend_type_error("chgrp() expects argument #2 ($group) to be of type string|int, %s given", zend_zval_type_name(group));
+ zend_type_error("chgrp(): Argument #2 ($group) must be of type string|int, %s given", zend_zval_type_name(group));
RETURN_THROWS();
}
if(wrapper->wops->stream_metadata(wrapper, filename, option, value, NULL)) {
@@ -382,7 +382,7 @@ static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp) /* {{{ */
RETURN_FALSE;
}
} else {
- zend_type_error("chgrp() expects argument #2 ($group) to be of type string|int, %s given", zend_zval_type_name(group));
+ zend_type_error("chgrp(): Argument #2 ($group) must be of type string|int, %s given", zend_zval_type_name(group));
RETURN_THROWS();
}
diff --git a/ext/standard/string.c b/ext/standard/string.c
index bd68a6c08b..ec397fe97c 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -1276,7 +1276,7 @@ PHP_FUNCTION(implode)
if (pieces == NULL) {
if (arg1_array == NULL) {
- zend_type_error("%s() expects argument #1 ($pieces) to be of type array, string given", get_active_function_name());
+ zend_type_error("%s(): Argument #1 ($pieces) must be of type array, string given", get_active_function_name());
RETURN_THROWS();
}
@@ -1284,7 +1284,7 @@ PHP_FUNCTION(implode)
pieces = arg1_array;
} else {
if (arg1_str == NULL) {
- zend_type_error("%s() expects argument #1 ($glue) to be of type string, array given", get_active_function_name());
+ zend_type_error("%s(): Argument #1 ($glue) must be of type string, array given", get_active_function_name());
RETURN_THROWS();
}
}
diff --git a/ext/standard/tests/array/array_change_key_case_variation.phpt b/ext/standard/tests/array/array_change_key_case_variation.phpt
index e8b8fe174d..c221a3f341 100644
--- a/ext/standard/tests/array/array_change_key_case_variation.phpt
+++ b/ext/standard/tests/array/array_change_key_case_variation.phpt
@@ -24,7 +24,7 @@ var_dump( array_change_key_case( array("ONE" => 1, "one" => 1, "One" => 2), 5 )
echo "end\n";
?>
--EXPECT--
-array_change_key_case() expects argument #2 ($case) to be of type int, string given
+array_change_key_case(): Argument #2 ($case) must be of type int, string given
array(4) {
["ONE"]=>
int(1)
diff --git a/ext/standard/tests/array/array_diff_uassoc_error.phpt b/ext/standard/tests/array/array_diff_uassoc_error.phpt
index 7cd0c1a1fa..afc72f777a 100644
--- a/ext/standard/tests/array/array_diff_uassoc_error.phpt
+++ b/ext/standard/tests/array/array_diff_uassoc_error.phpt
@@ -51,8 +51,8 @@ try {
*** Testing array_diff_uassoc() : error conditions ***
-- Testing array_diff_uassoc() function with more than expected no. of arguments --
-array_diff_uassoc() expects argument #4 to be a valid callback, array must have exactly two members
-array_diff_uassoc() expects argument #6 to be a valid callback, array must have exactly two members
+array_diff_uassoc(): Argument #4 must be a valid callback, array must have exactly two members
+array_diff_uassoc(): Argument #6 must be a valid callback, array must have exactly two members
-- Testing array_diff_uassoc() function with less than expected no. of arguments --
At least 3 parameters are required, 2 given
diff --git a/ext/standard/tests/array/array_diff_ukey_variation10.phpt b/ext/standard/tests/array/array_diff_ukey_variation10.phpt
index a3be16c21c..94ae1bbc0a 100644
--- a/ext/standard/tests/array/array_diff_ukey_variation10.phpt
+++ b/ext/standard/tests/array/array_diff_ukey_variation10.phpt
@@ -30,5 +30,5 @@ try {
?>
--EXPECT--
*** Testing array_diff_ukey() : usage variation ***
-array_diff_ukey() expects argument #3 to be a valid callback, function 'unknown_function' not found or invalid function name
-array_diff_ukey() expects argument #3 to be a valid callback, function 'unknown_function' not found or invalid function name
+array_diff_ukey(): Argument #3 must be a valid callback, function 'unknown_function' not found or invalid function name
+array_diff_ukey(): Argument #3 must be a valid callback, function 'unknown_function' not found or invalid function name
diff --git a/ext/standard/tests/array/array_filter_variation9.phpt b/ext/standard/tests/array/array_filter_variation9.phpt
index cedaf840df..90454e855e 100644
--- a/ext/standard/tests/array/array_filter_variation9.phpt
+++ b/ext/standard/tests/array/array_filter_variation9.phpt
@@ -69,6 +69,6 @@ array(7) {
[6]=>
NULL
}
-array_filter() expects argument #2 ($callback) to be a valid callback, function 'echo' not found or invalid function name
-array_filter() expects argument #2 ($callback) to be a valid callback, function 'exit' not found or invalid function name
+array_filter(): Argument #2 ($callback) must be a valid callback, function 'echo' not found or invalid function name
+array_filter(): Argument #2 ($callback) must be a valid callback, function 'exit' not found or invalid function name
Done
diff --git a/ext/standard/tests/array/array_intersect_ukey_variation8.phpt b/ext/standard/tests/array/array_intersect_ukey_variation8.phpt
index f277285cb6..a6eccc5bd5 100644
--- a/ext/standard/tests/array/array_intersect_ukey_variation8.phpt
+++ b/ext/standard/tests/array/array_intersect_ukey_variation8.phpt
@@ -28,7 +28,7 @@ try {
}
?>
---EXPECTF--
+--EXPECT--
*** Testing array_intersect_ukey() : usage variation ***
-array_intersect_ukey() expects argument #3 to be a valid callback, function 'unknown_function' not found or invalid function name
-array_intersect_ukey() expects argument #3 to be a valid callback, function 'unknown_function' not found or invalid function name
+array_intersect_ukey(): Argument #3 must be a valid callback, function 'unknown_function' not found or invalid function name
+array_intersect_ukey(): Argument #3 must be a valid callback, function 'unknown_function' not found or invalid function name
diff --git a/ext/standard/tests/array/array_key_exists.phpt b/ext/standard/tests/array/array_key_exists.phpt
index 0e6c6a5263..0024ae1867 100644
--- a/ext/standard/tests/array/array_key_exists.phpt
+++ b/ext/standard/tests/array/array_key_exists.phpt
@@ -224,5 +224,5 @@ bool(true)
Illegal offset type
*** Testing operation on objects ***
-array_key_exists() expects argument #2 ($array) to be of type array, object given
+array_key_exists(): Argument #2 ($array) must be of type array, object given
Done
diff --git a/ext/standard/tests/array/array_map_object1.phpt b/ext/standard/tests/array/array_map_object1.phpt
index 46fed27691..7976f7048e 100644
--- a/ext/standard/tests/array/array_map_object1.phpt
+++ b/ext/standard/tests/array/array_map_object1.phpt
@@ -137,15 +137,15 @@ array(2) {
-- simple class with private variable and method --
SimpleClassPri::add
-array_map() expects argument #1 ($callback) to be a valid callback, cannot access private method SimpleClassPri::add()
+array_map(): Argument #1 ($callback) must be a valid callback, cannot access private method SimpleClassPri::add()
-- simple class with protected variable and method --
SimpleClassPro::mul
-array_map() expects argument #1 ($callback) to be a valid callback, cannot access protected method SimpleClassPro::mul()
+array_map(): Argument #1 ($callback) must be a valid callback, cannot access protected method SimpleClassPro::mul()
-- class without members --
EmptyClass
-array_map() expects argument #1 ($callback) to be a valid callback, array must have exactly two members
+array_map(): Argument #1 ($callback) must be a valid callback, array must have exactly two members
-- abstract class --
ChildClass::emptyFunction
@@ -178,9 +178,9 @@ array(2) {
int(4)
}
StaticClass::cube
-array_map() expects argument #1 ($callback) to be a valid callback, cannot access private method StaticClass::cube()
+array_map(): Argument #1 ($callback) must be a valid callback, cannot access private method StaticClass::cube()
StaticClass::retVal
-array_map() expects argument #1 ($callback) to be a valid callback, cannot access protected method StaticClass::retVal()
+array_map(): Argument #1 ($callback) must be a valid callback, cannot access protected method StaticClass::retVal()
-- class implementing an interface --
InterClass::square
array(2) {
diff --git a/ext/standard/tests/array/array_map_object2.phpt b/ext/standard/tests/array/array_map_object2.phpt
index de43ff2c93..92dbc02181 100644
--- a/ext/standard/tests/array/array_map_object2.phpt
+++ b/ext/standard/tests/array/array_map_object2.phpt
@@ -44,7 +44,7 @@ echo "Done";
--EXPECT--
*** Testing array_map() : with non-existent class and method ***
-- with non-existent class --
-array_map() expects argument #1 ($callback) to be a valid callback, class 'non-existent' not found
+array_map(): Argument #1 ($callback) must be a valid callback, class 'non-existent' not found
-- with existent class and non-existent method --
-array_map() expects argument #1 ($callback) to be a valid callback, class 'SimpleClass' does not have a method 'non-existent'
+array_map(): Argument #1 ($callback) must be a valid callback, class 'SimpleClass' does not have a method 'non-existent'
Done
diff --git a/ext/standard/tests/array/array_map_object3.phpt b/ext/standard/tests/array/array_map_object3.phpt
index 98f14789b9..387e95ed0b 100644
--- a/ext/standard/tests/array/array_map_object3.phpt
+++ b/ext/standard/tests/array/array_map_object3.phpt
@@ -81,7 +81,7 @@ array(3) {
int(7)
}
-- accessing child method from parent class --
-array_map() expects argument #1 ($callback) to be a valid callback, class 'ParentClass' does not have a method 'staticChild'
+array_map(): Argument #1 ($callback) must be a valid callback, class 'ParentClass' does not have a method 'staticChild'
-- accessing parent method using child class object --
array(3) {
[0]=>
@@ -92,5 +92,5 @@ array(3) {
int(7)
}
-- accessing child method using parent class object --
-array_map() expects argument #1 ($callback) to be a valid callback, class 'ParentClass' does not have a method 'staticChild'
+array_map(): Argument #1 ($callback) must be a valid callback, class 'ParentClass' does not have a method 'staticChild'
Done
diff --git a/ext/standard/tests/array/array_map_variation12.phpt b/ext/standard/tests/array/array_map_variation12.phpt
index 4f1dba9c85..e662d4913c 100644
--- a/ext/standard/tests/array/array_map_variation12.phpt
+++ b/ext/standard/tests/array/array_map_variation12.phpt
@@ -49,5 +49,5 @@ array(3) {
-- with built-in function 'pow' and one parameter --
pow() expects exactly 2 parameters, 1 given
-- with language construct --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'echo' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'echo' not found or invalid function name
Done
diff --git a/ext/standard/tests/array/array_map_variation14.phpt b/ext/standard/tests/array/array_map_variation14.phpt
index f0b931eddb..bffb42dbeb 100644
--- a/ext/standard/tests/array/array_map_variation14.phpt
+++ b/ext/standard/tests/array/array_map_variation14.phpt
@@ -123,7 +123,7 @@ array(2) {
int(2)
}
-- with empty string --
-array_map() expects argument #1 ($callback) to be a valid callback, function '' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function '' not found or invalid function name
-- with empty array --
-array_map() expects argument #1 ($callback) to be a valid callback, array must have exactly two members
+array_map(): Argument #1 ($callback) must be a valid callback, array must have exactly two members
Done
diff --git a/ext/standard/tests/array/array_map_variation15.phpt b/ext/standard/tests/array/array_map_variation15.phpt
index f352fabc71..0478fb26c2 100644
--- a/ext/standard/tests/array/array_map_variation15.phpt
+++ b/ext/standard/tests/array/array_map_variation15.phpt
@@ -28,5 +28,5 @@ echo "Done";
?>
--EXPECT--
*** Testing array_map() : non existent 'callback' function ***
-array_map() expects argument #1 ($callback) to be a valid callback, function 'non_existent' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'non_existent' not found or invalid function name
Done
diff --git a/ext/standard/tests/array/array_map_variation16.phpt b/ext/standard/tests/array/array_map_variation16.phpt
index b9d9b51b14..96bad882b2 100644
--- a/ext/standard/tests/array/array_map_variation16.phpt
+++ b/ext/standard/tests/array/array_map_variation16.phpt
@@ -43,19 +43,19 @@ echo "Done";
--EXPECT--
*** Testing array_map() : non-permmited built-in functions ***
-- Iteration 1 --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'echo' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'echo' not found or invalid function name
-- Iteration 2 --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'array' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'array' not found or invalid function name
-- Iteration 3 --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'empty' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'empty' not found or invalid function name
-- Iteration 4 --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'eval' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'eval' not found or invalid function name
-- Iteration 5 --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'exit' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'exit' not found or invalid function name
-- Iteration 6 --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'isset' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'isset' not found or invalid function name
-- Iteration 7 --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'list' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'list' not found or invalid function name
-- Iteration 8 --
-array_map() expects argument #1 ($callback) to be a valid callback, function 'print' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function 'print' not found or invalid function name
Done
diff --git a/ext/standard/tests/array/array_map_variation17.phpt b/ext/standard/tests/array/array_map_variation17.phpt
index 65268ac914..549afdc21a 100644
--- a/ext/standard/tests/array/array_map_variation17.phpt
+++ b/ext/standard/tests/array/array_map_variation17.phpt
@@ -81,62 +81,62 @@ echo "Done";
*** Testing array_map() : unexpected values for 'callback' argument ***
-- Iteration 1 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 2 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 3 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 4 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 5 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 6 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 7 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 8 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 9 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 10 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 11 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 12 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 13 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 14 --
-array_map() expects argument #1 ($callback) to be a valid callback, function '' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function '' not found or invalid function name
-- Iteration 15 --
-array_map() expects argument #1 ($callback) to be a valid callback, function '' not found or invalid function name
+array_map(): Argument #1 ($callback) must be a valid callback, function '' not found or invalid function name
-- Iteration 16 --
-array_map() expects argument #1 ($callback) to be a valid callback, array must have exactly two members
+array_map(): Argument #1 ($callback) must be a valid callback, array must have exactly two members
-- Iteration 17 --
-array_map() expects argument #1 ($callback) to be a valid callback, first array member is not a valid class name or object
+array_map(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object
-- Iteration 18 --
-array_map() expects argument #1 ($callback) to be a valid callback, first array member is not a valid class name or object
+array_map(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object
-- Iteration 19 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
-- Iteration 20 --
-array_map() expects argument #1 ($callback) to be a valid callback, no array or string given
+array_map(): Argument #1 ($callback) must be a valid callback, no array or string given
Done
diff --git a/ext/standard/tests/array/array_search_variation3.phpt b/ext/standard/tests/array/array_search_variation3.phpt
index ad356ba01d..4ff919d8a8 100644
--- a/ext/standard/tests/array/array_search_variation3.phpt
+++ b/ext/standard/tests/array/array_search_variation3.phpt
@@ -56,7 +56,7 @@ string(5) "three"
int(5)
*** Testing objects with array_search() ***
-array_search() expects argument #2 ($haystack) to be of type array, object given
-array_search() expects argument #2 ($haystack) to be of type array, object given
+array_search(): Argument #2 ($haystack) must be of type array, object given
+array_search(): Argument #2 ($haystack) must be of type array, object given
int(1)
Done
diff --git a/ext/standard/tests/array/array_slice_variation1.phpt b/ext/standard/tests/array/array_slice_variation1.phpt
index 270206a747..7769f32e41 100644
--- a/ext/standard/tests/array/array_slice_variation1.phpt
+++ b/ext/standard/tests/array/array_slice_variation1.phpt
@@ -61,6 +61,6 @@ array(1) {
[2]=>
int(3)
}
-array_slice() expects argument #3 ($length) to be of type int, string given
-array_slice() expects argument #3 ($length) to be of type int, string given
+array_slice(): Argument #3 ($length) must be of type int, string given
+array_slice(): Argument #3 ($length) must be of type int, string given
string(3) "foo"
diff --git a/ext/standard/tests/array/array_walk_objects.phpt b/ext/standard/tests/array/array_walk_objects.phpt
index 7800a9f6f5..2c95b5a6d0 100644
--- a/ext/standard/tests/array/array_walk_objects.phpt
+++ b/ext/standard/tests/array/array_walk_objects.phpt
@@ -43,5 +43,5 @@ string(10) "%r\0%r*%r\0%rvar_pro"
string(14) "test_protected"
string(7) "var_pub"
string(11) "test_public"
-array_walk() expects argument #1 ($input) to be of type array, string given
+array_walk(): Argument #1 ($input) must be of type array, string given
Done
diff --git a/ext/standard/tests/array/array_walk_rec_objects.phpt b/ext/standard/tests/array/array_walk_rec_objects.phpt
index 0d0cdcbdc8..4577e1af0c 100644
--- a/ext/standard/tests/array/array_walk_rec_objects.phpt
+++ b/ext/standard/tests/array/array_walk_rec_objects.phpt
Binary files differ
diff --git a/ext/standard/tests/array/array_walk_recursive_variation8.phpt b/ext/standard/tests/array/array_walk_recursive_variation8.phpt
index 2d80cf9e24..8fc09f562c 100644
--- a/ext/standard/tests/array/array_walk_recursive_variation8.phpt
+++ b/ext/standard/tests/array/array_walk_recursive_variation8.phpt
@@ -40,5 +40,5 @@ bool(true)
-- With 'min' built-in function --
bool(true)
-- With 'echo' language construct --
-array_walk_recursive() expects argument #2 ($funcname) to be a valid callback, function 'echo' not found or invalid function name
+array_walk_recursive(): Argument #2 ($funcname) must be a valid callback, function 'echo' not found or invalid function name
Done
diff --git a/ext/standard/tests/array/array_walk_variation8.phpt b/ext/standard/tests/array/array_walk_variation8.phpt
index f95bc43e9d..0a311dd613 100644
--- a/ext/standard/tests/array/array_walk_variation8.phpt
+++ b/ext/standard/tests/array/array_walk_variation8.phpt
@@ -40,5 +40,5 @@ bool(true)
-- With 'min' built-in function --
bool(true)
-- With 'echo' language construct --
-array_walk() expects argument #2 ($funcname) to be a valid callback, function 'echo' not found or invalid function name
+array_walk(): Argument #2 ($funcname) must be a valid callback, function 'echo' not found or invalid function name
Done
diff --git a/ext/standard/tests/array/bug40191.phpt b/ext/standard/tests/array/bug40191.phpt
index a87c5098ab..9ad8f7e280 100644
--- a/ext/standard/tests/array/bug40191.phpt
+++ b/ext/standard/tests/array/bug40191.phpt
@@ -17,5 +17,5 @@ try {
echo "Done\n";
?>
--EXPECT--
-array_unique() expects argument #1 ($arg) to be of type array, object given
+array_unique(): Argument #1 ($arg) must be of type array, object given
Done
diff --git a/ext/standard/tests/array/in_array_variation3.phpt b/ext/standard/tests/array/in_array_variation3.phpt
index 09549d94c3..2e6bd0330e 100644
--- a/ext/standard/tests/array/in_array_variation3.phpt
+++ b/ext/standard/tests/array/in_array_variation3.phpt
@@ -59,7 +59,7 @@ bool(true)
bool(true)
*** Testing objects with in_array() ***
-in_array() expects argument #2 ($haystack) to be of type array, object given
-in_array() expects argument #2 ($haystack) to be of type array, object given
+in_array(): Argument #2 ($haystack) must be of type array, object given
+in_array(): Argument #2 ($haystack) must be of type array, object given
bool(true)
Done
diff --git a/ext/standard/tests/array/range_errors.phpt b/ext/standard/tests/array/range_errors.phpt
index 73a02697e7..0bb3365582 100644
--- a/ext/standard/tests/array/range_errors.phpt
+++ b/ext/standard/tests/array/range_errors.phpt
@@ -105,15 +105,15 @@ Step exceeds the specified range
-- Testing other conditions --
Step exceeds the specified range
-range() expects argument #3 ($step) to be of type int|float, string given
+range(): Argument #3 ($step) must be of type int|float, string given
Step exceeds the specified range
Notice: A non well formed numeric value encountered in %s on line %d
Step exceeds the specified range
-- Testing Invalid steps --
-range() expects argument #3 ($step) to be of type int|float, string given
+range(): Argument #3 ($step) must be of type int|float, string given
Step exceeds the specified range
Step exceeds the specified range
-range() expects argument #3 ($step) to be of type int|float, string given
-range() expects argument #3 ($step) to be of type int|float, string given
+range(): Argument #3 ($step) must be of type int|float, string given
+range(): Argument #3 ($step) must be of type int|float, string given
diff --git a/ext/standard/tests/array/range_variation.phpt b/ext/standard/tests/array/range_variation.phpt
index e924a2784a..0459634b54 100644
--- a/ext/standard/tests/array/range_variation.phpt
+++ b/ext/standard/tests/array/range_variation.phpt
@@ -615,5 +615,5 @@ array(5) {
[4]=>
int(5)
}
-range() expects argument #3 ($step) to be of type int|float, array given
+range(): Argument #3 ($step) must be of type int|float, array given
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 b7ae000c01..985a468680 100644
--- a/ext/standard/tests/class_object/get_class_variation_001.phpt
+++ b/ext/standard/tests/class_object/get_class_variation_001.phpt
@@ -85,80 +85,80 @@ Warning: Undefined variable: undefined_var in %s on line %d
Warning: Undefined variable: unset_var in %s on line %d
Arg value: 0 (type: integer)
-get_class() expects argument #1 ($object) to be of type object, int given
+get_class(): Argument #1 ($object) must be of type object, int given
Arg value: 1 (type: integer)
-get_class() expects argument #1 ($object) to be of type object, int given
+get_class(): Argument #1 ($object) must be of type object, int given
Arg value: 12345 (type: integer)
-get_class() expects argument #1 ($object) to be of type object, int given
+get_class(): Argument #1 ($object) must be of type object, int given
Arg value: -2345 (type: integer)
-get_class() expects argument #1 ($object) to be of type object, int given
+get_class(): Argument #1 ($object) must be of type object, int given
Arg value: 10.5 (type: double)
-get_class() expects argument #1 ($object) to be of type object, float given
+get_class(): Argument #1 ($object) must be of type object, float given
Arg value: -10.5 (type: double)
-get_class() expects argument #1 ($object) to be of type object, float given
+get_class(): Argument #1 ($object) must be of type object, float given
Arg value: 101234567000 (type: double)
-get_class() expects argument #1 ($object) to be of type object, float given
+get_class(): Argument #1 ($object) must be of type object, float given
Arg value: 1.07654321E-9 (type: double)
-get_class() expects argument #1 ($object) to be of type object, float given
+get_class(): Argument #1 ($object) must be of type object, float given
Arg value: 0.5 (type: double)
-get_class() expects argument #1 ($object) to be of type object, float given
+get_class(): Argument #1 ($object) must be of type object, float given
Arg value: Array (type: array)
-get_class() expects argument #1 ($object) to be of type object, array given
+get_class(): Argument #1 ($object) must be of type object, array given
Arg value: Array (type: array)
-get_class() expects argument #1 ($object) to be of type object, array given
+get_class(): Argument #1 ($object) must be of type object, array given
Arg value: Array (type: array)
-get_class() expects argument #1 ($object) to be of type object, array given
+get_class(): Argument #1 ($object) must be of type object, array given
Arg value: Array (type: array)
-get_class() expects argument #1 ($object) to be of type object, array given
+get_class(): Argument #1 ($object) must be of type object, array given
Arg value: Array (type: array)
-get_class() expects argument #1 ($object) to be of type object, array given
+get_class(): Argument #1 ($object) must be of type object, array given
Arg value: (type: NULL)
-get_class() expects argument #1 ($object) to be of type object, null given
+get_class(): Argument #1 ($object) must be of type object, null given
Arg value: (type: NULL)
-get_class() expects argument #1 ($object) to be of type object, null given
+get_class(): Argument #1 ($object) must be of type object, null given
Arg value: 1 (type: boolean)
-get_class() expects argument #1 ($object) to be of type object, bool given
+get_class(): Argument #1 ($object) must be of type object, bool given
Arg value: (type: boolean)
-get_class() expects argument #1 ($object) to be of type object, bool given
+get_class(): Argument #1 ($object) must be of type object, bool given
Arg value: 1 (type: boolean)
-get_class() expects argument #1 ($object) to be of type object, bool given
+get_class(): Argument #1 ($object) must be of type object, bool given
Arg value: (type: boolean)
-get_class() expects argument #1 ($object) to be of type object, bool given
+get_class(): Argument #1 ($object) must be of type object, bool given
Arg value: (type: string)
-get_class() expects argument #1 ($object) to be of type object, string given
+get_class(): Argument #1 ($object) must be of type object, string given
Arg value: (type: string)
-get_class() expects argument #1 ($object) to be of type object, string given
+get_class(): Argument #1 ($object) must be of type object, string given
Arg value: string (type: string)
-get_class() expects argument #1 ($object) to be of type object, string given
+get_class(): Argument #1 ($object) must be of type object, string given
Arg value: string (type: string)
-get_class() expects argument #1 ($object) to be of type object, string given
+get_class(): Argument #1 ($object) must be of type object, string given
Arg value: (type: NULL)
-get_class() expects argument #1 ($object) to be of type object, null given
+get_class(): Argument #1 ($object) must be of type object, null given
Arg value: (type: NULL)
-get_class() expects argument #1 ($object) to be of type object, null given
+get_class(): Argument #1 ($object) must be of type object, null given
Done
diff --git a/ext/standard/tests/file/006_variation2.phpt b/ext/standard/tests/file/006_variation2.phpt
index 18d63b8a44..1195d422a4 100644
--- a/ext/standard/tests/file/006_variation2.phpt
+++ b/ext/standard/tests/file/006_variation2.phpt
@@ -146,15 +146,15 @@ bool(true)
bool(true)
43567
-- Iteration 12 --
-chmod() expects argument #2 ($mode) to be of type int, string given
-chmod() expects argument #2 ($mode) to be of type int, string given
+chmod(): Argument #2 ($mode) must be of type int, string given
+chmod(): Argument #2 ($mode) must be of type int, string given
-- Iteration 13 --
-chmod() expects argument #2 ($mode) to be of type int, string given
-chmod() expects argument #2 ($mode) to be of type int, string given
+chmod(): Argument #2 ($mode) must be of type int, string given
+chmod(): Argument #2 ($mode) must be of type int, string given
-- Iteration 14 --
-chmod() expects argument #2 ($mode) to be of type int, string given
-chmod() expects argument #2 ($mode) to be of type int, string given
+chmod(): Argument #2 ($mode) must be of type int, string given
+chmod(): Argument #2 ($mode) must be of type int, string given
-- Iteration 15 --
-chmod() expects argument #2 ($mode) to be of type int, string given
-chmod() expects argument #2 ($mode) to be of type int, string given
+chmod(): Argument #2 ($mode) must be of type int, string given
+chmod(): Argument #2 ($mode) must be of type int, string given
*** Done ***
diff --git a/ext/standard/tests/file/bug39863.phpt b/ext/standard/tests/file/bug39863.phpt
index a4eb48def3..982367cccb 100644
--- a/ext/standard/tests/file/bug39863.phpt
+++ b/ext/standard/tests/file/bug39863.phpt
@@ -14,4 +14,4 @@ try {
}
?>
--EXPECT--
-file_exists() expects argument #1 ($filename) to be a valid path, string given
+file_exists(): Argument #1 ($filename) must be a valid path, string given
diff --git a/ext/standard/tests/file/chgrp.phpt b/ext/standard/tests/file/chgrp.phpt
index 9950c9e3fc..37ae20d40e 100644
--- a/ext/standard/tests/file/chgrp.phpt
+++ b/ext/standard/tests/file/chgrp.phpt
@@ -14,4 +14,4 @@ try {
}
?>
--EXPECT--
-chgrp() expects argument #2 ($group) to be of type string|int, null given
+chgrp(): Argument #2 ($group) must be of type string|int, null given
diff --git a/ext/standard/tests/file/disk_free_space_variation.phpt b/ext/standard/tests/file/disk_free_space_variation.phpt
index 9e8d0cd180..e7aacfdeac 100644
--- a/ext/standard/tests/file/disk_free_space_variation.phpt
+++ b/ext/standard/tests/file/disk_free_space_variation.phpt
@@ -110,19 +110,19 @@ float(%d)
float(%d)
-- Iteration 9 --
-disk_free_space() expects argument #1 ($directory) to be a valid path, string given
-diskfreespace() expects argument #1 ($directory) to be a valid path, string given
+disk_free_space(): Argument #1 ($directory) must be a valid path, string given
+diskfreespace(): Argument #1 ($directory) must be a valid path, string given
-- Iteration 10 --
-disk_free_space() expects argument #1 ($directory) to be a valid path, string given
-diskfreespace() expects argument #1 ($directory) to be a valid path, string given
+disk_free_space(): Argument #1 ($directory) must be a valid path, string given
+diskfreespace(): Argument #1 ($directory) must be a valid path, string given
-- Iteration 11 --
-disk_free_space() expects argument #1 ($directory) to be a valid path, string given
-diskfreespace() expects argument #1 ($directory) to be a valid path, string given
+disk_free_space(): Argument #1 ($directory) must be a valid path, string given
+diskfreespace(): Argument #1 ($directory) must be a valid path, string given
-- Iteration 12 --
-disk_free_space() expects argument #1 ($directory) to be a valid path, string given
-diskfreespace() expects argument #1 ($directory) to be a valid path, string given
+disk_free_space(): Argument #1 ($directory) must be a valid path, string given
+diskfreespace(): Argument #1 ($directory) must be a valid path, string given
--- Done ---
diff --git a/ext/standard/tests/file/disk_total_space_variation.phpt b/ext/standard/tests/file/disk_total_space_variation.phpt
index b5f5119c03..16275e7f39 100644
--- a/ext/standard/tests/file/disk_total_space_variation.phpt
+++ b/ext/standard/tests/file/disk_total_space_variation.phpt
@@ -102,16 +102,16 @@ float(%d)
float(%d)
-- Iteration 9 --
-disk_total_space() expects argument #1 ($directory) to be a valid path, string given
+disk_total_space(): Argument #1 ($directory) must be a valid path, string given
-- Iteration 10 --
-disk_total_space() expects argument #1 ($directory) to be a valid path, string given
+disk_total_space(): Argument #1 ($directory) must be a valid path, string given
-- Iteration 11 --
-disk_total_space() expects argument #1 ($directory) to be a valid path, string given
+disk_total_space(): Argument #1 ($directory) must be a valid path, string given
-- Iteration 12 --
-disk_total_space() expects argument #1 ($directory) to be a valid path, string given
+disk_total_space(): Argument #1 ($directory) must be a valid path, string given
*** Testing with Binary Input ***
float(%s)
diff --git a/ext/standard/tests/file/file_get_contents_variation8-win32.phpt b/ext/standard/tests/file/file_get_contents_variation8-win32.phpt
index 878fa1a7c5..12814304d0 100644
--- a/ext/standard/tests/file/file_get_contents_variation8-win32.phpt
+++ b/ext/standard/tests/file/file_get_contents_variation8-win32.phpt
@@ -82,10 +82,10 @@ Warning: file_get_contents( ): Failed to open stream: Permission denied in %s on
bool(false)
-- Filename: \0 --
-file_get_contents() expects argument #1 ($filename) to be a valid path, string given
+file_get_contents(): Argument #1 ($filename) must be a valid path, string given
-- Filename: array() --
-file_get_contents() expects argument #1 ($filename) to be a valid path, array given
+file_get_contents(): Argument #1 ($filename) must be a valid path, array given
-- Filename: /no/such/file/dir --
diff --git a/ext/standard/tests/file/file_get_contents_variation8.phpt b/ext/standard/tests/file/file_get_contents_variation8.phpt
index c2bb209461..058f3bf7e0 100644
--- a/ext/standard/tests/file/file_get_contents_variation8.phpt
+++ b/ext/standard/tests/file/file_get_contents_variation8.phpt
@@ -75,9 +75,9 @@ bool(false)
Warning: file_get_contents( ): Failed to open stream: No such file or directory in %s on line %d
bool(false)
-- Iteration 6 --
-file_get_contents() expects argument #1 ($filename) to be a valid path, string given
+file_get_contents(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 7 --
-file_get_contents() expects argument #1 ($filename) to be a valid path, array given
+file_get_contents(): Argument #1 ($filename) must be a valid path, array given
-- Iteration 8 --
Warning: file_get_contents(/no/such/file/dir): Failed to open stream: No such file or directory in %s on line %d
diff --git a/ext/standard/tests/file/file_put_contents_variation8-win32.phpt b/ext/standard/tests/file/file_put_contents_variation8-win32.phpt
index 310d6abb86..438fcb6903 100644
--- a/ext/standard/tests/file/file_put_contents_variation8-win32.phpt
+++ b/ext/standard/tests/file/file_put_contents_variation8-win32.phpt
@@ -82,10 +82,10 @@ Warning: file_put_contents( ): Failed to open stream: Permission denied in %s on
Failed to write data to: " "
-- Filename: \0 --
-file_put_contents() expects argument #1 ($filename) to be a valid path, string given
+file_put_contents(): Argument #1 ($filename) must be a valid path, string given
-- Filename: array() --
-file_put_contents() expects argument #1 ($filename) to be a valid path, array given
+file_put_contents(): Argument #1 ($filename) must be a valid path, array given
-- Filename: /no/such/file/dir --
diff --git a/ext/standard/tests/file/file_put_contents_variation8.phpt b/ext/standard/tests/file/file_put_contents_variation8.phpt
index 5b8c156a94..1a55621c3f 100644
--- a/ext/standard/tests/file/file_put_contents_variation8.phpt
+++ b/ext/standard/tests/file/file_put_contents_variation8.phpt
@@ -81,9 +81,9 @@ Failed to write data to:
-- Iteration 5 --
9 bytes written to:
-- Iteration 6 --
-file_put_contents() expects argument #1 ($filename) to be a valid path, string given
+file_put_contents(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 7 --
-file_put_contents() expects argument #1 ($filename) to be a valid path, array given
+file_put_contents(): Argument #1 ($filename) must be a valid path, array given
-- Iteration 8 --
Warning: file_put_contents(%sdir): Failed to open stream: %s in %s on line %d
diff --git a/ext/standard/tests/file/filegroup_variation3.phpt b/ext/standard/tests/file/filegroup_variation3.phpt
index aff47ef1c9..51c0a33861 100644
--- a/ext/standard/tests/file/filegroup_variation3.phpt
+++ b/ext/standard/tests/file/filegroup_variation3.phpt
@@ -78,8 +78,8 @@ bool(false)
Warning: filegroup(): stat failed for %s/filegroup_variation3/filegroup*.tmp in %s on line %d
bool(false)
- Iteration 7 -
-filegroup() expects argument #1 ($filename) to be a valid path, string given
+filegroup(): Argument #1 ($filename) must be a valid path, string given
- Iteration 8 -
-filegroup() expects argument #1 ($filename) to be a valid path, string given
+filegroup(): Argument #1 ($filename) must be a valid path, string given
*** Done ***
diff --git a/ext/standard/tests/file/fileinode_variation3.phpt b/ext/standard/tests/file/fileinode_variation3.phpt
index b8ed3962df..bb3dafd52d 100644
--- a/ext/standard/tests/file/fileinode_variation3.phpt
+++ b/ext/standard/tests/file/fileinode_variation3.phpt
@@ -79,8 +79,8 @@ bool(false)
Warning: fileinode(): stat failed for %s/fileinode_variation3/fileinode*.tmp in %s on line %d
bool(false)
- Iteration 7 -
-fileinode() expects argument #1 ($filename) to be a valid path, string given
+fileinode(): Argument #1 ($filename) must be a valid path, string given
- Iteration 8 -
-fileinode() expects argument #1 ($filename) to be a valid path, string given
+fileinode(): Argument #1 ($filename) must be a valid path, string given
*** Done ***
diff --git a/ext/standard/tests/file/fileowner_variation3.phpt b/ext/standard/tests/file/fileowner_variation3.phpt
index 8768f9d69b..b7de38ec6f 100644
--- a/ext/standard/tests/file/fileowner_variation3.phpt
+++ b/ext/standard/tests/file/fileowner_variation3.phpt
@@ -79,8 +79,8 @@ bool(false)
Warning: fileowner(): stat failed for %s/fileowner_variation3/fileowner*.tmp in %s on line %d
bool(false)
- Iteration 7 -
-fileowner() expects argument #1 ($filename) to be a valid path, string given
+fileowner(): Argument #1 ($filename) must be a valid path, string given
- Iteration 8 -
-fileowner() expects argument #1 ($filename) to be a valid path, string given
+fileowner(): Argument #1 ($filename) must be a valid path, string given
*** Done ***
diff --git a/ext/standard/tests/file/fileperms_variation3.phpt b/ext/standard/tests/file/fileperms_variation3.phpt
index e58594e7d1..73c00130d1 100644
--- a/ext/standard/tests/file/fileperms_variation3.phpt
+++ b/ext/standard/tests/file/fileperms_variation3.phpt
@@ -78,8 +78,8 @@ bool(false)
Warning: fileperms(): stat failed for %s/fileperms_variation3/fileperms*.tmp in %s on line %d
bool(false)
- Iteration 7 -
-fileperms() expects argument #1 ($filename) to be a valid path, string given
+fileperms(): Argument #1 ($filename) must be a valid path, string given
- Iteration 8 -
-fileperms() expects argument #1 ($filename) to be a valid path, string given
+fileperms(): Argument #1 ($filename) must be a valid path, string given
*** Done ***
diff --git a/ext/standard/tests/file/flock_error.phpt b/ext/standard/tests/file/flock_error.phpt
index 9eb5958dbb..dc9123543d 100644
--- a/ext/standard/tests/file/flock_error.phpt
+++ b/ext/standard/tests/file/flock_error.phpt
@@ -65,13 +65,13 @@ Illegal operation argument
--- Iteration 3 ---
Illegal operation argument
--- Iteration 4 ---
-flock() expects argument #2 ($operation) to be of type int, array given
+flock(): Argument #2 ($operation) must be of type int, array given
--- Iteration 5 ---
-flock() expects argument #2 ($operation) to be of type int, array given
+flock(): Argument #2 ($operation) must be of type int, array given
--- Iteration 6 ---
-flock() expects argument #2 ($operation) to be of type int, string given
+flock(): Argument #2 ($operation) must be of type int, string given
--- Iteration 7 ---
-flock() expects argument #2 ($operation) to be of type int, string given
+flock(): Argument #2 ($operation) must be of type int, string given
--- Iteration 8 ---
-flock() expects argument #2 ($operation) to be of type int, string given
+flock(): Argument #2 ($operation) must be of type int, string given
flock(): supplied resource is not a valid stream resource
diff --git a/ext/standard/tests/file/fnmatch_variation.phpt b/ext/standard/tests/file/fnmatch_variation.phpt
index 32bb6b32a6..746d49747d 100644
--- a/ext/standard/tests/file/fnmatch_variation.phpt
+++ b/ext/standard/tests/file/fnmatch_variation.phpt
@@ -191,9 +191,9 @@ bool(false)
-- Iteration 22 --
bool(false)
-- Iteration 23 --
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 24 --
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 25 --
bool(false)
-- Iteration 26 --
@@ -267,44 +267,44 @@ bool(true)
--- With Strings ---
-- Iteration 0 --
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(false)
bool(true)
-- Iteration 1 --
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 2 --
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(false)
bool(true)
-- Iteration 3 --
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 4 --
bool(false)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(false)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(true)
bool(false)
-- Iteration 5 --
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(false)
bool(true)
@@ -405,42 +405,42 @@ bool(true)
bool(true)
bool(true)
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(false)
bool(false)
-- Iteration 1 --
bool(true)
bool(true)
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(false)
bool(false)
-- Iteration 2 --
bool(true)
bool(true)
bool(true)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(false)
bool(false)
-- Iteration 3 --
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
-fnmatch() expects argument #1 ($pattern) to be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
+fnmatch(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 4 --
bool(false)
bool(false)
bool(false)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(true)
bool(false)
-- Iteration 5 --
bool(false)
bool(false)
bool(false)
-fnmatch() expects argument #2 ($filename) to be a valid path, string given
+fnmatch(): Argument #2 ($filename) must be a valid path, string given
bool(false)
bool(true)
diff --git a/ext/standard/tests/file/fopen_variation10-win32.phpt b/ext/standard/tests/file/fopen_variation10-win32.phpt
index 234022dd6b..10a43df24a 100644
--- a/ext/standard/tests/file/fopen_variation10-win32.phpt
+++ b/ext/standard/tests/file/fopen_variation10-win32.phpt
@@ -97,21 +97,21 @@ file in root
Warning: fopen(c\fopen_variation10.tmp): Failed to open stream: No such file or directory in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
--\--
Warning: fopen(\\fopen_variation10.tmp): Failed to open stream: Invalid argument in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
--/--
Warning: fopen(/\fopen_variation10.tmp): Failed to open stream: Invalid argument in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
--c:fopen10.tmpdirTwo--
file in fopen10.tmpdirTwo
@@ -121,7 +121,7 @@ file in fopen10.tmpdirTwo
Warning: fopen(c:adir\fopen_variation10.tmp): Failed to open stream: No such file or directory in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
--c:\/--
file in root
@@ -143,4 +143,4 @@ file in fopen10.tmpDir
Warning: fopen(/sortout\fopen_variation10.tmp): Failed to open stream: No such file or directory in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
diff --git a/ext/standard/tests/file/fopen_variation11-win32.phpt b/ext/standard/tests/file/fopen_variation11-win32.phpt
index 61879edf76..91c3cf1cd6 100644
--- a/ext/standard/tests/file/fopen_variation11-win32.phpt
+++ b/ext/standard/tests/file/fopen_variation11-win32.phpt
@@ -95,21 +95,21 @@ file in root
Warning: fopen(c\fopen_variation11.tmp): Failed to open stream: No such file or directory in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
--\--
Warning: fopen(\\FOPEN_VARIATION11.TMP): Failed to open stream: Invalid argument in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
--/--
Warning: fopen(\\FOPEN_VARIATION11.TMP): Failed to open stream: Invalid argument in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
--c:fopen11.tmpdirTwo--
file in fopen11.tmpdirTwo
@@ -119,7 +119,7 @@ file in fopen11.tmpdirTwo
Warning: fopen(c:adir\fopen_variation11.tmp): Failed to open stream: No such file or directory in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
--c:\/--
file in root
@@ -141,4 +141,4 @@ file in fopen11.tmpDir
Warning: fopen(/sortout\fopen_variation11.tmp): Failed to open stream: No such file or directory in %s on line %d
file not opened for read
-Warning: fclose() expects argument #1 to be of type resource, bool given in %s on line %d
+Warning: fclose(): Argument #1 must be of type resource, bool given in %s on line %d
diff --git a/ext/standard/tests/file/glob_variation-win32-mb.phpt b/ext/standard/tests/file/glob_variation-win32-mb.phpt
index 814f18a71d..0997eb30e0 100644
--- a/ext/standard/tests/file/glob_variation-win32-mb.phpt
+++ b/ext/standard/tests/file/glob_variation-win32-mb.phpt
@@ -334,7 +334,7 @@ array(0) {
}
-- Iteration 8 --
-glob() expects argument #1 ($pattern) to be a valid path, string given
+glob(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 9 --
array(0) {
@@ -437,7 +437,7 @@ array(1) {
array(0) {
}
-- Iteration 8 --
-glob() expects argument #1 ($pattern) to be a valid path, string given
+glob(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 9 --
array(0) {
}
diff --git a/ext/standard/tests/file/glob_variation-win32.phpt b/ext/standard/tests/file/glob_variation-win32.phpt
index 966d2b28e0..eb30a13923 100644
--- a/ext/standard/tests/file/glob_variation-win32.phpt
+++ b/ext/standard/tests/file/glob_variation-win32.phpt
@@ -333,7 +333,7 @@ array(0) {
}
-- Iteration 8 --
-glob() expects argument #1 ($pattern) to be a valid path, string given
+glob(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 9 --
array(0) {
@@ -436,7 +436,7 @@ array(1) {
array(0) {
}
-- Iteration 8 --
-glob() expects argument #1 ($pattern) to be a valid path, string given
+glob(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 9 --
array(0) {
}
diff --git a/ext/standard/tests/file/glob_variation.phpt b/ext/standard/tests/file/glob_variation.phpt
index 655b3efe78..1fcd56eeaf 100644
--- a/ext/standard/tests/file/glob_variation.phpt
+++ b/ext/standard/tests/file/glob_variation.phpt
@@ -336,7 +336,7 @@ array(0) {
}
-- Iteration 8 --
-glob() expects argument #1 ($pattern) to be a valid path, string given
+glob(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 9 --
array(0) {
@@ -439,7 +439,7 @@ array(1) {
array(0) {
}
-- Iteration 8 --
-glob() expects argument #1 ($pattern) to be a valid path, string given
+glob(): Argument #1 ($pattern) must be a valid path, string given
-- Iteration 9 --
array(0) {
}
diff --git a/ext/standard/tests/file/is_dir_variation4.phpt b/ext/standard/tests/file/is_dir_variation4.phpt
index f527974d90..111699bd86 100644
--- a/ext/standard/tests/file/is_dir_variation4.phpt
+++ b/ext/standard/tests/file/is_dir_variation4.phpt
@@ -81,9 +81,9 @@ bool(true)
bool(false)
-- Iteration 9 --
-is_dir() expects argument #1 ($filename) to be a valid path, string given
+is_dir(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 10 --
-is_dir() expects argument #1 ($filename) to be a valid path, string given
+is_dir(): Argument #1 ($filename) must be a valid path, string given
*** Done ***
diff --git a/ext/standard/tests/file/is_executable_variation1.phpt b/ext/standard/tests/file/is_executable_variation1.phpt
index 9dadbd6b0a..0f7e5ba7b1 100644
--- a/ext/standard/tests/file/is_executable_variation1.phpt
+++ b/ext/standard/tests/file/is_executable_variation1.phpt
@@ -80,9 +80,9 @@ bool(false)
-- Iteration 5 --
bool(false)
-- Iteration 6 --
-is_executable() expects argument #1 ($filename) to be a valid path, string given
+is_executable(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 7 --
-is_executable() expects argument #1 ($filename) to be a valid path, string given
+is_executable(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 8 --
bool(false)
-- Iteration 9 --
diff --git a/ext/standard/tests/file/is_file_variation4.phpt b/ext/standard/tests/file/is_file_variation4.phpt
index 5651c5fc02..81804030a0 100644
--- a/ext/standard/tests/file/is_file_variation4.phpt
+++ b/ext/standard/tests/file/is_file_variation4.phpt
@@ -71,8 +71,8 @@ bool(false)
- Iteration 6 -
bool(false)
- Iteration 7 -
-is_file() expects argument #1 ($filename) to be a valid path, string given
+is_file(): Argument #1 ($filename) must be a valid path, string given
- Iteration 8 -
-is_file() expects argument #1 ($filename) to be a valid path, string given
+is_file(): Argument #1 ($filename) must be a valid path, string given
*** Done ***
diff --git a/ext/standard/tests/file/is_readable_variation1.phpt b/ext/standard/tests/file/is_readable_variation1.phpt
index 102f9b177c..95dd003874 100644
--- a/ext/standard/tests/file/is_readable_variation1.phpt
+++ b/ext/standard/tests/file/is_readable_variation1.phpt
@@ -81,11 +81,11 @@ bool(false)
-- Iteration 6 --
bool(false)
-- Iteration 7 --
-is_readable() expects argument #1 ($filename) to be a valid path, string given
+is_readable(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 8 --
-is_readable() expects argument #1 ($filename) to be a valid path, string given
+is_readable(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 9 --
-is_readable() expects argument #1 ($filename) to be a valid path, string given
+is_readable(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 10 --
bool(true)
-- Iteration 11 --
diff --git a/ext/standard/tests/file/is_writable_variation1.phpt b/ext/standard/tests/file/is_writable_variation1.phpt
index 53090a9f80..333294e073 100644
--- a/ext/standard/tests/file/is_writable_variation1.phpt
+++ b/ext/standard/tests/file/is_writable_variation1.phpt
@@ -92,14 +92,14 @@ bool(false)
bool(false)
bool(false)
-- Iteration 7 --
-is_writable() expects argument #1 ($filename) to be a valid path, string given
-is_writeable() expects argument #1 ($filename) to be a valid path, string given
+is_writable(): Argument #1 ($filename) must be a valid path, string given
+is_writeable(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 8 --
-is_writable() expects argument #1 ($filename) to be a valid path, string given
-is_writeable() expects argument #1 ($filename) to be a valid path, string given
+is_writable(): Argument #1 ($filename) must be a valid path, string given
+is_writeable(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 9 --
-is_writable() expects argument #1 ($filename) to be a valid path, string given
-is_writeable() expects argument #1 ($filename) to be a valid path, string given
+is_writable(): Argument #1 ($filename) must be a valid path, string given
+is_writeable(): Argument #1 ($filename) must be a valid path, string given
-- Iteration 10 --
bool(true)
bool(true)
diff --git a/ext/standard/tests/file/mkdir_rmdir_variation2.phpt b/ext/standard/tests/file/mkdir_rmdir_variation2.phpt
index bcf83fb2bc..176ad79070 100644
--- a/ext/standard/tests/file/mkdir_rmdir_variation2.phpt
+++ b/ext/standard/tests/file/mkdir_rmdir_variation2.phpt
@@ -63,8 +63,8 @@ Warning: rmdir(%s/mkdir_variation2/): %s on line %d
bool(false)
*** Testing mkdir() and rmdir() for binary safe functionality ***
-mkdir() expects argument #1 ($pathname) to be a valid path, string given
-rmdir() expects argument #1 ($dirname) to be a valid path, string given
+mkdir(): Argument #1 ($pathname) must be a valid path, string given
+rmdir(): Argument #1 ($dirname) must be a valid path, string given
*** Testing mkdir() with miscellaneous input ***
bool(true)
diff --git a/ext/standard/tests/file/readfile_variation10-win32.phpt b/ext/standard/tests/file/readfile_variation10-win32.phpt
index 02fa1266fd..4934b8cf00 100644
--- a/ext/standard/tests/file/readfile_variation10-win32.phpt
+++ b/ext/standard/tests/file/readfile_variation10-win32.phpt
@@ -75,10 +75,10 @@ Warning: readfile(): Filename cannot be empty in %s on line %d
Warning: readfile( ): Failed to open stream: Permission denied in %s on line %d
-- Filename: \0 --
-readfile() expects argument #1 ($filename) to be a valid path, string given
+readfile(): Argument #1 ($filename) must be a valid path, string given
-- Filename: array() --
-readfile() expects argument #1 ($filename) to be a valid path, array given
+readfile(): Argument #1 ($filename) must be a valid path, array given
-- Filename: /no/such/file/dir --
diff --git a/ext/standard/tests/file/readfile_variation10.phpt b/ext/standard/tests/file/readfile_variation10.phpt
index f735ba5b58..87892a4519 100644
--- a/ext/standard/tests/file/readfile_variation10.phpt
+++ b/ext/standard/tests/file/readfile_variation10.phpt
Binary files differ
diff --git a/ext/standard/tests/file/stream_rfc2397_006.phpt b/ext/standard/tests/file/stream_rfc2397_006.phpt
index fd362a6ea0..7805db41de 100644
--- a/ext/standard/tests/file/stream_rfc2397_006.phpt
+++ b/ext/standard/tests/file/stream_rfc2397_006.phpt
@@ -23,8 +23,8 @@ foreach($streams as $stream)
?>
--EXPECTF--
-file_get_contents() expects argument #1 ($filename) to be a valid path, string given
-file_get_contents() expects argument #1 ($filename) to be a valid path, string given
+file_get_contents(): Argument #1 ($filename) must be a valid path, string given
+file_get_contents(): Argument #1 ($filename) must be a valid path, string given
Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhcg==): Failed to open stream: rfc2397: unable to decode in %sstream_rfc2397_006.php on line %d
bool(false)
diff --git a/ext/standard/tests/file/tempnam_variation3-win32.phpt b/ext/standard/tests/file/tempnam_variation3-win32.phpt
index 1639cebe99..dafc626659 100644
--- a/ext/standard/tests/file/tempnam_variation3-win32.phpt
+++ b/ext/standard/tests/file/tempnam_variation3-win32.phpt
@@ -110,9 +110,9 @@ Notice: tempnam(): file created in the system's temporary directory in %stempnam
Failed, not created in the correct directory %s vs %s
0
-- Iteration 6 --
-tempnam() expects argument #2 ($prefix) to be a valid path, string given
+tempnam(): Argument #2 ($prefix) must be a valid path, string given
-- Iteration 7 --
-tempnam() expects argument #2 ($prefix) to be a valid path, array given
+tempnam(): Argument #2 ($prefix) must be a valid path, array given
-- Iteration 8 --
OK
-- Iteration 9 --
diff --git a/ext/standard/tests/file/tempnam_variation3.phpt b/ext/standard/tests/file/tempnam_variation3.phpt
index b255b32f41..a4271b1370 100644
--- a/ext/standard/tests/file/tempnam_variation3.phpt
+++ b/ext/standard/tests/file/tempnam_variation3.phpt
@@ -106,9 +106,9 @@ File name is => %s/%s
File permissions are => 100600
File created in => directory specified
-- Iteration 6 --
-tempnam() expects argument #2 ($prefix) to be a valid path, string given
+tempnam(): Argument #2 ($prefix) must be a valid path, string given
-- Iteration 7 --
-tempnam() expects argument #2 ($prefix) to be a valid path, array given
+tempnam(): Argument #2 ($prefix) must be a valid path, array given
-- Iteration 8 --
File name is => %s/dir%s
File permissions are => 100600
diff --git a/ext/standard/tests/file/tempnam_variation7-win32.phpt b/ext/standard/tests/file/tempnam_variation7-win32.phpt
index 069b2f369d..b9377e6c67 100644
--- a/ext/standard/tests/file/tempnam_variation7-win32.phpt
+++ b/ext/standard/tests/file/tempnam_variation7-win32.phpt
@@ -100,9 +100,9 @@ File name is => %s%et%s
File permissions are => 100666
File created in => temp dir
-- Iteration 6 --
-tempnam() expects argument #1 ($dir) to be a valid path, string given
+tempnam(): Argument #1 ($dir) must be a valid path, string given
-- Iteration 7 --
-tempnam() expects argument #1 ($dir) to be a valid path, array given
+tempnam(): Argument #1 ($dir) must be a valid path, array given
-- Iteration 8 --
Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.php on line %d
diff --git a/ext/standard/tests/file/tempnam_variation7.phpt b/ext/standard/tests/file/tempnam_variation7.phpt
index 5ee1d80c7d..a6895c706b 100644
--- a/ext/standard/tests/file/tempnam_variation7.phpt
+++ b/ext/standard/tests/file/tempnam_variation7.phpt
@@ -105,9 +105,9 @@ File name is => %s%etempnam_variation3.tmp%s
File permissions are => 100600
File created in => temp dir
-- Iteration 6 --
-tempnam() expects argument #1 ($dir) to be a valid path, string given
+tempnam(): Argument #1 ($dir) must be a valid path, string given
-- Iteration 7 --
-tempnam() expects argument #1 ($dir) to be a valid path, array given
+tempnam(): Argument #1 ($dir) must be a valid path, array given
-- Iteration 8 --
Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on line %d
diff --git a/ext/standard/tests/file/windows_links/bug78862.phpt b/ext/standard/tests/file/windows_links/bug78862.phpt
index 70a26c1d5f..ce4da1fc8c 100644
--- a/ext/standard/tests/file/windows_links/bug78862.phpt
+++ b/ext/standard/tests/file/windows_links/bug78862.phpt
@@ -7,7 +7,7 @@ var_dump(link(__DIR__ . "/bug78862.target\0more", __DIR__ . "/bug78862.link\0mor
var_dump(file_exists(__DIR__ . '/bug78862.link'));
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: link() expects argument #1 ($target) to be a valid path, string given in %s:%d
+Fatal error: Uncaught TypeError: link(): Argument #1 ($target) must be a valid path, string given in %s:%d
Stack trace:
#0 %s(%d): link('%s', '%s')
#1 {main}
diff --git a/ext/standard/tests/general_functions/bug41970.phpt b/ext/standard/tests/general_functions/bug41970.phpt
index 211ad3b2d3..87401fdc67 100644
--- a/ext/standard/tests/general_functions/bug41970.phpt
+++ b/ext/standard/tests/general_functions/bug41970.phpt
@@ -21,11 +21,11 @@ try {
echo "Done\n";
?>
--EXPECTF--
-Warning: sort() expects argument #1 ($arg) to be passed by reference, value given in %s on line %d
+Warning: sort(): Argument #1 ($arg) must be passed by reference, value given in %s on line %d
bool(true)
-strlen() expects argument #1 ($str) to be of type string, array given
+strlen(): Argument #1 ($str) must be of type string, array given
-Warning: sort() expects argument #1 ($arg) to be passed by reference, value given in %s on line %d
+Warning: sort(): Argument #1 ($arg) must be passed by reference, value given in %s on line %d
bool(true)
-strlen() expects argument #1 ($str) to be of type string, array given
+strlen(): Argument #1 ($str) must be of type string, array given
Done
diff --git a/ext/standard/tests/general_functions/call_user_func_array_variation_001.phpt b/ext/standard/tests/general_functions/call_user_func_array_variation_001.phpt
index 1f2abbae29..cd76dc79e3 100644
--- a/ext/standard/tests/general_functions/call_user_func_array_variation_001.phpt
+++ b/ext/standard/tests/general_functions/call_user_func_array_variation_001.phpt
@@ -42,7 +42,7 @@ array(1) {
}
------ Calling by_ref() with unreferenced argument ------
-Warning: by_ref() expects argument #1 ($arg) to be passed by reference, value given in %s on line %d
+Warning: by_ref(): Argument #1 ($arg) must be passed by reference, value given in %s on line %d
array(1) {
[0]=>
string(8) "original"
diff --git a/ext/standard/tests/general_functions/callbacks_001.phpt b/ext/standard/tests/general_functions/callbacks_001.phpt
index b667da66c9..67afab6345 100644
--- a/ext/standard/tests/general_functions/callbacks_001.phpt
+++ b/ext/standard/tests/general_functions/callbacks_001.phpt
@@ -83,7 +83,7 @@ $o = new P;
$o->test();
?>
---EXPECTF--
+--EXPECT--
parent|who
B
C|parent::who
@@ -106,4 +106,4 @@ O
$this|O::who
O
$this|B::who
-call_user_func() expects argument #1 ($function) to be a valid callback, class 'P' is not a subclass of 'B'
+call_user_func(): Argument #1 ($function) must be a valid callback, class 'P' is not a subclass of 'B'
diff --git a/ext/standard/tests/general_functions/callbacks_002.phpt b/ext/standard/tests/general_functions/callbacks_002.phpt
index 4f327e3b86..f69a886ad3 100644
--- a/ext/standard/tests/general_functions/callbacks_002.phpt
+++ b/ext/standard/tests/general_functions/callbacks_002.phpt
@@ -20,7 +20,7 @@ try {
}
?>
---EXPECTF--
-call_user_func() expects argument #1 ($function) to be a valid callback, class 'Foo' not found
-call_user_func() expects argument #1 ($function) to be a valid callback, first array member is not a valid class name or object
-call_user_func() expects argument #1 ($function) to be a valid callback, second array member is not a valid method
+--EXPECT--
+call_user_func(): Argument #1 ($function) must be a valid callback, class 'Foo' not found
+call_user_func(): Argument #1 ($function) must be a valid callback, first array member is not a valid class name or object
+call_user_func(): Argument #1 ($function) must be a valid callback, second array member is not a valid method
diff --git a/ext/standard/tests/math/abs_variation.phpt b/ext/standard/tests/math/abs_variation.phpt
index e635fa2fca..f6ebeba2ef 100644
--- a/ext/standard/tests/math/abs_variation.phpt
+++ b/ext/standard/tests/math/abs_variation.phpt
@@ -105,25 +105,25 @@ int(1)
int(0)
-- Iteration 7 --
-abs() expects argument #1 ($number) to be of type int|float, string given
+abs(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 8 --
-abs() expects argument #1 ($number) to be of type int|float, string given
+abs(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 9 --
-abs() expects argument #1 ($number) to be of type int|float, array given
+abs(): Argument #1 ($number) must be of type int|float, array given
-- Iteration 10 --
-abs() expects argument #1 ($number) to be of type int|float, string given
+abs(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 11 --
-abs() expects argument #1 ($number) to be of type int|float, string given
+abs(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 12 --
-abs() expects argument #1 ($number) to be of type int|float, string given
+abs(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 13 --
-abs() expects argument #1 ($number) to be of type int|float, object given
+abs(): Argument #1 ($number) must be of type int|float, object given
-- Iteration 14 --
int(0)
@@ -132,4 +132,4 @@ int(0)
int(0)
-- Iteration 16 --
-abs() expects argument #1 ($number) to be of type int|float, resource given
+abs(): Argument #1 ($number) must be of type int|float, resource given
diff --git a/ext/standard/tests/math/bindec_variation1.phpt b/ext/standard/tests/math/bindec_variation1.phpt
index 9a29aa3480..d219f31302 100644
--- a/ext/standard/tests/math/bindec_variation1.phpt
+++ b/ext/standard/tests/math/bindec_variation1.phpt
@@ -151,7 +151,7 @@ int(0)
int(0)
-- Iteration 18 --
-bindec() expects argument #1 ($binary_string) to be of type string, array given
+bindec(): Argument #1 ($binary_string) must be of type string, array given
-- Iteration 19 --
@@ -175,4 +175,4 @@ int(0)
int(0)
-- Iteration 24 --
-bindec() expects argument #1 ($binary_string) to be of type string, resource given
+bindec(): Argument #1 ($binary_string) must be of type string, resource given
diff --git a/ext/standard/tests/math/bindec_variation1_64bit.phpt b/ext/standard/tests/math/bindec_variation1_64bit.phpt
index 16f205f29f..695c3f36ba 100644
--- a/ext/standard/tests/math/bindec_variation1_64bit.phpt
+++ b/ext/standard/tests/math/bindec_variation1_64bit.phpt
@@ -151,7 +151,7 @@ int(0)
int(0)
-- Iteration 18 --
-bindec() expects argument #1 ($binary_string) to be of type string, array given
+bindec(): Argument #1 ($binary_string) must be of type string, array given
-- Iteration 19 --
@@ -175,4 +175,4 @@ int(0)
int(0)
-- Iteration 24 --
-bindec() expects argument #1 ($binary_string) to be of type string, resource given
+bindec(): Argument #1 ($binary_string) must be of type string, resource given
diff --git a/ext/standard/tests/math/ceil_variation1.phpt b/ext/standard/tests/math/ceil_variation1.phpt
index 1946c77879..4140738e02 100644
--- a/ext/standard/tests/math/ceil_variation1.phpt
+++ b/ext/standard/tests/math/ceil_variation1.phpt
@@ -98,25 +98,25 @@ float(1)
float(0)
-- Iteration 7 --
-ceil() expects argument #1 ($number) to be of type int|float, string given
+ceil(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 8 --
-ceil() expects argument #1 ($number) to be of type int|float, string given
+ceil(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 9 --
-ceil() expects argument #1 ($number) to be of type int|float, array given
+ceil(): Argument #1 ($number) must be of type int|float, array given
-- Iteration 10 --
-ceil() expects argument #1 ($number) to be of type int|float, string given
+ceil(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 11 --
-ceil() expects argument #1 ($number) to be of type int|float, string given
+ceil(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 12 --
-ceil() expects argument #1 ($number) to be of type int|float, string given
+ceil(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 13 --
-ceil() expects argument #1 ($number) to be of type int|float, object given
+ceil(): Argument #1 ($number) must be of type int|float, object given
-- Iteration 14 --
float(0)
@@ -125,4 +125,4 @@ float(0)
float(0)
-- Iteration 16 --
-ceil() expects argument #1 ($number) to be of type int|float, resource given
+ceil(): Argument #1 ($number) must be of type int|float, resource given
diff --git a/ext/standard/tests/math/floor_variation1.phpt b/ext/standard/tests/math/floor_variation1.phpt
index 2aa72337bb..f5b3e98461 100644
--- a/ext/standard/tests/math/floor_variation1.phpt
+++ b/ext/standard/tests/math/floor_variation1.phpt
@@ -98,25 +98,25 @@ float(1)
float(0)
-- Iteration 7 --
-floor() expects argument #1 ($number) to be of type int|float, string given
+floor(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 8 --
-floor() expects argument #1 ($number) to be of type int|float, string given
+floor(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 9 --
-floor() expects argument #1 ($number) to be of type int|float, array given
+floor(): Argument #1 ($number) must be of type int|float, array given
-- Iteration 10 --
-floor() expects argument #1 ($number) to be of type int|float, string given
+floor(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 11 --
-floor() expects argument #1 ($number) to be of type int|float, string given
+floor(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 12 --
-floor() expects argument #1 ($number) to be of type int|float, string given
+floor(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 13 --
-floor() expects argument #1 ($number) to be of type int|float, object given
+floor(): Argument #1 ($number) must be of type int|float, object given
-- Iteration 14 --
float(0)
@@ -125,4 +125,4 @@ float(0)
float(0)
-- Iteration 16 --
-floor() expects argument #1 ($number) to be of type int|float, resource given
+floor(): Argument #1 ($number) must be of type int|float, resource given
diff --git a/ext/standard/tests/math/hexdec_variation1.phpt b/ext/standard/tests/math/hexdec_variation1.phpt
index 5df2c7ff06..8b62d9458e 100644
--- a/ext/standard/tests/math/hexdec_variation1.phpt
+++ b/ext/standard/tests/math/hexdec_variation1.phpt
@@ -157,7 +157,7 @@ int(0)
int(0)
-- Iteration 20 --
-hexdec() expects argument #1 ($hex_string) to be of type string, array given
+hexdec(): Argument #1 ($hex_string) must be of type string, array given
-- Iteration 21 --
@@ -181,4 +181,4 @@ int(0)
int(0)
-- Iteration 26 --
-hexdec() expects argument #1 ($hex_string) to be of type string, resource given
+hexdec(): Argument #1 ($hex_string) must be of type string, resource given
diff --git a/ext/standard/tests/math/hexdec_variation1_64bit.phpt b/ext/standard/tests/math/hexdec_variation1_64bit.phpt
index 6d984502af..86ed97987b 100644
--- a/ext/standard/tests/math/hexdec_variation1_64bit.phpt
+++ b/ext/standard/tests/math/hexdec_variation1_64bit.phpt
@@ -157,7 +157,7 @@ int(0)
int(0)
-- Iteration 20 --
-hexdec() expects argument #1 ($hex_string) to be of type string, array given
+hexdec(): Argument #1 ($hex_string) must be of type string, array given
-- Iteration 21 --
@@ -181,4 +181,4 @@ int(0)
int(0)
-- Iteration 26 --
-hexdec() expects argument #1 ($hex_string) to be of type string, resource given
+hexdec(): Argument #1 ($hex_string) must be of type string, resource given
diff --git a/ext/standard/tests/math/octdec_variation1.phpt b/ext/standard/tests/math/octdec_variation1.phpt
index 18dfc698ce..1c4ec0ec86 100644
--- a/ext/standard/tests/math/octdec_variation1.phpt
+++ b/ext/standard/tests/math/octdec_variation1.phpt
@@ -160,7 +160,7 @@ int(0)
int(0)
-- Iteration 20 --
-octdec() expects argument #1 ($octal_string) to be of type string, array given
+octdec(): Argument #1 ($octal_string) must be of type string, array given
-- Iteration 21 --
@@ -184,5 +184,5 @@ int(0)
int(0)
-- Iteration 26 --
-octdec() expects argument #1 ($octal_string) to be of type string, resource given
+octdec(): Argument #1 ($octal_string) must be of type string, resource given
---Done---
diff --git a/ext/standard/tests/math/round_variation1.phpt b/ext/standard/tests/math/round_variation1.phpt
index add8cf7637..5371d0fb94 100644
--- a/ext/standard/tests/math/round_variation1.phpt
+++ b/ext/standard/tests/math/round_variation1.phpt
@@ -143,25 +143,25 @@ float(1)
float(0)
-- Iteration 17 --
-round() expects argument #1 ($number) to be of type int|float, string given
+round(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 18 --
-round() expects argument #1 ($number) to be of type int|float, string given
+round(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 19 --
-round() expects argument #1 ($number) to be of type int|float, array given
+round(): Argument #1 ($number) must be of type int|float, array given
-- Iteration 20 --
-round() expects argument #1 ($number) to be of type int|float, string given
+round(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 21 --
-round() expects argument #1 ($number) to be of type int|float, string given
+round(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 22 --
-round() expects argument #1 ($number) to be of type int|float, string given
+round(): Argument #1 ($number) must be of type int|float, string given
-- Iteration 23 --
-round() expects argument #1 ($number) to be of type int|float, object given
+round(): Argument #1 ($number) must be of type int|float, object given
-- Iteration 24 --
float(0)
@@ -170,4 +170,4 @@ float(0)
float(0)
-- Iteration 26 --
-round() expects argument #1 ($number) to be of type int|float, resource given
+round(): Argument #1 ($number) must be of type int|float, resource given
diff --git a/ext/standard/tests/network/bug73594.phpt b/ext/standard/tests/network/bug73594.phpt
index 370b6162fd..79607cacec 100644
--- a/ext/standard/tests/network/bug73594.phpt
+++ b/ext/standard/tests/network/bug73594.phpt
@@ -24,4 +24,4 @@ $res = dns_get_record('php.net', DNS_MX, $auth, $additional);
var_dump(!empty($res) && empty($additional));
?>
--EXPECT--
-bool(false)
+bool(true)
diff --git a/ext/standard/tests/password/password_hash_error.phpt b/ext/standard/tests/password/password_hash_error.phpt
index dc8def5eef..c3c924b46b 100644
--- a/ext/standard/tests/password/password_hash_error.phpt
+++ b/ext/standard/tests/password/password_hash_error.phpt
@@ -40,6 +40,6 @@ password_hash() expects at least 2 parameters, 1 given
Warning: Array to string conversion in %s on line %d
Unknown password hashing algorithm: Array
-password_hash() expects argument #3 ($options) to be of type array, object given
-password_hash() expects argument #3 ($options) to be of type array, string given
-password_hash() expects argument #1 ($password) to be of type string, array given
+password_hash(): Argument #3 ($options) must be of type array, object given
+password_hash(): Argument #3 ($options) must be of type array, string given
+password_hash(): Argument #1 ($password) must be of type string, array given
diff --git a/ext/standard/tests/password/password_needs_rehash_error.phpt b/ext/standard/tests/password/password_needs_rehash_error.phpt
index 688bbb4eb7..0b64b0c82e 100644
--- a/ext/standard/tests/password/password_needs_rehash_error.phpt
+++ b/ext/standard/tests/password/password_needs_rehash_error.phpt
@@ -29,6 +29,6 @@ echo "OK!";
--EXPECT--
password_needs_rehash() expects at least 2 parameters, 1 given
bool(false)
-password_needs_rehash() expects argument #1 ($hash) to be of type string, array given
-password_needs_rehash() expects argument #3 ($options) to be of type array, string given
+password_needs_rehash(): Argument #1 ($hash) must be of type string, array given
+password_needs_rehash(): Argument #3 ($options) must be of type array, string given
OK!
diff --git a/ext/standard/tests/strings/addcslashes_001.phpt b/ext/standard/tests/strings/addcslashes_001.phpt
index 6b15319c0e..50a57129e5 100644
--- a/ext/standard/tests/strings/addcslashes_001.phpt
+++ b/ext/standard/tests/strings/addcslashes_001.phpt
Binary files differ
diff --git a/ext/standard/tests/strings/bug54322.phpt b/ext/standard/tests/strings/bug54322.phpt
index fd491b2faa..8f12cd80f7 100644
--- a/ext/standard/tests/strings/bug54322.phpt
+++ b/ext/standard/tests/strings/bug54322.phpt
@@ -9,4 +9,4 @@ try {
}
?>
--EXPECT--
-get_html_translation_table() expects argument #1 ($table) to be of type int, float given
+get_html_translation_table(): Argument #1 ($table) must be of type int, float given
diff --git a/ext/standard/tests/strings/chunk_split_variation5.phpt b/ext/standard/tests/strings/chunk_split_variation5.phpt
index 85690a234e..37af77afd8 100644
--- a/ext/standard/tests/strings/chunk_split_variation5.phpt
+++ b/ext/standard/tests/strings/chunk_split_variation5.phpt
Binary files differ
diff --git a/ext/standard/tests/strings/chunk_split_variation8.phpt b/ext/standard/tests/strings/chunk_split_variation8.phpt
index fe19f325be..9a499067a4 100644
--- a/ext/standard/tests/strings/chunk_split_variation8.phpt
+++ b/ext/standard/tests/strings/chunk_split_variation8.phpt
@@ -83,6 +83,6 @@ string(129) "This's heredoc string with and
It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
chunk_split():::"
-- Iteration 7 --
-chunk_split() expects argument #2 ($chunklen) to be of type int, float given
+chunk_split(): Argument #2 ($chunklen) must be of type int, float given
-- Iteration 8 --
Chunk length should be greater than zero
diff --git a/ext/standard/tests/strings/implode1.phpt b/ext/standard/tests/strings/implode1.phpt
index 4fdb97b6cd..64c31048c8 100644
--- a/ext/standard/tests/strings/implode1.phpt
+++ b/ext/standard/tests/strings/implode1.phpt
Binary files differ
diff --git a/ext/standard/tests/strings/join_error.phpt b/ext/standard/tests/strings/join_error.phpt
index 976dd97242..e77b20c744 100644
--- a/ext/standard/tests/strings/join_error.phpt
+++ b/ext/standard/tests/strings/join_error.phpt
@@ -26,5 +26,5 @@ echo "Done\n";
*** Testing join() : error conditions ***
-- Testing join() with less than expected no. of arguments --
-join() expects argument #1 ($pieces) to be of type array, string given
+join(): Argument #1 ($pieces) must be of type array, string given
Done
diff --git a/ext/standard/tests/strings/join_variation1.phpt b/ext/standard/tests/strings/join_variation1.phpt
index 58cb3d2d11..970d5da330 100644
--- a/ext/standard/tests/strings/join_variation1.phpt
+++ b/ext/standard/tests/strings/join_variation1.phpt
@@ -125,15 +125,15 @@ string(29) "element11.07654321E-9element2"
-- Iteration 9 --
string(19) "element10.5element2"
-- Iteration 10 --
-join() expects argument #1 ($glue) to be of type string, array given
+join(): Argument #1 ($glue) must be of type string, array given
-- Iteration 11 --
-join() expects argument #1 ($glue) to be of type string, array given
+join(): Argument #1 ($glue) must be of type string, array given
-- Iteration 12 --
-join() expects argument #1 ($glue) to be of type string, array given
+join(): Argument #1 ($glue) must be of type string, array given
-- Iteration 13 --
-join() expects argument #1 ($glue) to be of type string, array given
+join(): Argument #1 ($glue) must be of type string, array given
-- Iteration 14 --
-join() expects argument #1 ($glue) to be of type string, array given
+join(): Argument #1 ($glue) must be of type string, array given
-- Iteration 15 --
string(17) "element11element2"
-- Iteration 16 --
@@ -153,7 +153,7 @@ string(16) "element1element2"
-- Iteration 23 --
string(16) "element1element2"
-- Iteration 24 --
-join() expects argument #1 ($glue) to be of type string|array, resource given
+join(): Argument #1 ($glue) must be of type string|array, resource given
-- Iteration 25 --
string(16) "element1element2"
-- Iteration 26 --
diff --git a/ext/standard/tests/strings/join_variation2.phpt b/ext/standard/tests/strings/join_variation2.phpt
index fe52aebeb7..37d9b64e1d 100644
--- a/ext/standard/tests/strings/join_variation2.phpt
+++ b/ext/standard/tests/strings/join_variation2.phpt
@@ -108,49 +108,49 @@ echo "Done\n";
--- Testing join() by supplying different values for 'pieces' argument ---
-- Iteration 1 --
-join() expects argument #2 ($pieces) to be of type array, int given
+join(): Argument #2 ($pieces) must be of type array, int given
-- Iteration 2 --
-join() expects argument #2 ($pieces) to be of type array, int given
+join(): Argument #2 ($pieces) must be of type array, int given
-- Iteration 3 --
-join() expects argument #2 ($pieces) to be of type array, int given
+join(): Argument #2 ($pieces) must be of type array, int given
-- Iteration 4 --
-join() expects argument #2 ($pieces) to be of type array, int given
+join(): Argument #2 ($pieces) must be of type array, int given
-- Iteration 5 --
-join() expects argument #2 ($pieces) to be of type array, float given
+join(): Argument #2 ($pieces) must be of type array, float given
-- Iteration 6 --
-join() expects argument #2 ($pieces) to be of type array, float given
+join(): Argument #2 ($pieces) must be of type array, float given
-- Iteration 7 --
-join() expects argument #2 ($pieces) to be of type array, float given
+join(): Argument #2 ($pieces) must be of type array, float given
-- Iteration 8 --
-join() expects argument #2 ($pieces) to be of type array, float given
+join(): Argument #2 ($pieces) must be of type array, float given
-- Iteration 9 --
-join() expects argument #2 ($pieces) to be of type array, float given
+join(): Argument #2 ($pieces) must be of type array, float given
-- Iteration 10 --
-join() expects argument #2 ($pieces) to be of type array, bool given
+join(): Argument #2 ($pieces) must be of type array, bool given
-- Iteration 11 --
-join() expects argument #2 ($pieces) to be of type array, bool given
+join(): Argument #2 ($pieces) must be of type array, bool given
-- Iteration 12 --
-join() expects argument #2 ($pieces) to be of type array, bool given
+join(): Argument #2 ($pieces) must be of type array, bool given
-- Iteration 13 --
-join() expects argument #2 ($pieces) to be of type array, bool given
+join(): Argument #2 ($pieces) must be of type array, bool given
-- Iteration 14 --
-join() expects argument #2 ($pieces) to be of type array, string given
+join(): Argument #2 ($pieces) must be of type array, string given
-- Iteration 15 --
-join() expects argument #2 ($pieces) to be of type array, string given
+join(): Argument #2 ($pieces) must be of type array, string given
-- Iteration 16 --
-join() expects argument #2 ($pieces) to be of type array, object given
+join(): Argument #2 ($pieces) must be of type array, object given
-- Iteration 17 --
-join() expects argument #2 ($pieces) to be of type array, string given
+join(): Argument #2 ($pieces) must be of type array, string given
-- Iteration 18 --
-join() expects argument #2 ($pieces) to be of type array, string given
+join(): Argument #2 ($pieces) must be of type array, string given
-- Iteration 19 --
-join() expects argument #2 ($pieces) to be of type array, null given
+join(): Argument #2 ($pieces) must be of type array, null given
-- Iteration 20 --
-join() expects argument #2 ($pieces) to be of type array, null given
+join(): Argument #2 ($pieces) must be of type array, null given
-- Iteration 21 --
-join() expects argument #2 ($pieces) to be of type array, resource given
+join(): Argument #2 ($pieces) must be of type array, resource given
-- Iteration 22 --
-join() expects argument #2 ($pieces) to be of type array, null given
+join(): Argument #2 ($pieces) must be of type array, null given
-- Iteration 23 --
-join() expects argument #2 ($pieces) to be of type array, null given
+join(): Argument #2 ($pieces) must be of type array, null given
Done
diff --git a/ext/standard/tests/strings/join_variation4.phpt b/ext/standard/tests/strings/join_variation4.phpt
index 25ea766421..162576bb93 100644
--- a/ext/standard/tests/strings/join_variation4.phpt
+++ b/ext/standard/tests/strings/join_variation4.phpt
Binary files differ
diff --git a/ext/standard/tests/strings/join_variation5.phpt b/ext/standard/tests/strings/join_variation5.phpt
index 63e884e438..60c1d681e1 100644
--- a/ext/standard/tests/strings/join_variation5.phpt
+++ b/ext/standard/tests/strings/join_variation5.phpt
@@ -41,7 +41,7 @@ Warning: Array to string conversion in %s on line %d
Warning: Array to string conversion in %s on line %d
string(27) "ArrayTESTArrayTESTPHPTEST50"
-join() expects argument #1 ($glue) to be of type string, array given
+join(): Argument #1 ($glue) must be of type string, array given
Warning: Array to string conversion in %s on line %d
diff --git a/ext/standard/tests/strings/printf_variation1.phpt b/ext/standard/tests/strings/printf_variation1.phpt
index 61dd6b3aa4..8fed7737fc 100644
--- a/ext/standard/tests/strings/printf_variation1.phpt
+++ b/ext/standard/tests/strings/printf_variation1.phpt
@@ -198,29 +198,29 @@ int(3)
int(3)
-- Iteration 10 --
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
-- Iteration 11 --
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
-- Iteration 12 --
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
-- Iteration 13 --
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
-- Iteration 14 --
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
-printf() expects argument #1 ($format) to be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
+printf(): Argument #1 ($format) must be of type string, array given
-- Iteration 15 --
@@ -311,6 +311,6 @@ int(0)
int(0)
-- Iteration 26 --
-printf() expects argument #1 ($format) to be of type string, resource given
-printf() expects argument #1 ($format) to be of type string, resource given
-printf() expects argument #1 ($format) to be of type string, resource given
+printf(): Argument #1 ($format) must be of type string, resource given
+printf(): Argument #1 ($format) must be of type string, resource given
+printf(): Argument #1 ($format) must be of type string, resource given
diff --git a/ext/standard/tests/strings/sprintf_variation1.phpt b/ext/standard/tests/strings/sprintf_variation1.phpt
index b1f2395003..56ff4f0b4c 100644
--- a/ext/standard/tests/strings/sprintf_variation1.phpt
+++ b/ext/standard/tests/strings/sprintf_variation1.phpt
@@ -166,29 +166,29 @@ string(3) "0.5"
string(3) "0.5"
-- Iteration 10 --
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 11 --
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 12 --
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 13 --
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 14 --
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
-sprintf() expects argument #1 ($format) to be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
+sprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 15 --
string(0) ""
@@ -246,7 +246,7 @@ string(0) ""
string(0) ""
-- Iteration 26 --
-sprintf() expects argument #1 ($format) to be of type string, resource given
-sprintf() expects argument #1 ($format) to be of type string, resource given
-sprintf() expects argument #1 ($format) to be of type string, resource given
+sprintf(): Argument #1 ($format) must be of type string, resource given
+sprintf(): Argument #1 ($format) must be of type string, resource given
+sprintf(): Argument #1 ($format) must be of type string, resource given
Done
diff --git a/ext/standard/tests/strings/str_pad_variation1.phpt b/ext/standard/tests/strings/str_pad_variation1.phpt
index b093fb691e..25b062d7a1 100644
--- a/ext/standard/tests/strings/str_pad_variation1.phpt
+++ b/ext/standard/tests/strings/str_pad_variation1.phpt
@@ -36,6 +36,6 @@ var_dump( str_pad($input, $php_int_max_pad_length) );
?>
--EXPECTF--
*** Testing str_pad() function: with large value for for 'pad_length' argument ***
-str_pad() expects argument #2 ($pad_length) to be of type int, float given
+str_pad(): Argument #2 ($pad_length) must be of type int, float given
Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %s on line %d
diff --git a/ext/standard/tests/strings/str_replace_basic.phpt b/ext/standard/tests/strings/str_replace_basic.phpt
index 1a0b7d5531..7de2d498bb 100644
--- a/ext/standard/tests/strings/str_replace_basic.phpt
+++ b/ext/standard/tests/strings/str_replace_basic.phpt
@@ -47,5 +47,5 @@ string(1) "q"
int(1)
string(0) ""
int(0)
-str_replace() expects argument #3 ($subject) to be of type string|array, resource given
+str_replace(): Argument #3 ($subject) must be of type string|array, resource given
resource(%d) of type (stream)
diff --git a/ext/standard/tests/strings/str_replace_variation3.phpt b/ext/standard/tests/strings/str_replace_variation3.phpt
index d5d56b8208..2245ca422c 100644
--- a/ext/standard/tests/strings/str_replace_variation3.phpt
+++ b/ext/standard/tests/strings/str_replace_variation3.phpt
@@ -200,8 +200,8 @@ array(2) {
int(1)
-- Testing Resources --
-str_replace() expects argument #3 ($subject) to be of type string|array, resource given
-str_replace() expects argument #3 ($subject) to be of type string|array, resource given
+str_replace(): Argument #3 ($subject) must be of type string|array, resource given
+str_replace(): Argument #3 ($subject) must be of type string|array, resource given
-- Testing a longer and heredoc string --
string(623) "FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
diff --git a/ext/standard/tests/strings/stripos_variation10.phpt b/ext/standard/tests/strings/stripos_variation10.phpt
index f36c23dfbd..92592de0f5 100644
--- a/ext/standard/tests/strings/stripos_variation10.phpt
+++ b/ext/standard/tests/strings/stripos_variation10.phpt
@@ -126,19 +126,19 @@ bool(false)
int(17)
-- Iteration 10 --
-stripos() expects argument #2 ($needle) to be of type string, array given
+stripos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 11 --
-stripos() expects argument #2 ($needle) to be of type string, array given
+stripos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 12 --
-stripos() expects argument #2 ($needle) to be of type string, array given
+stripos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 13 --
-stripos() expects argument #2 ($needle) to be of type string, array given
+stripos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 14 --
-stripos() expects argument #2 ($needle) to be of type string, array given
+stripos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 15 --
int(9)
@@ -168,7 +168,7 @@ int(0)
int(0)
-- Iteration 24 --
-stripos() expects argument #2 ($needle) to be of type string, resource given
+stripos(): Argument #2 ($needle) must be of type string, resource given
-- Iteration 25 --
int(0)
diff --git a/ext/standard/tests/strings/stripos_variation11.phpt b/ext/standard/tests/strings/stripos_variation11.phpt
index 9746cdb59a..9b7ff24350 100644
--- a/ext/standard/tests/strings/stripos_variation11.phpt
+++ b/ext/standard/tests/strings/stripos_variation11.phpt
@@ -126,20 +126,20 @@ bool(false)
int(0)
bool(false)
-- Iteration 10 --
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 11 --
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 12 --
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 13 --
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 14 --
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 15 --
int(0)
bool(false)
@@ -168,8 +168,8 @@ ValueError: Offset not contained in string
int(0)
ValueError: Offset not contained in string
-- Iteration 24 --
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, resource given
-TypeError: stripos() expects argument #1 ($haystack) to be of type string, resource given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, resource given
+TypeError: stripos(): Argument #1 ($haystack) must be of type string, resource given
-- Iteration 25 --
int(0)
ValueError: Offset not contained in string
diff --git a/ext/standard/tests/strings/stristr_variation2.phpt b/ext/standard/tests/strings/stristr_variation2.phpt
index 7c25c4032d..27cecec3c2 100644
--- a/ext/standard/tests/strings/stristr_variation2.phpt
+++ b/ext/standard/tests/strings/stristr_variation2.phpt
@@ -100,11 +100,11 @@ bool(false)
-- Iteration 7 --
bool(false)
-- Iteration 8 --
-stristr() expects argument #2 ($needle) to be of type string, array given
+stristr(): Argument #2 ($needle) must be of type string, array given
-- Iteration 9 --
-stristr() expects argument #2 ($needle) to be of type string, array given
+stristr(): Argument #2 ($needle) must be of type string, array given
-- Iteration 10 --
-stristr() expects argument #2 ($needle) to be of type string, array given
+stristr(): Argument #2 ($needle) must be of type string, array given
-- Iteration 11 --
bool(false)
-- Iteration 12 --
@@ -120,7 +120,7 @@ string(11) "Hello World"
-- Iteration 17 --
bool(false)
-- Iteration 18 --
-stristr() expects argument #2 ($needle) to be of type string, resource given
+stristr(): Argument #2 ($needle) must be of type string, resource given
-- Iteration 19 --
string(11) "Hello World"
-- Iteration 20 --
diff --git a/ext/standard/tests/strings/strpos.phpt b/ext/standard/tests/strings/strpos.phpt
index 1929b83f74..59162e1822 100644
--- a/ext/standard/tests/strings/strpos.phpt
+++ b/ext/standard/tests/strings/strpos.phpt
Binary files differ
diff --git a/ext/standard/tests/strings/strrchr_variation10.phpt b/ext/standard/tests/strings/strrchr_variation10.phpt
index 04e96f9714..269c2e09cc 100644
--- a/ext/standard/tests/strings/strrchr_variation10.phpt
+++ b/ext/standard/tests/strings/strrchr_variation10.phpt
@@ -154,15 +154,15 @@ string(2) "10"
-- Iteration 9 --
bool(false)
-- Iteration 10 --
-strrchr() expects argument #2 ($needle) to be of type string, array given
+strrchr(): Argument #2 ($needle) must be of type string, array given
-- Iteration 11 --
-strrchr() expects argument #2 ($needle) to be of type string, array given
+strrchr(): Argument #2 ($needle) must be of type string, array given
-- Iteration 12 --
-strrchr() expects argument #2 ($needle) to be of type string, array given
+strrchr(): Argument #2 ($needle) must be of type string, array given
-- Iteration 13 --
-strrchr() expects argument #2 ($needle) to be of type string, array given
+strrchr(): Argument #2 ($needle) must be of type string, array given
-- Iteration 14 --
-strrchr() expects argument #2 ($needle) to be of type string, array given
+strrchr(): Argument #2 ($needle) must be of type string, array given
-- Iteration 15 --
bool(false)
-- Iteration 16 --
@@ -182,7 +182,7 @@ bool(false)
-- Iteration 23 --
bool(false)
-- Iteration 24 --
-strrchr() expects argument #2 ($needle) to be of type string, resource given
+strrchr(): Argument #2 ($needle) must be of type string, resource given
-- Iteration 25 --
bool(false)
-- Iteration 26 --
diff --git a/ext/standard/tests/strings/strrchr_variation11.phpt b/ext/standard/tests/strings/strrchr_variation11.phpt
index 33a34e21ab..7944ff82c6 100644
--- a/ext/standard/tests/strings/strrchr_variation11.phpt
+++ b/ext/standard/tests/strings/strrchr_variation11.phpt
@@ -113,15 +113,15 @@ string(4) "1E-9"
-- Iteration 9 --
string(3) "0.5"
-- Iteration 10 --
-strrchr() expects argument #1 ($haystack) to be of type string, array given
+strrchr(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 11 --
-strrchr() expects argument #1 ($haystack) to be of type string, array given
+strrchr(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 12 --
-strrchr() expects argument #1 ($haystack) to be of type string, array given
+strrchr(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 13 --
-strrchr() expects argument #1 ($haystack) to be of type string, array given
+strrchr(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 14 --
-strrchr() expects argument #1 ($haystack) to be of type string, array given
+strrchr(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 15 --
string(1) "1"
-- Iteration 16 --
@@ -141,7 +141,7 @@ bool(false)
-- Iteration 23 --
bool(false)
-- Iteration 24 --
-strrchr() expects argument #1 ($haystack) to be of type string, resource given
+strrchr(): Argument #1 ($haystack) must be of type string, resource given
-- Iteration 25 --
bool(false)
-- Iteration 26 --
diff --git a/ext/standard/tests/strings/strripos_offset.phpt b/ext/standard/tests/strings/strripos_offset.phpt
index f2673ded5b..39d0bf16f8 100644
--- a/ext/standard/tests/strings/strripos_offset.phpt
+++ b/ext/standard/tests/strings/strripos_offset.phpt
@@ -36,7 +36,7 @@ try {
echo "Done\n";
?>
--EXPECT--
-strripos() expects argument #3 ($offset) to be of type int, float given
+strripos(): Argument #3 ($offset) must be of type int, float given
Offset not contained in string
Offset not contained in string
Offset not contained in string
diff --git a/ext/standard/tests/strings/strrpos_offset.phpt b/ext/standard/tests/strings/strrpos_offset.phpt
index 21f0ea7745..13df98e71c 100644
--- a/ext/standard/tests/strings/strrpos_offset.phpt
+++ b/ext/standard/tests/strings/strrpos_offset.phpt
@@ -36,7 +36,7 @@ try {
echo "Done\n";
?>
--EXPECT--
-strrpos() expects argument #3 ($offset) to be of type int, float given
+strrpos(): Argument #3 ($offset) must be of type int, float given
Offset not contained in string
Offset not contained in string
Offset not contained in string
diff --git a/ext/standard/tests/strings/strrpos_variation10.phpt b/ext/standard/tests/strings/strrpos_variation10.phpt
index c14c4643c1..b16d946f6c 100644
--- a/ext/standard/tests/strings/strrpos_variation10.phpt
+++ b/ext/standard/tests/strings/strrpos_variation10.phpt
@@ -116,15 +116,15 @@ bool(false)
-- Iteration 9 --
int(28)
-- Iteration 10 --
-strrpos() expects argument #2 ($needle) to be of type string, array given
+strrpos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 11 --
-strrpos() expects argument #2 ($needle) to be of type string, array given
+strrpos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 12 --
-strrpos() expects argument #2 ($needle) to be of type string, array given
+strrpos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 13 --
-strrpos() expects argument #2 ($needle) to be of type string, array given
+strrpos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 14 --
-strrpos() expects argument #2 ($needle) to be of type string, array given
+strrpos(): Argument #2 ($needle) must be of type string, array given
-- Iteration 15 --
int(41)
-- Iteration 16 --
@@ -144,7 +144,7 @@ int(87)
-- Iteration 23 --
int(87)
-- Iteration 24 --
-strrpos() expects argument #2 ($needle) to be of type string, resource given
+strrpos(): Argument #2 ($needle) must be of type string, resource given
-- Iteration 25 --
int(87)
-- Iteration 26 --
diff --git a/ext/standard/tests/strings/strrpos_variation11.phpt b/ext/standard/tests/strings/strrpos_variation11.phpt
index 24d9828581..df0aac0153 100644
--- a/ext/standard/tests/strings/strrpos_variation11.phpt
+++ b/ext/standard/tests/strings/strrpos_variation11.phpt
@@ -127,20 +127,20 @@ bool(false)
int(0)
bool(false)
-- Iteration 10 --
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 11 --
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 12 --
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 13 --
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 14 --
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, array given
-- Iteration 15 --
int(0)
bool(false)
@@ -169,8 +169,8 @@ ValueError: Offset not contained in string
int(0)
ValueError: Offset not contained in string
-- Iteration 24 --
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, resource given
-TypeError: strrpos() expects argument #1 ($haystack) to be of type string, resource given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, resource given
+TypeError: strrpos(): Argument #1 ($haystack) must be of type string, resource given
-- Iteration 25 --
int(0)
ValueError: Offset not contained in string
diff --git a/ext/standard/tests/strings/strtr_variation6.phpt b/ext/standard/tests/strings/strtr_variation6.phpt
index 0a44abbb80..785891e422 100644
--- a/ext/standard/tests/strings/strtr_variation6.phpt
+++ b/ext/standard/tests/strings/strtr_variation6.phpt
@@ -125,7 +125,7 @@ string(6) "012atm"
-- Iteration 16 --
string(6) "012ttm"
-- Iteration 17 --
-strtr() expects argument #2 ($from) to be of type string|array, resource given
+strtr(): Argument #2 ($from) must be of type string|array, resource given
-- Iteration 18 --
string(6) "012atm"
-- Iteration 19 --
diff --git a/ext/standard/tests/strings/strtr_variation8.phpt b/ext/standard/tests/strings/strtr_variation8.phpt
index 5dc910e9be..131682b9a8 100644
--- a/ext/standard/tests/strings/strtr_variation8.phpt
+++ b/ext/standard/tests/strings/strtr_variation8.phpt
@@ -142,7 +142,7 @@ If two arguments are passed, the second argument must be an array
If two arguments are passed, the second argument must be an array
-- Iteration 17 --
-strtr() expects argument #2 ($from) to be of type string|array, resource given
+strtr(): Argument #2 ($from) must be of type string|array, resource given
-- Iteration 18 --
If two arguments are passed, the second argument must be an array
diff --git a/ext/standard/tests/strings/vfprintf_error3.phpt b/ext/standard/tests/strings/vfprintf_error3.phpt
index 72866ef1a8..16dba223c3 100644
--- a/ext/standard/tests/strings/vfprintf_error3.phpt
+++ b/ext/standard/tests/strings/vfprintf_error3.phpt
@@ -43,6 +43,6 @@ unlink( $file );
?>
--EXPECT--
-- Testing vfprintf() function with wrong variable types as argument --
-vfprintf() expects argument #2 ($format) to be of type string, array given
+vfprintf(): Argument #2 ($format) must be of type string, array given
int(9)
string(9) "Foo fake"
diff --git a/ext/standard/tests/strings/vfprintf_error4.phpt b/ext/standard/tests/strings/vfprintf_error4.phpt
index 1279ac3904..4c5fd92d78 100644
--- a/ext/standard/tests/strings/vfprintf_error4.phpt
+++ b/ext/standard/tests/strings/vfprintf_error4.phpt
@@ -40,5 +40,5 @@ unlink( $file );
?>
--EXPECT--
-- Testing vfprintf() function with other strangeties --
-vfprintf() expects argument #1 ($handle) to be of type resource, string given
+vfprintf(): Argument #1 ($handle) must be of type resource, string given
Error found: Argument number must be greater than zero.
diff --git a/ext/standard/tests/strings/vfprintf_variation20.phpt b/ext/standard/tests/strings/vfprintf_variation20.phpt
index d181e50eac..f03b6879b1 100644
--- a/ext/standard/tests/strings/vfprintf_variation20.phpt
+++ b/ext/standard/tests/strings/vfprintf_variation20.phpt
@@ -133,19 +133,19 @@ unlink($data_file);
-- Iteration 9 --
0.5
-- Iteration 10 --
-vfprintf() expects argument #2 ($format) to be of type string, array given
+vfprintf(): Argument #2 ($format) must be of type string, array given
-- Iteration 11 --
-vfprintf() expects argument #2 ($format) to be of type string, array given
+vfprintf(): Argument #2 ($format) must be of type string, array given
-- Iteration 12 --
-vfprintf() expects argument #2 ($format) to be of type string, array given
+vfprintf(): Argument #2 ($format) must be of type string, array given
-- Iteration 13 --
-vfprintf() expects argument #2 ($format) to be of type string, array given
+vfprintf(): Argument #2 ($format) must be of type string, array given
-- Iteration 14 --
-vfprintf() expects argument #2 ($format) to be of type string, array given
+vfprintf(): Argument #2 ($format) must be of type string, array given
-- Iteration 15 --
@@ -170,4 +170,4 @@ object
-- Iteration 25 --
-- Iteration 26 --
-vfprintf() expects argument #2 ($format) to be of type string, resource given
+vfprintf(): Argument #2 ($format) must be of type string, resource given
diff --git a/ext/standard/tests/strings/vprintf_variation1.phpt b/ext/standard/tests/strings/vprintf_variation1.phpt
index 51c3c8985e..742c9cfadc 100644
--- a/ext/standard/tests/strings/vprintf_variation1.phpt
+++ b/ext/standard/tests/strings/vprintf_variation1.phpt
@@ -143,19 +143,19 @@ int(13)
int(3)
-- Iteration 10 --
-vprintf() expects argument #1 ($format) to be of type string, array given
+vprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 11 --
-vprintf() expects argument #1 ($format) to be of type string, array given
+vprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 12 --
-vprintf() expects argument #1 ($format) to be of type string, array given
+vprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 13 --
-vprintf() expects argument #1 ($format) to be of type string, array given
+vprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 14 --
-vprintf() expects argument #1 ($format) to be of type string, array given
+vprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 15 --
@@ -202,4 +202,4 @@ int(0)
int(0)
-- Iteration 26 --
-vprintf() expects argument #1 ($format) to be of type string, resource given
+vprintf(): Argument #1 ($format) must be of type string, resource given
diff --git a/ext/standard/tests/strings/vsprintf_variation1.phpt b/ext/standard/tests/strings/vsprintf_variation1.phpt
index 15155a0626..5366b40325 100644
--- a/ext/standard/tests/strings/vsprintf_variation1.phpt
+++ b/ext/standard/tests/strings/vsprintf_variation1.phpt
@@ -132,19 +132,19 @@ string(13) "1.07654321E-9"
string(3) "0.5"
-- Iteration 10 --
-vsprintf() expects argument #1 ($format) to be of type string, array given
+vsprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 11 --
-vsprintf() expects argument #1 ($format) to be of type string, array given
+vsprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 12 --
-vsprintf() expects argument #1 ($format) to be of type string, array given
+vsprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 13 --
-vsprintf() expects argument #1 ($format) to be of type string, array given
+vsprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 14 --
-vsprintf() expects argument #1 ($format) to be of type string, array given
+vsprintf(): Argument #1 ($format) must be of type string, array given
-- Iteration 15 --
string(0) ""
@@ -180,5 +180,5 @@ string(0) ""
string(0) ""
-- Iteration 26 --
-vsprintf() expects argument #1 ($format) to be of type string, resource given
+vsprintf(): Argument #1 ($format) must be of type string, resource given
Done