summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-09 11:06:57 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-08-09 22:03:36 +0200
commit7aacc705d03887c64a90489e367f4c40b46aa3c2 (patch)
treeec7388f82b37e8611c7513aa95678d7feae82329 /ext
parent05478e985eb50c473054b4f1bf174f48ead78784 (diff)
downloadphp-git-7aacc705d03887c64a90489e367f4c40b46aa3c2.tar.gz
Add many missing closing PHP tags to tests
Closes GH-5958
Diffstat (limited to 'ext')
-rw-r--r--ext/bcmath/tests/bug60377.phpt1
-rw-r--r--ext/bz2/tests/bug51997.phpt1
-rw-r--r--ext/bz2/tests/with_files.phpt1
-rw-r--r--ext/bz2/tests/with_strings.phpt1
-rw-r--r--ext/calendar/tests/bug53574_1.phpt1
-rw-r--r--ext/calendar/tests/bug53574_2.phpt1
-rw-r--r--ext/calendar/tests/bug54254.phpt1
-rw-r--r--ext/calendar/tests/bug55797_1.phpt1
-rw-r--r--ext/calendar/tests/bug55797_2.phpt1
-rw-r--r--ext/calendar/tests/jdtojewish64.phpt1
-rw-r--r--ext/curl/tests/bug52202.phpt1
-rw-r--r--ext/curl/tests/bug52827.phpt1
-rw-r--r--ext/curl/tests/curl_CURLOPT_READDATA.phpt1
-rw-r--r--ext/curl/tests/curl_reset.phpt2
-rw-r--r--ext/date/tests/DateInterval_days_prop1.phpt1
-rw-r--r--ext/date/tests/bug32588.phpt1
-rw-r--r--ext/date/tests/bug45543.phpt1
-rw-r--r--ext/date/tests/bug45682.phpt1
-rw-r--r--ext/date/tests/bug46268.phpt1
-rw-r--r--ext/date/tests/bug48097.phpt1
-rw-r--r--ext/date/tests/bug48276.phpt1
-rw-r--r--ext/date/tests/bug48678.phpt1
-rw-r--r--ext/date/tests/bug50680.phpt1
-rw-r--r--ext/date/tests/bug51866.phpt1
-rw-r--r--ext/date/tests/bug52738.phpt1
-rw-r--r--ext/date/tests/bug54316.phpt1
-rw-r--r--ext/date/tests/bug54340.phpt1
-rw-r--r--ext/date/tests/bug62500.phpt1
-rw-r--r--ext/date/tests/bug62852.phpt1
-rw-r--r--ext/date/tests/bug62852_var2.phpt1
-rw-r--r--ext/date/tests/bug62852_var3.phpt1
-rw-r--r--ext/date/tests/bug62896.phpt1
-rw-r--r--ext/date/tests/bug63435.phpt1
-rw-r--r--ext/date/tests/bug65371.phpt1
-rw-r--r--ext/date/tests/bug67251.phpt1
-rw-r--r--ext/date/tests/bug67253.phpt1
-rw-r--r--ext/date/tests/bug67308.phpt1
-rw-r--r--ext/date/tests/bug68078.phpt1
-rw-r--r--ext/date/tests/bug68078_negative.phpt1
-rw-r--r--ext/date/tests/bug68406.phpt1
-rw-r--r--ext/date/tests/bug68669.phpt1
-rw-r--r--ext/date/tests/bug69089.phpt1
-rw-r--r--ext/date/tests/bug71525.phpt1
-rw-r--r--ext/dom/tests/DOM4_DOMNode_removeDanglingElement.phpt1
-rw-r--r--ext/dom/tests/DOM4_ParentNode_append_invalidtypes.phpt1
-rw-r--r--ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt1
-rw-r--r--ext/dom/tests/DOMDocument_saveHTML_variant2.phpt1
-rw-r--r--ext/dom/tests/DOMDocument_savexml_basic.phpt1
-rw-r--r--ext/dom/tests/DOMNode_cloneNode_basic.phpt1
-rw-r--r--ext/dom/tests/DOMNode_removeChild_basic.phpt1
-rw-r--r--ext/dom/tests/bug54382.phpt1
-rw-r--r--ext/dom/tests/bug61858.phpt1
-rw-r--r--ext/dom/tests/bug73907.phpt1
-rw-r--r--ext/dom/tests/bug76738.phpt1
-rw-r--r--ext/dom/tests/dom004.phpt1
-rw-r--r--ext/dom/tests/dom005.phpt1
-rw-r--r--ext/dom/tests/dom006.phpt1
-rw-r--r--ext/dom/tests/dom007.phpt1
-rw-r--r--ext/dom/tests/dom_comment_basic.phpt1
-rw-r--r--ext/dom/tests/dom_comment_variation.phpt1
-rw-r--r--ext/dom/tests/domobject_debug_handler.phpt1
-rw-r--r--ext/exif/tests/bug50845.phpt1
-rw-r--r--ext/ffi/tests/list.phpt1
-rw-r--r--ext/fileinfo/tests/bug61173.phpt1
-rw-r--r--ext/fileinfo/tests/bug74170.phpt1
-rw-r--r--ext/filter/tests/052.phpt1
-rw-r--r--ext/filter/tests/057.phpt1
-rw-r--r--ext/filter/tests/bug51192.phpt1
-rw-r--r--ext/filter/tests/bug52929.phpt1
-rw-r--r--ext/filter/tests/bug64441.phpt1
-rw-r--r--ext/filter/tests/bug67167.01.phpt1
-rw-r--r--ext/filter/tests/bug67167.02.phpt1
-rw-r--r--ext/gd/tests/imagecolorstotal_basic.phpt1
-rw-r--r--ext/gettext/tests/gettext_bindtextdomain-path.phpt1
-rw-r--r--ext/gettext/tests/gettext_dcgettext.phpt1
-rw-r--r--ext/gettext/tests/gettext_dngettext-plural.phpt1
-rw-r--r--ext/gmp/tests/gmp_export.phpt1
-rw-r--r--ext/gmp/tests/gmp_import.phpt1
-rw-r--r--ext/hash/tests/hash_hmac_algos.phpt1
-rw-r--r--ext/hash/tests/haval.phpt1
-rw-r--r--ext/hash/tests/hmac-md5.phpt1
-rw-r--r--ext/hash/tests/md2.phpt1
-rw-r--r--ext/hash/tests/md4.phpt1
-rw-r--r--ext/hash/tests/md5.phpt1
-rw-r--r--ext/hash/tests/new-context.phpt1
-rw-r--r--ext/hash/tests/reuse.phpt1
-rw-r--r--ext/hash/tests/ripemd128.phpt1
-rw-r--r--ext/hash/tests/ripemd160.phpt1
-rw-r--r--ext/hash/tests/ripemd256.phpt1
-rw-r--r--ext/hash/tests/ripemd320.phpt1
-rw-r--r--ext/hash/tests/sha1.phpt1
-rw-r--r--ext/hash/tests/sha224.phpt1
-rw-r--r--ext/hash/tests/sha256.phpt1
-rw-r--r--ext/hash/tests/sha3.phpt1
-rw-r--r--ext/hash/tests/sha384.phpt1
-rw-r--r--ext/hash/tests/sha512-224.phpt1
-rw-r--r--ext/hash/tests/sha512-256.phpt1
-rw-r--r--ext/hash/tests/sha512.phpt1
-rw-r--r--ext/iconv/tests/bug48289.phpt1
-rw-r--r--ext/iconv/tests/iconv_ini_encoding.phpt1
-rw-r--r--ext/iconv/tests/iconv_mime_decode.phpt1
-rw-r--r--ext/imap/tests/bug53377.phpt1
-rw-r--r--ext/intl/tests/breakiter___construct.phpt1
-rw-r--r--ext/intl/tests/breakiter___construct_error.phpt1
-rw-r--r--ext/intl/tests/breakiter_clone_basic.phpt1
-rw-r--r--ext/intl/tests/breakiter_factories_basic.phpt1
-rw-r--r--ext/intl/tests/breakiter_first_basic.phpt1
-rw-r--r--ext/intl/tests/breakiter_getText_basic.phpt1
-rw-r--r--ext/intl/tests/breakiter_last_basic.phpt1
-rw-r--r--ext/intl/tests/breakiter_setText_basic.phpt1
-rw-r--r--ext/intl/tests/bug55562.phpt1
-rw-r--r--ext/intl/tests/bug60192-compare.phpt1
-rw-r--r--ext/intl/tests/bug60192-getlocale.phpt1
-rw-r--r--ext/intl/tests/bug60192-getsortkey.phpt1
-rw-r--r--ext/intl/tests/bug60192-sort.phpt1
-rw-r--r--ext/intl/tests/bug60192-sortwithsortkeys.phpt1
-rw-r--r--ext/intl/tests/bug61487.phpt1
-rw-r--r--ext/intl/tests/bug62017.phpt1
-rw-r--r--ext/intl/tests/bug62070.phpt1
-rw-r--r--ext/intl/tests/bug62070_2.phpt1
-rw-r--r--ext/intl/tests/bug62070_3.phpt1
-rw-r--r--ext/intl/tests/bug62081.phpt1
-rw-r--r--ext/intl/tests/bug62082.phpt1
-rw-r--r--ext/intl/tests/bug62083.phpt1
-rw-r--r--ext/intl/tests/bug62915-2.phpt1
-rw-r--r--ext/intl/tests/bug62915.phpt1
-rw-r--r--ext/intl/tests/bug68447.phpt1
-rw-r--r--ext/intl/tests/bug72241.phpt1
-rw-r--r--ext/intl/tests/calendar_add_error.phpt1
-rw-r--r--ext/intl/tests/calendar_before_after_error.phpt1
-rw-r--r--ext/intl/tests/calendar_clear_error.phpt1
-rw-r--r--ext/intl/tests/calendar_const_field_field_count.phpt1
-rw-r--r--ext/intl/tests/calendar_createInstance_error.phpt1
-rw-r--r--ext/intl/tests/calendar_equals_error.phpt1
-rw-r--r--ext/intl/tests/calendar_fieldDifference_error.phpt1
-rw-r--r--ext/intl/tests/calendar_fromDateTime_basic.phpt1
-rw-r--r--ext/intl/tests/calendar_fromDateTime_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getDayOfWeekType_error.phpt2
-rw-r--r--ext/intl/tests/calendar_getErrorCode_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getErrorMessage_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getLocale_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getTimeZone_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getTime_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getType_error.phpt1
-rw-r--r--ext/intl/tests/calendar_getWeekendTransition_error.phpt1
-rw-r--r--ext/intl/tests/calendar_get_Least_Greatest_Minimum_Maximum_error.phpt1
-rw-r--r--ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt1
-rw-r--r--ext/intl/tests/calendar_inDaylightTime_error.phpt1
-rw-r--r--ext/intl/tests/calendar_isEquivalentTo_error.phpt1
-rw-r--r--ext/intl/tests/calendar_isLenient_error.phpt1
-rw-r--r--ext/intl/tests/calendar_isSet_error.phpt2
-rw-r--r--ext/intl/tests/calendar_isWeekend_error.phpt1
-rw-r--r--ext/intl/tests/calendar_roll_error.phpt1
-rw-r--r--ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt1
-rw-r--r--ext/intl/tests/calendar_setLenient_error.phpt1
-rw-r--r--ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt1
-rw-r--r--ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt1
-rw-r--r--ext/intl/tests/calendar_setTimeZone_error.phpt1
-rw-r--r--ext/intl/tests/calendar_setTimeZone_error2.phpt1
-rw-r--r--ext/intl/tests/calendar_setTimeZone_variation2.phpt1
-rw-r--r--ext/intl/tests/calendar_setTime_error.phpt1
-rw-r--r--ext/intl/tests/calendar_set_error.phpt1
-rw-r--r--ext/intl/tests/calendar_toDateTime_error.phpt1
-rw-r--r--ext/intl/tests/dateformat_clone_bad_obj.phpt1
-rw-r--r--ext/intl/tests/dateformat_format_relative.phpt1
-rw-r--r--ext/intl/tests/dateformat_invalid_timezone.phpt1
-rw-r--r--ext/intl/tests/dateformat_timezone_arg_variations.phpt1
-rw-r--r--ext/intl/tests/dateformat_timezone_arg_variations2.phpt1
-rw-r--r--ext/intl/tests/dateformat_timezone_arg_variations3.phpt1
-rw-r--r--ext/intl/tests/dateformat_timezone_arg_variations4.phpt1
-rw-r--r--ext/intl/tests/formatter_clone_bad_obj.phpt1
-rw-r--r--ext/intl/tests/gregoriancalendar___construct_error.phpt1
-rw-r--r--ext/intl/tests/idn_uts46_basic.phpt1
-rw-r--r--ext/intl/tests/ini_use_exceptions_basic.phpt1
-rw-r--r--ext/intl/tests/locale/bug74993.phpt1
-rw-r--r--ext/intl/tests/msgfmt_clone_bad_obj.phpt1
-rw-r--r--ext/intl/tests/msgfmt_format_error1.phpt1
-rw-r--r--ext/intl/tests/msgfmt_format_error2.phpt1
-rw-r--r--ext/intl/tests/msgfmt_format_error3.phpt1
-rw-r--r--ext/intl/tests/msgfmt_format_error5.phpt1
-rw-r--r--ext/intl/tests/msgfmt_format_error6.phpt1
-rw-r--r--ext/intl/tests/timezone_IDforWindowsID_basic.phpt1
-rw-r--r--ext/intl/tests/timezone_IDforWindowsID_basic2.phpt1
-rw-r--r--ext/intl/tests/timezone_countEquivalentIDs_error.phpt1
-rw-r--r--ext/intl/tests/timezone_createTimeZoneIDEnumeration_error.phpt1
-rw-r--r--ext/intl/tests/timezone_fromDateTimeZone_basic.phpt1
-rw-r--r--ext/intl/tests/timezone_getDisplayName_error.phpt1
-rw-r--r--ext/intl/tests/timezone_hasSameRules_error.phpt1
-rw-r--r--ext/intl/tests/timezone_toDateTimeZone_basic.phpt1
-rw-r--r--ext/intl/tests/timezone_toDateTimeZone_error.phpt1
-rw-r--r--ext/intl/tests/timezone_windowsID_basic.phpt1
-rw-r--r--ext/intl/tests/timezone_windowsID_basic2.phpt1
-rw-r--r--ext/intl/tests/transliterator_clone.phpt1
-rw-r--r--ext/intl/tests/transliterator_create_basic.phpt1
-rw-r--r--ext/intl/tests/transliterator_create_error.phpt1
-rw-r--r--ext/intl/tests/transliterator_create_from_rule_basic.phpt1
-rw-r--r--ext/intl/tests/transliterator_create_from_rule_error.phpt1
-rw-r--r--ext/intl/tests/transliterator_create_inverse_basic.phpt1
-rw-r--r--ext/intl/tests/transliterator_get_error_code_basic.phpt1
-rw-r--r--ext/intl/tests/transliterator_get_error_message_basic.phpt1
-rw-r--r--ext/intl/tests/transliterator_list_ids_basic.phpt1
-rw-r--r--ext/intl/tests/transliterator_property_id.phpt1
-rw-r--r--ext/intl/tests/transliterator_transliterate_basic.phpt1
-rw-r--r--ext/intl/tests/transliterator_transliterate_error.phpt1
-rw-r--r--ext/intl/tests/transliterator_transliterate_variant1.phpt1
-rw-r--r--ext/intl/tests/uconverter___construct_error.phpt1
-rw-r--r--ext/intl/tests/uconverter_bug66873.phpt1
-rw-r--r--ext/intl/tests/uconverter_enum.phpt1
-rw-r--r--ext/intl/tests/uconverter_func_basic.phpt1
-rw-r--r--ext/intl/tests/uconverter_func_subst.phpt1
-rw-r--r--ext/intl/tests/uconverter_getDestinationEncoding.phpt1
-rw-r--r--ext/intl/tests/uconverter_getSourceEncoding.phpt1
-rw-r--r--ext/intl/tests/uconverter_oop_algo.phpt1
-rw-r--r--ext/intl/tests/uconverter_oop_basic.phpt1
-rw-r--r--ext/intl/tests/uconverter_oop_callback.phpt1
-rw-r--r--ext/intl/tests/uconverter_oop_callback2.phpt1
-rw-r--r--ext/intl/tests/uconverter_oop_callback_return.phpt1
-rw-r--r--ext/intl/tests/uconverter_oop_subst.phpt1
-rw-r--r--ext/intl/tests/uconverter_setSourceEncoding.phpt1
-rw-r--r--ext/intl/uchar/tests/basic-functionality.phpt1
-rw-r--r--ext/json/tests/bug62369.phpt1
-rw-r--r--ext/json/tests/bug64874_part1.phpt1
-rw-r--r--ext/json/tests/bug64874_part2.phpt1
-rw-r--r--ext/json/tests/bug73113.phpt1
-rw-r--r--ext/json/tests/serialize.phpt1
-rw-r--r--ext/libxml/tests/bug54440.phpt1
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_error1.phpt1
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt1
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt1
-rw-r--r--ext/mbstring/tests/bug52981.phpt1
-rw-r--r--ext/mbstring/tests/bug54494.phpt1
-rw-r--r--ext/mbstring/tests/bug65045.phpt1
-rw-r--r--ext/mbstring/tests/ini_encoding.phpt1
-rw-r--r--ext/mbstring/tests/ini_encoding2.phpt1
-rw-r--r--ext/mbstring/tests/mb_chr_ord.phpt1
-rw-r--r--ext/mbstring/tests/mb_split_empty_match.phpt1
-rw-r--r--ext/mbstring/tests/mb_strcut_missing_boundary_check.phpt1
-rw-r--r--ext/mysqli/tests/bug75448.phpt1
-rw-r--r--ext/mysqli/tests/mysqli_character_set_name.phpt1
-rw-r--r--ext/mysqli/tests/mysqli_character_set_name_oo.phpt1
-rw-r--r--ext/mysqli/tests/mysqli_close.phpt1
-rw-r--r--ext/mysqli/tests/mysqli_dump_debug_info.phpt1
-rw-r--r--ext/mysqli/tests/mysqli_error_unicode.phpt1
-rw-r--r--ext/oci8/tests/bug70700.phpt1
-rw-r--r--ext/opcache/tests/bug65510.phpt1
-rw-r--r--ext/opcache/tests/bug65665.phpt1
-rw-r--r--ext/opcache/tests/bug66176.phpt1
-rw-r--r--ext/opcache/tests/bug66334.phpt1
-rw-r--r--ext/opcache/tests/bug66440.phpt1
-rw-r--r--ext/opcache/tests/bug66461.phpt1
-rw-r--r--ext/opcache/tests/bug66474.phpt1
-rw-r--r--ext/opcache/tests/bug73402.phpt1
-rw-r--r--ext/opcache/tests/bug74663.phpt1
-rw-r--r--ext/opcache/tests/bug76275.phpt1
-rw-r--r--ext/opcache/tests/bug76337.phpt1
-rw-r--r--ext/opcache/tests/bug77743.phpt1
-rw-r--r--ext/opcache/tests/issue0079.phpt1
-rw-r--r--ext/opcache/tests/issue0183.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_001.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_002.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_003.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_004.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_005.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_006.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_007.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_008.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_009.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_010.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_011.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_012.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_013.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_014.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_015.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_016.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_017.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_018.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_019.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_020.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_021.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_022.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_023.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_024.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_025.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_026.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_027.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_028.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_029.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_030.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_033.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_034.phpt1
-rw-r--r--ext/opcache/tests/jit/assign_dim_002.phpt1
-rw-r--r--ext/opcache/tests/jit/fetch_dim_r_001.phpt1
-rw-r--r--ext/opcache/tests/jit/fetch_dim_r_002.phpt1
-rw-r--r--ext/opcache/tests/jit/fetch_dim_r_003.phpt1
-rw-r--r--ext/opcache/tests/jit/fetch_dim_r_004.phpt1
-rw-r--r--ext/opcache/tests/jit/fetch_dim_rw_001.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_001.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_002.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_003.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_004.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_005.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_006.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_007.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_008.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_009.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_010.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_011.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_012.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_013.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_014.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_015.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_016.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_017.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_018.phpt1
-rw-r--r--ext/opcache/tests/jit/inc_019.phpt1
-rw-r--r--ext/opcache/tests/jit/noval_001.phpt1
-rw-r--r--ext/opcache/tests/jit/recv_001.phpt1
-rw-r--r--ext/opcache/tests/jit/send_val_001.phpt1
-rw-r--r--ext/opcache/tests/jmp_elim_001.phpt1
-rw-r--r--ext/opcache/tests/match/001.phpt1
-rw-r--r--ext/opcache/tests/match/002.phpt1
-rw-r--r--ext/opcache/tests/match/003.phpt1
-rw-r--r--ext/opcache/tests/match/004.phpt3
-rw-r--r--ext/opcache/tests/opt/dce_004.phpt3
-rw-r--r--ext/opcache/tests/opt/dce_005.phpt3
-rw-r--r--ext/opcache/tests/opt/dce_006.phpt3
-rw-r--r--ext/opcache/tests/opt/dce_007.phpt3
-rw-r--r--ext/opcache/tests/opt/dce_008.phpt3
-rw-r--r--ext/opcache/tests/optimize_func_calls.phpt1
-rw-r--r--ext/opcache/tests/ssa_bug_008.phpt1
-rw-r--r--ext/openssl/tests/bug61124.phpt1
-rw-r--r--ext/pcntl/tests/pcntl_unshare_01.phpt3
-rw-r--r--ext/pcntl/tests/pcntl_unshare_02.phpt3
-rw-r--r--ext/pcntl/tests/pcntl_unshare_03.phpt3
-rw-r--r--ext/pcre/tests/bug70345.phpt1
-rw-r--r--ext/pdo/tests/bug_43663.phpt1
-rw-r--r--ext/pdo/tests/pdo_drivers_basic.phpt1
-rw-r--r--ext/pdo/tests/pecl_bug_5772.phpt1
-rw-r--r--ext/pdo/tests/pecl_bug_5809.phpt1
-rw-r--r--ext/pdo_mysql/tests/bug63176.phpt1
-rw-r--r--ext/pdo_mysql/tests/bug_39483.phptbin714 -> 717 bytes
-rw-r--r--ext/pdo_mysql/tests/last_insert_id.phpt1
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt1
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_attr_prefetch.phpt1
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_attr_server_info.phpt1
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt1
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_interface.phpt1
-rw-r--r--ext/pdo_mysql/tests/show_tables.phpt1
-rw-r--r--ext/pdo_oci/tests/bug41996.phpt1
-rw-r--r--ext/pdo_oci/tests/bug44301.phpt1
-rw-r--r--ext/pdo_oci/tests/bug60994.phpt1
-rw-r--r--ext/pdo_oci/tests/bug_33707.phpt1
-rw-r--r--ext/pdo_oci/tests/checkliveness.phpt1
-rw-r--r--ext/pdo_oci/tests/pdo_oci_class_constants.phpt1
-rw-r--r--ext/pdo_odbc/tests/long_columns.phpt1
-rw-r--r--ext/pdo_odbc/tests/max_columns.phpt1
-rw-r--r--ext/pdo_pgsql/tests/bug48764.phpt1
-rw-r--r--ext/pdo_pgsql/tests/bug75402.phpt1
-rw-r--r--ext/pdo_pgsql/tests/bug_33876.phpt1
-rw-r--r--ext/pdo_sqlite/tests/bug33841.phpt1
-rw-r--r--ext/pdo_sqlite/tests/bug78192.phpt1
-rw-r--r--ext/pgsql/tests/bug75419.phpt1
-rw-r--r--ext/phar/tests/bug69324.phpt1
-rw-r--r--ext/phar/tests/bug69441.phpt1
-rw-r--r--ext/phar/tests/bug69453.phpt1
-rw-r--r--ext/phar/tests/bug69958.phpt1
-rw-r--r--ext/phar/tests/bug74991.phpt1
-rw-r--r--ext/phar/tests/fopen_edgecases.phpt2
-rw-r--r--ext/phar/tests/phar_isvalidpharfilename.phpt1
-rw-r--r--ext/phar/tests/tar/bug67761.phpt1
-rw-r--r--ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt1
-rw-r--r--ext/reflection/tests/ReflectionType_002.phpt1
-rw-r--r--ext/reflection/tests/bug33389.phpt1
-rw-r--r--ext/reflection/tests/bug53915.phpt1
-rw-r--r--ext/reflection/tests/bug60367.phpt1
-rw-r--r--ext/reflection/tests/bug61388.phpt1
-rw-r--r--ext/reflection/tests/traits001.phpt1
-rw-r--r--ext/reflection/tests/traits004.phpt1
-rw-r--r--ext/session/tests/001.phpt1
-rw-r--r--ext/session/tests/002.phpt1
-rw-r--r--ext/session/tests/003.phpt1
-rw-r--r--ext/session/tests/023.phpt1
-rw-r--r--ext/session/tests/bug42596.phpt1
-rw-r--r--ext/session/tests/bug51338.phpt1
-rw-r--r--ext/session/tests/bug61728.phpt1
-rw-r--r--ext/session/tests/bug63379.phpt1
-rw-r--r--ext/session/tests/bug63379_nodestroy.phpt1
-rw-r--r--ext/session/tests/bug65475.phpt1
-rw-r--r--ext/session/tests/bug66481.phpt1
-rw-r--r--ext/session/tests/bug67694.phpt1
-rw-r--r--ext/session/tests/bug67972.phpt1
-rw-r--r--ext/session/tests/bug78624.phpt1
-rw-r--r--ext/session/tests/bug79221.phpt1
-rw-r--r--ext/session/tests/session_basic4.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_001.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_002.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_003.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_004.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_005.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_012.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_014.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_015.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_016.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_017.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_018.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_iface_001.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_iface_002.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_iface_003.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_sid_001.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_sid_002.phpt1
-rw-r--r--ext/simplexml/tests/bug62328.phpt1
-rw-r--r--ext/soap/tests/bugs/bug39815.phpt1
-rw-r--r--ext/soap/tests/bugs/bug41566.phpt1
-rw-r--r--ext/soap/tests/bugs/bug42183.phpt1
-rw-r--r--ext/soap/tests/bugs/bug43045.phpt1
-rw-r--r--ext/soap/tests/bugs/bug50675.phpt1
-rw-r--r--ext/soap/tests/bugs/bug69085.phpt1
-rw-r--r--ext/sockets/tests/bug49341.phpt1
-rw-r--r--ext/sockets/tests/bug51958.phpt1
-rw-r--r--ext/sockets/tests/bug63000.phpt1
-rw-r--r--ext/sockets/tests/bug76839.phpt1
-rw-r--r--ext/sockets/tests/mcast_ipv4_recv.phpt1
-rw-r--r--ext/sockets/tests/mcast_ipv4_send.phpt1
-rw-r--r--ext/sockets/tests/mcast_ipv4_send_error.phpt1
-rw-r--r--ext/sockets/tests/mcast_ipv6_recv.phpt1
-rw-r--r--ext/sockets/tests/mcast_ipv6_recv_limited.phpt1
-rw-r--r--ext/sockets/tests/mcast_ipv6_send.phpt1
-rw-r--r--ext/sockets/tests/socket_addrinfo_bind.phpt1
-rw-r--r--ext/sockets/tests/socket_addrinfo_connect.phpt1
-rw-r--r--ext/sockets/tests/socket_addrinfo_explain.phpt1
-rw-r--r--ext/sockets/tests/socket_addrinfo_lookup.phpt1
-rw-r--r--ext/sockets/tests/socket_cmsg_credentials.phpt1
-rw-r--r--ext/sockets/tests/socket_cmsg_rights.phpt1
-rw-r--r--ext/sockets/tests/socket_create_listen-nobind.phpt1
-rw-r--r--ext/sockets/tests/socket_create_listen-win32.phpt1
-rw-r--r--ext/sockets/tests/socket_create_listen.phpt1
-rw-r--r--ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt1
-rw-r--r--ext/sockets/tests/socket_create_pair.phpt1
-rw-r--r--ext/sockets/tests/socket_export_stream-1.phpt1
-rw-r--r--ext/sockets/tests/socket_export_stream-3.phpt1
-rw-r--r--ext/sockets/tests/socket_export_stream-4-win.phpt1
-rw-r--r--ext/sockets/tests/socket_export_stream-4.phpt1
-rw-r--r--ext/sockets/tests/socket_export_stream-5.phpt1
-rw-r--r--ext/sockets/tests/socket_import_stream-1.phpt1
-rw-r--r--ext/sockets/tests/socket_import_stream-3.phpt1
-rw-r--r--ext/sockets/tests/socket_import_stream-4-win.phpt1
-rw-r--r--ext/sockets/tests/socket_import_stream-4.phpt1
-rw-r--r--ext/sockets/tests/socket_import_stream-5.phpt1
-rw-r--r--ext/sockets/tests/socket_listen-wrongparams.phpt1
-rw-r--r--ext/sockets/tests/socket_recvmsg.phpt1
-rw-r--r--ext/sockets/tests/socket_select-wrongparams-1-win32.phpt1
-rw-r--r--ext/sockets/tests/socket_select-wrongparams-1.phpt1
-rw-r--r--ext/sockets/tests/socket_select-wrongparams-2.phpt1
-rw-r--r--ext/sockets/tests/socket_select-wrongparams-4.phpt1
-rw-r--r--ext/sockets/tests/socket_select.phpt1
-rw-r--r--ext/sockets/tests/socket_sendrecvmsg_multi_msg-unix.phpt1
-rw-r--r--ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt1
-rw-r--r--ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt1
-rw-r--r--ext/sockets/tests/socket_set_option_in6_pktinfo.phpt1
-rw-r--r--ext/sodium/tests/crypto_secretstream.phpt1
-rw-r--r--ext/sodium/tests/php_password_hash_argon2i.phpt1
-rw-r--r--ext/sodium/tests/php_password_hash_argon2id.phpt1
-rw-r--r--ext/sodium/tests/php_password_verify.phpt1
-rw-r--r--ext/spl/tests/CallbackFilterIteratorTest-002.phpt1
-rw-r--r--ext/spl/tests/CallbackFilterIteratorTest.phpt1
-rw-r--r--ext/spl/tests/RecursiveCallbackFilterIteratorTest.phpt1
-rw-r--r--ext/spl/tests/SplObjectStorage_unserialize_bad.phpt1
-rw-r--r--ext/spl/tests/SplObjectStorage_unserialize_nested.phpt1
-rw-r--r--ext/spl/tests/array_027.phpt1
-rw-r--r--ext/spl/tests/bug46051.phpt1
-rw-r--r--ext/spl/tests/bug46053.phpt1
-rw-r--r--ext/spl/tests/bug47534.phpt1
-rw-r--r--ext/spl/tests/bug54291.phpt1
-rw-r--r--ext/spl/tests/bug54323.phpt1
-rw-r--r--ext/spl/tests/bug54384.phpt1
-rw-r--r--ext/spl/tests/bug55701.phpt1
-rw-r--r--ext/spl/tests/bug61326.phpt1
-rw-r--r--ext/spl/tests/bug61347.phpt1
-rw-r--r--ext/spl/tests/bug62672.phpt1
-rw-r--r--ext/spl/tests/bug62904.phpt1
-rw-r--r--ext/spl/tests/bug62978.phpt1
-rw-r--r--ext/spl/tests/bug64023.phpt1
-rw-r--r--ext/spl/tests/bug65328.phpt1
-rw-r--r--ext/spl/tests/bug66702.phpt1
-rw-r--r--ext/spl/tests/bug67539.phpt1
-rw-r--r--ext/spl/tests/bug70365.phpt1
-rw-r--r--ext/spl/tests/bug70959.phpt1
-rw-r--r--ext/spl/tests/bug72884.phpt1
-rw-r--r--ext/spl/tests/bug75049.phpt1
-rw-r--r--ext/spl/tests/bug75173.phpt1
-rw-r--r--ext/spl/tests/bug77298.phpt1
-rw-r--r--ext/spl/tests/observer_010.phpt1
-rw-r--r--ext/standard/tests/array/array_chunk_variation5.phpt1
-rw-r--r--ext/standard/tests/array/array_column_variant.phpt1
-rw-r--r--ext/standard/tests/array/array_uintersect_assoc_variation5.phpt1
-rw-r--r--ext/standard/tests/array/array_uintersect_variation5.phpt1
-rw-r--r--ext/standard/tests/array/bug42850.phpt1
-rw-r--r--ext/standard/tests/array/bug54459.phpt1
-rw-r--r--ext/standard/tests/array/bug61730.phpt1
-rw-r--r--ext/standard/tests/array/bug70910.phpt1
-rw-r--r--ext/standard/tests/array/bug71220.phpt1
-rw-r--r--ext/standard/tests/array/bug71603.phpt1
-rw-r--r--ext/standard/tests/array/bug75433.phpt1
-rw-r--r--ext/standard/tests/array/key_exists_basic.phpt1
-rw-r--r--ext/standard/tests/array/key_exists_variation1.phpt1
-rw-r--r--ext/standard/tests/array/key_exists_variation2.phpt1
-rw-r--r--ext/standard/tests/array/packed_001.phpt1
-rw-r--r--ext/standard/tests/assert/assert_basic.phpt1
-rw-r--r--ext/standard/tests/assert/assert_basic3.phpt1
-rw-r--r--ext/standard/tests/assert/assert_basic4.phpt1
-rw-r--r--ext/standard/tests/assert/assert_basic5.phpt1
-rw-r--r--ext/standard/tests/assert/assert_error2.phpt1
-rw-r--r--ext/standard/tests/assert/assert_variation.phpt1
-rw-r--r--ext/standard/tests/file/007_basic.phpt1
-rw-r--r--ext/standard/tests/file/bug51094.phpt1
-rw-r--r--ext/standard/tests/file/bug52820.phpt1
-rw-r--r--ext/standard/tests/file/bug63512.phpt1
-rw-r--r--ext/standard/tests/file/bug69442.phpt1
-rw-r--r--ext/standard/tests/file/fclose_variation1.phpt1
-rw-r--r--ext/standard/tests/file/fileinode_error.phpt1
-rw-r--r--ext/standard/tests/file/fileinode_variation.phpt1
-rw-r--r--ext/standard/tests/file/filesize_variation1.phpt1
-rw-r--r--ext/standard/tests/file/fread_error.phpt1
-rw-r--r--ext/standard/tests/file/include_userstream_001.phpt1
-rw-r--r--ext/standard/tests/file/include_userstream_002.phpt1
-rw-r--r--ext/standard/tests/file/include_userstream_003.phpt1
-rw-r--r--ext/standard/tests/file/is_executable_error.phpt1
-rw-r--r--ext/standard/tests/file/php_fd_wrapper_01.phpt1
-rw-r--r--ext/standard/tests/file/php_fd_wrapper_02.phpt1
-rw-r--r--ext/standard/tests/file/php_fd_wrapper_03.phpt1
-rw-r--r--ext/standard/tests/file/php_fd_wrapper_04.phpt1
-rw-r--r--ext/standard/tests/file/stream_enclosed.phpt1
-rw-r--r--ext/standard/tests/file/userstreams_005.phpt1
-rw-r--r--ext/standard/tests/file/userstreams_006.phpt1
-rw-r--r--ext/standard/tests/file/userstreams_007.phpt1
-rw-r--r--ext/standard/tests/general_functions/get_debug_type_basic.phpt1
-rw-r--r--ext/standard/tests/general_functions/var_export_basic9.phpt1
-rw-r--r--ext/standard/tests/general_functions/var_export_bug71314.phpt1
-rw-r--r--ext/standard/tests/http/bug60570.phpt1
-rw-r--r--ext/standard/tests/math/abs.phpt1
-rw-r--r--ext/standard/tests/math/bug62112.phptbin143 -> 146 bytes
-rw-r--r--ext/standard/tests/math/pow-operator.phpt1
-rw-r--r--ext/standard/tests/math/pow.phpt1
-rw-r--r--ext/standard/tests/math/round.phpt1
-rw-r--r--ext/standard/tests/network/net_get_interfaces_001.phpt1
-rw-r--r--ext/standard/tests/password/password_default.phpt1
-rw-r--r--ext/standard/tests/password/password_needs_rehash_argon2.phpt1
-rw-r--r--ext/standard/tests/serialize/bug37947.phpt1
-rw-r--r--ext/standard/tests/serialize/bug45706.phpt1
-rw-r--r--ext/standard/tests/serialize/bug49649.phpt1
-rw-r--r--ext/standard/tests/serialize/bug49649_1.phpt1
-rw-r--r--ext/standard/tests/serialize/bug49649_2.phpt1
-rw-r--r--ext/standard/tests/serialize/bug55798.phpt1
-rw-r--r--ext/standard/tests/serialize/bug76300.phpt1
-rw-r--r--ext/standard/tests/serialize/precision.phpt1
-rw-r--r--ext/standard/tests/serialize/unserializeS.phpt1
-rw-r--r--ext/standard/tests/serialize/unserialize_classes.phpt1
-rw-r--r--ext/standard/tests/serialize/unserialize_error_001.phpt1
-rw-r--r--ext/standard/tests/serialize/unserialize_subclasses.phpt1
-rw-r--r--ext/standard/tests/streams/bug46147.phpt1
-rw-r--r--ext/standard/tests/streams/bug53427.phpt1
-rw-r--r--ext/standard/tests/streams/bug53903.phpt1
-rw-r--r--ext/standard/tests/streams/bug54623.phpt1
-rw-r--r--ext/standard/tests/streams/bug60455_01.phpt1
-rw-r--r--ext/standard/tests/streams/bug60455_02.phpt1
-rw-r--r--ext/standard/tests/streams/bug60455_03.phpt1
-rw-r--r--ext/standard/tests/streams/bug60455_04.phpt1
-rw-r--r--ext/standard/tests/streams/bug60817.phpt1
-rw-r--r--ext/standard/tests/streams/bug64433.phpt1
-rw-r--r--ext/standard/tests/streams/bug72075.phpt1
-rw-r--r--ext/standard/tests/streams/bug72221.phpt1
-rw-r--r--ext/standard/tests/streams/bug74556.phpt1
-rw-r--r--ext/standard/tests/streams/bug74951.phpt1
-rw-r--r--ext/standard/tests/streams/bug76859.phpt1
-rw-r--r--ext/standard/tests/streams/bug78326_1.phpt1
-rw-r--r--ext/standard/tests/streams/glob-wrapper.phpt1
-rw-r--r--ext/standard/tests/streams/stream_get_line_NUL_delimiter.phpt1
-rw-r--r--ext/standard/tests/streams/stream_set_chunk_size.phpt1
-rw-r--r--ext/standard/tests/streams/user-stream-error.phpt1
-rw-r--r--ext/standard/tests/streams/user_streams_consumed_bug.phpt1
-rw-r--r--ext/standard/tests/strings/basename_invalid_path.phpt1
-rw-r--r--ext/standard/tests/strings/basename_invalid_path_win.phpt1
-rw-r--r--ext/standard/tests/strings/basename_variation.phpt1
-rw-r--r--ext/standard/tests/strings/bug49687.phpt1
-rw-r--r--ext/standard/tests/strings/bug53021.phpt1
-rw-r--r--ext/standard/tests/strings/bug54055.phpt1
-rw-r--r--ext/standard/tests/strings/bug55871.phpt1
-rw-r--r--ext/standard/tests/strings/bug60965.phpt1
-rw-r--r--ext/standard/tests/strings/bug61374.phpt1
-rw-r--r--ext/standard/tests/strings/bug61764.phpt1
-rw-r--r--ext/standard/tests/strings/bug62443.phpt1
-rw-r--r--ext/standard/tests/strings/bug62462.phpt1
-rw-r--r--ext/standard/tests/strings/bug65230.phpt1
-rw-r--r--ext/standard/tests/strings/bug65947.phpt1
-rw-r--r--ext/standard/tests/strings/bug72152.phpt1
-rw-r--r--ext/standard/tests/strings/bug72263.phpt1
-rw-r--r--ext/standard/tests/strings/bug72264.phpt1
-rw-r--r--ext/standard/tests/strings/crypt_chars.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode1.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode2.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode3.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode_cp866.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode_iso8859-15.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode_iso8859-5.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode_koi8-r.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode_macroman.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode_win1251.phpt1
-rw-r--r--ext/standard/tests/strings/html_entity_decode_win1252.phpt1
-rw-r--r--ext/standard/tests/strings/htmlentities-utf-3.phpt1
-rw-r--r--ext/standard/tests/strings/pack_Z.phpt1
-rw-r--r--ext/standard/tests/strings/str_replace_array_refs.phpt1
-rw-r--r--ext/standard/tests/strings/str_replace_array_refs2.phpt1
-rw-r--r--ext/standard/tests/strings/strip_tags_variation8.phpt1
-rw-r--r--ext/standard/tests/strings/strip_tags_variation9.phpt1
-rw-r--r--ext/standard/tests/strings/trim.phpt1
-rw-r--r--ext/standard/tests/strings/wordwrap.phpt1
-rw-r--r--ext/standard/tests/url/parse_url_relative_scheme.phpt1
-rw-r--r--ext/standard/tests/versioning/php_sapi_name.phpt1
-rw-r--r--ext/sysvshm/tests/shutdown_crash_0.phpt1
-rw-r--r--ext/xml/tests/bug72099.phpt1
-rw-r--r--ext/xsl/tests/bug26384.phpt1
-rw-r--r--ext/xsl/tests/bug48221.phpt1
-rw-r--r--ext/xsl/tests/bug54446.phpt1
-rw-r--r--ext/xsl/tests/xslt004.phpt1
-rw-r--r--ext/xsl/tests/xslt009.phpt1
-rw-r--r--ext/xsl/tests/xslt010.phpt1
-rw-r--r--ext/xsl/tests/xslt010_gt10129.phpt1
-rw-r--r--ext/xsl/tests/xslt011.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_getParameter-invalidparam.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_getParameter.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-multiple.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-notallowed.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-array.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-null.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-notallowed.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-string.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_removeParameter-invalidparam.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_removeParameter.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_setparameter-errorquote.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_setparameter-nostring.phpt1
-rw-r--r--ext/zip/tests/bug47667.phpt1
-rw-r--r--ext/zip/tests/bug51353.phpt1
-rw-r--r--ext/zip/tests/bug53603.phpt1
-rw-r--r--ext/zip/tests/bug53854.phpt1
-rw-r--r--ext/zip/tests/bug64342_0.phpt1
-rw-r--r--ext/zip/tests/bug8009.phpt1
-rw-r--r--ext/zip/tests/bug8700.phpt1
-rw-r--r--ext/zlib/tests/zlib_wrapper_level.phpt1
655 files changed, 651 insertions, 24 deletions
diff --git a/ext/bcmath/tests/bug60377.phpt b/ext/bcmath/tests/bug60377.phpt
index 6caf7d4661..73d3b2ac1b 100644
--- a/ext/bcmath/tests/bug60377.phpt
+++ b/ext/bcmath/tests/bug60377.phpt
@@ -13,6 +13,5 @@ try {
$var67 = bcsqrt(0);
$var414 = bcadd(0,-1,10);
?>
-
--EXPECT--
bcscale(): Argument #1 ($scale) must be between 0 and 2147483647
diff --git a/ext/bz2/tests/bug51997.phpt b/ext/bz2/tests/bug51997.phpt
index 6a8e513e7d..303e0b3b67 100644
--- a/ext/bz2/tests/bug51997.phpt
+++ b/ext/bz2/tests/bug51997.phpt
@@ -19,5 +19,6 @@ print bzread($bz, 10);
print bzread($bz);
bzclose($bz);
unlink($filename);
+?>
--EXPECT--
This is a test string.
diff --git a/ext/bz2/tests/with_files.phpt b/ext/bz2/tests/with_files.phpt
index 443a0713dd..e24e28211f 100644
--- a/ext/bz2/tests/with_files.phpt
+++ b/ext/bz2/tests/with_files.phpt
@@ -18,5 +18,6 @@ print bzread($bz, 10);
print bzread($bz);
bzclose($bz);
unlink($filename);
+?>
--EXPECT--
This is a test string.
diff --git a/ext/bz2/tests/with_strings.phpt b/ext/bz2/tests/with_strings.phpt
index 65db76beea..e04cc514a8 100644
--- a/ext/bz2/tests/with_strings.phpt
+++ b/ext/bz2/tests/with_strings.phpt
@@ -22,5 +22,6 @@ $tests = <<<TESTS
TESTS;
include(__DIR__ . '/../../../tests/quicktester.inc');
+?>
--EXPECT--
OK
diff --git a/ext/calendar/tests/bug53574_1.phpt b/ext/calendar/tests/bug53574_1.phpt
index 8a52529427..6aba600619 100644
--- a/ext/calendar/tests/bug53574_1.phpt
+++ b/ext/calendar/tests/bug53574_1.phpt
@@ -12,6 +12,7 @@ if (PHP_INT_SIZE != 4) {
$x = 882858043;
var_dump(cal_from_jd($x, CAL_JULIAN));
+?>
--EXPECT--
array(9) {
["date"]=>
diff --git a/ext/calendar/tests/bug53574_2.phpt b/ext/calendar/tests/bug53574_2.phpt
index fd7288a079..6e3154a916 100644
--- a/ext/calendar/tests/bug53574_2.phpt
+++ b/ext/calendar/tests/bug53574_2.phpt
@@ -12,6 +12,7 @@ if (PHP_INT_SIZE == 4) {
$x = 3315881921229094912;
var_dump(cal_from_jd($x, CAL_JULIAN));
+?>
--EXPECT--
array(9) {
["date"]=>
diff --git a/ext/calendar/tests/bug54254.phpt b/ext/calendar/tests/bug54254.phpt
index df9362320c..f623fad809 100644
--- a/ext/calendar/tests/bug54254.phpt
+++ b/ext/calendar/tests/bug54254.phpt
@@ -30,6 +30,7 @@ var_dump(cal_days_in_month(CAL_JEWISH, 10, 5772));
var_dump(cal_days_in_month(CAL_JEWISH, 11, 5772));
var_dump(cal_days_in_month(CAL_JEWISH, 12, 5772));
var_dump(cal_days_in_month(CAL_JEWISH, 13, 5772));
+?>
--EXPECT--
int(30)
int(30)
diff --git a/ext/calendar/tests/bug55797_1.phpt b/ext/calendar/tests/bug55797_1.phpt
index 4a8ecfa663..c9374c9d38 100644
--- a/ext/calendar/tests/bug55797_1.phpt
+++ b/ext/calendar/tests/bug55797_1.phpt
@@ -12,6 +12,7 @@ if (PHP_INT_SIZE != 4) {
$x = 882858030;
var_dump(cal_from_jd($x, CAL_GREGORIAN));
+?>
--EXPECTF--
array(9) {
["date"]=>
diff --git a/ext/calendar/tests/bug55797_2.phpt b/ext/calendar/tests/bug55797_2.phpt
index 6559c936a5..b60fd0eba4 100644
--- a/ext/calendar/tests/bug55797_2.phpt
+++ b/ext/calendar/tests/bug55797_2.phpt
@@ -12,6 +12,7 @@ if (PHP_INT_SIZE == 4) {
$x = 9223372036854743639;
var_dump(cal_from_jd($x, CAL_GREGORIAN));
+?>
--EXPECTF--
array(9) {
["date"]=>
diff --git a/ext/calendar/tests/jdtojewish64.phpt b/ext/calendar/tests/jdtojewish64.phpt
index 7c6c956223..da1e7f74c8 100644
--- a/ext/calendar/tests/jdtojewish64.phpt
+++ b/ext/calendar/tests/jdtojewish64.phpt
@@ -12,6 +12,7 @@ if (PHP_INT_SIZE == 4) {
$a = array(38245310, 324542846, 324542847, 9223372036854743639);
foreach ($a as $x) var_dump(jdtojewish($x));
+?>
--EXPECT--
string(11) "2/22/103759"
string(12) "12/13/887605"
diff --git a/ext/curl/tests/bug52202.phpt b/ext/curl/tests/bug52202.phpt
index eee386480e..39e14072f8 100644
--- a/ext/curl/tests/bug52202.phpt
+++ b/ext/curl/tests/bug52202.phpt
@@ -14,5 +14,6 @@ curl_setopt($curl, CURLOPT_TIMEOUT, 1);
curl_exec($curl);
var_dump(curl_getinfo($curl, CURLINFO_PRIVATE));
+?>
--EXPECT--
string(3) "123"
diff --git a/ext/curl/tests/bug52827.phpt b/ext/curl/tests/bug52827.phpt
index f0faad68f5..8fbcad627d 100644
--- a/ext/curl/tests/bug52827.phpt
+++ b/ext/curl/tests/bug52827.phpt
@@ -28,5 +28,6 @@ $handle=curl_init('http://www.example.com');
curl_setopt($handle, CURLOPT_STDERR, $s);
echo "Done.";
+?>
--EXPECT--
Done.
diff --git a/ext/curl/tests/curl_CURLOPT_READDATA.phpt b/ext/curl/tests/curl_CURLOPT_READDATA.phpt
index 1bf5493acd..9266139c0d 100644
--- a/ext/curl/tests/curl_CURLOPT_READDATA.phpt
+++ b/ext/curl/tests/curl_CURLOPT_READDATA.phpt
@@ -36,6 +36,7 @@ curl_close($ch);
// Clean the temporary file
@unlink($tempname);
+?>
--EXPECT--
array(2) {
["hello"]=>
diff --git a/ext/curl/tests/curl_reset.phpt b/ext/curl/tests/curl_reset.phpt
index 59ed2ed6a5..911c826494 100644
--- a/ext/curl/tests/curl_reset.phpt
+++ b/ext/curl/tests/curl_reset.phpt
@@ -34,8 +34,6 @@ echo file_get_contents($test_file);
// cleanup
unlink($test_file);
unlink($log_file);
-
?>
-
--EXPECT--
testtest
diff --git a/ext/date/tests/DateInterval_days_prop1.phpt b/ext/date/tests/DateInterval_days_prop1.phpt
index 627b8f0b27..d5d3fdc8cb 100644
--- a/ext/date/tests/DateInterval_days_prop1.phpt
+++ b/ext/date/tests/DateInterval_days_prop1.phpt
@@ -6,5 +6,6 @@ Wrong var_dump(DateInterval->days) value
$interval = new DateInterval('P2Y4DT6H8M');
var_dump($interval->days);
+?>
--EXPECT--
bool(false)
diff --git a/ext/date/tests/bug32588.phpt b/ext/date/tests/bug32588.phpt
index 4ecadf4e9b..1b095df99a 100644
--- a/ext/date/tests/bug32588.phpt
+++ b/ext/date/tests/bug32588.phpt
@@ -8,6 +8,7 @@ date.timezone=America/New_York
echo date('D Y/m/d/H:i:s', strtotime('last saturday', 1112703348)). "\n";
echo date('D Y/m/d/H:i:s', strtotime("last sunday", 1112703348)). "\n";
echo date('D Y/m/d/H:i:s', strtotime('last monday', 1112703348)). "\n";
+?>
--EXPECT--
Sat 2005/04/02/00:00:00
Sun 2005/04/03/00:00:00
diff --git a/ext/date/tests/bug45543.phpt b/ext/date/tests/bug45543.phpt
index ed785a715a..1fdb23d460 100644
--- a/ext/date/tests/bug45543.phpt
+++ b/ext/date/tests/bug45543.phpt
@@ -21,6 +21,7 @@ foreach ($test_dates as $test_date)
echo $d2->format(DATE_ISO8601), PHP_EOL;
echo PHP_EOL;
}
+?>
--EXPECT--
2008-01-01T12:00:00-0700
2008-01-01T12:00:00+0000
diff --git a/ext/date/tests/bug45682.phpt b/ext/date/tests/bug45682.phpt
index 324f64867d..636381dcfe 100644
--- a/ext/date/tests/bug45682.phpt
+++ b/ext/date/tests/bug45682.phpt
@@ -11,6 +11,7 @@ $other = new DateTime("31-July-2008");
$diff = date_diff($date, $other);
var_dump($diff);
+?>
--EXPECTF--
object(DateInterval)#%d (16) {
["y"]=>
diff --git a/ext/date/tests/bug46268.phpt b/ext/date/tests/bug46268.phpt
index 808fd856a9..feabd0d1f8 100644
--- a/ext/date/tests/bug46268.phpt
+++ b/ext/date/tests/bug46268.phpt
@@ -16,6 +16,7 @@ echo $now->format("Y-m-d H:i:s") . PHP_EOL;
$now->setTime(0, 0, 0);
//date_time_set($now, 0, 0, 0);
echo $now->format("Y-m-d H:i:s") . PHP_EOL;
+?>
--EXPECT--
2008-10-10 01:02:03
2008-10-11 01:02:03
diff --git a/ext/date/tests/bug48097.phpt b/ext/date/tests/bug48097.phpt
index 41ade81247..02f72f2f99 100644
--- a/ext/date/tests/bug48097.phpt
+++ b/ext/date/tests/bug48097.phpt
@@ -13,6 +13,7 @@ $d->setTimeZone( new DateTimeZone( 'Europe/Budapest' ) );
var_dump( $d );
echo $d->format( DATE_ISO8601 ), "\n\n";
echo $d->format( 'U' ), "\n\n";
+?>
--EXPECT--
object(DateTime)#1 (3) {
["date"]=>
diff --git a/ext/date/tests/bug48276.phpt b/ext/date/tests/bug48276.phpt
index d26605d1e6..92e2d39ff7 100644
--- a/ext/date/tests/bug48276.phpt
+++ b/ext/date/tests/bug48276.phpt
@@ -5,5 +5,6 @@ date.timezone=UTC
--FILE--
<?php
var_dump(date("Y", 1245623227));
+?>
--EXPECT--
string(4) "2009"
diff --git a/ext/date/tests/bug48678.phpt b/ext/date/tests/bug48678.phpt
index c02dba11cf..9c1cecd2df 100644
--- a/ext/date/tests/bug48678.phpt
+++ b/ext/date/tests/bug48678.phpt
@@ -6,6 +6,7 @@ $x = new DateInterval("P3Y6M4DT12H30M5S");
print_r($x);
$y = unserialize(serialize($x));
print_r($y);
+?>
--EXPECT--
DateInterval Object
(
diff --git a/ext/date/tests/bug50680.phpt b/ext/date/tests/bug50680.phpt
index 99b1381467..0efae1f9bd 100644
--- a/ext/date/tests/bug50680.phpt
+++ b/ext/date/tests/bug50680.phpt
@@ -5,5 +5,6 @@ date.timezone=UTC
--FILE--
<?php
var_dump(date("d", strtotime("March 1 eighth day 2009")));
+?>
--EXPECT--
string(2) "09"
diff --git a/ext/date/tests/bug51866.phpt b/ext/date/tests/bug51866.phpt
index 1874e32706..1751add68d 100644
--- a/ext/date/tests/bug51866.phpt
+++ b/ext/date/tests/bug51866.phpt
@@ -22,6 +22,7 @@ foreach( $tests as $test )
echo "\n\n";
}
+?>
--EXPECTF--
string(5) "Y-m-d"
string(19) "2001-11-29 13:20:01"
diff --git a/ext/date/tests/bug52738.phpt b/ext/date/tests/bug52738.phpt
index 6ed72af1c1..4f51fc3898 100644
--- a/ext/date/tests/bug52738.phpt
+++ b/ext/date/tests/bug52738.phpt
@@ -14,6 +14,7 @@ $I->unit = 42;
echo $I->unit."\n";
$I->d++;
print_r($I);
+?>
--EXPECT--
1
2
diff --git a/ext/date/tests/bug54316.phpt b/ext/date/tests/bug54316.phpt
index 21afa637d8..d1ef321094 100644
--- a/ext/date/tests/bug54316.phpt
+++ b/ext/date/tests/bug54316.phpt
@@ -9,6 +9,7 @@ var_dump($dt);
$dt = DateTime::createFromFormat('Y-m-d!', '2011-02-02');
var_dump($dt);
+?>
--EXPECT--
object(DateTime)#1 (3) {
["date"]=>
diff --git a/ext/date/tests/bug54340.phpt b/ext/date/tests/bug54340.phpt
index eb977c35ee..04b68c65b8 100644
--- a/ext/date/tests/bug54340.phpt
+++ b/ext/date/tests/bug54340.phpt
@@ -16,6 +16,7 @@ $dt = new DateTime('first day of January 2011');
$dt->sub($interval);
var_dump($dt);
+?>
--EXPECT--
object(DateTime)#2 (3) {
["date"]=>
diff --git a/ext/date/tests/bug62500.phpt b/ext/date/tests/bug62500.phpt
index 3afa7a561b..09d26e5100 100644
--- a/ext/date/tests/bug62500.phpt
+++ b/ext/date/tests/bug62500.phpt
@@ -19,6 +19,7 @@ try {
} catch (Exception $e) {
var_dump($e->getMessage());
}
+?>
--EXPECTF--
NULL
int(3)
diff --git a/ext/date/tests/bug62852.phpt b/ext/date/tests/bug62852.phpt
index 77c92ce55f..4ec9a0eab1 100644
--- a/ext/date/tests/bug62852.phpt
+++ b/ext/date/tests/bug62852.phpt
@@ -9,6 +9,7 @@ $s1 = 'O:8:"DateTime":3:{s:4:"date";s:20:"10007-06-07 03:51:49";s:13:"timezone_t
try {
unserialize( $s1 );
} catch ( Exception $e ) {}
+?>
--EXPECTF--
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in %sbug62852.php:%d
Stack trace:
diff --git a/ext/date/tests/bug62852_var2.phpt b/ext/date/tests/bug62852_var2.phpt
index afec265d50..bf85147c21 100644
--- a/ext/date/tests/bug62852_var2.phpt
+++ b/ext/date/tests/bug62852_var2.phpt
@@ -20,6 +20,7 @@ try {
unserialize( $s2 );
} catch ( Exception $e ) {}
var_dump( $foo );
+?>
--EXPECTF--
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in %sbug62852_var2.php:%d
Stack trace:
diff --git a/ext/date/tests/bug62852_var3.phpt b/ext/date/tests/bug62852_var3.phpt
index 5dbc1efa3f..8092c10594 100644
--- a/ext/date/tests/bug62852_var3.phpt
+++ b/ext/date/tests/bug62852_var3.phpt
@@ -20,6 +20,7 @@ try {
unserialize( $s2 );
} catch ( Exception $e ) {}
var_dump( $foo );
+?>
--EXPECTF--
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in %sbug62852_var3.php:%d
Stack trace:
diff --git a/ext/date/tests/bug62896.phpt b/ext/date/tests/bug62896.phpt
index ccdcfb029c..84f1e81423 100644
--- a/ext/date/tests/bug62896.phpt
+++ b/ext/date/tests/bug62896.phpt
@@ -30,6 +30,7 @@ date.timezone=Europe/Berlin
$date->modify('+0 days');
echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
+?>
--EXPECT--
FROM TIMESTAMP, NO TZ:
2012-08-21 22:00:00 GMT+0000 (offset 0)
diff --git a/ext/date/tests/bug63435.phpt b/ext/date/tests/bug63435.phpt
index 9dbc2fda12..2bded72229 100644
--- a/ext/date/tests/bug63435.phpt
+++ b/ext/date/tests/bug63435.phpt
@@ -12,5 +12,6 @@ for ($i=1 ; $i<999 ; $i++) {
}
}
echo "Done";
+?>
--EXPECT--
Done
diff --git a/ext/date/tests/bug65371.phpt b/ext/date/tests/bug65371.phpt
index a6e3126514..6dddc7c7c0 100644
--- a/ext/date/tests/bug65371.phpt
+++ b/ext/date/tests/bug65371.phpt
@@ -15,6 +15,7 @@ function p($str)
setlocale(LC_ALL, 'C');
p('あ');
+?>
--EXPECT--
diff --git a/ext/date/tests/bug67251.phpt b/ext/date/tests/bug67251.phpt
index 68c56a1613..d0088cd152 100644
--- a/ext/date/tests/bug67251.phpt
+++ b/ext/date/tests/bug67251.phpt
@@ -5,6 +5,7 @@ date.timezone=Europe/Berlin
--FILE--
<?php
var_dump(date_parse_from_format("\\","AAAABBBB"));
+?>
--EXPECT--
array(12) {
["year"]=>
diff --git a/ext/date/tests/bug67253.phpt b/ext/date/tests/bug67253.phpt
index c18cdebeb1..fc92dc1479 100644
--- a/ext/date/tests/bug67253.phpt
+++ b/ext/date/tests/bug67253.phpt
@@ -6,6 +6,7 @@ date.timezone=Europe/Berlin
<?php
$z = '';
var_dump(date_parse_from_format("aHa0", "0=G{$z}9UCNnF"));
+?>
--EXPECT--
array(12) {
["year"]=>
diff --git a/ext/date/tests/bug67308.phpt b/ext/date/tests/bug67308.phpt
index 39fb781884..e59e9c7309 100644
--- a/ext/date/tests/bug67308.phpt
+++ b/ext/date/tests/bug67308.phpt
@@ -9,6 +9,7 @@ var_dump(unserialize('O:8:"DateTime":3:{s:4:"date";s:19:"2005-07-14 22:30:41";s:
// New style.
var_dump(unserialize('O:8:"DateTime":3:{s:4:"date";s:26:"2005-07-14 22:30:41.123456";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Europe/London";}'));
+?>
--EXPECTF--
object(DateTime)#%d (3) {
["date"]=>
diff --git a/ext/date/tests/bug68078.phpt b/ext/date/tests/bug68078.phpt
index 20be0a49c8..c0e70bd4bc 100644
--- a/ext/date/tests/bug68078.phpt
+++ b/ext/date/tests/bug68078.phpt
@@ -12,6 +12,7 @@ var_dump($date1 == $date2);
var_dump($date1 < $date2);
var_dump($date2 > $date1);
var_dump($date2 == $date3);
+?>
--EXPECT--
bool(false)
bool(true)
diff --git a/ext/date/tests/bug68078_negative.phpt b/ext/date/tests/bug68078_negative.phpt
index 3f0d6953d2..95312e732d 100644
--- a/ext/date/tests/bug68078_negative.phpt
+++ b/ext/date/tests/bug68078_negative.phpt
@@ -12,6 +12,7 @@ var_dump($earlyDate1 == $earlyDate2);
var_dump($earlyDate1 > $earlyDate2);
var_dump($earlyDate2 < $earlyDate1);
var_dump($earlyDate2 == $earlyDate3);
+?>
--EXPECT--
bool(false)
bool(true)
diff --git a/ext/date/tests/bug68406.phpt b/ext/date/tests/bug68406.phpt
index f2181d1006..abe35f2db5 100644
--- a/ext/date/tests/bug68406.phpt
+++ b/ext/date/tests/bug68406.phpt
@@ -17,6 +17,7 @@ if($tz2 == $d->getTimezone()) {
else {
echo "no";
}
+?>
--EXPECT--
object(DateTimeZone)#4 (2) {
["timezone_type"]=>
diff --git a/ext/date/tests/bug68669.phpt b/ext/date/tests/bug68669.phpt
index 8aac1d2ceb..e8cbe33326 100644
--- a/ext/date/tests/bug68669.phpt
+++ b/ext/date/tests/bug68669.phpt
@@ -6,6 +6,7 @@ DateTime::createFromFormat() does not allow NULL $timezone
date_default_timezone_set('America/Los_Angeles');
var_dump(DateTime::createFromFormat('Y/m/d H:i:s', '1995/06/08 12:34:56', null));
var_dump(DateTimeImmutable::createFromFormat('Y/m/d H:i:s', '1995/06/08 12:34:56', null));
+?>
--EXPECT--
object(DateTime)#1 (3) {
["date"]=>
diff --git a/ext/date/tests/bug69089.phpt b/ext/date/tests/bug69089.phpt
index 21a5cd125c..6feca68358 100644
--- a/ext/date/tests/bug69089.phpt
+++ b/ext/date/tests/bug69089.phpt
@@ -11,6 +11,7 @@ $date = new DateTime('2009-09-28 09:45:31.918312');
var_dump($date->format(DateTime::RFC3339_EXTENDED));
var_dump($date->format('u'));
var_dump($date->format('v'));
+?>
--EXPECT--
string(29) "2009-09-28T09:45:31.918-03:00"
string(6) "918312"
diff --git a/ext/date/tests/bug71525.phpt b/ext/date/tests/bug71525.phpt
index 9a9d10342d..0c0f597566 100644
--- a/ext/date/tests/bug71525.phpt
+++ b/ext/date/tests/bug71525.phpt
@@ -8,6 +8,7 @@ $date = new DateTime('2011-12-25 00:00:00');
$date->modify('first day of next month');
$date->setDate('2012', '1', '29');
var_dump($date);
+?>
--EXPECTF--
object(DateTime)#%d (3) {
["date"]=>
diff --git a/ext/dom/tests/DOM4_DOMNode_removeDanglingElement.phpt b/ext/dom/tests/DOM4_DOMNode_removeDanglingElement.phpt
index ceedac4084..25c596b729 100644
--- a/ext/dom/tests/DOM4_DOMNode_removeDanglingElement.phpt
+++ b/ext/dom/tests/DOM4_DOMNode_removeDanglingElement.phpt
@@ -14,5 +14,6 @@ try {
} catch (DOMException $e) {
echo $e->getMessage();
}
+?>
--EXPECT--
Not Found Error
diff --git a/ext/dom/tests/DOM4_ParentNode_append_invalidtypes.phpt b/ext/dom/tests/DOM4_ParentNode_append_invalidtypes.phpt
index 8e58f35a3e..a4957788f7 100644
--- a/ext/dom/tests/DOM4_ParentNode_append_invalidtypes.phpt
+++ b/ext/dom/tests/DOM4_ParentNode_append_invalidtypes.phpt
@@ -14,5 +14,6 @@ try {
} catch(TypeError $e) {
echo "OK! {$e->getMessage()}";
}
+?>
--EXPECT--
OK! DOMElement::append(): Argument #1 must be of type DOMNode|string, array given
diff --git a/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt b/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt
index c82a73b526..3c0e977cd4 100644
--- a/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt
+++ b/ext/dom/tests/DOMDocumentFragment_appendXML_hasChildNodes_basic.phpt
@@ -18,6 +18,7 @@ if ($fragment->hasChildNodes()) {
} else {
echo "has no child nodes\n";
}
+?>
--EXPECT--
has no child nodes
has child nodes
diff --git a/ext/dom/tests/DOMDocument_saveHTML_variant2.phpt b/ext/dom/tests/DOMDocument_saveHTML_variant2.phpt
index 09ff24b391..d29f7ca6c4 100644
--- a/ext/dom/tests/DOMDocument_saveHTML_variant2.phpt
+++ b/ext/dom/tests/DOMDocument_saveHTML_variant2.phpt
@@ -21,6 +21,7 @@ $e = $d->getElementsByTagName("p");
$e = $e->item(0);
echo $d->saveXml($e),"\n";
echo $d->saveHtml($e),"\n";
+?>
--EXPECT--
<p>Hi.<br/>there</p>
<p>Hi.<br>there</p>
diff --git a/ext/dom/tests/DOMDocument_savexml_basic.phpt b/ext/dom/tests/DOMDocument_savexml_basic.phpt
index e7f47e952c..25585b57e3 100644
--- a/ext/dom/tests/DOMDocument_savexml_basic.phpt
+++ b/ext/dom/tests/DOMDocument_savexml_basic.phpt
@@ -33,6 +33,7 @@ $result = file_get_contents($filename);
var_dump($result == $dom->saveXML());
unlink($filename);
+?>
--EXPECT--
int(181)
bool(true)
diff --git a/ext/dom/tests/DOMNode_cloneNode_basic.phpt b/ext/dom/tests/DOMNode_cloneNode_basic.phpt
index 9fec109a74..1a782f22c8 100644
--- a/ext/dom/tests/DOMNode_cloneNode_basic.phpt
+++ b/ext/dom/tests/DOMNode_cloneNode_basic.phpt
@@ -71,6 +71,7 @@ for ($index = 0; $index < $children->length; $index++) {
echo "node $index\n";
dumpcourse($children->item($index));
}
+?>
--EXPECT--
Start cloneNode test
node 0
diff --git a/ext/dom/tests/DOMNode_removeChild_basic.phpt b/ext/dom/tests/DOMNode_removeChild_basic.phpt
index e9c3e13a81..f4a723f9c3 100644
--- a/ext/dom/tests/DOMNode_removeChild_basic.phpt
+++ b/ext/dom/tests/DOMNode_removeChild_basic.phpt
@@ -56,6 +56,7 @@ for ($index = 0; $index < $children->length; $index++) {
$current = $children->item($index);
dumpcourse($current);
}
+?>
--EXPECT--
original has 5 nodes
node 4
diff --git a/ext/dom/tests/bug54382.phpt b/ext/dom/tests/bug54382.phpt
index fa12b0ef92..866bdd636b 100644
--- a/ext/dom/tests/bug54382.phpt
+++ b/ext/dom/tests/bug54382.phpt
@@ -22,6 +22,7 @@ if ($ns2 == NULL) {
echo 'namespace node prefix=' . $ns2->prefix . "\n";
echo 'namespace node namespaceURI=' . $ns2->namespaceURI . "\n";
}
+?>
--EXPECT--
namespace node prefix=ns2
namespace node namespaceURI=http://ns2
diff --git a/ext/dom/tests/bug61858.phpt b/ext/dom/tests/bug61858.phpt
index ccdd0cd80c..6c231d9d36 100644
--- a/ext/dom/tests/bug61858.phpt
+++ b/ext/dom/tests/bug61858.phpt
@@ -14,6 +14,7 @@ $attr = $example->getAttributeNode('a');
var_dump($attr);
print_r($attr);
+?>
--EXPECTF--
object(DOMAttr)#%d (%d) {
%A
diff --git a/ext/dom/tests/bug73907.phpt b/ext/dom/tests/bug73907.phpt
index 597736665d..8f1c709d31 100644
--- a/ext/dom/tests/bug73907.phpt
+++ b/ext/dom/tests/bug73907.phpt
@@ -13,6 +13,7 @@ $doc->loadXML($xmlString);
$attr = $doc->documentElement;
var_dump($attr);
+?>
--EXPECTF--
object(DOMElement)#%d (%d) {%A
["nextSibling"]=>
diff --git a/ext/dom/tests/bug76738.phpt b/ext/dom/tests/bug76738.phpt
index b4f3b4cc27..2eb91ee230 100644
--- a/ext/dom/tests/bug76738.phpt
+++ b/ext/dom/tests/bug76738.phpt
@@ -233,5 +233,6 @@ final class rh_rte_helper_debug
return $return;
}
}
+?>
--EXPECT--
bool(true)
diff --git a/ext/dom/tests/dom004.phpt b/ext/dom/tests/dom004.phpt
index 383b731a8c..c6e1030c9f 100644
--- a/ext/dom/tests/dom004.phpt
+++ b/ext/dom/tests/dom004.phpt
@@ -10,6 +10,7 @@ in_array('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrap
$dom = new domdocument;
$dom->load("compress.zlib://".__DIR__."/book.xml.gz");
print $dom->saveXML();
+?>
--EXPECT--
<?xml version="1.0"?>
<books>
diff --git a/ext/dom/tests/dom005.phpt b/ext/dom/tests/dom005.phpt
index 1006229997..73145f43f2 100644
--- a/ext/dom/tests/dom005.phpt
+++ b/ext/dom/tests/dom005.phpt
@@ -16,6 +16,7 @@ print adjustDoctype($dom->saveHTML());
function adjustDoctype($xml) {
return str_replace(array("DOCTYPE HTML",'<p>','</p>'),array("DOCTYPE html",'',''),$xml);
}
+?>
--EXPECT--
--- save as XML
<?xml version="1.0" standalone="yes"?>
diff --git a/ext/dom/tests/dom006.phpt b/ext/dom/tests/dom006.phpt
index bd4b3922a9..4f26e02a9a 100644
--- a/ext/dom/tests/dom006.phpt
+++ b/ext/dom/tests/dom006.phpt
@@ -26,6 +26,7 @@ $dom = new books;
$dom->load(__DIR__."/book.xml");
$dom->addBook("PHP de Luxe", "Richard Samar, Christian Stocker");
print $dom->saveXML();
+?>
--EXPECT--
<?xml version="1.0"?>
<books>
diff --git a/ext/dom/tests/dom007.phpt b/ext/dom/tests/dom007.phpt
index 2ed232a3c0..b901548dbd 100644
--- a/ext/dom/tests/dom007.phpt
+++ b/ext/dom/tests/dom007.phpt
@@ -88,6 +88,7 @@ $node = $ents->item(3);
var_dump($node);
$node = $ents->getNamedItem('xxx');
var_dump($node);
+?>
--EXPECT--
Length: 1
Key GIF: GIF (image/gif) (-)
diff --git a/ext/dom/tests/dom_comment_basic.phpt b/ext/dom/tests/dom_comment_basic.phpt
index 4533fcc6e2..e4c2e0d362 100644
--- a/ext/dom/tests/dom_comment_basic.phpt
+++ b/ext/dom/tests/dom_comment_basic.phpt
@@ -26,6 +26,7 @@ for ($index = 0; $index < $children->length; $index++) {
echo get_class($current), "\n";
var_dump($current->textContent);
}
+?>
--EXPECT--
bool(true)
--- child 0 ---
diff --git a/ext/dom/tests/dom_comment_variation.phpt b/ext/dom/tests/dom_comment_variation.phpt
index 713c6a73cb..3fe30ef331 100644
--- a/ext/dom/tests/dom_comment_variation.phpt
+++ b/ext/dom/tests/dom_comment_variation.phpt
@@ -23,6 +23,7 @@ for ($index = 0; $index < $children->length; $index++) {
echo get_class($current), "\n";
var_dump($current->textContent);
}
+?>
--EXPECT--
bool(true)
--- child 0 ---
diff --git a/ext/dom/tests/domobject_debug_handler.phpt b/ext/dom/tests/domobject_debug_handler.phpt
index 3545b78dd4..f1ad4efc50 100644
--- a/ext/dom/tests/domobject_debug_handler.phpt
+++ b/ext/dom/tests/domobject_debug_handler.phpt
@@ -13,6 +13,7 @@ $d = new domdocument;
$d->dynamicProperty = new stdclass;
$d->loadXML($xml);
print_r($d);
+?>
--EXPECTF--
DOMDocument Object
(
diff --git a/ext/exif/tests/bug50845.phpt b/ext/exif/tests/bug50845.phpt
index 277415cd73..eaef809c89 100644
--- a/ext/exif/tests/bug50845.phpt
+++ b/ext/exif/tests/bug50845.phpt
@@ -6,6 +6,7 @@ Bug #50845 (exif_read_data() returns corrupted exif headers)
<?php
$infile = __DIR__.'/bug50845.jpg';
var_dump(exif_read_data($infile));
+?>
--EXPECTF--
array(44) {
["FileName"]=>
diff --git a/ext/ffi/tests/list.phpt b/ext/ffi/tests/list.phpt
index 0cfe4cb7b3..8c6e2bed44 100644
--- a/ext/ffi/tests/list.phpt
+++ b/ext/ffi/tests/list.phpt
@@ -89,6 +89,7 @@ $dlist->print();
$dlist->del(3);
$dlist->print();
echo "OK\n";
+?>
--EXPECT--
[1, 3, 5]
[1, 5]
diff --git a/ext/fileinfo/tests/bug61173.phpt b/ext/fileinfo/tests/bug61173.phpt
index 6487e15bbb..10277ba608 100644
--- a/ext/fileinfo/tests/bug61173.phpt
+++ b/ext/fileinfo/tests/bug61173.phpt
@@ -13,5 +13,6 @@ try {
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
+?>
--EXPECT--
finfo::__construct() expects at most 2 parameters, 3 given
diff --git a/ext/fileinfo/tests/bug74170.phpt b/ext/fileinfo/tests/bug74170.phpt
index 9e3cbd982b..ceb0adc32f 100644
--- a/ext/fileinfo/tests/bug74170.phpt
+++ b/ext/fileinfo/tests/bug74170.phpt
@@ -15,6 +15,7 @@ var_dump(setlocale(LC_CTYPE, 'ru_RU.koi8r'));
var_dump(nl_langinfo(CODESET));
var_dump(mime_content_type(__DIR__ . '/resources/test.ppt'));
var_dump(nl_langinfo(CODESET));
+?>
--EXPECT--
string(11) "ru_RU.koi8r"
string(6) "KOI8-R"
diff --git a/ext/filter/tests/052.phpt b/ext/filter/tests/052.phpt
index 257613e9dd..6529421315 100644
--- a/ext/filter/tests/052.phpt
+++ b/ext/filter/tests/052.phpt
@@ -16,6 +16,7 @@ var_dump(filter_var($data, FILTER_CALLBACK, array('options' => 'filter_cb')));
var_dump($data);
var_dump(filter_var_array($data, array('bar' => array('filter' => FILTER_CALLBACK, 'options' => 'filter_cb'))));
var_dump($data);
+?>
--EXPECT--
array(1) {
["bar"]=>
diff --git a/ext/filter/tests/057.phpt b/ext/filter/tests/057.phpt
index 93ab3eed36..fc4c3a824c 100644
--- a/ext/filter/tests/057.phpt
+++ b/ext/filter/tests/057.phpt
@@ -8,6 +8,7 @@ foreach (array(null, true, false, 1, "", new stdClass) as $invalid) {
var_dump(filter_input_array(INPUT_POST, $invalid));
var_dump(filter_var_array(array(), $invalid));
}
+?>
--EXPECT--
bool(false)
bool(false)
diff --git a/ext/filter/tests/bug51192.phpt b/ext/filter/tests/bug51192.phpt
index 16ffeff644..47e1a0c03c 100644
--- a/ext/filter/tests/bug51192.phpt
+++ b/ext/filter/tests/bug51192.phpt
@@ -7,6 +7,7 @@ bug 51192, FILTER_VALIDATE_URL will invalidate a hostname that includes '-'
var_dump(filter_var('http://example.com/path', FILTER_VALIDATE_URL));
var_dump(filter_var('http://exa-mple.com/path', FILTER_VALIDATE_URL));
var_dump(filter_var('http://exa_mple.com/path', FILTER_VALIDATE_URL));
+?>
--EXPECT--
string(23) "http://example.com/path"
string(24) "http://exa-mple.com/path"
diff --git a/ext/filter/tests/bug52929.phpt b/ext/filter/tests/bug52929.phpt
index 1b22318818..d94fb25616 100644
--- a/ext/filter/tests/bug52929.phpt
+++ b/ext/filter/tests/bug52929.phpt
@@ -12,6 +12,7 @@ var_dump(filter_var('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// An invalid address likely to crash PHP due to stack exhaustion if it goes to
// the validation regex.
var_dump(filter_var(str_repeat('x', 8000), FILTER_VALIDATE_EMAIL));
+?>
--EXPECT--
string(19) "valid@email.address"
bool(false)
diff --git a/ext/filter/tests/bug64441.phpt b/ext/filter/tests/bug64441.phpt
index 149079ec05..3c6e1c77d1 100644
--- a/ext/filter/tests/bug64441.phpt
+++ b/ext/filter/tests/bug64441.phpt
@@ -6,6 +6,7 @@ bug 64441, FILTER_VALIDATE_URL will invalidate a hostname that ended by dot
<?php
var_dump(filter_var('http://example.com./', FILTER_VALIDATE_URL));
var_dump(filter_var('http://example.com/', FILTER_VALIDATE_URL));
+?>
--EXPECT--
string(20) "http://example.com./"
string(19) "http://example.com/"
diff --git a/ext/filter/tests/bug67167.01.phpt b/ext/filter/tests/bug67167.01.phpt
index a9591d3d56..a14a49e62d 100644
--- a/ext/filter/tests/bug67167.01.phpt
+++ b/ext/filter/tests/bug67167.01.phpt
@@ -9,5 +9,6 @@ var_dump(filter_var(
FILTER_VALIDATE_BOOLEAN,
FILTER_NULL_ON_FAILURE
));
+?>
--EXPECT--
NULL
diff --git a/ext/filter/tests/bug67167.02.phpt b/ext/filter/tests/bug67167.02.phpt
index 770d2556ea..0b5fc76aa2 100644
--- a/ext/filter/tests/bug67167.02.phpt
+++ b/ext/filter/tests/bug67167.02.phpt
@@ -9,6 +9,7 @@ var_dump(filter_var(
FILTER_VALIDATE_BOOLEAN,
FILTER_NULL_ON_FAILURE
));
+?>
--XFAIL--
Requires php_zval_filter to not use convert_to_string for all filters.
--EXPECT--
diff --git a/ext/gd/tests/imagecolorstotal_basic.phpt b/ext/gd/tests/imagecolorstotal_basic.phpt
index ef5cb30913..30adf26dae 100644
--- a/ext/gd/tests/imagecolorstotal_basic.phpt
+++ b/ext/gd/tests/imagecolorstotal_basic.phpt
@@ -23,7 +23,6 @@ echo 'Total colors in image: ' . imagecolorstotal($im);
// Free image
imagedestroy($im);
?>
-
--EXPECT--
*** Testing imagecolorstotal() : basic functionality ***
Total colors in image: 128
diff --git a/ext/gettext/tests/gettext_bindtextdomain-path.phpt b/ext/gettext/tests/gettext_bindtextdomain-path.phpt
index e69f6f9c58..0c24c2ec42 100644
--- a/ext/gettext/tests/gettext_bindtextdomain-path.phpt
+++ b/ext/gettext/tests/gettext_bindtextdomain-path.phpt
@@ -9,6 +9,7 @@ if (!extension_loaded("gettext")) {
<?php
chdir(__DIR__);
var_dump(bindtextdomain('example.org', 'foobar'));
+?>
--EXPECT--
bool(false)
--CREDITS--
diff --git a/ext/gettext/tests/gettext_dcgettext.phpt b/ext/gettext/tests/gettext_dcgettext.phpt
index 2510727c87..14b963ac20 100644
--- a/ext/gettext/tests/gettext_dcgettext.phpt
+++ b/ext/gettext/tests/gettext_dcgettext.phpt
@@ -19,6 +19,7 @@ bindtextdomain('dngettextTest', './locale');
var_dump(dcgettext('dngettextTest', 'item', LC_CTYPE));
var_dump(dcgettext('dngettextTest', 'item', LC_MESSAGES));
+?>
--EXPECT--
string(8) "cProdukt"
string(7) "Produkt"
diff --git a/ext/gettext/tests/gettext_dngettext-plural.phpt b/ext/gettext/tests/gettext_dngettext-plural.phpt
index 50bddc9a93..d052175be9 100644
--- a/ext/gettext/tests/gettext_dngettext-plural.phpt
+++ b/ext/gettext/tests/gettext_dngettext-plural.phpt
@@ -17,6 +17,7 @@ bindtextdomain('dngettextTest', './locale');
var_dump(dngettext('dngettextTest', 'item', 'items', 1));
var_dump(dngettext('dngettextTest', 'item', 'items', 2));
+?>
--EXPECT--
string(7) "Produkt"
string(8) "Produkte"
diff --git a/ext/gmp/tests/gmp_export.phpt b/ext/gmp/tests/gmp_export.phpt
index b2fdde3d07..d3ccfb3b1e 100644
--- a/ext/gmp/tests/gmp_export.phpt
+++ b/ext/gmp/tests/gmp_export.phpt
@@ -73,6 +73,7 @@ try {
} catch (\ValueError $e) {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
bool(true)
gmp_export(): Argument #2 ($word_size) must be greater than or equal to 1
diff --git a/ext/gmp/tests/gmp_import.phpt b/ext/gmp/tests/gmp_import.phpt
index 4dc3ecde88..59bf652a1f 100644
--- a/ext/gmp/tests/gmp_import.phpt
+++ b/ext/gmp/tests/gmp_import.phpt
@@ -87,6 +87,7 @@ try {
} catch (\ValueError $e) {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
bool(true)
gmp_import(): Argument #2 ($word_size) must be greater than or equal to 1
diff --git a/ext/hash/tests/hash_hmac_algos.phpt b/ext/hash/tests/hash_hmac_algos.phpt
index b4240ac7cb..16aec26df6 100644
--- a/ext/hash/tests/hash_hmac_algos.phpt
+++ b/ext/hash/tests/hash_hmac_algos.phpt
@@ -4,6 +4,7 @@ Hash: hash_hmac_algos() function : basic functionality
<?php
print_r(hash_hmac_algos());
+?>
--EXPECTF--
Array
(
diff --git a/ext/hash/tests/haval.phpt b/ext/hash/tests/haval.phpt
index 514fc7c97b..d0ac8fcfb3 100644
--- a/ext/hash/tests/haval.phpt
+++ b/ext/hash/tests/haval.phpt
@@ -22,6 +22,7 @@ for($pass=3; $pass<=5; $pass++)
$algo = sprintf('haval%d,%d',$bits,$pass);
echo $algo . ': ' . hash($algo,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ0123456789') . "\n";
}
+?>
--EXPECT--
Empty String
haval128,3: c68f39913f901f3ddf44c707357a7d70
diff --git a/ext/hash/tests/hmac-md5.phpt b/ext/hash/tests/hmac-md5.phpt
index 38f204a356..efc4448656 100644
--- a/ext/hash/tests/hmac-md5.phpt
+++ b/ext/hash/tests/hmac-md5.phpt
@@ -12,6 +12,7 @@ hash_update($ctx, 'what do ya want for nothing?');
echo hash_final($ctx) . "\n";
echo hash_hmac('md5', str_repeat(chr(0xDD), 50), str_repeat(chr(0xAA), 16)) . "\n";
+?>
--EXPECT--
9294727a3638bb1c13f48ef8158bfc9d
750c783e6ab0b503eaa86e310a5db738
diff --git a/ext/hash/tests/md2.phpt b/ext/hash/tests/md2.phpt
index 8ee023c1cb..23d8c0ae98 100644
--- a/ext/hash/tests/md2.phpt
+++ b/ext/hash/tests/md2.phpt
@@ -9,6 +9,7 @@ echo hash('md2', 'message digest') . "\n";
echo hash('md2', 'abcdefghijklmnopqrstuvwxyz') . "\n";
echo hash('md2', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
echo hash('md2', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
+?>
--EXPECT--
8350e5a3e24c153df2275c9f80692773
32ec01ec4a6dac72c0ab96fb34c0b5d1
diff --git a/ext/hash/tests/md4.phpt b/ext/hash/tests/md4.phpt
index aed4a5ce05..f486d46ef1 100644
--- a/ext/hash/tests/md4.phpt
+++ b/ext/hash/tests/md4.phpt
@@ -10,6 +10,7 @@ echo hash('md4', 'message digest') . "\n";
echo hash('md4', 'abcdefghijklmnopqrstuvwxyz') . "\n";
echo hash('md4', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
echo hash('md4', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
+?>
--EXPECT--
31d6cfe0d16ae931b73c59d7e0c089c0
bde52cb31de33e46245e05fbdbd6fb24
diff --git a/ext/hash/tests/md5.phpt b/ext/hash/tests/md5.phpt
index 1c90662dd6..b03efadd13 100644
--- a/ext/hash/tests/md5.phpt
+++ b/ext/hash/tests/md5.phpt
@@ -6,6 +6,7 @@ echo hash('md5', '') . "\n";
echo hash('md5', 'a') . "\n";
echo hash('md5', '012345678901234567890123456789012345678901234567890123456789') . "\n";
echo hash('md5', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
d41d8cd98f00b204e9800998ecf8427e
0cc175b9c0f1b6a831c399e269772661
diff --git a/ext/hash/tests/new-context.phpt b/ext/hash/tests/new-context.phpt
index c62c721acb..dd8e92e029 100644
--- a/ext/hash/tests/new-context.phpt
+++ b/ext/hash/tests/new-context.phpt
@@ -8,5 +8,6 @@ try {
} catch (Error $e) {
echo "Exception: {$e->getMessage()}\n";
}
+?>
--EXPECT--
Exception: Call to private HashContext::__construct() from global scope
diff --git a/ext/hash/tests/reuse.phpt b/ext/hash/tests/reuse.phpt
index 2b99801ebf..229236dd71 100644
--- a/ext/hash/tests/reuse.phpt
+++ b/ext/hash/tests/reuse.phpt
@@ -12,5 +12,6 @@ catch (\Error $e) {
echo $e->getMessage() . "\n";
}
+?>
--EXPECT--
hash_update(): Argument #1 ($context) must be a valid Hash Context resource
diff --git a/ext/hash/tests/ripemd128.phpt b/ext/hash/tests/ripemd128.phpt
index e896d35be0..b31f1a1c00 100644
--- a/ext/hash/tests/ripemd128.phpt
+++ b/ext/hash/tests/ripemd128.phpt
@@ -11,6 +11,7 @@ echo hash('ripemd128', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
echo hash('ripemd128', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
echo hash('ripemd128', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
echo hash('ripemd128', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
cdf26213a150dc3ecb610f18f6b38b46
86be7afa339d0fc7cfc785e72f578d33
diff --git a/ext/hash/tests/ripemd160.phpt b/ext/hash/tests/ripemd160.phpt
index 40dd82db29..edd363a1d9 100644
--- a/ext/hash/tests/ripemd160.phpt
+++ b/ext/hash/tests/ripemd160.phpt
@@ -11,6 +11,7 @@ echo hash('ripemd160', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
echo hash('ripemd160', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
echo hash('ripemd160', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
echo hash('ripemd160', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
9c1185a5c5e9fc54612808977ee8f548b2258d31
0bdc9d2d256b3ee9daae347be6f4dc835a467ffe
diff --git a/ext/hash/tests/ripemd256.phpt b/ext/hash/tests/ripemd256.phpt
index 92b5160186..67e9a57f5c 100644
--- a/ext/hash/tests/ripemd256.phpt
+++ b/ext/hash/tests/ripemd256.phpt
@@ -11,6 +11,7 @@ echo hash('ripemd256', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
echo hash('ripemd256', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
echo hash('ripemd256', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
echo hash('ripemd256', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
02ba4c4e5f8ecd1877fc52d64d30e37a2d9774fb1e5d026380ae0168e3c5522d
f9333e45d857f5d90a91bab70a1eba0cfb1be4b0783c9acfcd883a9134692925
diff --git a/ext/hash/tests/ripemd320.phpt b/ext/hash/tests/ripemd320.phpt
index 37930a4a0c..fd1b451fe1 100644
--- a/ext/hash/tests/ripemd320.phpt
+++ b/ext/hash/tests/ripemd320.phpt
@@ -11,6 +11,7 @@ echo hash('ripemd320', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
echo hash('ripemd320', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n";
echo hash('ripemd320', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
echo hash('ripemd320', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
22d65d5661536cdc75c1fdf5c6de7b41b9f27325ebc61e8557177d705a0ec880151c3a32a00899b8
ce78850638f92658a5a585097579926dda667a5716562cfcf6fbe77f63542f99b04705d6970dff5d
diff --git a/ext/hash/tests/sha1.phpt b/ext/hash/tests/sha1.phpt
index 82a9703734..ef7ed6e64c 100644
--- a/ext/hash/tests/sha1.phpt
+++ b/ext/hash/tests/sha1.phpt
@@ -10,6 +10,7 @@ echo hash('sha1', '012345678901234567890123456789012345678901234567890123456789'
echo hash('sha1', 'abc') . "\n";
echo hash('sha1', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
echo hash('sha1', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
da39a3ee5e6b4b0d3255bfef95601890afd80709
86f7e437faa5a7fce15d1ddcb9eaeaea377667b8
diff --git a/ext/hash/tests/sha224.phpt b/ext/hash/tests/sha224.phpt
index a0180baaec..cd99111843 100644
--- a/ext/hash/tests/sha224.phpt
+++ b/ext/hash/tests/sha224.phpt
@@ -10,6 +10,7 @@ echo hash('sha224', '01234567890123456789012345678901234567890123456789012345678
echo hash('sha224', 'abc') . "\n";
echo hash('sha224', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
echo hash('sha224', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f
abd37534c7d9a2efb9465de931cd7055ffdb8879563ae98078d6d6d5
diff --git a/ext/hash/tests/sha256.phpt b/ext/hash/tests/sha256.phpt
index ddc3962eda..b3d91b3c98 100644
--- a/ext/hash/tests/sha256.phpt
+++ b/ext/hash/tests/sha256.phpt
@@ -10,6 +10,7 @@ echo hash('sha256', '01234567890123456789012345678901234567890123456789012345678
echo hash('sha256', 'abc') . "\n";
echo hash('sha256', 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq') . "\n";
echo hash('sha256', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb
diff --git a/ext/hash/tests/sha3.phpt b/ext/hash/tests/sha3.phpt
index 3a5f712c73..ad257b449a 100644
--- a/ext/hash/tests/sha3.phpt
+++ b/ext/hash/tests/sha3.phpt
@@ -20,6 +20,7 @@ foreach ($subjects as $subject) {
echo $bits, ': ', hash("sha3-$bits", $subject), "\n";
}
}
+?>
--EXPECT--
== ==
224: 6b4e03423667dbb73b6e15454f0eb1abd4597f9a1b078e3f5b5a6bc7
diff --git a/ext/hash/tests/sha384.phpt b/ext/hash/tests/sha384.phpt
index 03b873c079..7c6fc353ad 100644
--- a/ext/hash/tests/sha384.phpt
+++ b/ext/hash/tests/sha384.phpt
@@ -10,6 +10,7 @@ echo hash('sha384', '01234567890123456789012345678901234567890123456789012345678
echo hash('sha384', 'abc') . "\n";
echo hash('sha384', 'abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n";
echo hash('sha384', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b
54a59b9f22b0b80880d8427e548b7c23abd873486e1f035dce9cd697e85175033caa88e6d57bc35efae0b5afd3145f31
diff --git a/ext/hash/tests/sha512-224.phpt b/ext/hash/tests/sha512-224.phpt
index 6a3ae32c8e..582fde9659 100644
--- a/ext/hash/tests/sha512-224.phpt
+++ b/ext/hash/tests/sha512-224.phpt
@@ -5,6 +5,7 @@ Hash: sha512/224 algorithm
echo hash('sha512/224', '') . "\n";
echo hash('sha512/224', 'abc') . "\n";
echo hash('sha512/224', 'abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n";
+?>
--EXPECT--
6ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4
4634270f707b6a54daae7530460842e20e37ed265ceee9a43e8924aa
diff --git a/ext/hash/tests/sha512-256.phpt b/ext/hash/tests/sha512-256.phpt
index 3bcfd34254..e0e039cf0e 100644
--- a/ext/hash/tests/sha512-256.phpt
+++ b/ext/hash/tests/sha512-256.phpt
@@ -5,6 +5,7 @@ Hash: sha512/256 algorithm
echo hash('sha512/256', '') . "\n";
echo hash('sha512/256', 'abc') . "\n";
echo hash('sha512/256', 'abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n";
+?>
--EXPECT--
c672b8d1ef56ed28ab87c3622c5114069bdd3ad7b8f9737498d0c01ecef0967a
53048e2681941ef99b2e29b76b4c7dabe4c2d0c634fc6d46e0e2f13107e7af23
diff --git a/ext/hash/tests/sha512.phpt b/ext/hash/tests/sha512.phpt
index 1fa420b143..b5190cdae1 100644
--- a/ext/hash/tests/sha512.phpt
+++ b/ext/hash/tests/sha512.phpt
@@ -10,6 +10,7 @@ echo hash('sha512', '01234567890123456789012345678901234567890123456789012345678
echo hash('sha512', 'abc') . "\n";
echo hash('sha512', 'abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu') . "\n";
echo hash('sha512', str_repeat('a', 1000000)) . "\n";
+?>
--EXPECT--
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
1f40fc92da241694750979ee6cf582f2d5d7d28e18335de05abc54d0560e0f5302860c652bf08d560252aa5e74210546f369fbbbce8c12cfc7957b2652fe9a75
diff --git a/ext/iconv/tests/bug48289.phpt b/ext/iconv/tests/bug48289.phpt
index fc2cd360b6..f87364873d 100644
--- a/ext/iconv/tests/bug48289.phpt
+++ b/ext/iconv/tests/bug48289.phpt
@@ -13,6 +13,7 @@ $options = array(
);
echo iconv_mime_encode('Subject', $text, $options);
+?>
--EXPECT--
Subject: =?UTF-8?Q?=E3=83=86?=
=?UTF-8?Q?=E3=82=B9?=
diff --git a/ext/iconv/tests/iconv_ini_encoding.phpt b/ext/iconv/tests/iconv_ini_encoding.phpt
index 5d2a2090fe..7fd163c7db 100644
--- a/ext/iconv/tests/iconv_ini_encoding.phpt
+++ b/ext/iconv/tests/iconv_ini_encoding.phpt
@@ -41,6 +41,7 @@ var_dump(ini_get('output_encoding'));
var_dump(ini_get('iconv.internal_encoding'));
var_dump(ini_get('iconv.input_encoding'));
var_dump(ini_get('iconv.output_encoding'));
+?>
--EXPECT--
Getting INI
string(10) "ISO-8859-1"
diff --git a/ext/iconv/tests/iconv_mime_decode.phpt b/ext/iconv/tests/iconv_mime_decode.phpt
index 35144b5707..8bfb8f6a01 100644
--- a/ext/iconv/tests/iconv_mime_decode.phpt
+++ b/ext/iconv/tests/iconv_mime_decode.phpt
@@ -64,6 +64,7 @@ $mode = ICONV_MIME_DECODE_CONTINUE_ON_ERROR;
do_regression_test();
$mode = ICONV_MIME_DECODE_STRICT | ICONV_MIME_DECODE_CONTINUE_ON_ERROR;
do_regression_test();
+?>
--EXPECT--
(31) "Subject: PrüfungPrüfungkůÔńÓlet"
(32) "Subject: Prüfung PrüfungkůÔńÓlet"
diff --git a/ext/imap/tests/bug53377.phpt b/ext/imap/tests/bug53377.phpt
index dfe2d032ab..a507369046 100644
--- a/ext/imap/tests/bug53377.phpt
+++ b/ext/imap/tests/bug53377.phpt
@@ -12,6 +12,7 @@ $s = "=?UTF-8?Q?=E2=82=AC?=";
$header = "$s\n $s\n\t$s";
var_dump(imap_mime_header_decode($header));
+?>
--EXPECT--
array(3) {
[0]=>
diff --git a/ext/intl/tests/breakiter___construct.phpt b/ext/intl/tests/breakiter___construct.phpt
index df16ceafd0..16ca32bf18 100644
--- a/ext/intl/tests/breakiter___construct.phpt
+++ b/ext/intl/tests/breakiter___construct.phpt
@@ -9,6 +9,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
new IntlBreakIterator();
+?>
--EXPECTF--
Fatal error: Uncaught Error: Call to private IntlBreakIterator::__construct() from global scope in %s:%d
Stack trace:
diff --git a/ext/intl/tests/breakiter___construct_error.phpt b/ext/intl/tests/breakiter___construct_error.phpt
index c8cbdcc6de..a18d8d5a5d 100644
--- a/ext/intl/tests/breakiter___construct_error.phpt
+++ b/ext/intl/tests/breakiter___construct_error.phpt
@@ -36,6 +36,7 @@ try {
} catch (IntlException $e) {
print_exception($e);
}
+?>
--EXPECTF--
Exception: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to create RuleBasedBreakIterator from rules (parse error on line 1, offset 31) in %s on line %d
diff --git a/ext/intl/tests/breakiter_clone_basic.phpt b/ext/intl/tests/breakiter_clone_basic.phpt
index e8b7d34127..4e997a8418 100644
--- a/ext/intl/tests/breakiter_clone_basic.phpt
+++ b/ext/intl/tests/breakiter_clone_basic.phpt
@@ -17,6 +17,7 @@ $bi->setText('foobar');
$bi_clone = clone $bi;
var_dump(get_class($bi), get_class($bi_clone));
var_dump($bi == $bi_clone);
+?>
--EXPECT--
string(26) "IntlRuleBasedBreakIterator"
string(26) "IntlRuleBasedBreakIterator"
diff --git a/ext/intl/tests/breakiter_factories_basic.phpt b/ext/intl/tests/breakiter_factories_basic.phpt
index ac7b17505d..0e2c65fb44 100644
--- a/ext/intl/tests/breakiter_factories_basic.phpt
+++ b/ext/intl/tests/breakiter_factories_basic.phpt
@@ -22,6 +22,7 @@ foreach ($m as $method) {
var_dump($o1 == $o2 && $o2 == $o3);
echo "\n";
}
+?>
--EXPECT--
===== createWordInstance =====
bool(true)
diff --git a/ext/intl/tests/breakiter_first_basic.phpt b/ext/intl/tests/breakiter_first_basic.phpt
index 364d5f2fa6..24c015f3fb 100644
--- a/ext/intl/tests/breakiter_first_basic.phpt
+++ b/ext/intl/tests/breakiter_first_basic.phpt
@@ -15,6 +15,7 @@ var_dump($bi->current());
var_dump($bi->next());
var_dump($bi->first());
var_dump($bi->current());
+?>
--EXPECT--
int(0)
int(3)
diff --git a/ext/intl/tests/breakiter_getText_basic.phpt b/ext/intl/tests/breakiter_getText_basic.phpt
index 37cd161e02..3efc1ca89f 100644
--- a/ext/intl/tests/breakiter_getText_basic.phpt
+++ b/ext/intl/tests/breakiter_getText_basic.phpt
@@ -12,6 +12,7 @@ $bi = IntlBreakIterator::createWordInstance('pt');
var_dump($bi->getText());
$bi->setText('foo bar');
var_dump($bi->getText());
+?>
--EXPECT--
NULL
string(7) "foo bar"
diff --git a/ext/intl/tests/breakiter_last_basic.phpt b/ext/intl/tests/breakiter_last_basic.phpt
index 48693f1ed0..014c578725 100644
--- a/ext/intl/tests/breakiter_last_basic.phpt
+++ b/ext/intl/tests/breakiter_last_basic.phpt
@@ -14,6 +14,7 @@ $bi->setText('foo bar trans');
var_dump($bi->current());
var_dump($bi->last());
var_dump($bi->current());
+?>
--EXPECT--
int(0)
int(13)
diff --git a/ext/intl/tests/breakiter_setText_basic.phpt b/ext/intl/tests/breakiter_setText_basic.phpt
index a5e4f86b65..0526fe0e51 100644
--- a/ext/intl/tests/breakiter_setText_basic.phpt
+++ b/ext/intl/tests/breakiter_setText_basic.phpt
@@ -24,6 +24,7 @@ var_dump($bi->getText());
var_dump($bi->next());
var_dump($bi->setText('foo bar'));
var_dump($bi->current());
+?>
--EXPECT--
bool(true)
string(7) "foo bar"
diff --git a/ext/intl/tests/bug55562.phpt b/ext/intl/tests/bug55562.phpt
index dd053c0ee9..80f3ea6754 100644
--- a/ext/intl/tests/bug55562.phpt
+++ b/ext/intl/tests/bug55562.phpt
@@ -8,6 +8,7 @@ var_dump(
grapheme_substr('FOK', 1, 20), // expected: OK
grapheme_substr('한국어', 1, 20) //expected: 국어
);
+?>
--EXPECT--
string(2) "OK"
string(6) "국어"
diff --git a/ext/intl/tests/bug60192-compare.phpt b/ext/intl/tests/bug60192-compare.phpt
index bd5faa11ed..4830e73d9c 100644
--- a/ext/intl/tests/bug60192-compare.phpt
+++ b/ext/intl/tests/bug60192-compare.phpt
@@ -14,6 +14,7 @@ class Collator2 extends Collator{
$c = new Collator2();
$a = $c->compare('h', 'H');
+?>
--EXPECTF--
Fatal error: Uncaught Error: Object not initialized in %s:%d
Stack trace:
diff --git a/ext/intl/tests/bug60192-getlocale.phpt b/ext/intl/tests/bug60192-getlocale.phpt
index 526632192e..2fea77cbd5 100644
--- a/ext/intl/tests/bug60192-getlocale.phpt
+++ b/ext/intl/tests/bug60192-getlocale.phpt
@@ -15,6 +15,7 @@ class Collator2 extends Collator{
$c = new Collator2();
$c->getLocale(Locale::ACTUAL_LOCALE);
+?>
--EXPECTF--
Fatal error: Uncaught Error: Object not initialized in %s:%d
Stack trace:
diff --git a/ext/intl/tests/bug60192-getsortkey.phpt b/ext/intl/tests/bug60192-getsortkey.phpt
index 96df981cf5..e00858bbd1 100644
--- a/ext/intl/tests/bug60192-getsortkey.phpt
+++ b/ext/intl/tests/bug60192-getsortkey.phpt
@@ -15,6 +15,7 @@ class Collator2 extends Collator{
$c = new Collator2();
$c->getSortKey('h');
+?>
--EXPECTF--
Fatal error: Uncaught Error: Object not initialized in %s:%d
Stack trace:
diff --git a/ext/intl/tests/bug60192-sort.phpt b/ext/intl/tests/bug60192-sort.phpt
index 27899fdd4f..e0d20f7c3c 100644
--- a/ext/intl/tests/bug60192-sort.phpt
+++ b/ext/intl/tests/bug60192-sort.phpt
@@ -16,6 +16,7 @@ class Collator2 extends Collator{
$c = new Collator2();
$a = array('a', 'b');
$c->sort($a);
+?>
--EXPECTF--
Fatal error: Uncaught Error: Object not initialized in %s:%d
Stack trace:
diff --git a/ext/intl/tests/bug60192-sortwithsortkeys.phpt b/ext/intl/tests/bug60192-sortwithsortkeys.phpt
index 7f22c003c3..f324d052b0 100644
--- a/ext/intl/tests/bug60192-sortwithsortkeys.phpt
+++ b/ext/intl/tests/bug60192-sortwithsortkeys.phpt
@@ -16,6 +16,7 @@ class Collator2 extends Collator{
$c = new Collator2();
$a = array('a', 'b');
$c->sortWithSortKeys($a);
+?>
--EXPECTF--
Fatal error: Uncaught Error: Object not initialized in %s:%d
Stack trace:
diff --git a/ext/intl/tests/bug61487.phpt b/ext/intl/tests/bug61487.phpt
index b303e00710..677787bda5 100644
--- a/ext/intl/tests/bug61487.phpt
+++ b/ext/intl/tests/bug61487.phpt
@@ -8,6 +8,7 @@ if (PHP_INT_SIZE != 8) die('skip 64-bit only');
<?php
var_dump(grapheme_stripos(1,1,2147483648));
var_dump(grapheme_strpos(1,1,2147483648));
+?>
--EXPECT--
bool(false)
bool(false)
diff --git a/ext/intl/tests/bug62017.phpt b/ext/intl/tests/bug62017.phpt
index f2fa15a81d..28e0bb570a 100644
--- a/ext/intl/tests/bug62017.phpt
+++ b/ext/intl/tests/bug62017.phpt
@@ -17,6 +17,7 @@ try {
} catch (IntlException $e) {
echo PHP_EOL."Exception: " . $e->getMessage() . " in " . $e->getFile() . " on line " . $e->getLine() . PHP_EOL;
}
+?>
--EXPECTF--
Warning: datefmt_create(): datefmt_create: Time zone identifier given is not a valid UTF-8 string in %s on line %d
NULL
diff --git a/ext/intl/tests/bug62070.phpt b/ext/intl/tests/bug62070.phpt
index 612e851a75..9f6807590a 100644
--- a/ext/intl/tests/bug62070.phpt
+++ b/ext/intl/tests/bug62070.phpt
@@ -11,5 +11,6 @@ $coll = collator_create('en_US');
$res = collator_get_sort_key($coll, $s1);
echo urlencode($res);
+?>
--EXPECT--
5%2F%3D%3DC%01%09%01%8F%08
diff --git a/ext/intl/tests/bug62070_2.phpt b/ext/intl/tests/bug62070_2.phpt
index c632b569cc..d567df6e72 100644
--- a/ext/intl/tests/bug62070_2.phpt
+++ b/ext/intl/tests/bug62070_2.phpt
@@ -12,5 +12,6 @@ $coll = collator_create('en_US');
$res = collator_get_sort_key($coll, $s1);
echo urlencode($res);
+?>
--EXPECT--
71%3F%3FE%01%09%01%DC%08
diff --git a/ext/intl/tests/bug62070_3.phpt b/ext/intl/tests/bug62070_3.phpt
index 5510798b6b..6f750e53c3 100644
--- a/ext/intl/tests/bug62070_3.phpt
+++ b/ext/intl/tests/bug62070_3.phpt
@@ -11,5 +11,6 @@ $coll = collator_create('en_US');
$res = collator_get_sort_key($coll, $s1);
echo urlencode($res);
+?>
--EXPECT--
82%40%40F%01%09%01%DC%08
diff --git a/ext/intl/tests/bug62081.phpt b/ext/intl/tests/bug62081.phpt
index b7adf7f873..a9889d26d9 100644
--- a/ext/intl/tests/bug62081.phpt
+++ b/ext/intl/tests/bug62081.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set('intl.error_level', E_WARNING);
$x = new IntlDateFormatter('en', 1, 1);
var_dump($x->__construct('en', 1, 1));
+?>
--EXPECTF--
Fatal error: Uncaught IntlException: IntlDateFormatter::__construct(): datefmt_create: cannot call constructor twice in %sbug62081.php:4
Stack trace:
diff --git a/ext/intl/tests/bug62082.phpt b/ext/intl/tests/bug62082.phpt
index 279462e789..ab0eca20b9 100644
--- a/ext/intl/tests/bug62082.phpt
+++ b/ext/intl/tests/bug62082.phpt
@@ -9,6 +9,7 @@ if (!extension_loaded('intl'))
var_dump(locale_get_display_name(str_repeat("a", 300), null));
var_dump(locale_get_display_name(str_repeat("a", 512), null));
var_dump(locale_get_display_name(str_repeat("a", 600), null));
+?>
--EXPECT--
bool(false)
bool(false)
diff --git a/ext/intl/tests/bug62083.phpt b/ext/intl/tests/bug62083.phpt
index 4baa5c5e9a..944a717a36 100644
--- a/ext/intl/tests/bug62083.phpt
+++ b/ext/intl/tests/bug62083.phpt
@@ -8,5 +8,6 @@ if (!extension_loaded('intl'))
<?php
$arr1 = array();
var_dump(grapheme_extract(-1, -1, -1,-1, $arr1));
+?>
--EXPECT--
bool(false)
diff --git a/ext/intl/tests/bug62915-2.phpt b/ext/intl/tests/bug62915-2.phpt
index a10b476ab4..411023dc41 100644
--- a/ext/intl/tests/bug62915-2.phpt
+++ b/ext/intl/tests/bug62915-2.phpt
@@ -28,6 +28,7 @@ foreach (range('A', 'D') as $subclass) {
$clone = clone $obj;
var_dump(get_class($clone));
}
+?>
--EXPECT--
string(1) "A"
string(1) "B"
diff --git a/ext/intl/tests/bug62915.phpt b/ext/intl/tests/bug62915.phpt
index 45d2dea5e9..09d757f63a 100644
--- a/ext/intl/tests/bug62915.phpt
+++ b/ext/intl/tests/bug62915.phpt
@@ -20,5 +20,6 @@ try {
} catch (Exception $e) {
var_dump($e->getMessage());
}
+?>
--EXPECT--
string(39) "Cannot clone unconstructed IntlTimeZone"
diff --git a/ext/intl/tests/bug68447.phpt b/ext/intl/tests/bug68447.phpt
index f320276df2..870913c9f3 100644
--- a/ext/intl/tests/bug68447.phpt
+++ b/ext/intl/tests/bug68447.phpt
@@ -16,6 +16,7 @@ echo grapheme_extract($haiyore, 12, GRAPHEME_EXTR_MAXBYTES) . "\n";
echo grapheme_extract($haiyore, 1, GRAPHEME_EXTR_MAXCHARS) . "\n";
echo grapheme_extract($haiyore, 2, GRAPHEME_EXTR_MAXCHARS) . "\n";
echo grapheme_extract($haiyore, 3, GRAPHEME_EXTR_MAXCHARS) . "\n";
+?>
--EXPECT--
葛󠄁
這󠄀
diff --git a/ext/intl/tests/bug72241.phpt b/ext/intl/tests/bug72241.phpt
index 7ac5a5b503..05336969e2 100644
--- a/ext/intl/tests/bug72241.phpt
+++ b/ext/intl/tests/bug72241.phpt
@@ -8,5 +8,6 @@ $var1=str_repeat("A", 1000);
$out = locale_get_primary_language($var1);
echo strlen($out) . PHP_EOL;
echo unpack('H*', $out)[1] . PHP_EOL;
+?>
--EXPECT--
0
diff --git a/ext/intl/tests/calendar_add_error.phpt b/ext/intl/tests/calendar_add_error.phpt
index 59b9abc053..2fdf7e0c9c 100644
--- a/ext/intl/tests/calendar_add_error.phpt
+++ b/ext/intl/tests/calendar_add_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_add(1, 2, 3));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_add(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_before_after_error.phpt b/ext/intl/tests/calendar_before_after_error.phpt
index 8fd6db2a1b..be1f01b927 100644
--- a/ext/intl/tests/calendar_before_after_error.phpt
+++ b/ext/intl/tests/calendar_before_after_error.phpt
@@ -60,6 +60,7 @@ try {
} catch (Error $ex) {
echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
}
+?>
--EXPECT--
error: 0, IntlCalendar::after() expects exactly 1 parameter, 0 given
diff --git a/ext/intl/tests/calendar_clear_error.phpt b/ext/intl/tests/calendar_clear_error.phpt
index 12e5098ec5..1e61f17315 100644
--- a/ext/intl/tests/calendar_clear_error.phpt
+++ b/ext/intl/tests/calendar_clear_error.phpt
@@ -27,6 +27,7 @@ try {
} catch (\TypeError $e) {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
IntlCalendar::clear(): Argument #1 ($field) must be a valid field
intlcal_clear(): Argument #2 ($field) must be a valid field
diff --git a/ext/intl/tests/calendar_const_field_field_count.phpt b/ext/intl/tests/calendar_const_field_field_count.phpt
index bae438fbbc..db7d57adde 100644
--- a/ext/intl/tests/calendar_const_field_field_count.phpt
+++ b/ext/intl/tests/calendar_const_field_field_count.phpt
@@ -9,5 +9,6 @@ if (!extension_loaded('intl'))
--FILE--
<?php
var_dump(IntlCalendar::FIELD_FIELD_COUNT);
+?>
--EXPECTF--
int(%d)
diff --git a/ext/intl/tests/calendar_createInstance_error.phpt b/ext/intl/tests/calendar_createInstance_error.phpt
index 516cc9260e..19d817b6be 100644
--- a/ext/intl/tests/calendar_createInstance_error.phpt
+++ b/ext/intl/tests/calendar_createInstance_error.phpt
@@ -13,6 +13,7 @@ function __construct() {}
}
var_dump(intlcal_create_instance(new X, NULL));
+?>
--EXPECTF--
Warning: intlcal_create_instance(): intlcal_create_instance: passed IntlTimeZone is not properly constructed in %s on line %d
NULL
diff --git a/ext/intl/tests/calendar_equals_error.phpt b/ext/intl/tests/calendar_equals_error.phpt
index dbed334962..41a7d17238 100644
--- a/ext/intl/tests/calendar_equals_error.phpt
+++ b/ext/intl/tests/calendar_equals_error.phpt
@@ -44,6 +44,7 @@ try {
} catch (Error $ex) {
echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
}
+?>
--EXPECT--
error: 0, IntlCalendar::equals() expects exactly 1 parameter, 0 given
diff --git a/ext/intl/tests/calendar_fieldDifference_error.phpt b/ext/intl/tests/calendar_fieldDifference_error.phpt
index bf9ab18c76..a7b83acdd6 100644
--- a/ext/intl/tests/calendar_fieldDifference_error.phpt
+++ b/ext/intl/tests/calendar_fieldDifference_error.phpt
@@ -25,6 +25,7 @@ try {
echo $e->getMessage(), "\n";
}
var_dump(intlcal_field_difference(1, 0, 1));
+?>
--EXPECTF--
IntlCalendar::fieldDifference() expects exactly 2 parameters, 3 given
diff --git a/ext/intl/tests/calendar_fromDateTime_basic.phpt b/ext/intl/tests/calendar_fromDateTime_basic.phpt
index dcbd4e1c61..84010329a6 100644
--- a/ext/intl/tests/calendar_fromDateTime_basic.phpt
+++ b/ext/intl/tests/calendar_fromDateTime_basic.phpt
@@ -35,6 +35,7 @@ var_dump(
strtotime('2012-01-01 00:00:00 +03:40') * 1000.,
$cal->getTimeZone()->getID()
);
+?>
--EXPECTF--
float(1325372400000)
float(1325372400000)
diff --git a/ext/intl/tests/calendar_fromDateTime_error.phpt b/ext/intl/tests/calendar_fromDateTime_error.phpt
index 6fbaeb57f8..c610335bb3 100644
--- a/ext/intl/tests/calendar_fromDateTime_error.phpt
+++ b/ext/intl/tests/calendar_fromDateTime_error.phpt
@@ -26,6 +26,7 @@ var_dump(IntlCalendar::fromDateTime($date));
$date = new DateTime('2012-01-01 00:00:00 WEST');
var_dump(IntlCalendar::fromDateTime($date));
+?>
--EXPECTF--
threw exception, OK
Warning: IntlCalendar::fromDateTime(): intlcal_from_date_time: DateTime object is unconstructed in %s on line %d
diff --git a/ext/intl/tests/calendar_getDayOfWeekType_error.phpt b/ext/intl/tests/calendar_getDayOfWeekType_error.phpt
index 9fee899901..512d29743b 100644
--- a/ext/intl/tests/calendar_getDayOfWeekType_error.phpt
+++ b/ext/intl/tests/calendar_getDayOfWeekType_error.phpt
@@ -21,7 +21,7 @@ try {
} catch (\TypeError $e) {
echo $e->getMessage() . \PHP_EOL;
}
-
+?>
--EXPECT--
IntlCalendar::getDayOfWeekType(): Argument #1 ($dayOfWeek) must be a valid day of the week
intlcal_get_day_of_week_type(): Argument #1 ($calendar) must be of type IntlCalendar, int given
diff --git a/ext/intl/tests/calendar_getErrorCode_error.phpt b/ext/intl/tests/calendar_getErrorCode_error.phpt
index 5bf65b59c5..7c7481ebbf 100644
--- a/ext/intl/tests/calendar_getErrorCode_error.phpt
+++ b/ext/intl/tests/calendar_getErrorCode_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_error_code(null));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_get_error_code(): Argument #1 ($calendar) must be of type IntlCalendar, null given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getErrorMessage_error.phpt b/ext/intl/tests/calendar_getErrorMessage_error.phpt
index 733194fee9..7b94b607b0 100644
--- a/ext/intl/tests/calendar_getErrorMessage_error.phpt
+++ b/ext/intl/tests/calendar_getErrorMessage_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_error_message(null));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_get_error_message(): Argument #1 ($calendar) must be of type IntlCalendar, null given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt b/ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt
index fa37edd380..353c5cb099 100644
--- a/ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt
+++ b/ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
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(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getLocale_error.phpt b/ext/intl/tests/calendar_getLocale_error.phpt
index 90102a53f6..7171b4934b 100644
--- a/ext/intl/tests/calendar_getLocale_error.phpt
+++ b/ext/intl/tests/calendar_getLocale_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_locale(1));
+?>
--EXPECTF--
Fatal error: Uncaught ArgumentCountError: intlcal_get_locale() expects exactly 2 parameters, 1 given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt b/ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt
index 9a84ac9719..c5918dae37 100644
--- a/ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt
+++ b/ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
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(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt b/ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt
index 3c8082d62b..3d604da1b4 100644
--- a/ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt
+++ b/ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
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(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getTimeZone_error.phpt b/ext/intl/tests/calendar_getTimeZone_error.phpt
index 11bc5631c8..4ccd28243c 100644
--- a/ext/intl/tests/calendar_getTimeZone_error.phpt
+++ b/ext/intl/tests/calendar_getTimeZone_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_time_zone(1));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_get_time_zone(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getTime_error.phpt b/ext/intl/tests/calendar_getTime_error.phpt
index 6018cd7c92..13f5253728 100644
--- a/ext/intl/tests/calendar_getTime_error.phpt
+++ b/ext/intl/tests/calendar_getTime_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_time(1));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_get_time(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getType_error.phpt b/ext/intl/tests/calendar_getType_error.phpt
index 83bf072508..30c2cb90e8 100644
--- a/ext/intl/tests/calendar_getType_error.phpt
+++ b/ext/intl/tests/calendar_getType_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_get_type(1));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_get_type(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_getWeekendTransition_error.phpt b/ext/intl/tests/calendar_getWeekendTransition_error.phpt
index 63a1e7d07b..87bb96d220 100644
--- a/ext/intl/tests/calendar_getWeekendTransition_error.phpt
+++ b/ext/intl/tests/calendar_getWeekendTransition_error.phpt
@@ -24,6 +24,7 @@ try {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
IntlCalendar::getWeekendTransition(): Argument #1 ($dayOfWeek) must be a valid day of the week
intlcal_get_weekend_transition(): Argument #1 ($calendar) must be of type IntlCalendar, int given
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 0199573178..13952ce6b2 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
@@ -73,6 +73,7 @@ try {
} catch (Error $e) {
echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
ValueError: 0, IntlCalendar::getLeastMaximum(): Argument #1 ($field) must be a valid field
ValueError: 0, IntlCalendar::getMaximum(): Argument #1 ($field) must be a valid field
diff --git a/ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt b/ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt
index 95ecf0e08f..d3fadb16ed 100644
--- a/ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt
+++ b/ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt
@@ -74,6 +74,7 @@ try {
} catch (Error $e) {
echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
ArgumentCountError: 0, intlcal_get() expects exactly 2 parameters, 1 given
ArgumentCountError: 0, intlcal_get_actual_maximum() 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 4b6d88aa4c..f0cb1d0cb1 100644
--- a/ext/intl/tests/calendar_inDaylightTime_error.phpt
+++ b/ext/intl/tests/calendar_inDaylightTime_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_in_daylight_time(1));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_in_daylight_time(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_isEquivalentTo_error.phpt b/ext/intl/tests/calendar_isEquivalentTo_error.phpt
index a801bba952..1dc36c2a24 100644
--- a/ext/intl/tests/calendar_isEquivalentTo_error.phpt
+++ b/ext/intl/tests/calendar_isEquivalentTo_error.phpt
@@ -48,6 +48,7 @@ try {
} catch (Error $ex) {
echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
}
+?>
--EXPECT--
error: 0, IntlCalendar::isEquivalentTo(): Argument #1 ($calendar) 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 dafefcc640..b4e499cbb3 100644
--- a/ext/intl/tests/calendar_isLenient_error.phpt
+++ b/ext/intl/tests/calendar_isLenient_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_is_lenient(1));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_is_lenient(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_isSet_error.phpt b/ext/intl/tests/calendar_isSet_error.phpt
index ccd25f621a..f7d3c39601 100644
--- a/ext/intl/tests/calendar_isSet_error.phpt
+++ b/ext/intl/tests/calendar_isSet_error.phpt
@@ -22,7 +22,7 @@ try {
} catch (\TypeError $e) {
echo $e->getMessage() . \PHP_EOL;
}
-
+?>
--EXPECT--
IntlCalendar::isSet(): Argument #1 ($field) must be a valid field
intlcal_is_set(): Argument #1 ($calendar) must be of type IntlCalendar, int given
diff --git a/ext/intl/tests/calendar_isWeekend_error.phpt b/ext/intl/tests/calendar_isWeekend_error.phpt
index aed66aefda..72e4708c88 100644
--- a/ext/intl/tests/calendar_isWeekend_error.phpt
+++ b/ext/intl/tests/calendar_isWeekend_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_is_weekend(1));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_is_weekend(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_roll_error.phpt b/ext/intl/tests/calendar_roll_error.phpt
index 77ce6e16a8..1cad8c7e62 100644
--- a/ext/intl/tests/calendar_roll_error.phpt
+++ b/ext/intl/tests/calendar_roll_error.phpt
@@ -22,6 +22,7 @@ try {
} catch (\TypeError $e) {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECTF--
IntlCalendar::roll(): Argument #1 ($field) must be a valid field
intlcal_roll(): Argument #1 ($calendar) must be of type IntlCalendar, int given
diff --git a/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt b/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt
index e3e3797b7a..5aae101c33 100644
--- a/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt
+++ b/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt
@@ -28,6 +28,7 @@ try {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
IntlCalendar::setFirstDayOfWeek(): Argument #1 ($dayOfWeek) must be a valid day of the week
intlcal_set_first_day_of_week(): Argument #2 ($dayOfWeek) must be a valid day of the week
diff --git a/ext/intl/tests/calendar_setLenient_error.phpt b/ext/intl/tests/calendar_setLenient_error.phpt
index 4dadb15c9f..63051c86a9 100644
--- a/ext/intl/tests/calendar_setLenient_error.phpt
+++ b/ext/intl/tests/calendar_setLenient_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_set_lenient(1, false));
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: intlcal_set_lenient(): Argument #1 ($calendar) must be of type IntlCalendar, int given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt b/ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt
index 04c4811eb0..05c6cb8e90 100644
--- a/ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt
+++ b/ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt
@@ -28,6 +28,7 @@ try {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
IntlCalendar::setMinimalDaysInFirstWeek(): Argument #1 ($numberOfDays) must be between 1 and 7
intlcal_set_minimal_days_in_first_week(): Argument #2 ($numberOfDays) must be between 1 and 7
diff --git a/ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt b/ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt
index 80ed808e47..45f34911a1 100644
--- a/ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt
+++ b/ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt
@@ -28,6 +28,7 @@ try {
} catch (\TypeError $e) {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
IntlCalendar::setSkippedWallTimeOption(): Argument #1 ($wallTimeOption) must be one of IntlCalendar::WALLTIME_FIRST, IntlCalendar::WALLTIME_LAST, or IntlCalendar::WALLTIME_NEXT_VALID
IntlCalendar::setRepeatedWallTimeOption(): Argument #1 ($wallTimeOption) must be either IntlCalendar::WALLTIME_FIRST or IntlCalendar::WALLTIME_LAST
diff --git a/ext/intl/tests/calendar_setTimeZone_error.phpt b/ext/intl/tests/calendar_setTimeZone_error.phpt
index 722b876ec3..4d3e7fdc6d 100644
--- a/ext/intl/tests/calendar_setTimeZone_error.phpt
+++ b/ext/intl/tests/calendar_setTimeZone_error.phpt
@@ -40,6 +40,7 @@ try{
} catch (Error $ex) {
echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
}
+?>
--EXPECT--
error: 0, IntlCalendar::setTimeZone() expects exactly 1 parameter, 2 given
diff --git a/ext/intl/tests/calendar_setTimeZone_error2.phpt b/ext/intl/tests/calendar_setTimeZone_error2.phpt
index 767aafa95a..5474161e65 100644
--- a/ext/intl/tests/calendar_setTimeZone_error2.phpt
+++ b/ext/intl/tests/calendar_setTimeZone_error2.phpt
@@ -19,6 +19,7 @@ var_dump($intlcal->getTimeZone()->getID());
$pstdate = new DateTime('2012-01-01 00:00:00 +24:00');
$intlcal->setTimeZone($pstdate->getTimeZone());
var_dump($intlcal->getTimeZone()->getID());
+?>
--EXPECTF--
Warning: IntlCalendar::setTimeZone(): intlcal_set_time_zone: time zone id 'WEST' extracted from ext/date DateTimeZone not recognized in %s on line %d
string(16) "Europe/Amsterdam"
diff --git a/ext/intl/tests/calendar_setTimeZone_variation2.phpt b/ext/intl/tests/calendar_setTimeZone_variation2.phpt
index 7f4a7ffa37..3789f032e2 100644
--- a/ext/intl/tests/calendar_setTimeZone_variation2.phpt
+++ b/ext/intl/tests/calendar_setTimeZone_variation2.phpt
@@ -23,6 +23,7 @@ var_dump($intlcal->getTimeZone()->getID());
$offsetdate = new DateTime('2012-01-01 00:00:00 -02:30');
$intlcal->setTimeZone($offsetdate->getTimeZone());
var_dump($intlcal->getTimeZone()->getID());
+?>
--EXPECTF--
string(12) "Europe/Paris"
string(13) "Europe/Madrid"
diff --git a/ext/intl/tests/calendar_setTime_error.phpt b/ext/intl/tests/calendar_setTime_error.phpt
index 0fb906bc2f..8d4f726081 100644
--- a/ext/intl/tests/calendar_setTime_error.phpt
+++ b/ext/intl/tests/calendar_setTime_error.phpt
@@ -11,6 +11,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(intlcal_set_time(1));
+?>
--EXPECTF--
Fatal error: Uncaught ArgumentCountError: intlcal_set_time() expects exactly 2 parameters, 1 given in %s:%d
Stack trace:
diff --git a/ext/intl/tests/calendar_set_error.phpt b/ext/intl/tests/calendar_set_error.phpt
index 236d3b6451..bd44356f61 100644
--- a/ext/intl/tests/calendar_set_error.phpt
+++ b/ext/intl/tests/calendar_set_error.phpt
@@ -41,6 +41,7 @@ try {
} catch (\TypeError $e) {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
IntlCalendar::set() expects at most 6 parameters, 7 given
IntlCalendar::set() has no variant with exactly 4 parameters
diff --git a/ext/intl/tests/calendar_toDateTime_error.phpt b/ext/intl/tests/calendar_toDateTime_error.phpt
index 01cf75c4c2..8a707b4507 100644
--- a/ext/intl/tests/calendar_toDateTime_error.phpt
+++ b/ext/intl/tests/calendar_toDateTime_error.phpt
@@ -40,6 +40,7 @@ try {
} catch (\TypeError $e) {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECTF--
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)"
diff --git a/ext/intl/tests/dateformat_clone_bad_obj.phpt b/ext/intl/tests/dateformat_clone_bad_obj.phpt
index 3425a1b0f8..a579968893 100644
--- a/ext/intl/tests/dateformat_clone_bad_obj.phpt
+++ b/ext/intl/tests/dateformat_clone_bad_obj.phpt
@@ -15,5 +15,6 @@ try {
} catch (Exception $e) {
var_dump($e->getMessage());
}
+?>
--EXPECTF--
string(%s) "Cannot clone unconstructed IntlDateFormatter"
diff --git a/ext/intl/tests/dateformat_format_relative.phpt b/ext/intl/tests/dateformat_format_relative.phpt
index f8e28220e5..745a0813a8 100644
--- a/ext/intl/tests/dateformat_format_relative.phpt
+++ b/ext/intl/tests/dateformat_format_relative.phpt
@@ -53,6 +53,7 @@ function getDayInPast(): DateTimeImmutable {
return new DateTimeImmutable("2020-01-20 20:20:20", new DateTimeZone("UTC"));
}
+?>
--EXPECT--
yesterday
yesterday
diff --git a/ext/intl/tests/dateformat_invalid_timezone.phpt b/ext/intl/tests/dateformat_invalid_timezone.phpt
index 5b54fa89bb..a19129391a 100644
--- a/ext/intl/tests/dateformat_invalid_timezone.phpt
+++ b/ext/intl/tests/dateformat_invalid_timezone.phpt
@@ -14,5 +14,6 @@ try {
} catch (\IntlException $e) {
echo $e->getMessage();
}
+?>
--EXPECT--
IntlDateFormatter::__construct(): Invalid date.timezone value 'Mars/Utopia_Planitia', we selected the timezone 'UTC' for now.
diff --git a/ext/intl/tests/dateformat_timezone_arg_variations.phpt b/ext/intl/tests/dateformat_timezone_arg_variations.phpt
index 5379ab2d5b..7c3972990c 100644
--- a/ext/intl/tests/dateformat_timezone_arg_variations.phpt
+++ b/ext/intl/tests/dateformat_timezone_arg_variations.phpt
@@ -34,6 +34,7 @@ echo $df->format($ts), "\n";
$df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
echo $df->format($ts), "\n";
+?>
--EXPECTF--
sábado%S 31 de diciembre de 2011 23:00:00 Hora%S de las Azores
domingo%S 1 de enero de 2012 01:00:00 Hora estándar de Europa Central
diff --git a/ext/intl/tests/dateformat_timezone_arg_variations2.phpt b/ext/intl/tests/dateformat_timezone_arg_variations2.phpt
index c50a6a8108..6091197813 100644
--- a/ext/intl/tests/dateformat_timezone_arg_variations2.phpt
+++ b/ext/intl/tests/dateformat_timezone_arg_variations2.phpt
@@ -34,6 +34,7 @@ echo $df->format($ts), "\n";
$df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
echo $df->format($ts), "\n";
+?>
--EXPECTF--
sábado%S, 31 de diciembre de 2011 23:00:00 Hora estándar de las Azores
domingo%S, 1 de enero de 2012 01:00:00 Hora estándar de Europa central
diff --git a/ext/intl/tests/dateformat_timezone_arg_variations3.phpt b/ext/intl/tests/dateformat_timezone_arg_variations3.phpt
index fe8841200a..95386c67c1 100644
--- a/ext/intl/tests/dateformat_timezone_arg_variations3.phpt
+++ b/ext/intl/tests/dateformat_timezone_arg_variations3.phpt
@@ -35,6 +35,7 @@ echo $df->format($ts), "\n";
$df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
echo $df->format($ts), "\n";
+?>
--EXPECTF--
sábado%S 31 de diciembre de 2011, 23:00:00 (Hora estándar de las Azores)
domingo%S 1 de enero de 2012, 1:00:00 (Hora estándar de Europa central)
diff --git a/ext/intl/tests/dateformat_timezone_arg_variations4.phpt b/ext/intl/tests/dateformat_timezone_arg_variations4.phpt
index 967c33e232..9a85eedf0f 100644
--- a/ext/intl/tests/dateformat_timezone_arg_variations4.phpt
+++ b/ext/intl/tests/dateformat_timezone_arg_variations4.phpt
@@ -34,6 +34,7 @@ echo $df->format($ts), "\n";
$df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
echo $df->format($ts), "\n";
+?>
--EXPECT--
sábado, 31 de diciembre de 2011, 23:00:00 (hora estándar de las Azores)
domingo, 1 de enero de 2012, 1:00:00 (hora estándar de Europa central)
diff --git a/ext/intl/tests/formatter_clone_bad_obj.phpt b/ext/intl/tests/formatter_clone_bad_obj.phpt
index d27024cb39..2c184f3d1f 100644
--- a/ext/intl/tests/formatter_clone_bad_obj.phpt
+++ b/ext/intl/tests/formatter_clone_bad_obj.phpt
@@ -15,5 +15,6 @@ try {
} catch (Exception $e) {
var_dump($e->getMessage());
}
+?>
--EXPECT--
string(42) "Cannot clone unconstructed NumberFormatter"
diff --git a/ext/intl/tests/gregoriancalendar___construct_error.phpt b/ext/intl/tests/gregoriancalendar___construct_error.phpt
index dcea7aa1db..7e5ce659bf 100644
--- a/ext/intl/tests/gregoriancalendar___construct_error.phpt
+++ b/ext/intl/tests/gregoriancalendar___construct_error.phpt
@@ -33,6 +33,7 @@ try {
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
+?>
--EXPECT--
Too many arguments
Too many arguments
diff --git a/ext/intl/tests/idn_uts46_basic.phpt b/ext/intl/tests/idn_uts46_basic.phpt
index 5178c08d6c..492dbec7ed 100644
--- a/ext/intl/tests/idn_uts46_basic.phpt
+++ b/ext/intl/tests/idn_uts46_basic.phpt
@@ -26,6 +26,7 @@ var_dump($info);
echo "reverse, ok, with details:", "\n";
var_dump(idn_to_utf8($asciiNonTrans, 0, INTL_IDNA_VARIANT_UTS46, $info));
var_dump($info);
+?>
--EXPECT--
all ok, no details:
string(22) "www.xn--fuball-cta.com"
diff --git a/ext/intl/tests/ini_use_exceptions_basic.phpt b/ext/intl/tests/ini_use_exceptions_basic.phpt
index 8945c130eb..1b06e6de3a 100644
--- a/ext/intl/tests/ini_use_exceptions_basic.phpt
+++ b/ext/intl/tests/ini_use_exceptions_basic.phpt
@@ -14,6 +14,7 @@ try {
ini_set("intl.use_exceptions", false);
ini_set("intl.error_level", E_NOTICE);
var_dump($t->transliterate('a', 3));
+?>
--EXPECTF--
string(130) "transliterator_transliterate: Neither "start" nor the "end" arguments can exceed the number of UTF-16 code units (in this case, 1)"
diff --git a/ext/intl/tests/locale/bug74993.phpt b/ext/intl/tests/locale/bug74993.phpt
index 49b5bd4589..67cc101993 100644
--- a/ext/intl/tests/locale/bug74993.phpt
+++ b/ext/intl/tests/locale/bug74993.phpt
@@ -18,6 +18,7 @@ $funcs = [
foreach ($funcs as $func) {
echo (new ReflectionFunction($func));
}
+?>
--EXPECT--
Function [ <internal:intl> function locale_get_display_language ] {
diff --git a/ext/intl/tests/msgfmt_clone_bad_obj.phpt b/ext/intl/tests/msgfmt_clone_bad_obj.phpt
index 829cd6f1e2..7d7e93788c 100644
--- a/ext/intl/tests/msgfmt_clone_bad_obj.phpt
+++ b/ext/intl/tests/msgfmt_clone_bad_obj.phpt
@@ -15,5 +15,6 @@ try {
} catch (Exception $e) {
var_dump($e->getMessage());
}
+?>
--EXPECTF--
string(%d) "Cannot clone unconstructed MessageFormatter"
diff --git a/ext/intl/tests/msgfmt_format_error1.phpt b/ext/intl/tests/msgfmt_format_error1.phpt
index 1b460b65e1..4523613c77 100644
--- a/ext/intl/tests/msgfmt_format_error1.phpt
+++ b/ext/intl/tests/msgfmt_format_error1.phpt
@@ -14,5 +14,6 @@ EOD;
$mf = new MessageFormatter('en_US', $fmt);
var_dump($mf->format(array(7)));
+?>
--EXPECT--
string(5) "7 {1}"
diff --git a/ext/intl/tests/msgfmt_format_error2.phpt b/ext/intl/tests/msgfmt_format_error2.phpt
index 69ab9f37ca..487f760b52 100644
--- a/ext/intl/tests/msgfmt_format_error2.phpt
+++ b/ext/intl/tests/msgfmt_format_error2.phpt
@@ -14,6 +14,7 @@ EOD;
$mf = new MessageFormatter('en_US', $fmt);
var_dump($mf->format(array(7)));
+?>
--EXPECTF--
Warning: MessageFormatter::format(): Inconsistent types declared for an argument in %s on line %d
bool(false)
diff --git a/ext/intl/tests/msgfmt_format_error3.phpt b/ext/intl/tests/msgfmt_format_error3.phpt
index 5cbe9a121b..2df598ce5b 100644
--- a/ext/intl/tests/msgfmt_format_error3.phpt
+++ b/ext/intl/tests/msgfmt_format_error3.phpt
@@ -14,6 +14,7 @@ EOD;
$mf = new MessageFormatter('en_US', $fmt);
var_dump($mf->format(array("foo" => 7, -1 => "bar")));
+?>
--EXPECTF--
Warning: MessageFormatter::format(): Found negative or too large array key in %s on line %d
bool(false)
diff --git a/ext/intl/tests/msgfmt_format_error5.phpt b/ext/intl/tests/msgfmt_format_error5.phpt
index c828b43abb..5ec5ddf189 100644
--- a/ext/intl/tests/msgfmt_format_error5.phpt
+++ b/ext/intl/tests/msgfmt_format_error5.phpt
@@ -16,6 +16,7 @@ EOD;
$mf = new MessageFormatter('en_US', $fmt);
var_dump($mf->format(array("foo" => new stdclass())));
+?>
--EXPECTF--
Warning: MessageFormatter::format(): msgfmt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted) in %s on line %d
diff --git a/ext/intl/tests/msgfmt_format_error6.phpt b/ext/intl/tests/msgfmt_format_error6.phpt
index 8a6998a35b..968701b711 100644
--- a/ext/intl/tests/msgfmt_format_error6.phpt
+++ b/ext/intl/tests/msgfmt_format_error6.phpt
@@ -14,6 +14,7 @@ EOD;
$mf = new MessageFormatter('en_US', $fmt);
var_dump($mf->format(array("foo" => 'bar', 7 => fopen('php://memory', 'r+'))));
+?>
--EXPECTF--
Warning: MessageFormatter::format(): No strategy to convert the value given for the argument with key '7' is available in %s on line %d
bool(false)
diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic.phpt b/ext/intl/tests/timezone_IDforWindowsID_basic.phpt
index e2cb329196..ccf923f42a 100644
--- a/ext/intl/tests/timezone_IDforWindowsID_basic.phpt
+++ b/ext/intl/tests/timezone_IDforWindowsID_basic.phpt
@@ -25,6 +25,7 @@ foreach ($tzs as $tz => $regions) {
}
}
}
+?>
--EXPECT--
** Gnomeregan
bool(false)
diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
index 800fc9a021..5008c2b66a 100644
--- a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
+++ b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
@@ -24,6 +24,7 @@ foreach ($tzs as $tz => $regions) {
}
}
}
+?>
--EXPECT--
** Gnomeregan
bool(false)
diff --git a/ext/intl/tests/timezone_countEquivalentIDs_error.phpt b/ext/intl/tests/timezone_countEquivalentIDs_error.phpt
index 4fc9b02a1d..6629f74ba6 100644
--- a/ext/intl/tests/timezone_countEquivalentIDs_error.phpt
+++ b/ext/intl/tests/timezone_countEquivalentIDs_error.phpt
@@ -9,6 +9,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(IntlTimeZone::countEquivalentIDs("foo\x80"));
+?>
--EXPECTF--
Warning: IntlTimeZone::countEquivalentIDs(): intltz_count_equivalent_ids: could not convert time zone id to UTF-16 in %s on line %d
bool(false)
diff --git a/ext/intl/tests/timezone_createTimeZoneIDEnumeration_error.phpt b/ext/intl/tests/timezone_createTimeZoneIDEnumeration_error.phpt
index 2b847ec841..3bf7c9a670 100644
--- a/ext/intl/tests/timezone_createTimeZoneIDEnumeration_error.phpt
+++ b/ext/intl/tests/timezone_createTimeZoneIDEnumeration_error.phpt
@@ -9,6 +9,7 @@ if (!extension_loaded('intl'))
ini_set("intl.error_level", E_WARNING);
var_dump(IntlTimeZone::createTimeZoneIDEnumeration(-1));
+?>
--EXPECTF--
Warning: IntlTimeZone::createTimeZoneIDEnumeration(): intltz_create_time_zone_id_enumeration: bad zone type in %s on line %d
bool(false)
diff --git a/ext/intl/tests/timezone_fromDateTimeZone_basic.phpt b/ext/intl/tests/timezone_fromDateTimeZone_basic.phpt
index c846b0b20e..b15edc030d 100644
--- a/ext/intl/tests/timezone_fromDateTimeZone_basic.phpt
+++ b/ext/intl/tests/timezone_fromDateTimeZone_basic.phpt
@@ -29,6 +29,7 @@ $dtz = $dt->getTimeZone();
var_dump($dtz->getName());
$tz = IntlTimeZone::fromDateTimeZone($dtz);
var_dump($tz->getID(), $tz->getRawOffset() /* (3*60+40)*60000 */);
+?>
--EXPECTF--
string(16) "Europe/Amsterdam"
int(3600000)
diff --git a/ext/intl/tests/timezone_getDisplayName_error.phpt b/ext/intl/tests/timezone_getDisplayName_error.phpt
index 0a76fcf1e9..41131e0fe3 100644
--- a/ext/intl/tests/timezone_getDisplayName_error.phpt
+++ b/ext/intl/tests/timezone_getDisplayName_error.phpt
@@ -12,6 +12,7 @@ $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
var_dump($tz->getDisplayName(false, -1));
var_dump(intltz_get_display_name(null, IntlTimeZone::DISPLAY_SHORT, false, 'pt_PT'));
+?>
--EXPECTF--
Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: wrong display type in %s on line %d
bool(false)
diff --git a/ext/intl/tests/timezone_hasSameRules_error.phpt b/ext/intl/tests/timezone_hasSameRules_error.phpt
index 99d2a2e21d..c087e1ac5b 100644
--- a/ext/intl/tests/timezone_hasSameRules_error.phpt
+++ b/ext/intl/tests/timezone_hasSameRules_error.phpt
@@ -29,6 +29,7 @@ try {
var_dump($ex->getCode(), $ex->getMessage());
echo "\n";
}
+?>
--EXPECT--
int(0)
string(101) "IntlTimeZone::hasSameRules(): Argument #1 ($otherTimeZone) must be of type IntlTimeZone, string given"
diff --git a/ext/intl/tests/timezone_toDateTimeZone_basic.phpt b/ext/intl/tests/timezone_toDateTimeZone_basic.phpt
index 3679fe9717..f27ee72097 100644
--- a/ext/intl/tests/timezone_toDateTimeZone_basic.phpt
+++ b/ext/intl/tests/timezone_toDateTimeZone_basic.phpt
@@ -22,6 +22,7 @@ function do_test(IntlTimeZone $tz, $proc = false) {
do_test(IntlTimeZone::createTimeZone('CET'));
do_test(IntlTimeZone::createTimeZone('Europe/Amsterdam'));
do_test(IntlTimeZone::createTimeZone('GMT+0405'), true);
+?>
--EXPECTF--
string(3) "CET"
int(3600000)
diff --git a/ext/intl/tests/timezone_toDateTimeZone_error.phpt b/ext/intl/tests/timezone_toDateTimeZone_error.phpt
index 530c73e3be..fc2552e690 100644
--- a/ext/intl/tests/timezone_toDateTimeZone_error.phpt
+++ b/ext/intl/tests/timezone_toDateTimeZone_error.phpt
@@ -17,6 +17,7 @@ try {
}
var_dump(intltz_to_date_time_zone(1));
+?>
--EXPECTF--
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)"
diff --git a/ext/intl/tests/timezone_windowsID_basic.phpt b/ext/intl/tests/timezone_windowsID_basic.phpt
index e91d5f5ba9..edf2fd5a47 100644
--- a/ext/intl/tests/timezone_windowsID_basic.phpt
+++ b/ext/intl/tests/timezone_windowsID_basic.phpt
@@ -28,6 +28,7 @@ foreach ($tzs as $tz) {
echo "Error: ", intl_get_error_message(), "\n";
}
}
+?>
--EXPECT--
string(24) "SA Pacific Standard Time"
string(21) "Eastern Standard Time"
diff --git a/ext/intl/tests/timezone_windowsID_basic2.phpt b/ext/intl/tests/timezone_windowsID_basic2.phpt
index 94a1ac198c..7c00b646b6 100644
--- a/ext/intl/tests/timezone_windowsID_basic2.phpt
+++ b/ext/intl/tests/timezone_windowsID_basic2.phpt
@@ -27,6 +27,7 @@ foreach ($tzs as $tz) {
echo "Error: ", intl_get_error_message(), "\n";
}
}
+?>
--EXPECT--
string(24) "SA Pacific Standard Time"
string(18) "Cuba Standard Time"
diff --git a/ext/intl/tests/transliterator_clone.phpt b/ext/intl/tests/transliterator_clone.phpt
index 3253b0f793..f8e376fee6 100644
--- a/ext/intl/tests/transliterator_clone.phpt
+++ b/ext/intl/tests/transliterator_clone.phpt
@@ -14,6 +14,7 @@ $u = clone $t;
echo $u->id, ": ", $u->transliterate($str), "\n";
echo "Done.\n";
+?>
--EXPECT--
hex-any: a 万
hex-any: a 万
diff --git a/ext/intl/tests/transliterator_create_basic.phpt b/ext/intl/tests/transliterator_create_basic.phpt
index 171687aae8..6950960ecd 100644
--- a/ext/intl/tests/transliterator_create_basic.phpt
+++ b/ext/intl/tests/transliterator_create_basic.phpt
@@ -12,6 +12,7 @@ $t = transliterator_create("any-latin");
echo $t->id,"\n";
echo "Done.\n";
+?>
--EXPECT--
any-latin
any-latin
diff --git a/ext/intl/tests/transliterator_create_error.phpt b/ext/intl/tests/transliterator_create_error.phpt
index 4f2d04ae78..fd2acd393b 100644
--- a/ext/intl/tests/transliterator_create_error.phpt
+++ b/ext/intl/tests/transliterator_create_error.phpt
@@ -12,6 +12,7 @@ Transliterator::create("bad UTF-8 \x8F");
echo intl_get_error_message(), "\n";
echo "Done.\n";
+?>
--EXPECTF--
Warning: Transliterator::create(): transliterator_create: unable to open ICU transliterator with id "inexistent id" in %s on line %d
transliterator_create: unable to open ICU transliterator with id "inexistent id": U_INVALID_ID
diff --git a/ext/intl/tests/transliterator_create_from_rule_basic.phpt b/ext/intl/tests/transliterator_create_from_rule_basic.phpt
index eb8d5da787..42b5649771 100644
--- a/ext/intl/tests/transliterator_create_from_rule_basic.phpt
+++ b/ext/intl/tests/transliterator_create_from_rule_basic.phpt
@@ -21,6 +21,7 @@ $u = transliterator_create_from_rules($rules, Transliterator::REVERSE);
echo $u->transliterate("``akk ``bkk ``aooy"), "\n";
echo "Done.\n";
+?>
--EXPECT--
RulesTransPHP
“akk ``bkk “aooy
diff --git a/ext/intl/tests/transliterator_create_from_rule_error.phpt b/ext/intl/tests/transliterator_create_from_rule_error.phpt
index 64c57da854..83e36a5cc0 100644
--- a/ext/intl/tests/transliterator_create_from_rule_error.phpt
+++ b/ext/intl/tests/transliterator_create_from_rule_error.phpt
@@ -24,6 +24,7 @@ RULES;
$t = Transliterator::createFromRules($rules);
echo intl_get_error_message(),"\n";
echo "Done.\n";
+?>
--EXPECTF--
Warning: Transliterator::createFromRules(): String conversion of rules to UTF-16 failed in %s on line %d
String conversion of rules to UTF-16 failed: U_INVALID_CHAR_FOUND
diff --git a/ext/intl/tests/transliterator_create_inverse_basic.phpt b/ext/intl/tests/transliterator_create_inverse_basic.phpt
index 3b78ee9d6b..c7694a021e 100644
--- a/ext/intl/tests/transliterator_create_inverse_basic.phpt
+++ b/ext/intl/tests/transliterator_create_inverse_basic.phpt
@@ -25,6 +25,7 @@ var_dump($orstr === $recovstr);
var_dump($orstr === $recovstr2);
echo "Done.\n";
+?>
--EXPECT--
オーシャンビュー
ōshanbyū
diff --git a/ext/intl/tests/transliterator_get_error_code_basic.phpt b/ext/intl/tests/transliterator_get_error_code_basic.phpt
index 3d16a8a9a0..307f0b2334 100644
--- a/ext/intl/tests/transliterator_get_error_code_basic.phpt
+++ b/ext/intl/tests/transliterator_get_error_code_basic.phpt
@@ -15,6 +15,7 @@ var_dump($t->transliterate(""));
echo $t->getErrorCode(), "\n";
echo "Done.\n";
+?>
--EXPECTF--
Warning: Transliterator::transliterate(): String conversion of string to UTF-16 failed in %s on line %d
bool(false)
diff --git a/ext/intl/tests/transliterator_get_error_message_basic.phpt b/ext/intl/tests/transliterator_get_error_message_basic.phpt
index 4e918530b2..cbb028ab00 100644
--- a/ext/intl/tests/transliterator_get_error_message_basic.phpt
+++ b/ext/intl/tests/transliterator_get_error_message_basic.phpt
@@ -15,6 +15,7 @@ var_dump($t->transliterate(""));
echo $t->getErrorMessage(), "\n";
echo "Done.\n";
+?>
--EXPECTF--
Warning: Transliterator::transliterate(): String conversion of string to UTF-16 failed in %s on line %d
bool(false)
diff --git a/ext/intl/tests/transliterator_list_ids_basic.phpt b/ext/intl/tests/transliterator_list_ids_basic.phpt
index af65b5853e..e5bd4a3ea5 100644
--- a/ext/intl/tests/transliterator_list_ids_basic.phpt
+++ b/ext/intl/tests/transliterator_list_ids_basic.phpt
@@ -10,6 +10,7 @@ var_dump(count(transliterator_list_ids()) > 100);
var_dump(count(Transliterator::listIDs()) > 100);
echo "Done.\n";
+?>
--EXPECT--
bool(true)
bool(true)
diff --git a/ext/intl/tests/transliterator_property_id.phpt b/ext/intl/tests/transliterator_property_id.phpt
index b5337b68e6..1ac45981a4 100644
--- a/ext/intl/tests/transliterator_property_id.phpt
+++ b/ext/intl/tests/transliterator_property_id.phpt
@@ -11,6 +11,7 @@ echo $revtr->id, "\n";
var_dump($revtr);
echo "Done.\n";
+?>
--EXPECTF--
Katakana-Latin
Latin-Katakana
diff --git a/ext/intl/tests/transliterator_transliterate_basic.phpt b/ext/intl/tests/transliterator_transliterate_basic.phpt
index f117834781..387f0cbd91 100644
--- a/ext/intl/tests/transliterator_transliterate_basic.phpt
+++ b/ext/intl/tests/transliterator_transliterate_basic.phpt
@@ -12,6 +12,7 @@ echo $t->transliterate($s, 3),"\n";
echo $t->transliterate($s, 3, 4),"\n";
echo "Done.\n";
+?>
--EXPECT--
Kontogiannátos, Basílēs
Kontogiannátos, Basílēs
diff --git a/ext/intl/tests/transliterator_transliterate_error.phpt b/ext/intl/tests/transliterator_transliterate_error.phpt
index da9a887455..d33e8b3f37 100644
--- a/ext/intl/tests/transliterator_transliterate_error.phpt
+++ b/ext/intl/tests/transliterator_transliterate_error.phpt
@@ -17,6 +17,7 @@ var_dump(transliterator_transliterate($tr,"str",7,6));
transliterator_transliterate($tr, "\x80\x03");
echo "Done.\n";
+?>
--EXPECTF--
Warning: transliterator_transliterate(): transliterator_transliterate: Neither "start" nor the "end" arguments can exceed the number of UTF-16 code units (in this case, 3) in %s on line %d
bool(false)
diff --git a/ext/intl/tests/transliterator_transliterate_variant1.phpt b/ext/intl/tests/transliterator_transliterate_variant1.phpt
index dcd01efd40..3c5a1899a9 100644
--- a/ext/intl/tests/transliterator_transliterate_variant1.phpt
+++ b/ext/intl/tests/transliterator_transliterate_variant1.phpt
@@ -20,6 +20,7 @@ echo transliterator_transliterate(new A(), $str), "\n";
echo intl_get_error_message(), "\n";
echo "Done.\n";
+?>
--EXPECTF--
\u0020o
diff --git a/ext/intl/tests/uconverter___construct_error.phpt b/ext/intl/tests/uconverter___construct_error.phpt
index 1b2480818b..c5f20c6d6e 100644
--- a/ext/intl/tests/uconverter___construct_error.phpt
+++ b/ext/intl/tests/uconverter___construct_error.phpt
@@ -8,6 +8,7 @@ intl.error_level = E_WARNING
<?php
$c = new UConverter('utf-8', "\x80");
var_dump($c);
+?>
--EXPECTF--
Warning: UConverter::__construct(): ucnv_open() returned error 4: U_FILE_ACCESS_ERROR in %s on line %d
object(UConverter)#%d (0) {
diff --git a/ext/intl/tests/uconverter_bug66873.phpt b/ext/intl/tests/uconverter_bug66873.phpt
index aa1045ec35..c94da0c87d 100644
--- a/ext/intl/tests/uconverter_bug66873.phpt
+++ b/ext/intl/tests/uconverter_bug66873.phpt
@@ -7,5 +7,6 @@ Bug #66873 - crash in UConverter with invalid encoding
$o = new UConverter(1, 1);
$o->toUCallback(1, 1, 1, $b);
var_dump($o->getErrorCode());
+?>
--EXPECT--
int(27)
diff --git a/ext/intl/tests/uconverter_enum.phpt b/ext/intl/tests/uconverter_enum.phpt
index 09b6c23194..73b9ec0f1c 100644
--- a/ext/intl/tests/uconverter_enum.phpt
+++ b/ext/intl/tests/uconverter_enum.phpt
@@ -12,6 +12,7 @@ var_dump(in_array('ISO-8859-1', $avail));
$latin1 = UConverter::getAliases('latin1');
var_dump(in_array('ISO-8859-1', $latin1));
+?>
--EXPECT--
bool(true)
bool(true)
diff --git a/ext/intl/tests/uconverter_func_basic.phpt b/ext/intl/tests/uconverter_func_basic.phpt
index da8956beae..04a0cbc1f0 100644
--- a/ext/intl/tests/uconverter_func_basic.phpt
+++ b/ext/intl/tests/uconverter_func_basic.phpt
@@ -10,6 +10,7 @@ var_dump(urlencode(UConverter::transcode("Espa\xF1ol", 'utf-8', 'latin1')));
var_dump(urlencode(UConverter::transcode("Stra\xDFa", 'utf-8', 'latin1')));
var_dump(bin2hex(UConverter::transcode("\xE4", 'utf-8', 'koi8-r')));
+?>
--EXPECT--
string(23) "This is an ascii string"
string(12) "Espa%C3%B1ol"
diff --git a/ext/intl/tests/uconverter_func_subst.phpt b/ext/intl/tests/uconverter_func_subst.phpt
index 09121ff49b..5052b711f5 100644
--- a/ext/intl/tests/uconverter_func_subst.phpt
+++ b/ext/intl/tests/uconverter_func_subst.phpt
@@ -21,6 +21,7 @@ foreach(array('?','','??') as $subst) {
var_dump($ret);
}
}
+?>
--EXPECT--
string(23) "This is an ascii string"
string(12) "Snowman: (?)"
diff --git a/ext/intl/tests/uconverter_getDestinationEncoding.phpt b/ext/intl/tests/uconverter_getDestinationEncoding.phpt
index 0bfe25d2e3..4b899bb01c 100644
--- a/ext/intl/tests/uconverter_getDestinationEncoding.phpt
+++ b/ext/intl/tests/uconverter_getDestinationEncoding.phpt
@@ -10,5 +10,6 @@ intl.error_level = E_WARNING
<?php
$c = new UConverter('UTF-7', 'ascii');
var_dump($c->getDestinationEncoding());
+?>
--EXPECT--
string(5) "UTF-7"
diff --git a/ext/intl/tests/uconverter_getSourceEncoding.phpt b/ext/intl/tests/uconverter_getSourceEncoding.phpt
index c544e8e9b2..3e93e19881 100644
--- a/ext/intl/tests/uconverter_getSourceEncoding.phpt
+++ b/ext/intl/tests/uconverter_getSourceEncoding.phpt
@@ -10,5 +10,6 @@ intl.error_level = E_WARNING
<?php
$c = new UConverter('utf-32', 'ascii');
var_dump($c->getSourceEncoding());
+?>
--EXPECT--
string(8) "US-ASCII"
diff --git a/ext/intl/tests/uconverter_oop_algo.phpt b/ext/intl/tests/uconverter_oop_algo.phpt
index 349182ce32..f8533502a9 100644
--- a/ext/intl/tests/uconverter_oop_algo.phpt
+++ b/ext/intl/tests/uconverter_oop_algo.phpt
@@ -11,6 +11,7 @@ var_dump(UConverter::UTF8 === $c->getDestinationType());
$c = new UConverter('koi8-r', 'utf-32be');
var_dump(UConverter::UTF32_BigEndian === $c->getSourceType());
var_dump(UConverter::SBCS === $c->getDestinationType());
+?>
--EXPECT--
bool(true)
bool(true)
diff --git a/ext/intl/tests/uconverter_oop_basic.phpt b/ext/intl/tests/uconverter_oop_basic.phpt
index 2b8909ff31..3df7218889 100644
--- a/ext/intl/tests/uconverter_oop_basic.phpt
+++ b/ext/intl/tests/uconverter_oop_basic.phpt
@@ -13,6 +13,7 @@ var_dump(urlencode($c->convert("Stra\xC3\x9Fa", true))); // Reverse prior op
$k = new UConverter('utf-8', 'koi8-r');
var_dump(bin2hex($k->convert("\xE4"))); // U+0414 CYRILLIC CAPITAL LETTER DE
+?>
--EXPECT--
string(23) "This is an ascii string"
string(12) "Espa%C3%B1ol"
diff --git a/ext/intl/tests/uconverter_oop_callback.phpt b/ext/intl/tests/uconverter_oop_callback.phpt
index 4c31babf86..c6e34fc27d 100644
--- a/ext/intl/tests/uconverter_oop_callback.phpt
+++ b/ext/intl/tests/uconverter_oop_callback.phpt
@@ -28,6 +28,7 @@ $c = new MyConverter('ascii', 'utf-8');
foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) {
$c->convert($word);
}
+?>
--EXPECT--
toUCallback(REASON_RESET, ...)
toUCallback(REASON_RESET, ...)
diff --git a/ext/intl/tests/uconverter_oop_callback2.phpt b/ext/intl/tests/uconverter_oop_callback2.phpt
index 960e4edfc9..e9123fc006 100644
--- a/ext/intl/tests/uconverter_oop_callback2.phpt
+++ b/ext/intl/tests/uconverter_oop_callback2.phpt
@@ -28,6 +28,7 @@ $c = new MyConverter('ascii', 'utf-8');
foreach(array("regular", "irregul\xC1\xA1r", "\xC2\xA1unsupported!") as $word) {
$c->convert($word);
}
+?>
--EXPECT--
toUCallback(REASON_RESET, ...)
toUCallback(REASON_RESET, ...)
diff --git a/ext/intl/tests/uconverter_oop_callback_return.phpt b/ext/intl/tests/uconverter_oop_callback_return.phpt
index cd7e7a5834..f6fa22ba87 100644
--- a/ext/intl/tests/uconverter_oop_callback_return.phpt
+++ b/ext/intl/tests/uconverter_oop_callback_return.phpt
@@ -35,6 +35,7 @@ $c = new MyConverter('ascii', 'utf-8');
var_dump($c->convert("\x80\x81\x82\x83"));
// This line will trigger fromUCallback
var_dump($c->convert("\xC3\xB1\xC3\xB2\xC3\xB3\xC3\xB4"));
+?>
--EXPECT--
string(3) "abc"
string(3) "ABC"
diff --git a/ext/intl/tests/uconverter_oop_subst.phpt b/ext/intl/tests/uconverter_oop_subst.phpt
index 3cfc0078df..7cef051eec 100644
--- a/ext/intl/tests/uconverter_oop_subst.phpt
+++ b/ext/intl/tests/uconverter_oop_subst.phpt
@@ -16,6 +16,7 @@ foreach(array('?','','<unknown>') as $subst) {
var_dump($c->convert("This is an ascii string"));
var_dump($c->convert("Snowman: (\xE2\x98\x83)"));
}
+?>
--EXPECT--
string(23) "This is an ascii string"
string(12) "Snowman: (?)"
diff --git a/ext/intl/tests/uconverter_setSourceEncoding.phpt b/ext/intl/tests/uconverter_setSourceEncoding.phpt
index 69d8d346ab..2428cebc53 100644
--- a/ext/intl/tests/uconverter_setSourceEncoding.phpt
+++ b/ext/intl/tests/uconverter_setSourceEncoding.phpt
@@ -12,6 +12,7 @@ $c = new UConverter('latin1', 'ascii');
var_dump($c->getSourceEncoding());
$c->setSourceEncoding('utf-7');
var_dump($c->getSourceEncoding());
+?>
--EXPECT--
string(8) "US-ASCII"
string(5) "UTF-7"
diff --git a/ext/intl/uchar/tests/basic-functionality.phpt b/ext/intl/uchar/tests/basic-functionality.phpt
index b61e129051..d5677f5a76 100644
--- a/ext/intl/uchar/tests/basic-functionality.phpt
+++ b/ext/intl/uchar/tests/basic-functionality.phpt
@@ -49,6 +49,7 @@ IntlChar::enumCharNames(0x2600, 0x2610, function($cp, $nc, $name) {
});
echo "RECYCLING SYMBOL FOR TYPE-1 PLASTICS => ";
var_dump(IntlChar::charFromName("RECYCLING SYMBOL FOR TYPE-1 PLASTICS"));
+?>
--EXPECT--
Codepoint range: 0000-10ffff
Codepoint U+0050
diff --git a/ext/json/tests/bug62369.phpt b/ext/json/tests/bug62369.phpt
index 19dc299eb2..379bd2953c 100644
--- a/ext/json/tests/bug62369.phpt
+++ b/ext/json/tests/bug62369.phpt
@@ -27,6 +27,7 @@ switch (json_last_error()) {
echo 'ERROR' . PHP_EOL;
break;
}
+?>
--EXPECT--
OK
ERROR
diff --git a/ext/json/tests/bug64874_part1.phpt b/ext/json/tests/bug64874_part1.phpt
index 17ca0eef26..a9915bd155 100644
--- a/ext/json/tests/bug64874_part1.phpt
+++ b/ext/json/tests/bug64874_part1.phpt
@@ -39,6 +39,7 @@ decode("\rtrue\n");
decode("\rtrue\r");
echo "Done\n";
+?>
--EXPECT--
bool(true)
bool(false)
diff --git a/ext/json/tests/bug64874_part2.phpt b/ext/json/tests/bug64874_part2.phpt
index ec885c2e4f..e38e78f826 100644
--- a/ext/json/tests/bug64874_part2.phpt
+++ b/ext/json/tests/bug64874_part2.phpt
@@ -27,6 +27,7 @@ decode('[Null]');
echo PHP_EOL;
echo "Done\n";
+?>
--EXPECT--
bool(true)
SUCCESS
diff --git a/ext/json/tests/bug73113.phpt b/ext/json/tests/bug73113.phpt
index aec95e6959..36d78ffdd4 100644
--- a/ext/json/tests/bug73113.phpt
+++ b/ext/json/tests/bug73113.phpt
@@ -18,5 +18,6 @@ try {
} catch (\Exception $e) {
echo $e->getMessage();
}
+?>
--EXPECT--
This error is expected
diff --git a/ext/json/tests/serialize.phpt b/ext/json/tests/serialize.phpt
index 61396b332c..288e3f6733 100644
--- a/ext/json/tests/serialize.phpt
+++ b/ext/json/tests/serialize.phpt
@@ -59,6 +59,7 @@ foreach(array('NonSerializingTest','SerializingTest','ValueSerializingTest','Sel
echo json_encode(new $class($ndata)), "\n";
echo json_encode(new $class($odata)), "\n";
}
+?>
--EXPECT--
==NonSerializingTest==
{"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}}
diff --git a/ext/libxml/tests/bug54440.phpt b/ext/libxml/tests/bug54440.phpt
index a4d5ed4880..ecfebbdde0 100644
--- a/ext/libxml/tests/bug54440.phpt
+++ b/ext/libxml/tests/bug54440.phpt
@@ -32,6 +32,7 @@ stream_context_set_default(stream_context_get_options($ctx1));
libxml_set_streams_context($ctx2);
@simplexml_load_file('test://sdfsdf');
+?>
--EXPECT--
Array
(
diff --git a/ext/libxml/tests/libxml_set_external_entity_loader_error1.phpt b/ext/libxml/tests/libxml_set_external_entity_loader_error1.phpt
index 70aa9ceaa4..d6d056a146 100644
--- a/ext/libxml/tests/libxml_set_external_entity_loader_error1.phpt
+++ b/ext/libxml/tests/libxml_set_external_entity_loader_error1.phpt
@@ -20,6 +20,7 @@ try {
}
echo "Done.\n";
+?>
--EXPECT--
bool(true)
Exception: Too few arguments to function {closure}(), 3 passed and exactly 4 expected
diff --git a/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt b/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
index 61c82d3275..bfba32cc38 100644
--- a/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
+++ b/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
@@ -43,6 +43,7 @@ $r = $dd->loadXML($xml);
var_dump($dd->validate());
echo "Done.\n";
+?>
--EXPECTF--
string(10) "-//FOO/BAR"
string(25) "http://example.com/foobar"
diff --git a/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt b/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
index 122ec5c09d..87894bcb91 100644
--- a/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
+++ b/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
@@ -34,6 +34,7 @@ file_put_contents(__DIR__ . "/foobar.dtd", $dtd);
var_dump($dd->validate());
echo "Done.\n";
+?>
--EXPECTF--
string(10) "-//FOO/BAR"
string(%d) "%sfoobar.dtd"
diff --git a/ext/mbstring/tests/bug52981.phpt b/ext/mbstring/tests/bug52981.phpt
index 3d909635e3..753a0022ed 100644
--- a/ext/mbstring/tests/bug52981.phpt
+++ b/ext/mbstring/tests/bug52981.phpt
@@ -17,6 +17,7 @@ test("\xF0\x90\x90\xB8");// U+10438 DESERET SMALL LETTER H (added in 3.1.0, Marc
// not OK
test("\xE2\xB0\xB0"); // U+2C30 GLAGOLITIC SMALL LETTER AZU (added in 4.1.0, March 2005)
test("\xD4\xA5"); // U+0525 CYRILLIC SMALL LETTER PE WITH DESCENDER (added in 5.2.0, October 2009)
+?>
--EXPECT--
f0 90 90 90
e2 b0 80
diff --git a/ext/mbstring/tests/bug54494.phpt b/ext/mbstring/tests/bug54494.phpt
index d2bdc9cbd2..57cceef06b 100644
--- a/ext/mbstring/tests/bug54494.phpt
+++ b/ext/mbstring/tests/bug54494.phpt
@@ -42,6 +42,7 @@ for ($i=0; $i < $length; $i++) {
echo $t[1];
}
echo "\n";
+?>
--EXPECT--
UTF-32LE:
Length: 12
diff --git a/ext/mbstring/tests/bug65045.phpt b/ext/mbstring/tests/bug65045.phpt
index 8535a95d95..ae3f09e0d7 100644
--- a/ext/mbstring/tests/bug65045.phpt
+++ b/ext/mbstring/tests/bug65045.phpt
@@ -21,6 +21,7 @@ var_dump(
$expected === mb_convert_encoding($str, 'UTF-8', 'UTF-8'),
$expected2 === mb_convert_encoding($str2, 'UTF-8', 'UTF-8')
);
+?>
--EXPECT--
bool(true)
bool(true)
diff --git a/ext/mbstring/tests/ini_encoding.phpt b/ext/mbstring/tests/ini_encoding.phpt
index 4d65c3c5d9..d7cc42feb5 100644
--- a/ext/mbstring/tests/ini_encoding.phpt
+++ b/ext/mbstring/tests/ini_encoding.phpt
@@ -43,6 +43,7 @@ var_dump(ini_get('mbstring.internal_encoding'));
var_dump(mb_internal_encoding());
var_dump(ini_get('mbstring.http_input'));
var_dump(ini_get('mbstring.http_output'));
+?>
--EXPECT--
Getting INI
string(9) "Shift_JIS"
diff --git a/ext/mbstring/tests/ini_encoding2.phpt b/ext/mbstring/tests/ini_encoding2.phpt
index 64cc23ec91..b2f5814474 100644
--- a/ext/mbstring/tests/ini_encoding2.phpt
+++ b/ext/mbstring/tests/ini_encoding2.phpt
@@ -43,6 +43,7 @@ var_dump(ini_get('mbstring.internal_encoding'));
var_dump(mb_internal_encoding());
var_dump(ini_get('mbstring.http_input'));
var_dump(ini_get('mbstring.http_output'));
+?>
--EXPECT--
Getting INI
string(0) ""
diff --git a/ext/mbstring/tests/mb_chr_ord.phpt b/ext/mbstring/tests/mb_chr_ord.phpt
index 77f13dadfa..78df2765f8 100644
--- a/ext/mbstring/tests/mb_chr_ord.phpt
+++ b/ext/mbstring/tests/mb_chr_ord.phpt
@@ -16,6 +16,7 @@ for($ch = 1; $ch < 80000; $ch++) {
}
}
echo 'OK';
+?>
--EXPECT--
ERROR(55296)
ERROR(55297)
diff --git a/ext/mbstring/tests/mb_split_empty_match.phpt b/ext/mbstring/tests/mb_split_empty_match.phpt
index df3a22ce56..21ccbbe42d 100644
--- a/ext/mbstring/tests/mb_split_empty_match.phpt
+++ b/ext/mbstring/tests/mb_split_empty_match.phpt
@@ -10,6 +10,7 @@ function_exists('mb_split') or die("skip mb_split() is not available in this bui
<?php
mb_regex_set_options('m');
var_dump(mb_split('^', "a\nb\nc"));
+?>
--EXPECT--
array(3) {
[0]=>
diff --git a/ext/mbstring/tests/mb_strcut_missing_boundary_check.phpt b/ext/mbstring/tests/mb_strcut_missing_boundary_check.phpt
index a67b99e7da..9a67aa7800 100644
--- a/ext/mbstring/tests/mb_strcut_missing_boundary_check.phpt
+++ b/ext/mbstring/tests/mb_strcut_missing_boundary_check.phpt
@@ -21,6 +21,7 @@ mb_internal_encoding("UTF-8");
var_dump(bin2hex(mb_strcut("abc", 0, 32)));
mb_internal_encoding("ISO-8859-1");
var_dump(bin2hex(mb_strcut("abc", 0, 32)));
+?>
--EXPECT--
string(24) "610000006200000063000000"
string(24) "000000610000006200000063"
diff --git a/ext/mysqli/tests/bug75448.phpt b/ext/mysqli/tests/bug75448.phpt
index 929b152769..5900ee0565 100644
--- a/ext/mysqli/tests/bug75448.phpt
+++ b/ext/mysqli/tests/bug75448.phpt
@@ -17,5 +17,6 @@ try {
} catch (Error $exception) {
echo $exception->getMessage() . "\n";
}
+?>
--EXPECT--
mysqli object is already closed
diff --git a/ext/mysqli/tests/mysqli_character_set_name.phpt b/ext/mysqli/tests/mysqli_character_set_name.phpt
index b2e9a4e4f5..b808a6b688 100644
--- a/ext/mysqli/tests/mysqli_character_set_name.phpt
+++ b/ext/mysqli/tests/mysqli_character_set_name.phpt
@@ -57,6 +57,7 @@ require_once('skipifconnectfailure.inc');
}
print "done!";
+?>
--EXPECT--
mysqli object is already closed
done!
diff --git a/ext/mysqli/tests/mysqli_character_set_name_oo.phpt b/ext/mysqli/tests/mysqli_character_set_name_oo.phpt
index cedc138e68..843fefed31 100644
--- a/ext/mysqli/tests/mysqli_character_set_name_oo.phpt
+++ b/ext/mysqli/tests/mysqli_character_set_name_oo.phpt
@@ -67,6 +67,7 @@ mysqli_chararcter_set_name(), mysql_client_encoding() [alias]
}
print "done!";
+?>
--EXPECT--
my_mysqli object is already closed
my_mysqli object is already closed
diff --git a/ext/mysqli/tests/mysqli_close.phpt b/ext/mysqli/tests/mysqli_close.phpt
index a0d7fa2eab..98c934d49d 100644
--- a/ext/mysqli/tests/mysqli_close.phpt
+++ b/ext/mysqli/tests/mysqli_close.phpt
@@ -25,6 +25,7 @@ require_once('skipifconnectfailure.inc');
}
print "done!";
+?>
--EXPECT--
mysqli object is already closed
done!
diff --git a/ext/mysqli/tests/mysqli_dump_debug_info.phpt b/ext/mysqli/tests/mysqli_dump_debug_info.phpt
index 95366417cf..18399ee8a6 100644
--- a/ext/mysqli/tests/mysqli_dump_debug_info.phpt
+++ b/ext/mysqli/tests/mysqli_dump_debug_info.phpt
@@ -30,6 +30,7 @@ require_once('skipifconnectfailure.inc');
}
print "done!";
+?>
--EXPECT--
mysqli object is already closed
done!
diff --git a/ext/mysqli/tests/mysqli_error_unicode.phpt b/ext/mysqli/tests/mysqli_error_unicode.phpt
index 1025f1cda2..bea05179ea 100644
--- a/ext/mysqli/tests/mysqli_error_unicode.phpt
+++ b/ext/mysqli/tests/mysqli_error_unicode.phpt
@@ -35,6 +35,7 @@ require_once('skipifconnectfailure.inc');
}
print "done!";
+?>
--EXPECTF--
string(%d) "Table 'няма_такава_таблица' doesn't exist"
mysqli object is already closed
diff --git a/ext/oci8/tests/bug70700.phpt b/ext/oci8/tests/bug70700.phpt
index 374163d17e..2e3a190613 100644
--- a/ext/oci8/tests/bug70700.phpt
+++ b/ext/oci8/tests/bug70700.phpt
@@ -154,6 +154,7 @@ echo 'size of string4 is ', strlen($string4), ' bytes, ', mb_strlen($string4), '
echo 'size of stream4a is ', strlen($stream4a), ' bytes, ', mb_strlen($stream4a), ' chars.', PHP_EOL;
echo 'beg of stream4a is ', $start4a, PHP_EOL;
echo 'end of stream4a is ', $ending4a, PHP_EOL;
+?>
--EXPECT--
Test 1: j
size of string1 is 1000006 bytes, 1000006 chars.
diff --git a/ext/opcache/tests/bug65510.phpt b/ext/opcache/tests/bug65510.phpt
index 9043b58e12..9e0573a10e 100644
--- a/ext/opcache/tests/bug65510.phpt
+++ b/ext/opcache/tests/bug65510.phpt
@@ -16,6 +16,7 @@ function parseQuery() {
}
parseQuery();
echo "ok\n";
+?>
--EXPECT--
Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
ok
diff --git a/ext/opcache/tests/bug65665.phpt b/ext/opcache/tests/bug65665.phpt
index bcdd0e6da1..fc49bf83fd 100644
--- a/ext/opcache/tests/bug65665.phpt
+++ b/ext/opcache/tests/bug65665.phpt
@@ -112,6 +112,7 @@ dummy:
return;
}
foo();foo1();foo2();
+?>
--EXPECT--
correct
correct
diff --git a/ext/opcache/tests/bug66176.phpt b/ext/opcache/tests/bug66176.phpt
index a7c53c1690..c6f7a573f1 100644
--- a/ext/opcache/tests/bug66176.phpt
+++ b/ext/opcache/tests/bug66176.phpt
@@ -15,5 +15,6 @@ function foo($v) {
}
$a = array(PHP_VERSION => 1);
var_dump(foo(PHP_VERSION));
+?>
--EXPECT--
int(1)
diff --git a/ext/opcache/tests/bug66334.phpt b/ext/opcache/tests/bug66334.phpt
index 33e3847e34..3da9a7657d 100644
--- a/ext/opcache/tests/bug66334.phpt
+++ b/ext/opcache/tests/bug66334.phpt
@@ -15,5 +15,6 @@ if (extension_loaded("unknown_extension")) {
} else {
var_dump(2);
}
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/bug66440.phpt b/ext/opcache/tests/bug66440.phpt
index 539b0ce7aa..4efcb6f221 100644
--- a/ext/opcache/tests/bug66440.phpt
+++ b/ext/opcache/tests/bug66440.phpt
@@ -12,5 +12,6 @@ opcache.file_update_protection=0
if(constant('PHP_BINARY')) {
echo "OK\n";
}
+?>
--EXPECT--
OK
diff --git a/ext/opcache/tests/bug66461.phpt b/ext/opcache/tests/bug66461.phpt
index 2d09feff58..57642b0a16 100644
--- a/ext/opcache/tests/bug66461.phpt
+++ b/ext/opcache/tests/bug66461.phpt
@@ -12,5 +12,6 @@ opcache.interned_strings_buffer=0
--FILE--
<?php
echo "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/opcache/tests/bug66474.phpt b/ext/opcache/tests/bug66474.phpt
index 10d54a7fa5..b1ea509c23 100644
--- a/ext/opcache/tests/bug66474.phpt
+++ b/ext/opcache/tests/bug66474.phpt
@@ -14,5 +14,6 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/opcache/tests/bug73402.phpt b/ext/opcache/tests/bug73402.phpt
index d245d58969..a0354c3c62 100644
--- a/ext/opcache/tests/bug73402.phpt
+++ b/ext/opcache/tests/bug73402.phpt
@@ -25,5 +25,6 @@ class B
$b = new B;
$b->test();
+?>
--EXPECT--
test
diff --git a/ext/opcache/tests/bug74663.phpt b/ext/opcache/tests/bug74663.phpt
index 32248b80a1..ed67c5410f 100644
--- a/ext/opcache/tests/bug74663.phpt
+++ b/ext/opcache/tests/bug74663.phpt
@@ -21,5 +21,6 @@ var_dump(is_file($file));
--CLEAN--
<?php
unlink(__DIR__ . "/bug74663.inc");
+?>
--EXPECT--
bool(true)
diff --git a/ext/opcache/tests/bug76275.phpt b/ext/opcache/tests/bug76275.phpt
index 56a47316b4..228aa06b4e 100644
--- a/ext/opcache/tests/bug76275.phpt
+++ b/ext/opcache/tests/bug76275.phpt
@@ -24,5 +24,6 @@ if (!is_callable('random_bytes')) {
return '';
}
}
+?>
--EXPECT--
Done
diff --git a/ext/opcache/tests/bug76337.phpt b/ext/opcache/tests/bug76337.phpt
index 5001942526..384bb074ed 100644
--- a/ext/opcache/tests/bug76337.phpt
+++ b/ext/opcache/tests/bug76337.phpt
@@ -9,5 +9,6 @@ opcache.enable_cli=1
--FILE--
<?php
var_dump(class_exists('_ZendTestClassAlias'));
+?>
--EXPECT--
bool(true)
diff --git a/ext/opcache/tests/bug77743.phpt b/ext/opcache/tests/bug77743.phpt
index f9075a3a7f..7a8967b24e 100644
--- a/ext/opcache/tests/bug77743.phpt
+++ b/ext/opcache/tests/bug77743.phpt
@@ -15,5 +15,6 @@ function buggy($a) {
}
buggy(42);
+?>
--EXPECT--
int(42)
diff --git a/ext/opcache/tests/issue0079.phpt b/ext/opcache/tests/issue0079.phpt
index 4458fce5bc..6d8e60ea5f 100644
--- a/ext/opcache/tests/issue0079.phpt
+++ b/ext/opcache/tests/issue0079.phpt
@@ -29,6 +29,7 @@ class Test {
$t = new Test();
var_dump ($t->run());
+?>
--EXPECT--
bool(true)
bool(true)
diff --git a/ext/opcache/tests/issue0183.phpt b/ext/opcache/tests/issue0183.phpt
index 26da4d97cc..49e9d78d39 100644
--- a/ext/opcache/tests/issue0183.phpt
+++ b/ext/opcache/tests/issue0183.phpt
@@ -21,5 +21,6 @@ switch (PHP_OS) {
default:
break;
}
+?>
--EXPECT--
okey
diff --git a/ext/opcache/tests/jit/assign_001.phpt b/ext/opcache/tests/jit/assign_001.phpt
index 959659cff1..0c7f95944b 100644
--- a/ext/opcache/tests/jit/assign_001.phpt
+++ b/ext/opcache/tests/jit/assign_001.phpt
@@ -19,6 +19,7 @@ function foo() {
var_dump($x, $b, $c);
}
foo();
+?>
--EXPECT--
int(1)
array(0) {
diff --git a/ext/opcache/tests/jit/assign_002.phpt b/ext/opcache/tests/jit/assign_002.phpt
index 355fdd4472..db00ce70c2 100644
--- a/ext/opcache/tests/jit/assign_002.phpt
+++ b/ext/opcache/tests/jit/assign_002.phpt
@@ -21,6 +21,7 @@ function foo() {
var_dump($x, $b, $c);
}
foo();
+?>
--EXPECT--
float(2.3)
array(0) {
diff --git a/ext/opcache/tests/jit/assign_003.phpt b/ext/opcache/tests/jit/assign_003.phpt
index 7e885d38aa..5926391d81 100644
--- a/ext/opcache/tests/jit/assign_003.phpt
+++ b/ext/opcache/tests/jit/assign_003.phpt
@@ -17,5 +17,6 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
int(1)
diff --git a/ext/opcache/tests/jit/assign_004.phpt b/ext/opcache/tests/jit/assign_004.phpt
index 70c25bc888..097b5a15aa 100644
--- a/ext/opcache/tests/jit/assign_004.phpt
+++ b/ext/opcache/tests/jit/assign_004.phpt
@@ -20,5 +20,6 @@ function foo() {
return $c;
}
var_dump(foo());
+?>
--EXPECT--
int(1)
diff --git a/ext/opcache/tests/jit/assign_005.phpt b/ext/opcache/tests/jit/assign_005.phpt
index d3f9dca61c..b96044bdec 100644
--- a/ext/opcache/tests/jit/assign_005.phpt
+++ b/ext/opcache/tests/jit/assign_005.phpt
@@ -20,5 +20,6 @@ function foo() {
return $c;
}
var_dump(foo());
+?>
--EXPECT--
int(1)
diff --git a/ext/opcache/tests/jit/assign_006.phpt b/ext/opcache/tests/jit/assign_006.phpt
index 6efc98fe0f..c837f01a39 100644
--- a/ext/opcache/tests/jit/assign_006.phpt
+++ b/ext/opcache/tests/jit/assign_006.phpt
@@ -18,5 +18,6 @@ function foo() {
return $c;
}
var_dump(foo());
+?>
--EXPECT--
int(1)
diff --git a/ext/opcache/tests/jit/assign_007.phpt b/ext/opcache/tests/jit/assign_007.phpt
index f54ede5ec5..2575c614d4 100644
--- a/ext/opcache/tests/jit/assign_007.phpt
+++ b/ext/opcache/tests/jit/assign_007.phpt
@@ -17,5 +17,6 @@ function foo() {
var_dump($a);
}
foo();
+?>
--EXPECT--
int(1)
diff --git a/ext/opcache/tests/jit/assign_008.phpt b/ext/opcache/tests/jit/assign_008.phpt
index 22b6a465f5..c237711d0d 100644
--- a/ext/opcache/tests/jit/assign_008.phpt
+++ b/ext/opcache/tests/jit/assign_008.phpt
@@ -17,5 +17,6 @@ function foo() {
var_dump($a);
}
foo();
+?>
--EXPECT--
float(1)
diff --git a/ext/opcache/tests/jit/assign_009.phpt b/ext/opcache/tests/jit/assign_009.phpt
index 6772e9028f..3d3c5d1090 100644
--- a/ext/opcache/tests/jit/assign_009.phpt
+++ b/ext/opcache/tests/jit/assign_009.phpt
@@ -17,5 +17,6 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/opcache/tests/jit/assign_010.phpt b/ext/opcache/tests/jit/assign_010.phpt
index 77886de67a..e38d368e76 100644
--- a/ext/opcache/tests/jit/assign_010.phpt
+++ b/ext/opcache/tests/jit/assign_010.phpt
@@ -17,5 +17,6 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/opcache/tests/jit/assign_011.phpt b/ext/opcache/tests/jit/assign_011.phpt
index dc9b5e756c..71b051158b 100644
--- a/ext/opcache/tests/jit/assign_011.phpt
+++ b/ext/opcache/tests/jit/assign_011.phpt
@@ -23,6 +23,7 @@ function foo() {
var_dump($b, $c);
}
foo();
+?>
--EXPECT--
int(3)
int(2)
diff --git a/ext/opcache/tests/jit/assign_012.phpt b/ext/opcache/tests/jit/assign_012.phpt
index 82d42d9b46..81eb19e849 100644
--- a/ext/opcache/tests/jit/assign_012.phpt
+++ b/ext/opcache/tests/jit/assign_012.phpt
@@ -23,6 +23,7 @@ function foo() {
var_dump($b, $c);
}
foo();
+?>
--EXPECT--
int(3)
int(3)
diff --git a/ext/opcache/tests/jit/assign_013.phpt b/ext/opcache/tests/jit/assign_013.phpt
index a2da0b34d8..2983593bf5 100644
--- a/ext/opcache/tests/jit/assign_013.phpt
+++ b/ext/opcache/tests/jit/assign_013.phpt
@@ -17,5 +17,6 @@ function foo() {
var_dump($c);
}
foo();
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/assign_014.phpt b/ext/opcache/tests/jit/assign_014.phpt
index 0313753aff..d488ae860d 100644
--- a/ext/opcache/tests/jit/assign_014.phpt
+++ b/ext/opcache/tests/jit/assign_014.phpt
@@ -17,6 +17,7 @@ function foo() {
var_dump($c);
}
foo();
+?>
--EXPECT--
array(0) {
}
diff --git a/ext/opcache/tests/jit/assign_015.phpt b/ext/opcache/tests/jit/assign_015.phpt
index 248259e328..233ef12d6e 100644
--- a/ext/opcache/tests/jit/assign_015.phpt
+++ b/ext/opcache/tests/jit/assign_015.phpt
@@ -17,5 +17,6 @@ function foo() {
var_dump($c);
}
foo();
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/assign_016.phpt b/ext/opcache/tests/jit/assign_016.phpt
index a2ba0e0a7f..4133d7bc0e 100644
--- a/ext/opcache/tests/jit/assign_016.phpt
+++ b/ext/opcache/tests/jit/assign_016.phpt
@@ -17,5 +17,6 @@ function foo() {
return $c;
}
var_dump(foo());
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/assign_017.phpt b/ext/opcache/tests/jit/assign_017.phpt
index 7aafdefd70..fb4044d5db 100644
--- a/ext/opcache/tests/jit/assign_017.phpt
+++ b/ext/opcache/tests/jit/assign_017.phpt
@@ -17,5 +17,6 @@ function foo() {
return $c;
}
var_dump(foo());
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/assign_018.phpt b/ext/opcache/tests/jit/assign_018.phpt
index 8b19921e28..fb0029f627 100644
--- a/ext/opcache/tests/jit/assign_018.phpt
+++ b/ext/opcache/tests/jit/assign_018.phpt
@@ -19,6 +19,7 @@ function foo() {
var_dump($c, $d);
}
foo();
+?>
--EXPECT--
int(2)
array(0) {
diff --git a/ext/opcache/tests/jit/assign_019.phpt b/ext/opcache/tests/jit/assign_019.phpt
index 6c84c4fbad..de150716d4 100644
--- a/ext/opcache/tests/jit/assign_019.phpt
+++ b/ext/opcache/tests/jit/assign_019.phpt
@@ -19,6 +19,7 @@ function foo() {
var_dump($c, $d);
}
foo();
+?>
--EXPECT--
int(2)
int(2)
diff --git a/ext/opcache/tests/jit/assign_020.phpt b/ext/opcache/tests/jit/assign_020.phpt
index 6d1ccc89b2..a92bc6d077 100644
--- a/ext/opcache/tests/jit/assign_020.phpt
+++ b/ext/opcache/tests/jit/assign_020.phpt
@@ -18,5 +18,6 @@ function foo() {
var_dump($c);
}
foo();
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/assign_021.phpt b/ext/opcache/tests/jit/assign_021.phpt
index caad315d3e..01bf9f6d84 100644
--- a/ext/opcache/tests/jit/assign_021.phpt
+++ b/ext/opcache/tests/jit/assign_021.phpt
@@ -18,6 +18,7 @@ function foo() {
var_dump($b, $d);
}
foo();
+?>
--EXPECT--
array(0) {
}
diff --git a/ext/opcache/tests/jit/assign_022.phpt b/ext/opcache/tests/jit/assign_022.phpt
index 062b2f8950..187c995366 100644
--- a/ext/opcache/tests/jit/assign_022.phpt
+++ b/ext/opcache/tests/jit/assign_022.phpt
@@ -19,6 +19,7 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECTF--
Warning: Undefined variable $undef in %s on line %d
ok
diff --git a/ext/opcache/tests/jit/assign_023.phpt b/ext/opcache/tests/jit/assign_023.phpt
index 5007917c1f..2c6a47b980 100644
--- a/ext/opcache/tests/jit/assign_023.phpt
+++ b/ext/opcache/tests/jit/assign_023.phpt
@@ -19,6 +19,7 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECTF--
Warning: Undefined variable $undef in %s on line %d
ok
diff --git a/ext/opcache/tests/jit/assign_024.phpt b/ext/opcache/tests/jit/assign_024.phpt
index 5bc63887ab..541089b356 100644
--- a/ext/opcache/tests/jit/assign_024.phpt
+++ b/ext/opcache/tests/jit/assign_024.phpt
@@ -18,6 +18,7 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECTF--
Warning: Undefined variable $undef in %s on line %d
ok
diff --git a/ext/opcache/tests/jit/assign_025.phpt b/ext/opcache/tests/jit/assign_025.phpt
index 79000baf0e..4a5b20cd69 100644
--- a/ext/opcache/tests/jit/assign_025.phpt
+++ b/ext/opcache/tests/jit/assign_025.phpt
@@ -19,6 +19,7 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECTF--
Warning: Undefined variable $ref in %s on line %d
ok
diff --git a/ext/opcache/tests/jit/assign_026.phpt b/ext/opcache/tests/jit/assign_026.phpt
index 160d066b51..ccebcf53cd 100644
--- a/ext/opcache/tests/jit/assign_026.phpt
+++ b/ext/opcache/tests/jit/assign_026.phpt
@@ -21,5 +21,6 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/opcache/tests/jit/assign_027.phpt b/ext/opcache/tests/jit/assign_027.phpt
index a704e3cdd6..12bc9d2109 100644
--- a/ext/opcache/tests/jit/assign_027.phpt
+++ b/ext/opcache/tests/jit/assign_027.phpt
@@ -18,5 +18,6 @@ function foo() {
}
foo();
echo "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/opcache/tests/jit/assign_028.phpt b/ext/opcache/tests/jit/assign_028.phpt
index 95f076b206..6111ffff6d 100644
--- a/ext/opcache/tests/jit/assign_028.phpt
+++ b/ext/opcache/tests/jit/assign_028.phpt
@@ -16,6 +16,7 @@ function foo() {
return $i;
}
var_dump(foo());
+?>
--EXPECT--
int(1)
int(1)
diff --git a/ext/opcache/tests/jit/assign_029.phpt b/ext/opcache/tests/jit/assign_029.phpt
index d79d235c7f..2ead0eda37 100644
--- a/ext/opcache/tests/jit/assign_029.phpt
+++ b/ext/opcache/tests/jit/assign_029.phpt
@@ -17,6 +17,7 @@ function foo() {
return $i;
}
var_dump(foo());
+?>
--EXPECT--
int(2)
int(2)
diff --git a/ext/opcache/tests/jit/assign_030.phpt b/ext/opcache/tests/jit/assign_030.phpt
index 4f87b10f11..90c5ba75e3 100644
--- a/ext/opcache/tests/jit/assign_030.phpt
+++ b/ext/opcache/tests/jit/assign_030.phpt
@@ -18,6 +18,7 @@ function foo() {
return $i;
}
var_dump(foo());
+?>
--EXPECT--
int(2)
int(2)
diff --git a/ext/opcache/tests/jit/assign_033.phpt b/ext/opcache/tests/jit/assign_033.phpt
index 918f3b6b57..931c0036fb 100644
--- a/ext/opcache/tests/jit/assign_033.phpt
+++ b/ext/opcache/tests/jit/assign_033.phpt
@@ -20,5 +20,6 @@ function foo()
}
}
echo "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/opcache/tests/jit/assign_034.phpt b/ext/opcache/tests/jit/assign_034.phpt
index 4fa7af3e9f..253767f499 100644
--- a/ext/opcache/tests/jit/assign_034.phpt
+++ b/ext/opcache/tests/jit/assign_034.phpt
@@ -17,5 +17,6 @@ function bar() {
return $a;
}
var_dump(bar());
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/assign_dim_002.phpt b/ext/opcache/tests/jit/assign_dim_002.phpt
index 135df92123..5e7a7e9cfd 100644
--- a/ext/opcache/tests/jit/assign_dim_002.phpt
+++ b/ext/opcache/tests/jit/assign_dim_002.phpt
@@ -81,6 +81,7 @@ function foo5() {
}
var_dump(foo5());
+?>
--EXPECTF--
array(1) {
[0]=>
diff --git a/ext/opcache/tests/jit/fetch_dim_r_001.phpt b/ext/opcache/tests/jit/fetch_dim_r_001.phpt
index 232f62cf75..9a630a47ed 100644
--- a/ext/opcache/tests/jit/fetch_dim_r_001.phpt
+++ b/ext/opcache/tests/jit/fetch_dim_r_001.phpt
@@ -30,6 +30,7 @@ function foo() {
var_dump($a[$x . $y]);
}
foo();
+?>
--EXPECT--
int(1)
int(3)
diff --git a/ext/opcache/tests/jit/fetch_dim_r_002.phpt b/ext/opcache/tests/jit/fetch_dim_r_002.phpt
index 178071b115..566b0fa5bd 100644
--- a/ext/opcache/tests/jit/fetch_dim_r_002.phpt
+++ b/ext/opcache/tests/jit/fetch_dim_r_002.phpt
@@ -30,6 +30,7 @@ foo("2x");
$x=2;
$y="x";
foo($x.$y);
+?>
--EXPECT--
int(1)
int(3)
diff --git a/ext/opcache/tests/jit/fetch_dim_r_003.phpt b/ext/opcache/tests/jit/fetch_dim_r_003.phpt
index e0fb75ee48..07c76854fb 100644
--- a/ext/opcache/tests/jit/fetch_dim_r_003.phpt
+++ b/ext/opcache/tests/jit/fetch_dim_r_003.phpt
@@ -38,6 +38,7 @@ function foo() {
var_dump($a[$x . $y]);
}
foo();
+?>
--EXPECTF--
string(1) "A"
string(1) "C"
diff --git a/ext/opcache/tests/jit/fetch_dim_r_004.phpt b/ext/opcache/tests/jit/fetch_dim_r_004.phpt
index 23c6bf4d0f..8e1fa714ce 100644
--- a/ext/opcache/tests/jit/fetch_dim_r_004.phpt
+++ b/ext/opcache/tests/jit/fetch_dim_r_004.phpt
@@ -34,6 +34,7 @@ foo("2x");
$x=2;
$y="x";
foo($x.$y);
+?>
--EXPECTF--
string(1) "A"
string(1) "C"
diff --git a/ext/opcache/tests/jit/fetch_dim_rw_001.phpt b/ext/opcache/tests/jit/fetch_dim_rw_001.phpt
index ffb869fe84..b5947cadd3 100644
--- a/ext/opcache/tests/jit/fetch_dim_rw_001.phpt
+++ b/ext/opcache/tests/jit/fetch_dim_rw_001.phpt
@@ -15,6 +15,7 @@ function foo() {
return $a[0];
}
var_dump(foo());
+?>
--EXPECTF--
Warning: Undefined variable $a in %s on line %d
diff --git a/ext/opcache/tests/jit/inc_001.phpt b/ext/opcache/tests/jit/inc_001.phpt
index c3807303e7..88e3644875 100644
--- a/ext/opcache/tests/jit/inc_001.phpt
+++ b/ext/opcache/tests/jit/inc_001.phpt
@@ -18,5 +18,6 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/inc_002.phpt b/ext/opcache/tests/jit/inc_002.phpt
index 4d2757ca75..8fa7bde9a3 100644
--- a/ext/opcache/tests/jit/inc_002.phpt
+++ b/ext/opcache/tests/jit/inc_002.phpt
@@ -17,5 +17,6 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/inc_003.phpt b/ext/opcache/tests/jit/inc_003.phpt
index 9842527be7..cf13f5c4f1 100644
--- a/ext/opcache/tests/jit/inc_003.phpt
+++ b/ext/opcache/tests/jit/inc_003.phpt
@@ -18,5 +18,6 @@ function foo() {
return $x;
}
var_dump(foo());
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/inc_004.phpt b/ext/opcache/tests/jit/inc_004.phpt
index 6431020537..eedf88b1b8 100644
--- a/ext/opcache/tests/jit/inc_004.phpt
+++ b/ext/opcache/tests/jit/inc_004.phpt
@@ -17,5 +17,6 @@ function foo() {
return $x;
}
var_dump(foo());
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/inc_005.phpt b/ext/opcache/tests/jit/inc_005.phpt
index d784b092e9..325aa753bb 100644
--- a/ext/opcache/tests/jit/inc_005.phpt
+++ b/ext/opcache/tests/jit/inc_005.phpt
@@ -18,6 +18,7 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
int(2)
int(2)
diff --git a/ext/opcache/tests/jit/inc_006.phpt b/ext/opcache/tests/jit/inc_006.phpt
index 3ecff9e13d..a5ab397c38 100644
--- a/ext/opcache/tests/jit/inc_006.phpt
+++ b/ext/opcache/tests/jit/inc_006.phpt
@@ -17,6 +17,7 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
int(2)
int(2)
diff --git a/ext/opcache/tests/jit/inc_007.phpt b/ext/opcache/tests/jit/inc_007.phpt
index bb1634d731..e285d2730e 100644
--- a/ext/opcache/tests/jit/inc_007.phpt
+++ b/ext/opcache/tests/jit/inc_007.phpt
@@ -17,5 +17,6 @@ function foo() {
return ++$x; // mem -> reg, reg
}
var_dump(foo());
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/inc_008.phpt b/ext/opcache/tests/jit/inc_008.phpt
index d008cb094d..eff4bd041f 100644
--- a/ext/opcache/tests/jit/inc_008.phpt
+++ b/ext/opcache/tests/jit/inc_008.phpt
@@ -16,5 +16,6 @@ function foo() {
return ++$x; // reg -> reg, reg
}
var_dump(foo());
+?>
--EXPECT--
int(2)
diff --git a/ext/opcache/tests/jit/inc_009.phpt b/ext/opcache/tests/jit/inc_009.phpt
index e600cba7ad..a87c82ae68 100644
--- a/ext/opcache/tests/jit/inc_009.phpt
+++ b/ext/opcache/tests/jit/inc_009.phpt
@@ -18,5 +18,6 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
float(2)
diff --git a/ext/opcache/tests/jit/inc_010.phpt b/ext/opcache/tests/jit/inc_010.phpt
index 105387d924..fa6b27e8ff 100644
--- a/ext/opcache/tests/jit/inc_010.phpt
+++ b/ext/opcache/tests/jit/inc_010.phpt
@@ -17,5 +17,6 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
float(2)
diff --git a/ext/opcache/tests/jit/inc_011.phpt b/ext/opcache/tests/jit/inc_011.phpt
index d91c487965..051affc8a4 100644
--- a/ext/opcache/tests/jit/inc_011.phpt
+++ b/ext/opcache/tests/jit/inc_011.phpt
@@ -18,5 +18,6 @@ function foo() {
return $x;
}
var_dump(foo());
+?>
--EXPECT--
float(2)
diff --git a/ext/opcache/tests/jit/inc_012.phpt b/ext/opcache/tests/jit/inc_012.phpt
index 14fb5c1b90..7a6dd24ea7 100644
--- a/ext/opcache/tests/jit/inc_012.phpt
+++ b/ext/opcache/tests/jit/inc_012.phpt
@@ -17,5 +17,6 @@ function foo() {
return $x;
}
var_dump(foo());
+?>
--EXPECT--
float(2)
diff --git a/ext/opcache/tests/jit/inc_013.phpt b/ext/opcache/tests/jit/inc_013.phpt
index 2c2e5f0920..daa09ddad6 100644
--- a/ext/opcache/tests/jit/inc_013.phpt
+++ b/ext/opcache/tests/jit/inc_013.phpt
@@ -18,6 +18,7 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
float(2)
float(2)
diff --git a/ext/opcache/tests/jit/inc_014.phpt b/ext/opcache/tests/jit/inc_014.phpt
index e6f31f32f3..381d506e31 100644
--- a/ext/opcache/tests/jit/inc_014.phpt
+++ b/ext/opcache/tests/jit/inc_014.phpt
@@ -17,6 +17,7 @@ function foo() {
var_dump($x);
}
foo();
+?>
--EXPECT--
float(2)
float(2)
diff --git a/ext/opcache/tests/jit/inc_015.phpt b/ext/opcache/tests/jit/inc_015.phpt
index d841dc0c9c..0573610587 100644
--- a/ext/opcache/tests/jit/inc_015.phpt
+++ b/ext/opcache/tests/jit/inc_015.phpt
@@ -17,5 +17,6 @@ function foo() {
return ++$x; // mem -> reg, reg
}
var_dump(foo());
+?>
--EXPECT--
float(2)
diff --git a/ext/opcache/tests/jit/inc_016.phpt b/ext/opcache/tests/jit/inc_016.phpt
index c1a6302e92..1a53043a14 100644
--- a/ext/opcache/tests/jit/inc_016.phpt
+++ b/ext/opcache/tests/jit/inc_016.phpt
@@ -16,5 +16,6 @@ function foo() {
return ++$x; // reg -> reg, reg
}
var_dump(foo());
+?>
--EXPECT--
float(2)
diff --git a/ext/opcache/tests/jit/inc_017.phpt b/ext/opcache/tests/jit/inc_017.phpt
index c52e018048..3f47bfe87a 100644
--- a/ext/opcache/tests/jit/inc_017.phpt
+++ b/ext/opcache/tests/jit/inc_017.phpt
@@ -16,5 +16,6 @@ function foo() {
return ++$x; // reg -> reg, reg
}
var_dump(foo());
+?>
--EXPECT--
bool(true)
diff --git a/ext/opcache/tests/jit/inc_018.phpt b/ext/opcache/tests/jit/inc_018.phpt
index c992fa528d..25f085a62e 100644
--- a/ext/opcache/tests/jit/inc_018.phpt
+++ b/ext/opcache/tests/jit/inc_018.phpt
@@ -16,5 +16,6 @@ function foo() {
return ++$x; // reg -> reg, reg
}
var_dump(foo());
+?>
--EXPECT--
bool(false)
diff --git a/ext/opcache/tests/jit/inc_019.phpt b/ext/opcache/tests/jit/inc_019.phpt
index e147ef6f2f..d9e5e9b588 100644
--- a/ext/opcache/tests/jit/inc_019.phpt
+++ b/ext/opcache/tests/jit/inc_019.phpt
@@ -22,6 +22,7 @@ function bar($b) {
return $a;
}
var_dump(bar(0));
+?>
--EXPECT--
int(2)
int(3)
diff --git a/ext/opcache/tests/jit/noval_001.phpt b/ext/opcache/tests/jit/noval_001.phpt
index f3aa4a0d0e..47a7dc0481 100644
--- a/ext/opcache/tests/jit/noval_001.phpt
+++ b/ext/opcache/tests/jit/noval_001.phpt
@@ -29,6 +29,7 @@ class Foo {
}
}
var_dump(Foo::bar());
+?>
--EXPECT--
string(2) "ok"
diff --git a/ext/opcache/tests/jit/recv_001.phpt b/ext/opcache/tests/jit/recv_001.phpt
index 2213da5f57..b941786bb4 100644
--- a/ext/opcache/tests/jit/recv_001.phpt
+++ b/ext/opcache/tests/jit/recv_001.phpt
@@ -19,5 +19,6 @@ function test(array $args, $short_options, $long_options = null)
test(array(), "d:e", 222, 3434);
+?>
--EXPECT--
okey
diff --git a/ext/opcache/tests/jit/send_val_001.phpt b/ext/opcache/tests/jit/send_val_001.phpt
index 8220b36f1a..dc5980f6e3 100644
--- a/ext/opcache/tests/jit/send_val_001.phpt
+++ b/ext/opcache/tests/jit/send_val_001.phpt
@@ -18,6 +18,7 @@ function foo($type) {
}
var_dump(foo("int"));
var_dump(foo(["int"]));
+?>
--EXPECT--
string(32) "253a948ecc9192cb47e492f692aa63a8"
string(32) "fa7153f7ed1cb6c0fcf2ffb2fac21748"
diff --git a/ext/opcache/tests/jmp_elim_001.phpt b/ext/opcache/tests/jmp_elim_001.phpt
index 69974a1fa0..4cc965388f 100644
--- a/ext/opcache/tests/jmp_elim_001.phpt
+++ b/ext/opcache/tests/jmp_elim_001.phpt
@@ -12,5 +12,6 @@ $info = array('arch' => $archName,
'webserver' =>$webserver);
header('Content-Type: application/json');
echo json_encode($info) . "\n";
+?>
--EXPECT--
{"arch":"64","webserver":"Apache"}
diff --git a/ext/opcache/tests/match/001.phpt b/ext/opcache/tests/match/001.phpt
index 7963733594..03770d2e95 100644
--- a/ext/opcache/tests/match/001.phpt
+++ b/ext/opcache/tests/match/001.phpt
@@ -24,6 +24,7 @@ foreach (range('a', 'i') as $char) {
var_dump(test($char));
}
+?>
--EXPECTF--
$_main:
; (lines=15, args=0, vars=1, tmps=2)
diff --git a/ext/opcache/tests/match/002.phpt b/ext/opcache/tests/match/002.phpt
index 22f29eeb8b..73001bc020 100644
--- a/ext/opcache/tests/match/002.phpt
+++ b/ext/opcache/tests/match/002.phpt
@@ -27,6 +27,7 @@ function test2() {
}
test2();
+?>
--EXPECTF--
$_main:
; (lines=5, args=0, vars=0, tmps=0)
diff --git a/ext/opcache/tests/match/003.phpt b/ext/opcache/tests/match/003.phpt
index f7f8896073..ff430d9ec8 100644
--- a/ext/opcache/tests/match/003.phpt
+++ b/ext/opcache/tests/match/003.phpt
@@ -25,6 +25,7 @@ foreach (range(0, 10) as $char) {
var_dump(test($char));
}
+?>
--EXPECTF--
$_main:
; (lines=15, args=0, vars=1, tmps=2)
diff --git a/ext/opcache/tests/match/004.phpt b/ext/opcache/tests/match/004.phpt
index f84a0b832d..f7fed6d76c 100644
--- a/ext/opcache/tests/match/004.phpt
+++ b/ext/opcache/tests/match/004.phpt
@@ -30,11 +30,12 @@ foreach (range(0, 6) as $number) {
var_dump(test((string) $number));
}
+?>
--EXPECTF--
$_main:
; (lines=22, args=0, vars=1, tmps=2)
; (after optimizer)
- ; %s.php:1-24
+ ; %s.php:1-25
0000 INIT_FCALL 2 %d string("range")
0001 SEND_VAL int(0) 1
0002 SEND_VAL int(6) 2
diff --git a/ext/opcache/tests/opt/dce_004.phpt b/ext/opcache/tests/opt/dce_004.phpt
index 40d6e19eef..cdde1d8777 100644
--- a/ext/opcache/tests/opt/dce_004.phpt
+++ b/ext/opcache/tests/opt/dce_004.phpt
@@ -16,11 +16,12 @@ function foo(int $x, int $y) {
$a = $y;
return $a;
}
+?>
--EXPECTF--
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
- ; %sdce_004.php:1-8
+ ; %sdce_004.php:1-9
0000 RETURN int(1)
foo:
diff --git a/ext/opcache/tests/opt/dce_005.phpt b/ext/opcache/tests/opt/dce_005.phpt
index c998e30482..9f9931b174 100644
--- a/ext/opcache/tests/opt/dce_005.phpt
+++ b/ext/opcache/tests/opt/dce_005.phpt
@@ -16,11 +16,12 @@ function foo(int $x) {
$a = new A;
$a->foo = $x;
}
+?>
--EXPECTF--
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
- ; %sdce_005.php:1-8
+ ; %sdce_005.php:1-9
0000 RETURN int(1)
foo:
diff --git a/ext/opcache/tests/opt/dce_006.phpt b/ext/opcache/tests/opt/dce_006.phpt
index a6ff4fe4cf..21b7163db9 100644
--- a/ext/opcache/tests/opt/dce_006.phpt
+++ b/ext/opcache/tests/opt/dce_006.phpt
@@ -17,11 +17,12 @@ function foo(int $x) {
$a = new A;
$a->foo = $x;
}
+?>
--EXPECTF--
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
- ; %sdce_006.php:1-9
+ ; %sdce_006.php:1-10
0000 RETURN int(1)
foo:
diff --git a/ext/opcache/tests/opt/dce_007.phpt b/ext/opcache/tests/opt/dce_007.phpt
index 3e3f7c532a..e7280b4710 100644
--- a/ext/opcache/tests/opt/dce_007.phpt
+++ b/ext/opcache/tests/opt/dce_007.phpt
@@ -15,11 +15,12 @@ function esc($x) {
$b = [$a];
return $a;
}
+?>
--EXPECTF--
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
- ; %sdce_007.php:1-7
+ ; %sdce_007.php:1-8
0000 RETURN int(1)
esc:
diff --git a/ext/opcache/tests/opt/dce_008.phpt b/ext/opcache/tests/opt/dce_008.phpt
index 39dda38722..31d0fc8b1b 100644
--- a/ext/opcache/tests/opt/dce_008.phpt
+++ b/ext/opcache/tests/opt/dce_008.phpt
@@ -15,11 +15,12 @@ function esc(int $x) {
$b[0] = $a;
return $a;
}
+?>
--EXPECTF--
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
- ; %sdce_008.php:1-7
+ ; %sdce_008.php:1-8
0000 RETURN int(1)
esc:
diff --git a/ext/opcache/tests/optimize_func_calls.phpt b/ext/opcache/tests/optimize_func_calls.phpt
index 3e2a8dd8f4..5d74eaf8df 100644
--- a/ext/opcache/tests/optimize_func_calls.phpt
+++ b/ext/opcache/tests/optimize_func_calls.phpt
@@ -89,6 +89,7 @@ function ref(&$b) {
$b = "changed";
return "ref";
}
+?>
--EXPECTF--
Array
(
diff --git a/ext/opcache/tests/ssa_bug_008.phpt b/ext/opcache/tests/ssa_bug_008.phpt
index adee4431b5..32c264304b 100644
--- a/ext/opcache/tests/ssa_bug_008.phpt
+++ b/ext/opcache/tests/ssa_bug_008.phpt
@@ -7,5 +7,6 @@ Incorrect CFG/SSA reconstruction
if (!is_int($info = gc_collect_cycles()) || ($info < 100)) {
echo gettype($info)."\n";
}
+?>
--EXPECT--
integer
diff --git a/ext/openssl/tests/bug61124.phpt b/ext/openssl/tests/bug61124.phpt
index e10334fabf..c6fe19d5d7 100644
--- a/ext/openssl/tests/bug61124.phpt
+++ b/ext/openssl/tests/bug61124.phpt
@@ -6,6 +6,7 @@ if (!extension_loaded("openssl")) die("skip");
--FILE--
<?php
var_dump(openssl_decrypt('kzo w2RMExUTYQXW2Xzxmg==', 'aes-128-cbc', 'pass', false, 'pass'));
+?>
--EXPECTF--
Warning: openssl_decrypt(): IV passed is only 4 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in %s on line %d
bool(false)
diff --git a/ext/pcntl/tests/pcntl_unshare_01.phpt b/ext/pcntl/tests/pcntl_unshare_01.phpt
index 815a3ce964..6debaace58 100644
--- a/ext/pcntl/tests/pcntl_unshare_01.phpt
+++ b/ext/pcntl/tests/pcntl_unshare_01.phpt
@@ -1,7 +1,7 @@
--TEST--
pcntl_unshare() with CLONE_NEWUSER
--SKIPIF--
-<?php
+<?php
if (!extension_loaded("pcntl")) die("skip");
if (!extension_loaded("posix")) die("skip posix extension not available");
if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
@@ -17,5 +17,6 @@ $olduid = posix_getuid();
pcntl_unshare(CLONE_NEWUSER);
$newuid = posix_getuid();
var_dump($olduid === $newuid);
+?>
--EXPECT--
bool(false)
diff --git a/ext/pcntl/tests/pcntl_unshare_02.phpt b/ext/pcntl/tests/pcntl_unshare_02.phpt
index cafd64dd96..7cc9341154 100644
--- a/ext/pcntl/tests/pcntl_unshare_02.phpt
+++ b/ext/pcntl/tests/pcntl_unshare_02.phpt
@@ -1,7 +1,7 @@
--TEST--
pcntl_unshare() with CLONE_NEWPID
--SKIPIF--
-<?php
+<?php
if (!extension_loaded("pcntl")) die("skip");
if (!extension_loaded("posix")) die("skip posix extension not available");
if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
@@ -29,6 +29,7 @@ if(!pcntl_fork()) {
var_dump(getmypid());
exit();
}
+?>
--EXPECTF--
int(%d)
int(1)
diff --git a/ext/pcntl/tests/pcntl_unshare_03.phpt b/ext/pcntl/tests/pcntl_unshare_03.phpt
index d69bd40d40..b1217b6300 100644
--- a/ext/pcntl/tests/pcntl_unshare_03.phpt
+++ b/ext/pcntl/tests/pcntl_unshare_03.phpt
@@ -1,7 +1,7 @@
--TEST--
pcntl_unshare() with CLONE_NEWNET
--SKIPIF--
-<?php
+<?php
if (!extension_loaded("pcntl")) die("skip");
if (!extension_loaded("posix")) die("skip posix extension not available");
if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
@@ -23,6 +23,7 @@ if(posix_getuid() !== 0) {
var_dump(gethostbyname('php.net'));
pcntl_unshare(CLONE_NEWNET);
var_dump(gethostbyname('php.net'));
+?>
--EXPECTF--
string(%d) %s
string(7) "php.net"
diff --git a/ext/pcre/tests/bug70345.phpt b/ext/pcre/tests/bug70345.phpt
index 187a3e1e6f..42d4f8b12e 100644
--- a/ext/pcre/tests/bug70345.phpt
+++ b/ext/pcre/tests/bug70345.phpt
@@ -12,6 +12,7 @@ $subject = "aaaaxyzaaaa";
preg_match($regex, $subject, $matches);
var_dump($matches);
+?>
--EXPECTF--
bool(false)
diff --git a/ext/pdo/tests/bug_43663.phpt b/ext/pdo/tests/bug_43663.phpt
index 9e72a384d0..6e29e64f5d 100644
--- a/ext/pdo/tests/bug_43663.phpt
+++ b/ext/pdo/tests/bug_43663.phpt
@@ -26,6 +26,7 @@ require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc';
$a = new test('sqlite::memory:');
$a->foo();
$a->bar();
+?>
--EXPECT--
Called foo in test
Called bar in test
diff --git a/ext/pdo/tests/pdo_drivers_basic.phpt b/ext/pdo/tests/pdo_drivers_basic.phpt
index c57c52e31e..cd91ec3d4f 100644
--- a/ext/pdo/tests/pdo_drivers_basic.phpt
+++ b/ext/pdo/tests/pdo_drivers_basic.phpt
@@ -9,6 +9,7 @@ if (!extension_loaded('pdo')) die('skip');
<?php
var_dump(is_array(PDO::getAvailableDrivers()));
var_dump(is_array(pdo_drivers()));
+?>
--EXPECT--
bool(true)
bool(true)
diff --git a/ext/pdo/tests/pecl_bug_5772.phpt b/ext/pdo/tests/pecl_bug_5772.phpt
index 28cae695b7..bc74ede837 100644
--- a/ext/pdo/tests/pecl_bug_5772.phpt
+++ b/ext/pdo/tests/pecl_bug_5772.phpt
@@ -24,5 +24,6 @@ function heLLO($row) {
foreach ($db->query("SELECT * FROM test")->fetchAll(PDO::FETCH_FUNC, 'heLLO') as $row) {
var_dump($row);
}
+?>
--EXPECT--
string(1) "1"
diff --git a/ext/pdo/tests/pecl_bug_5809.phpt b/ext/pdo/tests/pecl_bug_5809.phpt
index 60bde2859f..181fd31ff7 100644
--- a/ext/pdo/tests/pecl_bug_5809.phpt
+++ b/ext/pdo/tests/pecl_bug_5809.phpt
@@ -22,6 +22,7 @@ var_dump($values);
$stmt = $db->prepare('SELECT * FROM test WHERE id = ?');
$stmt->execute($values);
var_dump($values);
+?>
--EXPECT--
array(1) {
[0]=>
diff --git a/ext/pdo_mysql/tests/bug63176.phpt b/ext/pdo_mysql/tests/bug63176.phpt
index 2a75f47384..0db4336624 100644
--- a/ext/pdo_mysql/tests/bug63176.phpt
+++ b/ext/pdo_mysql/tests/bug63176.phpt
@@ -35,6 +35,7 @@ $b = new ModelA(false);
var_dump($a);
var_dump($b);
+?>
--EXPECTF--
bool(true)
bool(false)
diff --git a/ext/pdo_mysql/tests/bug_39483.phpt b/ext/pdo_mysql/tests/bug_39483.phpt
index e0f1fd2ea3..1d9512904c 100644
--- a/ext/pdo_mysql/tests/bug_39483.phpt
+++ b/ext/pdo_mysql/tests/bug_39483.phpt
Binary files differ
diff --git a/ext/pdo_mysql/tests/last_insert_id.phpt b/ext/pdo_mysql/tests/last_insert_id.phpt
index 4b32d1cda2..10fcfc3f0f 100644
--- a/ext/pdo_mysql/tests/last_insert_id.phpt
+++ b/ext/pdo_mysql/tests/last_insert_id.phpt
@@ -19,6 +19,7 @@ print_r($db->query("INSERT INTO test (id, num) VALUES (23, 42)"));
print_r($db->query("INSERT INTO test (num) VALUES (451)"));
print_r($db->lastInsertId());
+?>
--EXPECT--
PDOStatement Object
(
diff --git a/ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt b/ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt
index 13c331633c..0d6cee356e 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_attr_errmode.phpt
@@ -158,6 +158,7 @@ error_reporting=E_ALL
$db->query('THIS IS NOT VALID SQL');
print "done!\n";
+?>
--EXPECTF--
[003] Maybe PDO could indicate that this is not a proper way of setting the ERRMODE...true
diff --git a/ext/pdo_mysql/tests/pdo_mysql_attr_prefetch.phpt b/ext/pdo_mysql/tests/pdo_mysql_attr_prefetch.phpt
index 155f3514fa..432e5d70d2 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_attr_prefetch.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_attr_prefetch.phpt
@@ -14,6 +14,7 @@ $db = MySQLPDOTest::factory();
var_dump($db->getAttribute(PDO::ATTR_PREFETCH));
var_dump($db->setAttribute(PDO::ATTR_PREFETCH, true));
print "done!";
+?>
--EXPECTF--
Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in %s on line %d
bool(false)
diff --git a/ext/pdo_mysql/tests/pdo_mysql_attr_server_info.phpt b/ext/pdo_mysql/tests/pdo_mysql_attr_server_info.phpt
index d1b6e1e02b..90e726017d 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_attr_server_info.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_attr_server_info.phpt
@@ -47,5 +47,6 @@ $db = MySQLPDOTest::factory();
}
print "done!";
+?>
--EXPECT--
done!
diff --git a/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt b/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
index e5809c5a76..7ab189fedf 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
@@ -101,5 +101,6 @@ if (!extension_loaded('mysqli') && !extension_loaded('mysqlnd')) {
}
print "done!";
+?>
--EXPECT--
done!
diff --git a/ext/pdo_mysql/tests/pdo_mysql_interface.phpt b/ext/pdo_mysql/tests/pdo_mysql_interface.phpt
index fbf0938dc9..4ba236f2a4 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_interface.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_interface.phpt
@@ -54,5 +54,6 @@ if (false == MySQLPDOTest::detect_transactional_mysql_engine($db))
}
print "done!";
+?>
--EXPECT--
done!
diff --git a/ext/pdo_mysql/tests/show_tables.phpt b/ext/pdo_mysql/tests/show_tables.phpt
index d6b1337412..a1929484fa 100644
--- a/ext/pdo_mysql/tests/show_tables.phpt
+++ b/ext/pdo_mysql/tests/show_tables.phpt
@@ -13,6 +13,7 @@ require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc';
$db = PDOTest::test_factory(__DIR__ . '/common.phpt');
print_r($db->query('SHOW TABLES'));
+?>
--EXPECT--
PDOStatement Object
(
diff --git a/ext/pdo_oci/tests/bug41996.phpt b/ext/pdo_oci/tests/bug41996.phpt
index 39c2fb3fd2..4eabc9ccd2 100644
--- a/ext/pdo_oci/tests/bug41996.phpt
+++ b/ext/pdo_oci/tests/bug41996.phpt
@@ -15,5 +15,6 @@ $stmt = $db->prepare('SELECT rowid FROM dual');
$stmt->execute();
$row = $stmt->fetch();
var_dump(strlen($row[0]) > 0);
+?>
--EXPECT--
bool(true)
diff --git a/ext/pdo_oci/tests/bug44301.phpt b/ext/pdo_oci/tests/bug44301.phpt
index 979a72d840..9f7fb29873 100644
--- a/ext/pdo_oci/tests/bug44301.phpt
+++ b/ext/pdo_oci/tests/bug44301.phpt
@@ -20,6 +20,7 @@ try {
print $e->getMessage();
}
$db = null;
+?>
--EXPECTF--
SQLSTATE[HY000]: General error: 942 OCIStmtExecute: ORA-00942: table or view does not exist
(%s%epdo_oci%eoci_statement.c:%d)
diff --git a/ext/pdo_oci/tests/bug60994.phpt b/ext/pdo_oci/tests/bug60994.phpt
index 07b06c1deb..a6f2daf4ce 100644
--- a/ext/pdo_oci/tests/bug60994.phpt
+++ b/ext/pdo_oci/tests/bug60994.phpt
@@ -92,6 +92,7 @@ echo 'size of string4 is ', strlen($string4), ' bytes, ', mb_strlen($string4), '
echo 'size of stream4 is ', strlen($stream4), ' bytes, ', mb_strlen($stream4), ' chars.', PHP_EOL;
echo 'beg of stream4 is ', $start4, PHP_EOL;
echo 'end of stream4 is ', $ending4, PHP_EOL;
+?>
--XFAIL--
Fails due to Bug 60994
--EXPECT--
diff --git a/ext/pdo_oci/tests/bug_33707.phpt b/ext/pdo_oci/tests/bug_33707.phpt
index 7765d36343..f6c1faefff 100644
--- a/ext/pdo_oci/tests/bug_33707.phpt
+++ b/ext/pdo_oci/tests/bug_33707.phpt
@@ -15,6 +15,7 @@ $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
$rs = $db->query('select blah from a_table_that_does_not_exist');
var_dump($rs);
var_dump($db->errorInfo());
+?>
--EXPECTF--
bool(false)
array(3) {
diff --git a/ext/pdo_oci/tests/checkliveness.phpt b/ext/pdo_oci/tests/checkliveness.phpt
index 00634b95d8..9740b5d061 100644
--- a/ext/pdo_oci/tests/checkliveness.phpt
+++ b/ext/pdo_oci/tests/checkliveness.phpt
@@ -46,6 +46,7 @@ try {
}
$db = null;
+?>
--EXPECT--
array(2) {
["DUMMY"]=>
diff --git a/ext/pdo_oci/tests/pdo_oci_class_constants.phpt b/ext/pdo_oci/tests/pdo_oci_class_constants.phpt
index f66c825245..c1d270ddf0 100644
--- a/ext/pdo_oci/tests/pdo_oci_class_constants.phpt
+++ b/ext/pdo_oci/tests/pdo_oci_class_constants.phpt
@@ -61,5 +61,6 @@ if (!empty($values)) {
}
print "done!";
+?>
--EXPECT--
done!
diff --git a/ext/pdo_odbc/tests/long_columns.phpt b/ext/pdo_odbc/tests/long_columns.phpt
index 5f369a50d4..2878fab1be 100644
--- a/ext/pdo_odbc/tests/long_columns.phpt
+++ b/ext/pdo_odbc/tests/long_columns.phpt
@@ -90,6 +90,7 @@ foreach ($db->query('SELECT id, data from TEST ORDER BY LEN(data) ASC') as $row)
}
echo "Finished\n";
+?>
--EXPECT--
Passed on size 32
Passed on size 53
diff --git a/ext/pdo_odbc/tests/max_columns.phpt b/ext/pdo_odbc/tests/max_columns.phpt
index b36eb5381f..027ba2c4da 100644
--- a/ext/pdo_odbc/tests/max_columns.phpt
+++ b/ext/pdo_odbc/tests/max_columns.phpt
@@ -41,5 +41,6 @@ foreach ($db->query('SELECT id, data from TEST') as $row) {
}
echo "Finished\n";
+?>
--EXPECT--
Finished
diff --git a/ext/pdo_pgsql/tests/bug48764.phpt b/ext/pdo_pgsql/tests/bug48764.phpt
index c1d6c6a74f..e4d6a1e415 100644
--- a/ext/pdo_pgsql/tests/bug48764.phpt
+++ b/ext/pdo_pgsql/tests/bug48764.phpt
@@ -59,6 +59,7 @@ function bug($db, $options = array()) {
echo $e->getCode()."\n";
}
}
+?>
--EXPECT--
Test 1
42P18
diff --git a/ext/pdo_pgsql/tests/bug75402.phpt b/ext/pdo_pgsql/tests/bug75402.phpt
index 52ae4df957..3aa26660ef 100644
--- a/ext/pdo_pgsql/tests/bug75402.phpt
+++ b/ext/pdo_pgsql/tests/bug75402.phpt
@@ -81,6 +81,7 @@ if ($db) {
}
var_dump($resp);
+?>
--EXPECT--
object(stdClass)#2 (1) {
["entries"]=>
diff --git a/ext/pdo_pgsql/tests/bug_33876.phpt b/ext/pdo_pgsql/tests/bug_33876.phpt
index a425f6d9f6..96f358eac2 100644
--- a/ext/pdo_pgsql/tests/bug_33876.phpt
+++ b/ext/pdo_pgsql/tests/bug_33876.phpt
@@ -88,6 +88,7 @@ if (!$res->execute(array(false))) {
} else {
print_r($res->fetchAll(PDO::FETCH_ASSOC));
}
+?>
--EXPECTF--
Array
(
diff --git a/ext/pdo_sqlite/tests/bug33841.phpt b/ext/pdo_sqlite/tests/bug33841.phpt
index 1c9fe201f4..2fc6d955b6 100644
--- a/ext/pdo_sqlite/tests/bug33841.phpt
+++ b/ext/pdo_sqlite/tests/bug33841.phpt
@@ -20,6 +20,7 @@ $stmt = $db->prepare("UPDATE test SET text = :text ");
$stmt->bindParam(':text', $name);
$name = 'test2';
var_dump($stmt->execute(), $stmt->rowCount());
+?>
--EXPECT--
bool(true)
int(1)
diff --git a/ext/pdo_sqlite/tests/bug78192.phpt b/ext/pdo_sqlite/tests/bug78192.phpt
index dcf4b749be..defdafb681 100644
--- a/ext/pdo_sqlite/tests/bug78192.phpt
+++ b/ext/pdo_sqlite/tests/bug78192.phpt
@@ -23,6 +23,7 @@ var_dump($stmt->fetchAll(\PDO::FETCH_ASSOC));
$connection->query('ALTER TABLE user ADD new_col VARCHAR(255)');
$stmt->execute(['id' => 10]);
var_dump($stmt->fetchAll(\PDO::FETCH_ASSOC));
+?>
--EXPECT--
array(1) {
[0]=>
diff --git a/ext/pgsql/tests/bug75419.phpt b/ext/pgsql/tests/bug75419.phpt
index 09164f4221..858a829d94 100644
--- a/ext/pgsql/tests/bug75419.phpt
+++ b/ext/pgsql/tests/bug75419.phpt
@@ -10,5 +10,6 @@ $db1 = pg_connect($conn_str, PGSQL_CONNECT_FORCE_NEW);
$db2 = pg_connect($conn_str, PGSQL_CONNECT_FORCE_NEW);
pg_close($db1);
var_dump(pg_ping());
+?>
--EXPECT--
bool(true)
diff --git a/ext/phar/tests/bug69324.phpt b/ext/phar/tests/bug69324.phpt
index 1735fc8afe..8060cb66e9 100644
--- a/ext/phar/tests/bug69324.phpt
+++ b/ext/phar/tests/bug69324.phpt
@@ -13,5 +13,6 @@ var_dump($meta);
} catch(Exception $e) {
echo $e->getMessage();
}
+?>
--EXPECTF--
internal corruption of phar "%s" (truncated manifest entry)
diff --git a/ext/phar/tests/bug69441.phpt b/ext/phar/tests/bug69441.phpt
index 4dd136c506..43565b81d9 100644
--- a/ext/phar/tests/bug69441.phpt
+++ b/ext/phar/tests/bug69441.phpt
@@ -11,7 +11,6 @@ $r = new Phar($fname, 0);
echo $e;
}
?>
-
--EXPECTF--
UnexpectedValueException: phar error: corrupted central directory entry, no magic signature in zip-based phar "%sbug69441.phar" in %sbug69441.php:%d
Stack trace:
diff --git a/ext/phar/tests/bug69453.phpt b/ext/phar/tests/bug69453.phpt
index 18b4a3949f..a81546d59a 100644
--- a/ext/phar/tests/bug69453.phpt
+++ b/ext/phar/tests/bug69453.phpt
@@ -11,7 +11,6 @@ $r = new Phar($fname, 0);
echo $e;
}
?>
-
--EXPECTF--
UnexpectedValueException: phar error: "%s%ebug69453.tar.phar" is a corrupted tar file (checksum mismatch of file "") in %s:%d
Stack trace:
diff --git a/ext/phar/tests/bug69958.phpt b/ext/phar/tests/bug69958.phpt
index 15f1edc369..5c2cbc56a3 100644
--- a/ext/phar/tests/bug69958.phpt
+++ b/ext/phar/tests/bug69958.phpt
@@ -8,6 +8,7 @@ Still has memory leaks, see https://bugs.php.net/bug.php?id=70005
<?php
$tarphar = new PharData(__DIR__.'/bug69958.tar');
$phar = $tarphar->convertToData(Phar::TAR);
+?>
--EXPECTF--
Fatal error: Uncaught BadMethodCallException: phar "%s/bug69958.tar" exists and must be unlinked prior to conversion in %s/bug69958.php:%d
Stack trace:
diff --git a/ext/phar/tests/bug74991.phpt b/ext/phar/tests/bug74991.phpt
index 88d47be5ab..8d58beea73 100644
--- a/ext/phar/tests/bug74991.phpt
+++ b/ext/phar/tests/bug74991.phpt
@@ -20,4 +20,5 @@ require('phar://sample.phar/some/file');
unlink('path/needle.php');
unlink('sample.phar');
rmdir('path');
+?>
--EXPECT--
diff --git a/ext/phar/tests/fopen_edgecases.phpt b/ext/phar/tests/fopen_edgecases.phpt
index 72725e14c5..cea8adde60 100644
--- a/ext/phar/tests/fopen_edgecases.phpt
+++ b/ext/phar/tests/fopen_edgecases.phpt
@@ -69,7 +69,7 @@ include $pname . '/test.php';
--CLEAN--
<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php'); ?>
-<?php unlink(__DIR__ . '/fopen_edgetest.phar');
+<?php unlink(__DIR__ . '/fopen_edgetest.phar'); ?>
--EXPECTF--
Warning: fopen(phar://%sfopen_edgecases.phar.php/b/c.php): Failed to open stream: phar error: open mode append not supported in %sfopen_edgecases.php on line %d
diff --git a/ext/phar/tests/phar_isvalidpharfilename.phpt b/ext/phar/tests/phar_isvalidpharfilename.phpt
index d44c0603e9..1cea5fd314 100644
--- a/ext/phar/tests/phar_isvalidpharfilename.phpt
+++ b/ext/phar/tests/phar_isvalidpharfilename.phpt
@@ -72,6 +72,7 @@ var_dump(Phar::isValidPharFilename('dir.phar.php', false));
--CLEAN--
<?php
rmdir(__DIR__ . '/.phar');
+?>
--EXPECT--
bool(false)
bool(false)
diff --git a/ext/phar/tests/tar/bug67761.phpt b/ext/phar/tests/tar/bug67761.phpt
index add6b06cfa..f607e0404f 100644
--- a/ext/phar/tests/tar/bug67761.phpt
+++ b/ext/phar/tests/tar/bug67761.phpt
@@ -10,7 +10,6 @@ echo "Test\n";
include __DIR__."/files/bug67761.tar/bug67761.phar";
?>
-
--EXPECT--
Test
#!/usr/bin/env php
diff --git a/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt b/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
index 818d57e5f0..105d924f88 100644
--- a/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
+++ b/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
@@ -8,5 +8,6 @@ TestFest PHP|Tek
// We currently don't have any deprecated functions :/
$rc = new ReflectionFunction('var_dump');
var_dump($rc->isDeprecated());
+?>
--EXPECT--
bool(false)
diff --git a/ext/reflection/tests/ReflectionType_002.phpt b/ext/reflection/tests/ReflectionType_002.phpt
index 31d396f773..fba766e5e9 100644
--- a/ext/reflection/tests/ReflectionType_002.phpt
+++ b/ext/reflection/tests/ReflectionType_002.phpt
@@ -10,6 +10,7 @@ $rt = $rp->getType();
$rrt = $rm->getReturnType();
unset($rm, $rp);
var_dump($rt->getName(), $rrt->getName());
+?>
--EXPECT--
string(4) "Test"
string(5) "Test2"
diff --git a/ext/reflection/tests/bug33389.phpt b/ext/reflection/tests/bug33389.phpt
index fb166c16ba..e394b1f296 100644
--- a/ext/reflection/tests/bug33389.phpt
+++ b/ext/reflection/tests/bug33389.phpt
@@ -20,6 +20,7 @@ class Test {
}
}
echo new ReflectionClass('Test');
+?>
--EXPECTF--
Class [ <user> class Test ] {
@@ %sbug33389.php 3-18
diff --git a/ext/reflection/tests/bug53915.phpt b/ext/reflection/tests/bug53915.phpt
index f4df7cc839..633e82817b 100644
--- a/ext/reflection/tests/bug53915.phpt
+++ b/ext/reflection/tests/bug53915.phpt
@@ -19,6 +19,7 @@ Class Foo2
$rc = new ReflectionClass('Foo2');
print_r($rc->getConstant('B'));
+?>
--EXPECT--
Array
(
diff --git a/ext/reflection/tests/bug60367.phpt b/ext/reflection/tests/bug60367.phpt
index afc67ccc47..3cd5fd07a0 100644
--- a/ext/reflection/tests/bug60367.phpt
+++ b/ext/reflection/tests/bug60367.phpt
@@ -24,5 +24,6 @@ $method->invokeArgs(null, array());
$method = new ReflectionMethod("A::call");
$method->invoke(null);
$method->invokeArgs(null, array());
+?>
--EXPECT--
BBAA
diff --git a/ext/reflection/tests/bug61388.phpt b/ext/reflection/tests/bug61388.phpt
index b9fe6bfaaa..f8eb797a79 100644
--- a/ext/reflection/tests/bug61388.phpt
+++ b/ext/reflection/tests/bug61388.phpt
@@ -11,6 +11,7 @@ print_r($reflObj->getProperties(ReflectionProperty::IS_PUBLIC));
$x = (object)array("a", "oo" => "b");
$reflObj = new ReflectionObject($x);
print_r($reflObj->getProperties(ReflectionProperty::IS_PUBLIC));
+?>
--EXPECT--
Array
(
diff --git a/ext/reflection/tests/traits001.phpt b/ext/reflection/tests/traits001.phpt
index 4e36ceeaf0..b9870ceb8d 100644
--- a/ext/reflection/tests/traits001.phpt
+++ b/ext/reflection/tests/traits001.phpt
@@ -19,6 +19,7 @@ var_dump($rFoo->isTrait());
var_dump($rBar->isTrait());
echo $rFoo;
echo $rBar;
+?>
--EXPECTF--
bool(true)
bool(false)
diff --git a/ext/reflection/tests/traits004.phpt b/ext/reflection/tests/traits004.phpt
index d975a52726..0feed127d9 100644
--- a/ext/reflection/tests/traits004.phpt
+++ b/ext/reflection/tests/traits004.phpt
@@ -16,6 +16,7 @@ for ($c = "C1"; $c <= "C3"; $c++) {
var_dump($r->getTraits());
echo "\n";
}
+?>
--EXPECT--
class C1:
array(0) {
diff --git a/ext/session/tests/001.phpt b/ext/session/tests/001.phpt
index adf63c5f6a..50ed56b21e 100644
--- a/ext/session/tests/001.phpt
+++ b/ext/session/tests/001.phpt
@@ -31,5 +31,6 @@ $_SESSION["arr"] = $arr;
print session_encode()."\n";
session_destroy();
+?>
--EXPECT--
baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}}
diff --git a/ext/session/tests/002.phpt b/ext/session/tests/002.phpt
index 6fff01e773..4992d34ceb 100644
--- a/ext/session/tests/002.phpt
+++ b/ext/session/tests/002.phpt
@@ -7,5 +7,6 @@ session_unset() without a initialized session
error_reporting(E_ALL);
session_unset();
print "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/session/tests/003.phpt b/ext/session/tests/003.phpt
index a20bc9940d..e7e4294375 100644
--- a/ext/session/tests/003.phpt
+++ b/ext/session/tests/003.phpt
@@ -27,6 +27,7 @@ $_SESSION["arr"][3]->method();
var_dump($_SESSION["baz"]);
var_dump($_SESSION["arr"]);
session_destroy();
+?>
--EXPECT--
object(foo)#1 (2) {
["bar"]=>
diff --git a/ext/session/tests/023.phpt b/ext/session/tests/023.phpt
index 828358dc78..23c7096f23 100644
--- a/ext/session/tests/023.phpt
+++ b/ext/session/tests/023.phpt
@@ -29,6 +29,7 @@ $arr[3]->method();
var_dump($baz);
var_dump($arr);
session_destroy();
+?>
--EXPECT--
object(foo)#1 (2) {
["bar"]=>
diff --git a/ext/session/tests/bug42596.phpt b/ext/session/tests/bug42596.phpt
index adc1503949..094bd31bcf 100644
--- a/ext/session/tests/bug42596.phpt
+++ b/ext/session/tests/bug42596.phpt
@@ -30,6 +30,7 @@ foreach (glob($sessdir. "*") as $sessfile) {
unlink($sessfile);
}
rmdir($sessdir);
+?>
--EXPECT--
hello world
string(6) "100777"
diff --git a/ext/session/tests/bug51338.phpt b/ext/session/tests/bug51338.phpt
index d806c0bf3f..5dae50baf7 100644
--- a/ext/session/tests/bug51338.phpt
+++ b/ext/session/tests/bug51338.phpt
@@ -9,6 +9,7 @@ session.use_trans_sid=1
<?php
session_start();
print_r(ob_list_handlers());
+?>
--EXPECT--
Array
(
diff --git a/ext/session/tests/bug61728.phpt b/ext/session/tests/bug61728.phpt
index ceabd3ad83..5fb451b9f8 100644
--- a/ext/session/tests/bug61728.phpt
+++ b/ext/session/tests/bug61728.phpt
@@ -37,5 +37,6 @@ function gc ($maxlifetime) {
session_set_save_handler ("open", "close", "read", "write", "destroy", "gc");
session_start();
+?>
--EXPECT--
8
diff --git a/ext/session/tests/bug63379.phpt b/ext/session/tests/bug63379.phpt
index ed009c3ac6..5987e66be0 100644
--- a/ext/session/tests/bug63379.phpt
+++ b/ext/session/tests/bug63379.phpt
@@ -32,6 +32,7 @@ session_unset();
session_start();
var_dump($_SESSION);
+?>
--EXPECT--
array(1) {
["foo"]=>
diff --git a/ext/session/tests/bug63379_nodestroy.phpt b/ext/session/tests/bug63379_nodestroy.phpt
index dbfedeaf05..7e0221f0e0 100644
--- a/ext/session/tests/bug63379_nodestroy.phpt
+++ b/ext/session/tests/bug63379_nodestroy.phpt
@@ -32,6 +32,7 @@ session_unset();
session_start();
var_dump($_SESSION);
+?>
--EXPECT--
array(1) {
["foo"]=>
diff --git a/ext/session/tests/bug65475.phpt b/ext/session/tests/bug65475.phpt
index d55fd74594..637d75c827 100644
--- a/ext/session/tests/bug65475.phpt
+++ b/ext/session/tests/bug65475.phpt
@@ -25,6 +25,7 @@ session_start();
var_dump($session_id === session_id());
var_dump($_SESSION['cnt']); // Should be int(2)
session_write_close();
+?>
--EXPECT--
Testing file module
bool(true)
diff --git a/ext/session/tests/bug66481.phpt b/ext/session/tests/bug66481.phpt
index aa8a3cf424..626b497759 100644
--- a/ext/session/tests/bug66481.phpt
+++ b/ext/session/tests/bug66481.phpt
@@ -11,6 +11,7 @@ ob_start();
var_dump(session_name("foo"));
var_dump(session_name("bar"));
+?>
--EXPECT--
Warning: PHP Startup: session.name cannot be a numeric or empty '' in Unknown on line 0
string(9) "PHPSESSID"
diff --git a/ext/session/tests/bug67694.phpt b/ext/session/tests/bug67694.phpt
index a82a9fcbaf..3dffa2651b 100644
--- a/ext/session/tests/bug67694.phpt
+++ b/ext/session/tests/bug67694.phpt
@@ -36,6 +36,7 @@ session_id($newid);
session_start();
var_dump(isset($_SESSION['init']) && $data == $_SESSION['init']);
+?>
--EXPECT--
bool(true)
bool(true)
diff --git a/ext/session/tests/bug67972.phpt b/ext/session/tests/bug67972.phpt
index e9ea7258e5..64999b0087 100644
--- a/ext/session/tests/bug67972.phpt
+++ b/ext/session/tests/bug67972.phpt
@@ -6,5 +6,6 @@ Bug #67972: SessionHandler Invalid memory read create_sid()
<?php
(new SessionHandler)->create_sid();
+?>
--EXPECTF--
Warning: SessionHandler::create_sid(): Session is not active in %s on line %d
diff --git a/ext/session/tests/bug78624.phpt b/ext/session/tests/bug78624.phpt
index 6db6945eb4..bb4fc0311d 100644
--- a/ext/session/tests/bug78624.phpt
+++ b/ext/session/tests/bug78624.phpt
@@ -46,6 +46,7 @@ session_start();
var_dump(session_gc());
session_write_close();
+?>
--EXPECTF--
*** Test session_set_save_handler() : session_gc() returns the number of deleted records. ***
Open
diff --git a/ext/session/tests/bug79221.phpt b/ext/session/tests/bug79221.phpt
index 0813457035..07f50a9252 100644
--- a/ext/session/tests/bug79221.phpt
+++ b/ext/session/tests/bug79221.phpt
@@ -40,6 +40,7 @@ session_start();
var_dump($_SESSION);
session_destroy();
+?>
--EXPECT--
array(0) {
}
diff --git a/ext/session/tests/session_basic4.phpt b/ext/session/tests/session_basic4.phpt
index 2f9b914462..9da9d0ab35 100644
--- a/ext/session/tests/session_basic4.phpt
+++ b/ext/session/tests/session_basic4.phpt
@@ -46,6 +46,7 @@ echo '
<form action="" method="post">
</form>
';
+?>
--EXPECT--
*** Testing basic session functionality : variation4 use_trans_sid ***
*** Test trans sid ***
diff --git a/ext/session/tests/session_set_save_handler_class_001.phpt b/ext/session/tests/session_set_save_handler_class_001.phpt
index 8705c6b953..726ed505e5 100644
--- a/ext/session/tests/session_set_save_handler_class_001.phpt
+++ b/ext/session/tests/session_set_save_handler_class_001.phpt
@@ -85,6 +85,7 @@ var_dump($_SESSION);
session_write_close();
session_unset();
var_dump($handler->i);
+?>
--EXPECTF--
*** Testing session_set_save_handler() : basic class wrapping existing handler ***
Open
diff --git a/ext/session/tests/session_set_save_handler_class_002.phpt b/ext/session/tests/session_set_save_handler_class_002.phpt
index bbc39956ff..9a4a3a1793 100644
--- a/ext/session/tests/session_set_save_handler_class_002.phpt
+++ b/ext/session/tests/session_set_save_handler_class_002.phpt
@@ -83,6 +83,7 @@ var_dump($_SESSION);
session_write_close();
session_unset();
+?>
--EXPECTF--
*** Testing session_set_save_handler() : full handler implementation ***
string(%d) "%s"
diff --git a/ext/session/tests/session_set_save_handler_class_003.phpt b/ext/session/tests/session_set_save_handler_class_003.phpt
index 7194bc724d..fe83c57d4c 100644
--- a/ext/session/tests/session_set_save_handler_class_003.phpt
+++ b/ext/session/tests/session_set_save_handler_class_003.phpt
@@ -57,6 +57,7 @@ session_write_close();
session_unset();
var_dump(session_id(), $_SESSION, $handler->i);
+?>
--EXPECTF--
*** Testing session_set_save_handler() : inheritance ***
array(1) {
diff --git a/ext/session/tests/session_set_save_handler_class_004.phpt b/ext/session/tests/session_set_save_handler_class_004.phpt
index d68b3e9623..7583462e02 100644
--- a/ext/session/tests/session_set_save_handler_class_004.phpt
+++ b/ext/session/tests/session_set_save_handler_class_004.phpt
@@ -27,6 +27,7 @@ var_dump($_SESSION);
session_write_close();
session_unset();
+?>
--EXPECTF--
*** Testing session_set_save_handler() : default object ***
string(%d) "%s"
diff --git a/ext/session/tests/session_set_save_handler_class_005.phpt b/ext/session/tests/session_set_save_handler_class_005.phpt
index d3de39b9e0..cd2d831a01 100644
--- a/ext/session/tests/session_set_save_handler_class_005.phpt
+++ b/ext/session/tests/session_set_save_handler_class_005.phpt
@@ -33,6 +33,7 @@ var_dump(session_id(), ini_get('session.save_handler'), $_SESSION);
session_write_close();
session_unset();
+?>
--EXPECTF--
*** Testing session_set_save_handler() : incomplete implementation ***
diff --git a/ext/session/tests/session_set_save_handler_class_012.phpt b/ext/session/tests/session_set_save_handler_class_012.phpt
index c5bd2b8db1..8f019d935b 100644
--- a/ext/session/tests/session_set_save_handler_class_012.phpt
+++ b/ext/session/tests/session_set_save_handler_class_012.phpt
@@ -39,6 +39,7 @@ try {
}
var_dump(session_id(), $oldHandler, ini_get('session.save_handler'), $handler->i, $_SESSION);
+?>
--EXPECTF--
*** Testing session_set_save_handler() : incorrect arguments for existing handler open ***
Open
diff --git a/ext/session/tests/session_set_save_handler_class_014.phpt b/ext/session/tests/session_set_save_handler_class_014.phpt
index a671ea3e17..6bb1fca533 100644
--- a/ext/session/tests/session_set_save_handler_class_014.phpt
+++ b/ext/session/tests/session_set_save_handler_class_014.phpt
@@ -19,6 +19,7 @@ $handler = new SessionHandler;
session_set_save_handler($handler);
session_start();
+?>
--EXPECT--
Recoverable fatal error: PHP Startup: Cannot set 'user' save handler by ini_set() or session_module_name() in Unknown on line 0
*** Testing session_set_save_handler() : calling default handler when save_handler=user ***
diff --git a/ext/session/tests/session_set_save_handler_class_015.phpt b/ext/session/tests/session_set_save_handler_class_015.phpt
index 9d7e76c036..955995d5a7 100644
--- a/ext/session/tests/session_set_save_handler_class_015.phpt
+++ b/ext/session/tests/session_set_save_handler_class_015.phpt
@@ -13,5 +13,6 @@ ob_start();
echo "*** Testing session_set_save_handler() : register session handler but don't start ***\n";
session_set_save_handler(new SessionHandler);
+?>
--EXPECT--
*** Testing session_set_save_handler() : register session handler but don't start ***
diff --git a/ext/session/tests/session_set_save_handler_class_016.phpt b/ext/session/tests/session_set_save_handler_class_016.phpt
index 85964751e0..60654a49d6 100644
--- a/ext/session/tests/session_set_save_handler_class_016.phpt
+++ b/ext/session/tests/session_set_save_handler_class_016.phpt
@@ -69,6 +69,7 @@ var_dump($_SESSION);
session_write_close();
session_unset();
+?>
--EXPECTF--
*** Testing session_set_save_handler() function: class with create_sid ***
string(%d) "%s"
diff --git a/ext/session/tests/session_set_save_handler_class_017.phpt b/ext/session/tests/session_set_save_handler_class_017.phpt
index 03eaf22947..4cd100302f 100644
--- a/ext/session/tests/session_set_save_handler_class_017.phpt
+++ b/ext/session/tests/session_set_save_handler_class_017.phpt
@@ -69,6 +69,7 @@ var_dump($_SESSION);
--CLEAN--
<?php
@unlink(session_save_path().'/u_sess_PHPSESSIDsession_set_save_handler_class_017');
+?>
--EXPECT--
*** Testing session_set_save_handler() function: class with create_sid ***
string(34) "session_set_save_handler_class_017"
diff --git a/ext/session/tests/session_set_save_handler_class_018.phpt b/ext/session/tests/session_set_save_handler_class_018.phpt
index 7482cd2901..dd1fe2129c 100644
--- a/ext/session/tests/session_set_save_handler_class_018.phpt
+++ b/ext/session/tests/session_set_save_handler_class_018.phpt
@@ -73,6 +73,7 @@ var_dump($_SESSION);
--CLEAN--
<?php
@unlink(session_save_path().'/u_sess_PHPSESSIDsession_set_save_handler_class_018');
+?>
--EXPECT--
*** Testing session_set_save_handler() function: class with validate_sid ***
string(34) "session_set_save_handler_class_018"
diff --git a/ext/session/tests/session_set_save_handler_iface_001.phpt b/ext/session/tests/session_set_save_handler_iface_001.phpt
index 9eecaf13bf..53c99cfdb8 100644
--- a/ext/session/tests/session_set_save_handler_iface_001.phpt
+++ b/ext/session/tests/session_set_save_handler_iface_001.phpt
@@ -82,6 +82,7 @@ var_dump($_SESSION);
session_write_close();
session_unset();
+?>
--EXPECTF--
*** Testing session_set_save_handler() function: interface ***
string(%d) "%s"
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 c472b9982d..eed5ee2f8d 100644
--- a/ext/session/tests/session_set_save_handler_iface_002.phpt
+++ b/ext/session/tests/session_set_save_handler_iface_002.phpt
@@ -77,6 +77,7 @@ try {
}
session_start();
+?>
--EXPECT--
*** Testing session_set_save_handler() function: interface wrong ***
bool(true)
diff --git a/ext/session/tests/session_set_save_handler_iface_003.phpt b/ext/session/tests/session_set_save_handler_iface_003.phpt
index 561d1f3b44..582942f185 100644
--- a/ext/session/tests/session_set_save_handler_iface_003.phpt
+++ b/ext/session/tests/session_set_save_handler_iface_003.phpt
@@ -70,6 +70,7 @@ var_dump($_SESSION);
--CLEAN--
<?php
@unlink(session_save_path().'/u_sess_PHPSESSIDsession_set_save_handler_iface_003');
+?>
--EXPECT--
*** Testing session_set_save_handler() function: id interface ***
string(34) "session_set_save_handler_iface_003"
diff --git a/ext/session/tests/session_set_save_handler_sid_001.phpt b/ext/session/tests/session_set_save_handler_sid_001.phpt
index d4097158ed..76d3f256bf 100644
--- a/ext/session/tests/session_set_save_handler_sid_001.phpt
+++ b/ext/session/tests/session_set_save_handler_sid_001.phpt
@@ -71,6 +71,7 @@ var_dump($_SESSION);
--CLEAN--
<?php
@unlink(session_save_path().'/u_sess_PHPSESSIDsession_set_save_handler_sid_001');
+?>
--EXPECT--
*** Testing session_set_save_handler() function: create_sid ***
string(32) "session_set_save_handler_sid_001"
diff --git a/ext/session/tests/session_set_save_handler_sid_002.phpt b/ext/session/tests/session_set_save_handler_sid_002.phpt
index 0c36c55e2e..5f288fd826 100644
--- a/ext/session/tests/session_set_save_handler_sid_002.phpt
+++ b/ext/session/tests/session_set_save_handler_sid_002.phpt
@@ -71,6 +71,7 @@ var_dump($_SESSION);
session_write_close();
session_unset();
+?>
--EXPECTF--
*** Testing session_set_save_handler() function: create_sid ***
diff --git a/ext/simplexml/tests/bug62328.phpt b/ext/simplexml/tests/bug62328.phpt
index a6e60e488c..64f097136e 100644
--- a/ext/simplexml/tests/bug62328.phpt
+++ b/ext/simplexml/tests/bug62328.phpt
@@ -14,6 +14,7 @@ $xml = new UberSimpleXML('<xml/>');
var_dump((string) $xml);
var_dump($xml->__toString());
+?>
--EXPECT--
string(15) "stringification"
string(15) "stringification"
diff --git a/ext/soap/tests/bugs/bug39815.phpt b/ext/soap/tests/bugs/bug39815.phpt
index e8786ada5a..cc5977b581 100644
--- a/ext/soap/tests/bugs/bug39815.phpt
+++ b/ext/soap/tests/bugs/bug39815.phpt
@@ -40,6 +40,7 @@ echo $x->__getLastResponse();
setlocale(LC_ALL,"en_US","en_US.ISO8859-1");
var_dump($x->test());
echo $x->__getLastResponse();
+?>
--EXPECT--
float(123.456)
<?xml version="1.0" encoding="UTF-8"?>
diff --git a/ext/soap/tests/bugs/bug41566.phpt b/ext/soap/tests/bugs/bug41566.phpt
index 557c61780a..bbf61ce04e 100644
--- a/ext/soap/tests/bugs/bug41566.phpt
+++ b/ext/soap/tests/bugs/bug41566.phpt
@@ -56,6 +56,7 @@ EOF;
$server->handle($HTTP_RAW_POST_DATA);
echo "ok\n";
ob_flush();
+?>
--EXPECT--
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://testuri.org" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:testResponse><return SOAP-ENC:arrayType="SOAP-ENC:Struct[4]" xsi:type="SOAP-ENC:Array"><item xsi:type="SOAP-ENC:Struct" id="ref1"><sName xsi:type="xsd:string">newUser</sName></item><item href="#ref1"/><item href="#ref1"/><item href="#ref1"/></return></ns1:testResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
diff --git a/ext/soap/tests/bugs/bug42183.phpt b/ext/soap/tests/bugs/bug42183.phpt
index 0fed7f1d54..f78cac0e56 100644
--- a/ext/soap/tests/bugs/bug42183.phpt
+++ b/ext/soap/tests/bugs/bug42183.phpt
@@ -23,5 +23,6 @@ ob_start();
$server->handle($req);
ob_end_clean();
echo "ok\n";
+?>
--EXPECT--
ok
diff --git a/ext/soap/tests/bugs/bug43045.phpt b/ext/soap/tests/bugs/bug43045.phpt
index 9c2139276d..4271410b0c 100644
--- a/ext/soap/tests/bugs/bug43045.phpt
+++ b/ext/soap/tests/bugs/bug43045.phpt
@@ -45,6 +45,7 @@ var_dump($client->test(0.1));
var_dump($client->test(NAN));
var_dump($response = $client->test(INF));
var_dump($response = $client->test(-INF));
+?>
--EXPECT--
float(0.1)
float(NAN)
diff --git a/ext/soap/tests/bugs/bug50675.phpt b/ext/soap/tests/bugs/bug50675.phpt
index 00350b1000..5ff2ee0623 100644
--- a/ext/soap/tests/bugs/bug50675.phpt
+++ b/ext/soap/tests/bugs/bug50675.phpt
@@ -45,6 +45,7 @@ $person->name = 'name';
$result = $client->echoPerson($person, $person);
print($client->__getLastRequest());
+?>
--EXPECT--
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://service" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:service.EchoService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:echoPerson><p xsi:type="ns2:Person" id="ref1"><name xsi:type="SOAP-ENC:string">name</name></p><p2 href="#ref1"/></ns1:echoPerson></SOAP-ENV:Body></SOAP-ENV:Envelope>
diff --git a/ext/soap/tests/bugs/bug69085.phpt b/ext/soap/tests/bugs/bug69085.phpt
index 7d7f36e9bd..468b9bb5ac 100644
--- a/ext/soap/tests/bugs/bug69085.phpt
+++ b/ext/soap/tests/bugs/bug69085.phpt
@@ -13,5 +13,6 @@ try {
} catch (Exception $e) {
echo "okey";
}
+?>
--EXPECT--
okey
diff --git a/ext/sockets/tests/bug49341.phpt b/ext/sockets/tests/bug49341.phpt
index a73c4c1c63..ba9a81e481 100644
--- a/ext/sockets/tests/bug49341.phpt
+++ b/ext/sockets/tests/bug49341.phpt
@@ -11,5 +11,6 @@ if (PHP_OS !== 'Darwin' && false === strpos(PHP_OS, 'BSD')) {
--FILE--
<?php
var_dump(defined('SO_REUSEPORT'));
+?>
--EXPECT--
bool(true)
diff --git a/ext/sockets/tests/bug51958.phpt b/ext/sockets/tests/bug51958.phpt
index b4d75cec48..9756266343 100644
--- a/ext/sockets/tests/bug51958.phpt
+++ b/ext/sockets/tests/bug51958.phpt
@@ -18,5 +18,6 @@ socket_listen($listenfd);
socket_set_nonblock($listenfd);
$connfd = @socket_accept($listenfd);
echo socket_last_error();
+?>
--EXPECT--
10035
diff --git a/ext/sockets/tests/bug63000.phpt b/ext/sockets/tests/bug63000.phpt
index 024f784ccb..e92ec0f9e9 100644
--- a/ext/sockets/tests/bug63000.phpt
+++ b/ext/sockets/tests/bug63000.phpt
@@ -15,5 +15,6 @@ $so = socket_set_option($socket, IPPROTO_IP, MCAST_JOIN_GROUP, array(
"interface" => 0,
));
var_dump($so);
+?>
--EXPECT--
bool(true)
diff --git a/ext/sockets/tests/bug76839.phpt b/ext/sockets/tests/bug76839.phpt
index 49aff731f7..5c45dab873 100644
--- a/ext/sockets/tests/bug76839.phpt
+++ b/ext/sockets/tests/bug76839.phpt
@@ -42,6 +42,7 @@ for ($i = 0; $i < 10; $i++) {
socket_close($senderSocket);
unlink($senderSocketPath);
}
+?>
--EXPECT--
Received 'Ping!'
Responded to sender with 'Pong!'
diff --git a/ext/sockets/tests/mcast_ipv4_recv.phpt b/ext/sockets/tests/mcast_ipv4_recv.phpt
index 28237f415e..0f17eb67c6 100644
--- a/ext/sockets/tests/mcast_ipv4_recv.phpt
+++ b/ext/sockets/tests/mcast_ipv4_recv.phpt
@@ -152,6 +152,7 @@ if ($i == 8) {
}
}
+?>
--EXPECTF--
creating send socket bound to 127.0.0.1
bool(true)
diff --git a/ext/sockets/tests/mcast_ipv4_send.phpt b/ext/sockets/tests/mcast_ipv4_send.phpt
index 58395aed26..e1e88aca41 100644
--- a/ext/sockets/tests/mcast_ipv4_send.phpt
+++ b/ext/sockets/tests/mcast_ipv4_send.phpt
@@ -45,6 +45,7 @@ var_dump($r);
$r = socket_get_option($s, $level, IP_MULTICAST_IF);
var_dump($r);
echo "\n";
+?>
--EXPECT--
Setting IP_MULTICAST_TTL
bool(true)
diff --git a/ext/sockets/tests/mcast_ipv4_send_error.phpt b/ext/sockets/tests/mcast_ipv4_send_error.phpt
index 5d254c6843..978b78938b 100644
--- a/ext/sockets/tests/mcast_ipv4_send_error.phpt
+++ b/ext/sockets/tests/mcast_ipv4_send_error.phpt
@@ -66,6 +66,7 @@ try {
$r = socket_get_option($s, $level, IP_MULTICAST_TTL);
var_dump($r);
echo "\n";
+?>
--EXPECT--
Setting IP_MULTICAST_LOOP with 256
bool(true)
diff --git a/ext/sockets/tests/mcast_ipv6_recv.phpt b/ext/sockets/tests/mcast_ipv6_recv.phpt
index 3bc791a451..757bf9889b 100644
--- a/ext/sockets/tests/mcast_ipv6_recv.phpt
+++ b/ext/sockets/tests/mcast_ipv6_recv.phpt
@@ -178,6 +178,7 @@ if ($i == 8) {
}
}
+?>
--EXPECTF--
creating send socket
object(Socket)#%d (0) {
diff --git a/ext/sockets/tests/mcast_ipv6_recv_limited.phpt b/ext/sockets/tests/mcast_ipv6_recv_limited.phpt
index dda3756b7e..9bf0bbf914 100644
--- a/ext/sockets/tests/mcast_ipv6_recv_limited.phpt
+++ b/ext/sockets/tests/mcast_ipv6_recv_limited.phpt
@@ -106,6 +106,7 @@ if ($i == 3) {
}
}
+?>
--EXPECTF--
creating send socket
object(Socket)#%d (0) {
diff --git a/ext/sockets/tests/mcast_ipv6_send.phpt b/ext/sockets/tests/mcast_ipv6_send.phpt
index e4bd5f0467..d9fec9e72b 100644
--- a/ext/sockets/tests/mcast_ipv6_send.phpt
+++ b/ext/sockets/tests/mcast_ipv6_send.phpt
@@ -49,6 +49,7 @@ var_dump($r);
$r = socket_get_option($s, $level, IPV6_MULTICAST_IF);
var_dump($r);
echo "\n";
+?>
--EXPECT--
Setting IPV6_MULTICAST_TTL
bool(true)
diff --git a/ext/sockets/tests/socket_addrinfo_bind.phpt b/ext/sockets/tests/socket_addrinfo_bind.phpt
index 40a746bdb9..d8b18d8030 100644
--- a/ext/sockets/tests/socket_addrinfo_bind.phpt
+++ b/ext/sockets/tests/socket_addrinfo_bind.phpt
@@ -13,6 +13,7 @@ $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array(
));
var_dump(socket_addrinfo_bind($addrinfo[0]));
echo "Done";
+?>
--EXPECT--
object(Socket)#2 (0) {
}
diff --git a/ext/sockets/tests/socket_addrinfo_connect.phpt b/ext/sockets/tests/socket_addrinfo_connect.phpt
index a5a604ee61..e15356f7b5 100644
--- a/ext/sockets/tests/socket_addrinfo_connect.phpt
+++ b/ext/sockets/tests/socket_addrinfo_connect.phpt
@@ -13,6 +13,7 @@ $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array(
));
var_dump(socket_addrinfo_connect($addrinfo[0]));
echo "Done";
+?>
--EXPECT--
object(Socket)#2 (0) {
}
diff --git a/ext/sockets/tests/socket_addrinfo_explain.phpt b/ext/sockets/tests/socket_addrinfo_explain.phpt
index 16366ac1be..16df7d45f3 100644
--- a/ext/sockets/tests/socket_addrinfo_explain.phpt
+++ b/ext/sockets/tests/socket_addrinfo_explain.phpt
@@ -16,6 +16,7 @@ $result = socket_addrinfo_explain($addrinfo[0]);
unset($result['ai_canonname']);
var_dump($result);
echo "Done";
+?>
--EXPECTF--
array(5) {
["ai_flags"]=>
diff --git a/ext/sockets/tests/socket_addrinfo_lookup.phpt b/ext/sockets/tests/socket_addrinfo_lookup.phpt
index 8393eaa7ef..2d9ef39196 100644
--- a/ext/sockets/tests/socket_addrinfo_lookup.phpt
+++ b/ext/sockets/tests/socket_addrinfo_lookup.phpt
@@ -14,6 +14,7 @@ $addrinfo = socket_addrinfo_lookup('127.0.0.1', 2000, array(
));
var_dump($addrinfo[0]);
echo "Done";
+?>
--EXPECTF--
Notice: socket_addrinfo_lookup(): Unknown hint invalid in %ssocket_addrinfo_lookup.php on line %d
object(AddressInfo)#%d (0) {
diff --git a/ext/sockets/tests/socket_cmsg_credentials.phpt b/ext/sockets/tests/socket_cmsg_credentials.phpt
index 33f770510f..31d7eb4799 100644
--- a/ext/sockets/tests/socket_cmsg_credentials.phpt
+++ b/ext/sockets/tests/socket_cmsg_credentials.phpt
@@ -56,6 +56,7 @@ print_r($data);
$pid = getmypid();
var_dump($data['control'][0]['data']['pid'] === $pid);
+?>
--EXPECTF--
creating send socket
object(Socket)#%d (0) {
diff --git a/ext/sockets/tests/socket_cmsg_rights.phpt b/ext/sockets/tests/socket_cmsg_rights.phpt
index 7c7334ffca..a77f493650 100644
--- a/ext/sockets/tests/socket_cmsg_rights.phpt
+++ b/ext/sockets/tests/socket_cmsg_rights.phpt
@@ -77,6 +77,7 @@ if ($data["control"]) {
echo "FAIL CONTROL\n";
var_dump($data);
}
+?>
--EXPECTF--
creating send socket
object(Socket)#%d (0) {
diff --git a/ext/sockets/tests/socket_create_listen-nobind.phpt b/ext/sockets/tests/socket_create_listen-nobind.phpt
index d6a9a767a3..b42d9c7c26 100644
--- a/ext/sockets/tests/socket_create_listen-nobind.phpt
+++ b/ext/sockets/tests/socket_create_listen-nobind.phpt
@@ -19,6 +19,7 @@ if (@socket_create_listen(80)) {
--FILE--
<?php
$sock = socket_create_listen(80);
+?>
--EXPECTF--
Warning: socket_create_listen(): unable to bind to given address [13]: Permission denied in %s on line %d
--CREDITS--
diff --git a/ext/sockets/tests/socket_create_listen-win32.phpt b/ext/sockets/tests/socket_create_listen-win32.phpt
index f7306262f4..89d8dde0b2 100644
--- a/ext/sockets/tests/socket_create_listen-win32.phpt
+++ b/ext/sockets/tests/socket_create_listen-win32.phpt
@@ -13,6 +13,7 @@ if (!extension_loaded('sockets')) {
$sock = socket_create_listen(31338);
socket_getsockname($sock, $addr, $port);
var_dump($addr, $port);
+?>
--EXPECT--
string(9) "127.0.0.1"
int(31338)
diff --git a/ext/sockets/tests/socket_create_listen.phpt b/ext/sockets/tests/socket_create_listen.phpt
index 7083b0a1b9..180b91368c 100644
--- a/ext/sockets/tests/socket_create_listen.phpt
+++ b/ext/sockets/tests/socket_create_listen.phpt
@@ -13,6 +13,7 @@ if (!extension_loaded('sockets')) {
$sock = socket_create_listen(31338);
socket_getsockname($sock, $addr, $port);
var_dump($addr, $port);
+?>
--EXPECT--
string(7) "0.0.0.0"
int(31338)
diff --git a/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt b/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt
index de939f6657..5b6934d965 100644
--- a/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt
+++ b/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt
@@ -24,6 +24,7 @@ try {
} catch (\ValueError $e) {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
bool(true)
socket_create_pair(): Argument #1 ($domain) must be either AF_UNIX, AF_INET6 or AF_INET
diff --git a/ext/sockets/tests/socket_create_pair.phpt b/ext/sockets/tests/socket_create_pair.phpt
index 604d5a2319..7fc1838f71 100644
--- a/ext/sockets/tests/socket_create_pair.phpt
+++ b/ext/sockets/tests/socket_create_pair.phpt
@@ -15,6 +15,7 @@ if (strtolower(substr(PHP_OS, 0, 3)) == 'win') {
}
socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
var_dump($sockets);
+?>
--EXPECT--
array(2) {
[0]=>
diff --git a/ext/sockets/tests/socket_export_stream-1.phpt b/ext/sockets/tests/socket_export_stream-1.phpt
index f8f560b60b..a3788f8c72 100644
--- a/ext/sockets/tests/socket_export_stream-1.phpt
+++ b/ext/sockets/tests/socket_export_stream-1.phpt
@@ -21,6 +21,7 @@ socket_write($s1, "test message");
socket_close($s1);
var_dump(stream_get_contents($stream));
+?>
--EXPECTF--
resource(%d) of type (stream)
string(12) "test message"
diff --git a/ext/sockets/tests/socket_export_stream-3.phpt b/ext/sockets/tests/socket_export_stream-3.phpt
index ed3b7f83e5..a1bffdbad6 100644
--- a/ext/sockets/tests/socket_export_stream-3.phpt
+++ b/ext/sockets/tests/socket_export_stream-3.phpt
@@ -37,6 +37,7 @@ var_dump($so);
stream_set_blocking($stream, 0);
var_dump(fread($stream, strlen($m)));
echo "Done.\n";
+?>
--EXPECTF--
resource(%d) of type (stream)
bool(true)
diff --git a/ext/sockets/tests/socket_export_stream-4-win.phpt b/ext/sockets/tests/socket_export_stream-4-win.phpt
index a1899d3eff..067e9fcc19 100644
--- a/ext/sockets/tests/socket_export_stream-4-win.phpt
+++ b/ext/sockets/tests/socket_export_stream-4-win.phpt
@@ -73,6 +73,7 @@ socket_bind($sock4, '0.0.0.0', 0);
$stream4 = socket_export_stream($sock4);
socket_close($sock4);
test($stream4, $sock4);
+?>
--EXPECTF--
normal
stream_set_blocking 1
diff --git a/ext/sockets/tests/socket_export_stream-4.phpt b/ext/sockets/tests/socket_export_stream-4.phpt
index 7a38ba9129..390689cce5 100644
--- a/ext/sockets/tests/socket_export_stream-4.phpt
+++ b/ext/sockets/tests/socket_export_stream-4.phpt
@@ -75,6 +75,7 @@ socket_close($sock4);
test($stream4, $sock4);
echo "Done.\n";
+?>
--EXPECTF--
normal
stream_set_blocking 1
diff --git a/ext/sockets/tests/socket_export_stream-5.phpt b/ext/sockets/tests/socket_export_stream-5.phpt
index 219fec5574..3ce2c2579c 100644
--- a/ext/sockets/tests/socket_export_stream-5.phpt
+++ b/ext/sockets/tests/socket_export_stream-5.phpt
@@ -24,5 +24,6 @@ $stream1 = socket_export_stream($sock1);
zend_leak_variable($sock1);
echo "Done.\n";
+?>
--EXPECT--
Done.
diff --git a/ext/sockets/tests/socket_import_stream-1.phpt b/ext/sockets/tests/socket_import_stream-1.phpt
index 8608af33d4..9931535721 100644
--- a/ext/sockets/tests/socket_import_stream-1.phpt
+++ b/ext/sockets/tests/socket_import_stream-1.phpt
@@ -20,6 +20,7 @@ socket_write($sock, "test message");
socket_close($sock);
var_dump(stream_get_contents($s1));
+?>
--EXPECTF--
object(Socket)#%d (0) {
}
diff --git a/ext/sockets/tests/socket_import_stream-3.phpt b/ext/sockets/tests/socket_import_stream-3.phpt
index 6f340a4e6c..972a3d6fcf 100644
--- a/ext/sockets/tests/socket_import_stream-3.phpt
+++ b/ext/sockets/tests/socket_import_stream-3.phpt
@@ -36,6 +36,7 @@ var_dump($so);
stream_set_blocking($stream, 0);
var_dump(fread($stream, strlen($m)));
echo "Done.\n";
+?>
--EXPECTF--
object(Socket)#%d (0) {
}
diff --git a/ext/sockets/tests/socket_import_stream-4-win.phpt b/ext/sockets/tests/socket_import_stream-4-win.phpt
index 0845d8b510..9b5863cf2b 100644
--- a/ext/sockets/tests/socket_import_stream-4-win.phpt
+++ b/ext/sockets/tests/socket_import_stream-4-win.phpt
@@ -68,6 +68,7 @@ $stream4 = stream_socket_server("udp://0.0.0.0:0", $errno, $errstr, STREAM_SERVE
$sock4 = socket_import_stream($stream4);
socket_close($sock4);
test($stream4, $sock4);
+?>
--EXPECTF--
normal
stream_set_blocking 1
diff --git a/ext/sockets/tests/socket_import_stream-4.phpt b/ext/sockets/tests/socket_import_stream-4.phpt
index bd2ac05aef..592dbd6c04 100644
--- a/ext/sockets/tests/socket_import_stream-4.phpt
+++ b/ext/sockets/tests/socket_import_stream-4.phpt
@@ -70,6 +70,7 @@ socket_close($sock4);
test($stream4, $sock4);
echo "Done.\n";
+?>
--EXPECTF--
normal
stream_set_blocking 1
diff --git a/ext/sockets/tests/socket_import_stream-5.phpt b/ext/sockets/tests/socket_import_stream-5.phpt
index 5eaf579854..ce10168650 100644
--- a/ext/sockets/tests/socket_import_stream-5.phpt
+++ b/ext/sockets/tests/socket_import_stream-5.phpt
@@ -22,5 +22,6 @@ $sock1 = socket_import_stream($stream1);
zend_leak_variable($sock1);
echo "Done.\n";
+?>
--EXPECT--
Done.
diff --git a/ext/sockets/tests/socket_listen-wrongparams.phpt b/ext/sockets/tests/socket_listen-wrongparams.phpt
index b5715a5ff5..5262d5e4b3 100644
--- a/ext/sockets/tests/socket_listen-wrongparams.phpt
+++ b/ext/sockets/tests/socket_listen-wrongparams.phpt
@@ -12,6 +12,7 @@ if (!extension_loaded('sockets')) {
<?php
$socket = socket_create(AF_UNIX, SOCK_STREAM, 0);
var_dump(socket_listen($socket));
+?>
--EXPECTF--
Warning: socket_listen(): unable to listen on socket [%d]: Invalid argument in %s on line %d
bool(false)
diff --git a/ext/sockets/tests/socket_recvmsg.phpt b/ext/sockets/tests/socket_recvmsg.phpt
index 21f7b73058..596954eb23 100644
--- a/ext/sockets/tests/socket_recvmsg.phpt
+++ b/ext/sockets/tests/socket_recvmsg.phpt
@@ -47,6 +47,7 @@ $data = [
];
if (!socket_recvmsg($s, $data, 0)) die("recvmsg");
print_r($data);
+?>
--EXPECTF--
creating send socket
object(Socket)#%d (0) {
diff --git a/ext/sockets/tests/socket_select-wrongparams-1-win32.phpt b/ext/sockets/tests/socket_select-wrongparams-1-win32.phpt
index 490bb7319a..21c3c9e8d9 100644
--- a/ext/sockets/tests/socket_select-wrongparams-1-win32.phpt
+++ b/ext/sockets/tests/socket_select-wrongparams-1-win32.phpt
@@ -18,6 +18,7 @@ $write = null;
$except = null;
$time = -1;
var_dump(socket_select($sockets, $write, $except, $time));
+?>
--EXPECT--
int(0)
--CREDITS--
diff --git a/ext/sockets/tests/socket_select-wrongparams-1.phpt b/ext/sockets/tests/socket_select-wrongparams-1.phpt
index 2658063e36..91286d1372 100644
--- a/ext/sockets/tests/socket_select-wrongparams-1.phpt
+++ b/ext/sockets/tests/socket_select-wrongparams-1.phpt
@@ -18,6 +18,7 @@ $write = null;
$except = null;
$time = -1;
var_dump(socket_select($sockets, $write, $except, $time));
+?>
--EXPECTF--
Warning: socket_select(): Unable to select [%d]: Invalid argument in %s on line %d
bool(false)
diff --git a/ext/sockets/tests/socket_select-wrongparams-2.phpt b/ext/sockets/tests/socket_select-wrongparams-2.phpt
index 601ddb4efa..3bbd394001 100644
--- a/ext/sockets/tests/socket_select-wrongparams-2.phpt
+++ b/ext/sockets/tests/socket_select-wrongparams-2.phpt
@@ -17,6 +17,7 @@ try {
} catch (ValueError $exception) {
echo $exception->getMessage() . "\n";
}
+?>
--EXPECTF--
socket_select(): At least one array argument must be passed
--CREDITS--
diff --git a/ext/sockets/tests/socket_select-wrongparams-4.phpt b/ext/sockets/tests/socket_select-wrongparams-4.phpt
index 7a107b41df..e2b22913e4 100644
--- a/ext/sockets/tests/socket_select-wrongparams-4.phpt
+++ b/ext/sockets/tests/socket_select-wrongparams-4.phpt
@@ -22,6 +22,7 @@ $except = null;
$time = 0;
$usec = 2000000;
var_dump(socket_select($sockets, $write, $except, $time, $usec));
+?>
--EXPECT--
int(0)
--CREDITS--
diff --git a/ext/sockets/tests/socket_select.phpt b/ext/sockets/tests/socket_select.phpt
index 5d55111995..765c045266 100644
--- a/ext/sockets/tests/socket_select.phpt
+++ b/ext/sockets/tests/socket_select.phpt
@@ -19,6 +19,7 @@ $write = null;
$except = null;
$ref =& $sockets[0]; // bug #78038
var_dump(socket_select($sockets, $write, $except, 0));
+?>
--EXPECT--
int(0)
--CREDITS--
diff --git a/ext/sockets/tests/socket_sendrecvmsg_multi_msg-unix.phpt b/ext/sockets/tests/socket_sendrecvmsg_multi_msg-unix.phpt
index 107aa626e8..a5aaea35a4 100644
--- a/ext/sockets/tests/socket_sendrecvmsg_multi_msg-unix.phpt
+++ b/ext/sockets/tests/socket_sendrecvmsg_multi_msg-unix.phpt
@@ -60,6 +60,7 @@ $data = [
];
if (!socket_recvmsg($s, $data, 0)) die("recvmsg");
print_r($data);
+?>
--EXPECTF--
creating send socket
object(Socket)#%d (0) {
diff --git a/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt b/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt
index 9e004afa22..9fe57a8258 100644
--- a/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt
+++ b/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt
@@ -58,6 +58,7 @@ $data = [
];
if (!socket_recvmsg($s, $data, 0)) die("recvmsg");
print_r($data);
+?>
--EXPECTF--
creating send socket
object(Socket)#%d (0) {
diff --git a/ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt b/ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt
index fbc4da3861..2aa5f7f115 100644
--- a/ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt
+++ b/ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt
@@ -44,6 +44,7 @@ require 'ipv6_skipif.inc';
echo "Received $buf from remote address $from and remote port $port" . PHP_EOL;
socket_close($socket);
+?>
--EXPECTF--
Warning: socket_recvfrom(): unable to recvfrom [10022]: %s
in %s on line %d
diff --git a/ext/sockets/tests/socket_set_option_in6_pktinfo.phpt b/ext/sockets/tests/socket_set_option_in6_pktinfo.phpt
index 8ee5218cb0..1feba8349b 100644
--- a/ext/sockets/tests/socket_set_option_in6_pktinfo.phpt
+++ b/ext/sockets/tests/socket_set_option_in6_pktinfo.phpt
@@ -31,6 +31,7 @@ var_dump(socket_set_option($s, IPPROTO_IPV6, IPV6_PKTINFO, [
//A work-around with is sort-of possible (with IPV6_2292PKTOPTIONS),
//but not worth it
//var_dump(socket_get_option($s, IPPROTO_IPV6, IPV6_PKTINFO));
+?>
--EXPECTF--
Warning: socket_set_option(): error converting user data (path: in6_pktinfo): The key 'addr' is required in %s on line %d
bool(false)
diff --git a/ext/sodium/tests/crypto_secretstream.phpt b/ext/sodium/tests/crypto_secretstream.phpt
index 1ccac32fd8..24896e15b2 100644
--- a/ext/sodium/tests/crypto_secretstream.phpt
+++ b/ext/sodium/tests/crypto_secretstream.phpt
@@ -46,6 +46,7 @@ $r1 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c1, $ad);
var_dump($r1);
$r2 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2);
var_dump($r2);
+?>
--EXPECT--
secretstream_xchacha20poly1305:
bool(true)
diff --git a/ext/sodium/tests/php_password_hash_argon2i.phpt b/ext/sodium/tests/php_password_hash_argon2i.phpt
index 6d55afda73..c9a2586721 100644
--- a/ext/sodium/tests/php_password_hash_argon2i.phpt
+++ b/ext/sodium/tests/php_password_hash_argon2i.phpt
@@ -33,6 +33,7 @@ foreach([1, 2, 4] as $mem) {
var_dump(sodium_crypto_pwhash_str_verify($hash, $password));
}
}
+?>
--EXPECTF--
Argon2 provider: string(%d) "%s"
Using password: string(44) "%s"
diff --git a/ext/sodium/tests/php_password_hash_argon2id.phpt b/ext/sodium/tests/php_password_hash_argon2id.phpt
index 91355765be..3176a79bbf 100644
--- a/ext/sodium/tests/php_password_hash_argon2id.phpt
+++ b/ext/sodium/tests/php_password_hash_argon2id.phpt
@@ -33,6 +33,7 @@ foreach([1, 2, 4] as $mem) {
var_dump(sodium_crypto_pwhash_str_verify($hash, $password));
}
}
+?>
--EXPECTF--
Argon2 provider: string(%d) "%s"
Using password: string(44) "%s"
diff --git a/ext/sodium/tests/php_password_verify.phpt b/ext/sodium/tests/php_password_verify.phpt
index edf97c0ad4..5c09fccd2e 100644
--- a/ext/sodium/tests/php_password_verify.phpt
+++ b/ext/sodium/tests/php_password_verify.phpt
@@ -44,6 +44,7 @@ foreach($opsSet as $ops) {
var_dump(password_verify($password, $hash));
}
}
+?>
--EXPECTF--
Argon2 provider: string(%d) "%s"
Using password: string(44) "%s"
diff --git a/ext/spl/tests/CallbackFilterIteratorTest-002.phpt b/ext/spl/tests/CallbackFilterIteratorTest-002.phpt
index 11529cfee0..c0c5aab1e9 100644
--- a/ext/spl/tests/CallbackFilterIteratorTest-002.phpt
+++ b/ext/spl/tests/CallbackFilterIteratorTest-002.phpt
@@ -40,6 +40,7 @@ try {
} catch(Exception $e) {
echo $e->getMessage() . "\n";
}
+?>
--EXPECT--
CallbackFilterIterator::__construct() expects exactly 2 parameters, 0 given
CallbackFilterIterator::__construct() expects exactly 2 parameters, 1 given
diff --git a/ext/spl/tests/CallbackFilterIteratorTest.phpt b/ext/spl/tests/CallbackFilterIteratorTest.phpt
index bf8f85b8db..08c070ffd2 100644
--- a/ext/spl/tests/CallbackFilterIteratorTest.phpt
+++ b/ext/spl/tests/CallbackFilterIteratorTest.phpt
@@ -55,6 +55,7 @@ foreach($tests as $name => $test) {
echo "=> $value\n";
}
}
+?>
--EXPECT--
= instance method =
1 / 0 / 1 / 1
diff --git a/ext/spl/tests/RecursiveCallbackFilterIteratorTest.phpt b/ext/spl/tests/RecursiveCallbackFilterIteratorTest.phpt
index 7620138eb9..af95f85b6b 100644
--- a/ext/spl/tests/RecursiveCallbackFilterIteratorTest.phpt
+++ b/ext/spl/tests/RecursiveCallbackFilterIteratorTest.phpt
@@ -60,6 +60,7 @@ foreach($tests as $name => $test) {
echo "=> $value\n";
}
}
+?>
--EXPECT--
= instance method =
1 / 0 / 1 / 1
diff --git a/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt b/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt
index a0f3e8c93d..306a695abd 100644
--- a/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt
+++ b/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt
@@ -19,6 +19,7 @@ try {
}
}
echo "DONE\n";
+?>
--EXPECTF--
Error at offset 6 of 34 bytes
Error at offset 46 of 89 bytes
diff --git a/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt b/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt
index c75662c66e..480585a2c7 100644
--- a/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt
+++ b/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt
@@ -17,6 +17,7 @@ echo $s."\n";
$so1 = unserialize($s);
var_dump($so1);
+?>
--EXPECTF--
O:16:"SplObjectStorage":2:{i:0;a:4:{i:0;O:8:"stdClass":1:{s:1:"a";O:8:"stdClass":0:{}}i:1;i:1;i:2;r:4;i:3;i:2;}i:1;a:0:{}}
object(SplObjectStorage)#4 (1) {
diff --git a/ext/spl/tests/array_027.phpt b/ext/spl/tests/array_027.phpt
index 509b8f9ffd..5dc82ab460 100644
--- a/ext/spl/tests/array_027.phpt
+++ b/ext/spl/tests/array_027.phpt
@@ -8,6 +8,7 @@ $o = new AO();
$o['plop'] = $o;
var_dump($o);
+?>
--EXPECTF--
object(AO)#%d (1) {
["storage":"ArrayObject":private]=>
diff --git a/ext/spl/tests/bug46051.phpt b/ext/spl/tests/bug46051.phpt
index d53f87bc47..0b3c422905 100644
--- a/ext/spl/tests/bug46051.phpt
+++ b/ext/spl/tests/bug46051.phpt
@@ -10,5 +10,6 @@ try {
} catch (TypeError $e) { }
var_dump($x->getPathName());
+?>
--EXPECTF--
string(%d) "%sbug46051.php"
diff --git a/ext/spl/tests/bug46053.phpt b/ext/spl/tests/bug46053.phpt
index 75da7f3bbf..a18705bb5e 100644
--- a/ext/spl/tests/bug46053.phpt
+++ b/ext/spl/tests/bug46053.phpt
@@ -8,5 +8,6 @@ $x->getPathName();
$x->seek(10);
$x->seek(0);
var_dump(trim($x->fgets()));
+?>
--EXPECTF--
string(%d) "<?php"
diff --git a/ext/spl/tests/bug47534.phpt b/ext/spl/tests/bug47534.phpt
index 0d1a5a69ff..e0b48f44e3 100644
--- a/ext/spl/tests/bug47534.phpt
+++ b/ext/spl/tests/bug47534.phpt
@@ -9,6 +9,7 @@ echo gettype($it1->current())."\n";
$it2 = new RecursiveDirectoryIterator(__DIR__);
$it2->rewind();
echo gettype($it2->current())."\n";
+?>
--EXPECT--
string
object
diff --git a/ext/spl/tests/bug54291.phpt b/ext/spl/tests/bug54291.phpt
index 2521c50223..c65c085cdd 100644
--- a/ext/spl/tests/bug54291.phpt
+++ b/ext/spl/tests/bug54291.phpt
@@ -4,6 +4,7 @@ Bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0)
<?php
$dir = new DirectoryIterator("\x00/abc");
$dir->isFile();
+?>
--EXPECTF--
Fatal error: Uncaught TypeError: DirectoryIterator::__construct(): Argument #1 ($path) must be a valid path, string given in %s:%d
Stack trace:
diff --git a/ext/spl/tests/bug54323.phpt b/ext/spl/tests/bug54323.phpt
index 2ce165fd42..7431c9c473 100644
--- a/ext/spl/tests/bug54323.phpt
+++ b/ext/spl/tests/bug54323.phpt
@@ -16,6 +16,7 @@ function testAccess($c, $ao) {
unset($ao['prop']);
var_dump($c->prop, $ao['prop']);
}
+?>
--EXPECTF--
Warning: Undefined property: C::$prop in %s on line %d
diff --git a/ext/spl/tests/bug54384.phpt b/ext/spl/tests/bug54384.phpt
index 581845a43a..aa2d6fdb93 100644
--- a/ext/spl/tests/bug54384.phpt
+++ b/ext/spl/tests/bug54384.phpt
@@ -152,6 +152,7 @@ foreach ($o as $a) {
echo $a,"\n";
}
} );
+?>
--EXPECT--
IteratorIterator... exception (expected)
FilterIterator... exception (expected)
diff --git a/ext/spl/tests/bug55701.phpt b/ext/spl/tests/bug55701.phpt
index 6574b41652..737ebf2184 100644
--- a/ext/spl/tests/bug55701.phpt
+++ b/ext/spl/tests/bug55701.phpt
@@ -293,6 +293,7 @@ testChildClass( function() {
$o = new SplTempFileObjectChild();
$o->count();
} );
+?>
--EXPECT--
->count()... ran normally (expected)
->rewind()... ran normally (expected)
diff --git a/ext/spl/tests/bug61326.phpt b/ext/spl/tests/bug61326.phpt
index 85b577940a..5f86359294 100644
--- a/ext/spl/tests/bug61326.phpt
+++ b/ext/spl/tests/bug61326.phpt
@@ -11,6 +11,7 @@ var_dump($aobj1 == $aobj3);
$aobj3->foo = 'bar';
var_dump($aobj1 == $aobj3);
+?>
--EXPECT--
bool(false)
bool(true)
diff --git a/ext/spl/tests/bug61347.phpt b/ext/spl/tests/bug61347.phpt
index 4b4f9eaedf..c12cf32099 100644
--- a/ext/spl/tests/bug61347.phpt
+++ b/ext/spl/tests/bug61347.phpt
@@ -21,6 +21,7 @@ var_dump(isset($b[37])); //true
var_dump(isset($b['no_exists'])); //false
var_dump(empty($b['b'])); //true
var_dump(empty($b[37])); //true
+?>
--EXPECT--
bool(false)
bool(false)
diff --git a/ext/spl/tests/bug62672.phpt b/ext/spl/tests/bug62672.phpt
index d255762254..ec40ee6955 100644
--- a/ext/spl/tests/bug62672.phpt
+++ b/ext/spl/tests/bug62672.phpt
@@ -27,5 +27,6 @@ class ObjB extends ObjA
$obj = new ObjB(new ArrayObject());
var_dump($obj == unserialize(serialize($obj)));
+?>
--EXPECT--
bool(true)
diff --git a/ext/spl/tests/bug62904.phpt b/ext/spl/tests/bug62904.phpt
index 966f1db44e..7a02fd0c2a 100644
--- a/ext/spl/tests/bug62904.phpt
+++ b/ext/spl/tests/bug62904.phpt
@@ -12,5 +12,6 @@ $x = new foo(2);
$z = clone $x;
echo "No crash.";
+?>
--EXPECT--
No crash.
diff --git a/ext/spl/tests/bug62978.phpt b/ext/spl/tests/bug62978.phpt
index 8a5013ce08..ed47d4e44f 100644
--- a/ext/spl/tests/bug62978.phpt
+++ b/ext/spl/tests/bug62978.phpt
@@ -24,6 +24,7 @@ $fp = fopen(__FILE__, 'r');
var_dump($a[$fp]);
fclose($fp);
+?>
--EXPECTF--
Warning: Undefined array key "epic_magic" in %s on line %d
NULL
diff --git a/ext/spl/tests/bug64023.phpt b/ext/spl/tests/bug64023.phpt
index 82924659e0..a46ca79f73 100644
--- a/ext/spl/tests/bug64023.phpt
+++ b/ext/spl/tests/bug64023.phpt
@@ -14,6 +14,7 @@ echo $a, $a->__toString(), $a->__toString() . '', "\n";
// Does not work - outputs parent::__toString()
echo $a . '', "\n";
+?>
--EXPECT--
-expected- -expected- -expected-
-expected-
diff --git a/ext/spl/tests/bug65328.phpt b/ext/spl/tests/bug65328.phpt
index 32e6c24fa7..c1b4685a14 100644
--- a/ext/spl/tests/bug65328.phpt
+++ b/ext/spl/tests/bug65328.phpt
@@ -293,6 +293,7 @@ $node2 = new Node('value2', 2);
$node1->addChild($node2);
print_r($tree->findAll(2)->offsetGet(0));
+?>
--EXPECTF--
Node Object
(
diff --git a/ext/spl/tests/bug66702.phpt b/ext/spl/tests/bug66702.phpt
index f1260afa02..9b69054bde 100644
--- a/ext/spl/tests/bug66702.phpt
+++ b/ext/spl/tests/bug66702.phpt
@@ -17,6 +17,7 @@ $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH, \RegexIterator::U
print_r(iterator_to_array($it2));
$it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH, \RegexIterator::USE_KEY | \RegexIterator::INVERT_MATCH);
print_r(iterator_to_array($it2));
+?>
--EXPECT--
Array
(
diff --git a/ext/spl/tests/bug67539.phpt b/ext/spl/tests/bug67539.phpt
index 1001112e12..97d8199e48 100644
--- a/ext/spl/tests/bug67539.phpt
+++ b/ext/spl/tests/bug67539.phpt
@@ -11,5 +11,6 @@ function badsort($a, $b) {
}
$it->uksort('badsort');
+?>
--EXPECTF--
Warning: Modification of ArrayObject during sorting is prohibited in %sbug67539.php on line %d
diff --git a/ext/spl/tests/bug70365.phpt b/ext/spl/tests/bug70365.phpt
index 06786aaf16..55ff58c9e9 100644
--- a/ext/spl/tests/bug70365.phpt
+++ b/ext/spl/tests/bug70365.phpt
@@ -32,6 +32,7 @@ function ptr2str($ptr)
}
return $out;
}
+?>
--EXPECTF--
array(5) {
[0]=>
diff --git a/ext/spl/tests/bug70959.phpt b/ext/spl/tests/bug70959.phpt
index fde022ab92..65bdbac997 100644
--- a/ext/spl/tests/bug70959.phpt
+++ b/ext/spl/tests/bug70959.phpt
@@ -19,6 +19,7 @@ $obj->setTest('test');
var_dump($obj->getTest());
$obj2 = unserialize(serialize($obj));
var_dump($obj2->getTest());
+?>
--EXPECT--
string(4) "test"
string(4) "test"
diff --git a/ext/spl/tests/bug72884.phpt b/ext/spl/tests/bug72884.phpt
index 178e0e1d70..83a536fd07 100644
--- a/ext/spl/tests/bug72884.phpt
+++ b/ext/spl/tests/bug72884.phpt
@@ -6,5 +6,6 @@ $x=new SplFileObject(__FILE__);
$r=new ReflectionObject($x);
var_dump($r->isCloneable());
+?>
--EXPECT--
bool(false)
diff --git a/ext/spl/tests/bug75049.phpt b/ext/spl/tests/bug75049.phpt
index cf1f80367c..85e3ef12ca 100644
--- a/ext/spl/tests/bug75049.phpt
+++ b/ext/spl/tests/bug75049.phpt
@@ -12,5 +12,6 @@ foreach (spl_autoload_functions() as $loader) {
echo (int)spl_autoload_unregister($loader);
}
echo (int)count(spl_autoload_functions());
+?>
--EXPECT--
11110
diff --git a/ext/spl/tests/bug75173.phpt b/ext/spl/tests/bug75173.phpt
index fa5d2ac371..f4374744ee 100644
--- a/ext/spl/tests/bug75173.phpt
+++ b/ext/spl/tests/bug75173.phpt
@@ -13,6 +13,7 @@ foreach ($it as $item) {
$it->append(new ArrayIterator(['bar']));
}
}
+?>
--EXPECT--
string(3) "foo"
string(3) "bar"
diff --git a/ext/spl/tests/bug77298.phpt b/ext/spl/tests/bug77298.phpt
index 0b24cfff48..bf0c440859 100644
--- a/ext/spl/tests/bug77298.phpt
+++ b/ext/spl/tests/bug77298.phpt
@@ -11,6 +11,7 @@ $o3 = new ArrayObject();
$o3->unserialize($o->serialize());
$o3['xm']=456;
var_dump($o3);
+?>
--EXPECT--
object(ArrayObject)#2 (1) {
["storage":"ArrayObject":private]=>
diff --git a/ext/spl/tests/observer_010.phpt b/ext/spl/tests/observer_010.phpt
index a62018958e..f455f68a9b 100644
--- a/ext/spl/tests/observer_010.phpt
+++ b/ext/spl/tests/observer_010.phpt
@@ -9,6 +9,7 @@ $map = new SplObjectStorage();
$map[$a] = 'foo';
var_dump($map[$b] ?? null);
var_dump($map[$a] ?? null);
+?>
--EXPECT--
NULL
string(3) "foo"
diff --git a/ext/standard/tests/array/array_chunk_variation5.phpt b/ext/standard/tests/array/array_chunk_variation5.phpt
index 1cf528d081..4aa4ea1172 100644
--- a/ext/standard/tests/array/array_chunk_variation5.phpt
+++ b/ext/standard/tests/array/array_chunk_variation5.phpt
@@ -38,7 +38,6 @@ foreach ($sizes as $size){
}
}
?>
-
--EXPECT--
*** Testing array_chunk() : usage variations ***
diff --git a/ext/standard/tests/array/array_column_variant.phpt b/ext/standard/tests/array/array_column_variant.phpt
index 576a2526cc..9673ff17d3 100644
--- a/ext/standard/tests/array/array_column_variant.phpt
+++ b/ext/standard/tests/array/array_column_variant.phpt
@@ -18,6 +18,7 @@ echo "-- pass null as second parameter and no third param to get back array_valu
var_dump(array_column($rows, null));
echo "Done\n";
+?>
--EXPECT--
-- pass null as second parameter to get back all columns indexed by third parameter --
array(2) {
diff --git a/ext/standard/tests/array/array_uintersect_assoc_variation5.phpt b/ext/standard/tests/array/array_uintersect_assoc_variation5.phpt
index 75c10527c7..ed71142170 100644
--- a/ext/standard/tests/array/array_uintersect_assoc_variation5.phpt
+++ b/ext/standard/tests/array/array_uintersect_assoc_variation5.phpt
@@ -30,7 +30,6 @@ function too_few_parameters ($val1) {
var_dump(array_uintersect_assoc($arr1, $arr2, 'too_few_parameters'));
?>
-
--EXPECT--
*** Testing array_uintersect_assoc() : usage variation - differing comparison functions***
diff --git a/ext/standard/tests/array/array_uintersect_variation5.phpt b/ext/standard/tests/array/array_uintersect_variation5.phpt
index d5bcdcf9c3..836bb80cc2 100644
--- a/ext/standard/tests/array/array_uintersect_variation5.phpt
+++ b/ext/standard/tests/array/array_uintersect_variation5.phpt
@@ -30,7 +30,6 @@ function too_few_parameters ($val1) {
var_dump(array_uintersect($arr1, $arr2, 'too_few_parameters'));
?>
-
--EXPECT--
*** Testing array_uintersect() : usage variation - differing comparison functions***
diff --git a/ext/standard/tests/array/bug42850.phpt b/ext/standard/tests/array/bug42850.phpt
index e184db8105..31903e61d9 100644
--- a/ext/standard/tests/array/bug42850.phpt
+++ b/ext/standard/tests/array/bug42850.phpt
@@ -22,6 +22,7 @@ function apply_changed(&$input, $key) {
}
myfunc($data);
var_dump($data);
+?>
--EXPECT--
array(2) {
["key1"]=>
diff --git a/ext/standard/tests/array/bug54459.phpt b/ext/standard/tests/array/bug54459.phpt
index e46cfcb14c..fa824e47a0 100644
--- a/ext/standard/tests/array/bug54459.phpt
+++ b/ext/standard/tests/array/bug54459.phpt
@@ -10,6 +10,7 @@ foreach (range(90, 100, .1) as $i => $v){
foreach (range("90", "100", .1) as $i => $v){
echo $i, ' = ', $v, PHP_EOL;
}
+?>
--EXPECT--
0 = 90
1 = 90.1
diff --git a/ext/standard/tests/array/bug61730.phpt b/ext/standard/tests/array/bug61730.phpt
index 0761fee774..ff137151ac 100644
--- a/ext/standard/tests/array/bug61730.phpt
+++ b/ext/standard/tests/array/bug61730.phpt
@@ -26,6 +26,7 @@ array_walk(
print_r($myArray);
+?>
--EXPECT--
int(0)
int(3)
diff --git a/ext/standard/tests/array/bug70910.phpt b/ext/standard/tests/array/bug70910.phpt
index c7eb36c490..a87024b1fa 100644
--- a/ext/standard/tests/array/bug70910.phpt
+++ b/ext/standard/tests/array/bug70910.phpt
@@ -9,5 +9,6 @@ $hash = ['var' => 'new value'];
extract($hash);
var_dump($var === $ref);
+?>
--EXPECT--
bool(true)
diff --git a/ext/standard/tests/array/bug71220.phpt b/ext/standard/tests/array/bug71220.phpt
index 6a933f5f52..5c5f43eeea 100644
--- a/ext/standard/tests/array/bug71220.phpt
+++ b/ext/standard/tests/array/bug71220.phpt
@@ -9,6 +9,5 @@ try {
echo $e->getMessage();
}
?>
-
--EXPECT--
Cannot call compact() dynamically
diff --git a/ext/standard/tests/array/bug71603.phpt b/ext/standard/tests/array/bug71603.phpt
index 2fa8c0a136..099c1b97e0 100644
--- a/ext/standard/tests/array/bug71603.phpt
+++ b/ext/standard/tests/array/bug71603.phpt
@@ -10,5 +10,6 @@ $array = compact('foo_reference');
$foo = 'changed!';
var_dump($array['foo_reference']);
+?>
--EXPECT--
string(4) "okey"
diff --git a/ext/standard/tests/array/bug75433.phpt b/ext/standard/tests/array/bug75433.phpt
index 650c6ca378..caf4816a42 100644
--- a/ext/standard/tests/array/bug75433.phpt
+++ b/ext/standard/tests/array/bug75433.phpt
@@ -8,6 +8,7 @@ unset($a[2]);
$b = array_values($a);
$b[] = 4;
print_r($b);
+?>
--EXPECT--
Array
(
diff --git a/ext/standard/tests/array/key_exists_basic.phpt b/ext/standard/tests/array/key_exists_basic.phpt
index 510ec09dcc..37fed4e246 100644
--- a/ext/standard/tests/array/key_exists_basic.phpt
+++ b/ext/standard/tests/array/key_exists_basic.phpt
@@ -9,6 +9,7 @@ echo "*** test key_exists() by calling it with its expected arguments ***\n";
$a = array('bar' => 1);
var_dump(key_exists('bar', $a));
var_dump(key_exists('foo', $a));
+?>
--EXPECT--
*** test key_exists() by calling it with its expected arguments ***
bool(true)
diff --git a/ext/standard/tests/array/key_exists_variation1.phpt b/ext/standard/tests/array/key_exists_variation1.phpt
index 490d564246..b902a9eaa6 100644
--- a/ext/standard/tests/array/key_exists_variation1.phpt
+++ b/ext/standard/tests/array/key_exists_variation1.phpt
@@ -9,6 +9,7 @@ echo "*** test key_exists() by calling it with its expected arguments ***\n";
$a = array('bar' => 1, 'foo' => array('bar' => 2, 'baz' => 3));
var_dump(key_exists('baz', $a));
var_dump(key_exists('baz', $a['foo']));
+?>
--EXPECT--
*** test key_exists() by calling it with its expected arguments ***
bool(false)
diff --git a/ext/standard/tests/array/key_exists_variation2.phpt b/ext/standard/tests/array/key_exists_variation2.phpt
index 4a06762410..469df11e53 100644
--- a/ext/standard/tests/array/key_exists_variation2.phpt
+++ b/ext/standard/tests/array/key_exists_variation2.phpt
@@ -54,6 +54,7 @@ var_dump(key_exists(0, $h));
// stream resource has index = 0, netherless its position is the latest
$i = array('foo' => 'baz', $st);
var_dump(key_exists(0, $i));
+?>
--EXPECT--
*** test key_exists() by using mixed type of arrays ***
bool(false)
diff --git a/ext/standard/tests/array/packed_001.phpt b/ext/standard/tests/array/packed_001.phpt
index 81973c7e0e..7a36ed3f28 100644
--- a/ext/standard/tests/array/packed_001.phpt
+++ b/ext/standard/tests/array/packed_001.phpt
@@ -19,6 +19,7 @@ foreach ($inputs as $input) {
print_r(array_keys($input));
print_r(array_values($input));
}
+?>
--EXPECT--
Array
(
diff --git a/ext/standard/tests/assert/assert_basic.phpt b/ext/standard/tests/assert/assert_basic.phpt
index dee0f46f72..93424705b8 100644
--- a/ext/standard/tests/assert/assert_basic.phpt
+++ b/ext/standard/tests/assert/assert_basic.phpt
@@ -15,6 +15,7 @@ function f1()
var_dump($r2 = assert(0));
var_dump($r2 = assert(1));
+?>
--EXPECT--
f1 called
bool(false)
diff --git a/ext/standard/tests/assert/assert_basic3.phpt b/ext/standard/tests/assert/assert_basic3.phpt
index ca896f9f14..ed4bf1d0ac 100644
--- a/ext/standard/tests/assert/assert_basic3.phpt
+++ b/ext/standard/tests/assert/assert_basic3.phpt
@@ -17,6 +17,7 @@ function f1()
var_dump($rao=assert_options(ASSERT_BAIL, 1));
var_dump($r2=assert(0 != 0));
echo "If this is printed BAIL hasn't worked";
+?>
--EXPECTF--
int(0)
f1 called
diff --git a/ext/standard/tests/assert/assert_basic4.phpt b/ext/standard/tests/assert/assert_basic4.phpt
index 289c51860e..8b370a73f0 100644
--- a/ext/standard/tests/assert/assert_basic4.phpt
+++ b/ext/standard/tests/assert/assert_basic4.phpt
@@ -20,6 +20,7 @@ echo "Initial values: ini.get(\"assert.active\") => [".ini_get("assert.active").
echo "Initial values: ini.get(\"assert.warning\") => [".ini_get("assert.warning")."]\n";
echo "Initial values: ini.get(\"assert.bail\") => [".ini_get("assert.bail")."]\n";
echo "Initial values: ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
+?>
--EXPECT--
Initial values: assert_options(ASSERT_ACTIVE) => [0]
Initial values: assert_options(ASSERT_WARNING) => [0]
diff --git a/ext/standard/tests/assert/assert_basic5.phpt b/ext/standard/tests/assert/assert_basic5.phpt
index cfdc3028ee..9315bc147c 100644
--- a/ext/standard/tests/assert/assert_basic5.phpt
+++ b/ext/standard/tests/assert/assert_basic5.phpt
@@ -20,6 +20,7 @@ var_dump($r2=assert(0 == 0));
//switch warning on and test return value
var_dump($rao=assert_options(ASSERT_WARNING, 0));
+?>
--EXPECTF--
int(0)
f1 called
diff --git a/ext/standard/tests/assert/assert_error2.phpt b/ext/standard/tests/assert/assert_error2.phpt
index bc138c3346..c9b0bc2973 100644
--- a/ext/standard/tests/assert/assert_error2.phpt
+++ b/ext/standard/tests/assert/assert_error2.phpt
@@ -19,6 +19,7 @@ function f1($script, $line, $message, $user_message)
var_dump($rao = assert_options(ASSERT_BAIL, 1));
var_dump($r2 = assert(0 != 0));
echo "If this is printed BAIL hasn't worked";
+?>
--EXPECTF--
int(0)
f1 called
diff --git a/ext/standard/tests/assert/assert_variation.phpt b/ext/standard/tests/assert/assert_variation.phpt
index d6ea8a15e6..ff3d4a1e4d 100644
--- a/ext/standard/tests/assert/assert_variation.phpt
+++ b/ext/standard/tests/assert/assert_variation.phpt
@@ -68,6 +68,7 @@ var_dump($rao=assert_options(ASSERT_CALLBACK));
echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
var_dump($r2=assert(0 != 0));
echo"\n";
+?>
--EXPECT--
Initial values: assert_options(ASSERT_CALLBACK) => [f1]
Initial values: ini.get("assert.callback") => [f1]
diff --git a/ext/standard/tests/file/007_basic.phpt b/ext/standard/tests/file/007_basic.phpt
index 3e30ebf689..37047ec32b 100644
--- a/ext/standard/tests/file/007_basic.phpt
+++ b/ext/standard/tests/file/007_basic.phpt
@@ -92,6 +92,7 @@ for( $i=0; $i<count($x_modes); $i++ ) {
}
echo "\n*** Done ***\n";
+?>
--EXPECTF--
*** Testing basic operations of fopen() and fclose() functions ***
diff --git a/ext/standard/tests/file/bug51094.phpt b/ext/standard/tests/file/bug51094.phpt
index fa62277bfb..cf2bb254c9 100644
--- a/ext/standard/tests/file/bug51094.phpt
+++ b/ext/standard/tests/file/bug51094.phpt
@@ -13,6 +13,7 @@ $ini = parse_ini_string('ini=ini"raw', null, INI_SCANNER_RAW);
var_dump($ini['ini']);
$ini = parse_ini_string("ini=\r\niniraw", null, INI_SCANNER_RAW);
var_dump($ini['ini']);
+?>
--EXPECT--
string(7) "ini;raw"
string(4) ""ini"
diff --git a/ext/standard/tests/file/bug52820.phpt b/ext/standard/tests/file/bug52820.phpt
index ea3089ea8c..de190c40cc 100644
--- a/ext/standard/tests/file/bug52820.phpt
+++ b/ext/standard/tests/file/bug52820.phpt
@@ -39,6 +39,7 @@ echo "\nmemory stream (leak):\n";
zend_leak_variable(do_stuff("php://memory"));
echo "\nDone.\n";
+?>
--EXPECTF--
temp stream (close after):
About to rewind!
diff --git a/ext/standard/tests/file/bug63512.phpt b/ext/standard/tests/file/bug63512.phpt
index a22ba9f0cf..c5683a6d51 100644
--- a/ext/standard/tests/file/bug63512.phpt
+++ b/ext/standard/tests/file/bug63512.phpt
@@ -13,6 +13,7 @@ $array = parse_ini_string('
d = INSTALL_ROOT "INSTALL_ROOT"', false, INI_SCANNER_RAW);
var_dump($array);
+?>
--EXPECT--
array(7) {
["int"]=>
diff --git a/ext/standard/tests/file/bug69442.phpt b/ext/standard/tests/file/bug69442.phpt
index 8b6ae3f7d7..befd7d87f7 100644
--- a/ext/standard/tests/file/bug69442.phpt
+++ b/ext/standard/tests/file/bug69442.phpt
@@ -51,6 +51,7 @@ var_dump($data3);
fclose($pipes[3]);
proc_close($process);
+?>
--EXPECT--
read from pipe 0: string(5) "foo
"
diff --git a/ext/standard/tests/file/fclose_variation1.phpt b/ext/standard/tests/file/fclose_variation1.phpt
index 8d3e1a1805..5f6c25860d 100644
--- a/ext/standard/tests/file/fclose_variation1.phpt
+++ b/ext/standard/tests/file/fclose_variation1.phpt
@@ -13,6 +13,7 @@ try {
echo $e->getMessage(), "\n";
}
echo "\nDone.\n";
+?>
--EXPECT--
fread(): supplied resource is not a valid stream resource
diff --git a/ext/standard/tests/file/fileinode_error.phpt b/ext/standard/tests/file/fileinode_error.phpt
index 698dd08195..3d911e6eb3 100644
--- a/ext/standard/tests/file/fileinode_error.phpt
+++ b/ext/standard/tests/file/fileinode_error.phpt
@@ -12,6 +12,7 @@ var_dump( fileinode("string") );
var_dump( fileinode(100) );
echo "\n*** Done ***";
+?>
--EXPECTF--
*** Testing error conditions of fileinode() ***
Warning: fileinode(): stat failed for /no/such/file/dir in %s on line %d
diff --git a/ext/standard/tests/file/fileinode_variation.phpt b/ext/standard/tests/file/fileinode_variation.phpt
index cf25867218..e2abbb7c2c 100644
--- a/ext/standard/tests/file/fileinode_variation.phpt
+++ b/ext/standard/tests/file/fileinode_variation.phpt
@@ -81,6 +81,7 @@ rmdir("$file_path/dir/subdir");
rmdir("$file_path/dir");
echo "\n*** Done ***";
+?>
--EXPECTF--
*** Testing fileinode() with files, links and directories ***
-- Testing with files --
diff --git a/ext/standard/tests/file/filesize_variation1.phpt b/ext/standard/tests/file/filesize_variation1.phpt
index 8dd974947b..a171f3ba2c 100644
--- a/ext/standard/tests/file/filesize_variation1.phpt
+++ b/ext/standard/tests/file/filesize_variation1.phpt
@@ -22,6 +22,7 @@ for($size = 1; $size <10000; $size = $size+1000)
}
echo "Done\n";
+?>
--EXPECTF--
*** Testing filesize(): usage variations ***
*** Checking filesize() with different size of files ***
diff --git a/ext/standard/tests/file/fread_error.phpt b/ext/standard/tests/file/fread_error.phpt
index 18bd0ae8d8..b89369e288 100644
--- a/ext/standard/tests/file/fread_error.phpt
+++ b/ext/standard/tests/file/fread_error.phpt
@@ -22,6 +22,7 @@ try {
echo $e->getMessage() . \PHP_EOL;
}
+?>
--EXPECT--
*** Testing error conditions ***
-- Testing fread() with invalid length arguments --
diff --git a/ext/standard/tests/file/include_userstream_001.phpt b/ext/standard/tests/file/include_userstream_001.phpt
index 988a8bf085..bcdf0f4432 100644
--- a/ext/standard/tests/file/include_userstream_001.phpt
+++ b/ext/standard/tests/file/include_userstream_001.phpt
@@ -76,6 +76,7 @@ echo @file_get_contents("test1://hello"),"\n";
@include "test1://hello";
echo @file_get_contents("test2://hello"),"\n";
@include "test2://hello";
+?>
--EXPECT--
<?php echo "Hello World\n";?>
<?php echo "Hello World\n";?>
diff --git a/ext/standard/tests/file/include_userstream_002.phpt b/ext/standard/tests/file/include_userstream_002.phpt
index 15c05314a5..da9fec23bd 100644
--- a/ext/standard/tests/file/include_userstream_002.phpt
+++ b/ext/standard/tests/file/include_userstream_002.phpt
@@ -93,6 +93,7 @@ echo @file_get_contents("test1://hello"),"\n";
@include "test1://hello";
echo @file_get_contents("test2://hello"),"\n";
include "test2://hello";
+?>
--EXPECTF--
<?php echo "Hello World\n";?>
<?php echo "Hello World\n";?>
diff --git a/ext/standard/tests/file/include_userstream_003.phpt b/ext/standard/tests/file/include_userstream_003.phpt
index ae6ec62649..d71a09fc73 100644
--- a/ext/standard/tests/file/include_userstream_003.phpt
+++ b/ext/standard/tests/file/include_userstream_003.phpt
@@ -93,6 +93,7 @@ echo file_get_contents("test1://hello"),"\n";
include "test1://hello";
echo file_get_contents("test2://hello"),"\n";
include "test2://hello";
+?>
--EXPECTF--
Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
diff --git a/ext/standard/tests/file/is_executable_error.phpt b/ext/standard/tests/file/is_executable_error.phpt
index c8d296d93e..229ff78c68 100644
--- a/ext/standard/tests/file/is_executable_error.phpt
+++ b/ext/standard/tests/file/is_executable_error.phpt
@@ -6,6 +6,7 @@ echo "\n*** Testing is_exceutable() on non-existent directory ***\n";
var_dump( is_executable(__DIR__."/is_executable") );
echo "Done\n";
+?>
--EXPECT--
*** Testing is_exceutable() on non-existent directory ***
bool(false)
diff --git a/ext/standard/tests/file/php_fd_wrapper_01.phpt b/ext/standard/tests/file/php_fd_wrapper_01.phpt
index 037edd7f6b..fea06fc337 100644
--- a/ext/standard/tests/file/php_fd_wrapper_01.phpt
+++ b/ext/standard/tests/file/php_fd_wrapper_01.phpt
@@ -6,6 +6,7 @@ $f = fopen("php://fd/1", "wb");
fwrite($f, "hi!");
echo "\nDone.\n";
+?>
--EXPECT--
hi!
Done.
diff --git a/ext/standard/tests/file/php_fd_wrapper_02.phpt b/ext/standard/tests/file/php_fd_wrapper_02.phpt
index 6d40dc9ad4..90aa580102 100644
--- a/ext/standard/tests/file/php_fd_wrapper_02.phpt
+++ b/ext/standard/tests/file/php_fd_wrapper_02.phpt
@@ -6,6 +6,7 @@ $f = fopen("php://fd/1", "rkkk");
fwrite($f, "hi!");
echo "\nDone.\n";
+?>
--EXPECT--
hi!
Done.
diff --git a/ext/standard/tests/file/php_fd_wrapper_03.phpt b/ext/standard/tests/file/php_fd_wrapper_03.phpt
index 75e05620aa..991c497f5e 100644
--- a/ext/standard/tests/file/php_fd_wrapper_03.phpt
+++ b/ext/standard/tests/file/php_fd_wrapper_03.phpt
@@ -8,6 +8,7 @@ fopen("php://fd/-2", "w");
fopen("php://fd/1/", "w");
echo "\nDone.\n";
+?>
--EXPECTF--
Warning: fopen(): Invalid php:// URL specified in %s on line %d
diff --git a/ext/standard/tests/file/php_fd_wrapper_04.phpt b/ext/standard/tests/file/php_fd_wrapper_04.phpt
index 142f70abb4..458f6cd9bd 100644
--- a/ext/standard/tests/file/php_fd_wrapper_04.phpt
+++ b/ext/standard/tests/file/php_fd_wrapper_04.phpt
@@ -5,6 +5,7 @@ php://fd wrapper: invalid file descriptor
fopen("php://fd/1023", "w");
echo "\nDone.\n";
+?>
--EXPECTF--
Warning: fopen(php://fd/1023): Failed to open stream: Error duping file descriptor 1023; possibly it doesn't exist: [9]: %s in %s on line %d
diff --git a/ext/standard/tests/file/stream_enclosed.phpt b/ext/standard/tests/file/stream_enclosed.phpt
index ff764c8f81..1dab4e387f 100644
--- a/ext/standard/tests/file/stream_enclosed.phpt
+++ b/ext/standard/tests/file/stream_enclosed.phpt
@@ -17,4 +17,5 @@ while ($i++ < 5000) {
zend_leak_variable($s);
zend_leak_variable($t);
+?>
--EXPECT--
diff --git a/ext/standard/tests/file/userstreams_005.phpt b/ext/standard/tests/file/userstreams_005.phpt
index e553e1c8ee..2a6d299f46 100644
--- a/ext/standard/tests/file/userstreams_005.phpt
+++ b/ext/standard/tests/file/userstreams_005.phpt
@@ -44,6 +44,7 @@ try {
echo $e->getMessage() . \PHP_EOL;
}
test("stream_truncate bad return", $fd3, 0);
+?>
--EXPECTF--
bool(true)
bool(true)
diff --git a/ext/standard/tests/file/userstreams_006.phpt b/ext/standard/tests/file/userstreams_006.phpt
index 561bea4fb5..5565b35793 100644
--- a/ext/standard/tests/file/userstreams_006.phpt
+++ b/ext/standard/tests/file/userstreams_006.phpt
@@ -27,6 +27,7 @@ var_dump(stream_set_write_buffer($fd, 50));
var_dump(stream_set_chunk_size($fd, 42));
var_dump(fwrite($fd, str_repeat('0', 70)));
+?>
--EXPECT--
bool(true)
option: 3, 2, 50
diff --git a/ext/standard/tests/file/userstreams_007.phpt b/ext/standard/tests/file/userstreams_007.phpt
index 31a7e4f872..21515fcc88 100644
--- a/ext/standard/tests/file/userstreams_007.phpt
+++ b/ext/standard/tests/file/userstreams_007.phpt
@@ -29,6 +29,7 @@ chown("test://testdir/chown", 42);
chgrp("test://testdir/chgrp", "test");
chgrp("test://testdir/chgrp", 42);
chmod("test://testdir/chmod", 0755);
+?>
--EXPECT--
bool(true)
metadata: test://testdir/touch, 1
diff --git a/ext/standard/tests/general_functions/get_debug_type_basic.phpt b/ext/standard/tests/general_functions/get_debug_type_basic.phpt
index 35fc808517..f630265e8c 100644
--- a/ext/standard/tests/general_functions/get_debug_type_basic.phpt
+++ b/ext/standard/tests/general_functions/get_debug_type_basic.phpt
@@ -40,6 +40,7 @@ namespace {
}
+?>
--EXPECT--
ClassInGlobal
Demo\ClassInNamespace
diff --git a/ext/standard/tests/general_functions/var_export_basic9.phpt b/ext/standard/tests/general_functions/var_export_basic9.phpt
index 26815bec1b..e57d7c8cdb 100644
--- a/ext/standard/tests/general_functions/var_export_basic9.phpt
+++ b/ext/standard/tests/general_functions/var_export_basic9.phpt
@@ -5,6 +5,7 @@ Bug #55082: var_export() doesn't escape properties properly
$x = new stdClass();
$x->{'\'\\'} = 7;
echo var_export($x);
+?>
--EXPECT--
(object) array(
'\'\\' => 7,
diff --git a/ext/standard/tests/general_functions/var_export_bug71314.phpt b/ext/standard/tests/general_functions/var_export_bug71314.phpt
index aaa8f794c0..7c0fe98906 100644
--- a/ext/standard/tests/general_functions/var_export_bug71314.phpt
+++ b/ext/standard/tests/general_functions/var_export_bug71314.phpt
@@ -9,6 +9,7 @@ var_export(-INF);
echo PHP_EOL;
var_export(NAN);
echo PHP_EOL;
+?>
--EXPECT--
INF
-INF
diff --git a/ext/standard/tests/http/bug60570.phpt b/ext/standard/tests/http/bug60570.phpt
index 3c16d78033..98a6bf0d3b 100644
--- a/ext/standard/tests/http/bug60570.phpt
+++ b/ext/standard/tests/http/bug60570.phpt
@@ -37,6 +37,7 @@ function do_test() {
}
do_test();
+?>
--EXPECTF--
Warning: file_get_contents(http://127.0.0.1:12342/): Failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
in %s on line %d
diff --git a/ext/standard/tests/math/abs.phpt b/ext/standard/tests/math/abs.phpt
index f1ff71b6f2..2feb989651 100644
--- a/ext/standard/tests/math/abs.phpt
+++ b/ext/standard/tests/math/abs.phpt
@@ -19,6 +19,7 @@ $tests = <<<TESTS
TESTS;
include(__DIR__ . '/../../../../tests/quicktester.inc');
+?>
--EXPECT--
1,1,0,0
OK
diff --git a/ext/standard/tests/math/bug62112.phpt b/ext/standard/tests/math/bug62112.phpt
index 01de35a9c5..eb6b0889de 100644
--- a/ext/standard/tests/math/bug62112.phpt
+++ b/ext/standard/tests/math/bug62112.phpt
Binary files differ
diff --git a/ext/standard/tests/math/pow-operator.phpt b/ext/standard/tests/math/pow-operator.phpt
index c72e946422..ad587dbb9b 100644
--- a/ext/standard/tests/math/pow-operator.phpt
+++ b/ext/standard/tests/math/pow-operator.phpt
@@ -16,6 +16,7 @@ TESTS;
echo "On failure, please mail result to php-dev@lists.php.net\n";
include(__DIR__ . '/../../../../tests/quicktester.inc');
+?>
--EXPECT--
On failure, please mail result to php-dev@lists.php.net
OK
diff --git a/ext/standard/tests/math/pow.phpt b/ext/standard/tests/math/pow.phpt
index e8ee73135e..18c0b9468c 100644
--- a/ext/standard/tests/math/pow.phpt
+++ b/ext/standard/tests/math/pow.phpt
@@ -142,6 +142,7 @@ TESTS;
echo "On failure, please mail result to php-dev@lists.php.net\n";
include(__DIR__ . '/../../../../tests/quicktester.inc');
+?>
--EXPECT--
1,1,0,0
On failure, please mail result to php-dev@lists.php.net
diff --git a/ext/standard/tests/math/round.phpt b/ext/standard/tests/math/round.phpt
index f78d2757c2..90d120827f 100644
--- a/ext/standard/tests/math/round.phpt
+++ b/ext/standard/tests/math/round.phpt
@@ -32,6 +32,7 @@ $tests = <<<TESTS
TESTS;
include(__DIR__ . '/../../../../tests/quicktester.inc');
+?>
--EXPECT--
1,1,0,0
OK
diff --git a/ext/standard/tests/network/net_get_interfaces_001.phpt b/ext/standard/tests/network/net_get_interfaces_001.phpt
index 522278e90d..482bd69d15 100644
--- a/ext/standard/tests/network/net_get_interfaces_001.phpt
+++ b/ext/standard/tests/network/net_get_interfaces_001.phpt
@@ -26,5 +26,6 @@ if (!$found) {
// Extra diagnostics!
var_dump($ifaces);
}
+?>
--EXPECT--
bool(true)
diff --git a/ext/standard/tests/password/password_default.phpt b/ext/standard/tests/password/password_default.phpt
index 9736f2309c..5f5e6c730e 100644
--- a/ext/standard/tests/password/password_default.phpt
+++ b/ext/standard/tests/password/password_default.phpt
@@ -4,6 +4,7 @@ Test that the value of PASSWORD_DEFAULT matches PASSWORD_BCRYPT
<?php
echo PASSWORD_DEFAULT . "\n";
echo PASSWORD_BCRYPT . "\n";
+?>
--EXPECT--
2y
2y
diff --git a/ext/standard/tests/password/password_needs_rehash_argon2.phpt b/ext/standard/tests/password/password_needs_rehash_argon2.phpt
index 69588d02ad..8a6e7a8b27 100644
--- a/ext/standard/tests/password/password_needs_rehash_argon2.phpt
+++ b/ext/standard/tests/password/password_needs_rehash_argon2.phpt
@@ -19,6 +19,7 @@ var_dump(password_needs_rehash($hash, PASSWORD_ARGON2ID, ['memory_cost' => PASSW
var_dump(password_needs_rehash($hash, PASSWORD_ARGON2ID, ['time_cost' => PASSWORD_ARGON2_DEFAULT_TIME_COST + 1]));
echo "OK!";
+?>
--EXPECT--
bool(false)
bool(true)
diff --git a/ext/standard/tests/serialize/bug37947.phpt b/ext/standard/tests/serialize/bug37947.phpt
index 07371d1a3f..40d4a03604 100644
--- a/ext/standard/tests/serialize/bug37947.phpt
+++ b/ext/standard/tests/serialize/bug37947.phpt
@@ -17,5 +17,6 @@ class test {
$str='a:2:{i:0;O:4:"test":0:{}junk';
var_dump(unserialize($str));
+?>
--EXPECT--
bool(false)
diff --git a/ext/standard/tests/serialize/bug45706.phpt b/ext/standard/tests/serialize/bug45706.phpt
index c29081cab7..cc7600c05f 100644
--- a/ext/standard/tests/serialize/bug45706.phpt
+++ b/ext/standard/tests/serialize/bug45706.phpt
@@ -12,6 +12,7 @@ $s = serialize($x);
$s = str_replace("Foo", "Bar", $s);
$y = unserialize($s);
var_dump($y);
+?>
--EXPECT--
array(2) {
[0]=>
diff --git a/ext/standard/tests/serialize/bug49649.phpt b/ext/standard/tests/serialize/bug49649.phpt
index 455c1e17d4..7bbba03c14 100644
--- a/ext/standard/tests/serialize/bug49649.phpt
+++ b/ext/standard/tests/serialize/bug49649.phpt
@@ -32,6 +32,7 @@ class Foo
$class = unserialize(base64_decode($serialized));
var_dump($class);
+?>
--EXPECT--
object(Foo)#1 (4) {
["public"]=>
diff --git a/ext/standard/tests/serialize/bug49649_1.phpt b/ext/standard/tests/serialize/bug49649_1.phpt
index a2f5427edd..e4f01d3039 100644
--- a/ext/standard/tests/serialize/bug49649_1.phpt
+++ b/ext/standard/tests/serialize/bug49649_1.phpt
@@ -32,6 +32,7 @@ class Foo
$class = unserialize(base64_decode($serialized));
var_dump($class);
+?>
--EXPECT--
object(Foo)#1 (4) {
["public":protected]=>
diff --git a/ext/standard/tests/serialize/bug49649_2.phpt b/ext/standard/tests/serialize/bug49649_2.phpt
index 18796b21f7..93b5e298f9 100644
--- a/ext/standard/tests/serialize/bug49649_2.phpt
+++ b/ext/standard/tests/serialize/bug49649_2.phpt
@@ -32,6 +32,7 @@ class Foo
$class = unserialize(base64_decode($serialized));
var_dump($class);
+?>
--EXPECT--
object(Foo)#1 (4) {
["public":"Foo":private]=>
diff --git a/ext/standard/tests/serialize/bug55798.phpt b/ext/standard/tests/serialize/bug55798.phpt
index df8443b1fa..539be8bb50 100644
--- a/ext/standard/tests/serialize/bug55798.phpt
+++ b/ext/standard/tests/serialize/bug55798.phpt
@@ -11,6 +11,7 @@ var_dump($a->{0});
$b = unserialize(serialize($a));
var_dump(serialize($b));
var_dump($b->{0});
+?>
--EXPECT--
string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}"
string(1) "X"
diff --git a/ext/standard/tests/serialize/bug76300.phpt b/ext/standard/tests/serialize/bug76300.phpt
index 156c31a909..f8636dc9a5 100644
--- a/ext/standard/tests/serialize/bug76300.phpt
+++ b/ext/standard/tests/serialize/bug76300.phpt
@@ -21,6 +21,7 @@ $a = new Derived(44);
$s = serialize($a);
$u = unserialize($s);
print_r($u);
+?>
--EXPECT--
Derived Object
(
diff --git a/ext/standard/tests/serialize/precision.phpt b/ext/standard/tests/serialize/precision.phpt
index ec6d8e3408..c4679db4f1 100644
--- a/ext/standard/tests/serialize/precision.phpt
+++ b/ext/standard/tests/serialize/precision.phpt
@@ -33,6 +33,7 @@ foreach ($numbers as $ns) {
else
echo "mismatch\n\twas: $ns\n\tbecame: $repr\n";
}
+?>
--EXPECT--
number: 0.00000000000000000e+0... OK
number: 2.00000000000000010e-4... OK
diff --git a/ext/standard/tests/serialize/unserializeS.phpt b/ext/standard/tests/serialize/unserializeS.phpt
index 0f350f4247..9f506531cc 100644
--- a/ext/standard/tests/serialize/unserializeS.phpt
+++ b/ext/standard/tests/serialize/unserializeS.phpt
@@ -9,5 +9,6 @@ $arr = array(str_repeat('"', 200)."1"=>1,str_repeat('"', 200)."2"=>1);
$data = unserialize($str);
var_dump($data);
+?>
--EXPECT--
bool(false)
diff --git a/ext/standard/tests/serialize/unserialize_classes.phpt b/ext/standard/tests/serialize/unserialize_classes.phpt
index 2e23ca1b71..c4947089a2 100644
--- a/ext/standard/tests/serialize/unserialize_classes.phpt
+++ b/ext/standard/tests/serialize/unserialize_classes.phpt
@@ -14,6 +14,7 @@ var_dump(unserialize($s, ["allowed_classes" => true]));
var_dump(unserialize($s, ["allowed_classes" => ["bar"]]));
var_dump(unserialize($s, ["allowed_classes" => ["FOO"]]));
var_dump(unserialize($s, ["allowed_classes" => ["bar", "foO"]]));
+?>
--EXPECTF--
array(3) {
[0]=>
diff --git a/ext/standard/tests/serialize/unserialize_error_001.phpt b/ext/standard/tests/serialize/unserialize_error_001.phpt
index 60a1e1c81f..25bad8b1b1 100644
--- a/ext/standard/tests/serialize/unserialize_error_001.phpt
+++ b/ext/standard/tests/serialize/unserialize_error_001.phpt
@@ -11,6 +11,7 @@ $s = serialize($z);
var_dump(unserialize($s, ["allowed_classes" => null]));
var_dump(unserialize($s, ["allowed_classes" => 0]));
var_dump(unserialize($s, ["allowed_classes" => 1]));
+?>
--EXPECTF--
Warning: unserialize(): allowed_classes option should be array or boolean in %s on line %d
bool(false)
diff --git a/ext/standard/tests/serialize/unserialize_subclasses.phpt b/ext/standard/tests/serialize/unserialize_subclasses.phpt
index 3c199e3239..295a8beab6 100644
--- a/ext/standard/tests/serialize/unserialize_subclasses.phpt
+++ b/ext/standard/tests/serialize/unserialize_subclasses.phpt
@@ -13,6 +13,7 @@ var_dump(unserialize($c, ["allowed_classes" => ["C"]]));
var_dump(unserialize($c, ["allowed_classes" => ["D"]]));
var_dump(unserialize($d, ["allowed_classes" => ["C"]]));
var_dump(unserialize($d, ["allowed_classes" => ["D"]]));
+?>
--EXPECTF--
object(C)#%d (0) {
}
diff --git a/ext/standard/tests/streams/bug46147.phpt b/ext/standard/tests/streams/bug46147.phpt
index bed2ee5472..22de3f1ed0 100644
--- a/ext/standard/tests/streams/bug46147.phpt
+++ b/ext/standard/tests/streams/bug46147.phpt
@@ -10,5 +10,6 @@ while (!feof($fp)) {
echo fread($fp, 5);
}
+?>
--EXPECT--
IS A LOWERCASE STRING.
diff --git a/ext/standard/tests/streams/bug53427.phpt b/ext/standard/tests/streams/bug53427.phpt
index 9e2e037959..538ba223e7 100644
--- a/ext/standard/tests/streams/bug53427.phpt
+++ b/ext/standard/tests/streams/bug53427.phpt
@@ -12,6 +12,7 @@ var_dump($read);
stream_select($read, $write, $except, 0);
var_dump($read);
+?>
--EXPECTF--
array(2) {
[1]=>
diff --git a/ext/standard/tests/streams/bug53903.phpt b/ext/standard/tests/streams/bug53903.phpt
index d4c3586dd9..7ee62ad2de 100644
--- a/ext/standard/tests/streams/bug53903.phpt
+++ b/ext/standard/tests/streams/bug53903.phpt
@@ -23,6 +23,7 @@ fstat(fopen('sx://test', 'r'));
$s[] = 1; // Cannot use a scalar value as an array
print_r($s);
+?>
--EXPECTF--
Warning: Undefined property: sw::$undefined in %s on line %d
Array
diff --git a/ext/standard/tests/streams/bug54623.phpt b/ext/standard/tests/streams/bug54623.phpt
index 02b1924eea..29d4cbcbeb 100644
--- a/ext/standard/tests/streams/bug54623.phpt
+++ b/ext/standard/tests/streams/bug54623.phpt
@@ -14,6 +14,7 @@ try {
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
+?>
--EXPECTF--
int(%d)
int(%d)
diff --git a/ext/standard/tests/streams/bug60455_01.phpt b/ext/standard/tests/streams/bug60455_01.phpt
index 453be553c3..4d03d15f27 100644
--- a/ext/standard/tests/streams/bug60455_01.phpt
+++ b/ext/standard/tests/streams/bug60455_01.phpt
@@ -17,5 +17,6 @@ while (!feof($f)) {
$line = stream_get_line($f, 99, "\n");
var_dump($line);
}
+?>
--EXPECT--
string(1) "a"
diff --git a/ext/standard/tests/streams/bug60455_02.phpt b/ext/standard/tests/streams/bug60455_02.phpt
index 632b12085c..625d228f29 100644
--- a/ext/standard/tests/streams/bug60455_02.phpt
+++ b/ext/standard/tests/streams/bug60455_02.phpt
@@ -26,6 +26,7 @@ while (!feof($f)) {
$line = stream_get_line($f, 99, "\n");
var_dump($line);
}
+?>
--EXPECT--
string(1) "a"
bool(false)
diff --git a/ext/standard/tests/streams/bug60455_03.phpt b/ext/standard/tests/streams/bug60455_03.phpt
index d0a48ea780..215e91f0dd 100644
--- a/ext/standard/tests/streams/bug60455_03.phpt
+++ b/ext/standard/tests/streams/bug60455_03.phpt
@@ -42,6 +42,7 @@ while (!feof($f)) {
$line = stream_get_line($f, 99, "\n");
var_dump($line);
}
+?>
--EXPECT--
string(1) "a"
string(1) "b"
diff --git a/ext/standard/tests/streams/bug60455_04.phpt b/ext/standard/tests/streams/bug60455_04.phpt
index 73d2aadf53..066b29ea50 100644
--- a/ext/standard/tests/streams/bug60455_04.phpt
+++ b/ext/standard/tests/streams/bug60455_04.phpt
@@ -27,6 +27,7 @@ while (!feof($f)) {
$line = stream_get_line($f, 2, "\n");
var_dump($line);
}
+?>
--EXPECT--
string(1) "a"
bool(false)
diff --git a/ext/standard/tests/streams/bug60817.phpt b/ext/standard/tests/streams/bug60817.phpt
index 1d5993e377..8a790eff01 100644
--- a/ext/standard/tests/streams/bug60817.phpt
+++ b/ext/standard/tests/streams/bug60817.phpt
@@ -27,6 +27,7 @@ while (!feof($f)) {
$line = stream_get_line($f, 99, "\n");
var_dump($line);
}
+?>
--EXPECT--
Read done
string(1) "a"
diff --git a/ext/standard/tests/streams/bug64433.phpt b/ext/standard/tests/streams/bug64433.phpt
index d1100c5713..ae83302921 100644
--- a/ext/standard/tests/streams/bug64433.phpt
+++ b/ext/standard/tests/streams/bug64433.phpt
@@ -42,6 +42,7 @@ $context = stream_context_create($arr);
foreach($codes as $code) {
echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1", false, $context);
}
+?>
--EXPECT--
HELLO!
default
diff --git a/ext/standard/tests/streams/bug72075.phpt b/ext/standard/tests/streams/bug72075.phpt
index 1a57fdd693..f0d68cca90 100644
--- a/ext/standard/tests/streams/bug72075.phpt
+++ b/ext/standard/tests/streams/bug72075.phpt
@@ -10,5 +10,6 @@ $e = NULL;
$dummy =& $r[0];
print stream_select($r, $w, $e, 0.5);
+?>
--EXPECT--
0
diff --git a/ext/standard/tests/streams/bug72221.phpt b/ext/standard/tests/streams/bug72221.phpt
index 8f30099cab..55f33f3591 100644
--- a/ext/standard/tests/streams/bug72221.phpt
+++ b/ext/standard/tests/streams/bug72221.phpt
@@ -7,5 +7,6 @@ fwrite($fp, str_repeat("baad", 1024*1024));
rewind($fp);
stream_get_line($fp, 1024*1024*2, "aaaa");
echo "Done\n";
+?>
--EXPECT--
Done
diff --git a/ext/standard/tests/streams/bug74556.phpt b/ext/standard/tests/streams/bug74556.phpt
index 121426105a..748a12c48d 100644
--- a/ext/standard/tests/streams/bug74556.phpt
+++ b/ext/standard/tests/streams/bug74556.phpt
@@ -15,6 +15,7 @@ var_dump(
stream_socket_get_name($c, false)
);
unlink($sock);
+?>
--EXPECT--
bool(false)
bool(false)
diff --git a/ext/standard/tests/streams/bug74951.phpt b/ext/standard/tests/streams/bug74951.phpt
index ccfd302a1c..43d4f46bfb 100644
--- a/ext/standard/tests/streams/bug74951.phpt
+++ b/ext/standard/tests/streams/bug74951.phpt
@@ -8,5 +8,6 @@ trait Stream00ploiter{
}
stream_wrapper_register('e0ploit','Stream00ploiter');
$s=fopen('e0ploit://',0);
+?>
--EXPECTF--
Warning: fopen(e0ploit://): Failed to open stream: operation failed in %s%ebug74951.php on line 7
diff --git a/ext/standard/tests/streams/bug76859.phpt b/ext/standard/tests/streams/bug76859.phpt
index 268b06a01b..b5b15bc543 100644
--- a/ext/standard/tests/streams/bug76859.phpt
+++ b/ext/standard/tests/streams/bug76859.phpt
@@ -18,5 +18,6 @@ while (!feof($fh)) {
fclose($fh);
echo strlen($out) . "\n";
+?>
--EXPECT--
3
diff --git a/ext/standard/tests/streams/bug78326_1.phpt b/ext/standard/tests/streams/bug78326_1.phpt
index 8e3489db53..be9e24f9c0 100644
--- a/ext/standard/tests/streams/bug78326_1.phpt
+++ b/ext/standard/tests/streams/bug78326_1.phpt
@@ -6,5 +6,6 @@ $f = fopen('php://memory', 'rw');
fwrite($f, str_repeat('X', 1000));
fseek($f, 0);
var_dump(strlen(stream_get_contents($f, 1024)));
+?>
--EXPECT--
int(1000)
diff --git a/ext/standard/tests/streams/glob-wrapper.phpt b/ext/standard/tests/streams/glob-wrapper.phpt
index 331ed3e9b6..fcd7add195 100644
--- a/ext/standard/tests/streams/glob-wrapper.phpt
+++ b/ext/standard/tests/streams/glob-wrapper.phpt
@@ -20,6 +20,7 @@ foreach ( [ __DIR__, "glob://".__DIR__ ] as $spec) {
continue;
}
}
+?>
--EXPECTF--
** Opening %s
diff --git a/ext/standard/tests/streams/stream_get_line_NUL_delimiter.phpt b/ext/standard/tests/streams/stream_get_line_NUL_delimiter.phpt
index 79daabd977..bc40d5573a 100644
--- a/ext/standard/tests/streams/stream_get_line_NUL_delimiter.phpt
+++ b/ext/standard/tests/streams/stream_get_line_NUL_delimiter.phpt
@@ -23,5 +23,6 @@ stream_wrapper_register("test", "TestStream");
$f = fopen("test://", "r");
var_dump(stream_get_line($f, 100, "\0"));
+?>
--EXPECT--
string(1) "a"
diff --git a/ext/standard/tests/streams/stream_set_chunk_size.phpt b/ext/standard/tests/streams/stream_set_chunk_size.phpt
index baeb583e3b..dcf9789d79 100644
--- a/ext/standard/tests/streams/stream_set_chunk_size.phpt
+++ b/ext/standard/tests/streams/stream_set_chunk_size.phpt
@@ -59,6 +59,7 @@ try {
} catch (ValueError $exception) {
echo $exception->getMessage() . "\n";
}
+?>
--EXPECT--
bool(true)
should return previous chunk size (8192)
diff --git a/ext/standard/tests/streams/user-stream-error.phpt b/ext/standard/tests/streams/user-stream-error.phpt
index 1bb46f3094..e39448fc39 100644
--- a/ext/standard/tests/streams/user-stream-error.phpt
+++ b/ext/standard/tests/streams/user-stream-error.phpt
@@ -11,6 +11,7 @@ class FailStream {
stream_wrapper_register('mystream', 'FailStream');
fopen('mystream://foo', 'r');
echo 'Done';
+?>
--EXPECTF--
Fatal error: Uncaught Error: Call to undefined function _some_undefined_function() in %s%euser-stream-error.php:%d
Stack trace:
diff --git a/ext/standard/tests/streams/user_streams_consumed_bug.phpt b/ext/standard/tests/streams/user_streams_consumed_bug.phpt
index 57766324ab..fa2a5ac43a 100644
--- a/ext/standard/tests/streams/user_streams_consumed_bug.phpt
+++ b/ext/standard/tests/streams/user_streams_consumed_bug.phpt
@@ -24,6 +24,7 @@ stream_filter_append(STDOUT, "intercept_filter");
$out = fwrite(STDOUT, "Goodbye\n");
var_dump($out);
+?>
--EXPECT--
Hello
int(6)
diff --git a/ext/standard/tests/strings/basename_invalid_path.phpt b/ext/standard/tests/strings/basename_invalid_path.phpt
index 87878f3586..9ed81bafb9 100644
--- a/ext/standard/tests/strings/basename_invalid_path.phpt
+++ b/ext/standard/tests/strings/basename_invalid_path.phpt
@@ -12,6 +12,7 @@ var_dump(bin2hex(basename("\xff")));
var_dump(bin2hex(basename("a\xffb")));
echo "Done\n";
+?>
--EXPECT--
string(2) "ff"
string(6) "61ff62"
diff --git a/ext/standard/tests/strings/basename_invalid_path_win.phpt b/ext/standard/tests/strings/basename_invalid_path_win.phpt
index 27c298c37e..9179f53479 100644
--- a/ext/standard/tests/strings/basename_invalid_path_win.phpt
+++ b/ext/standard/tests/strings/basename_invalid_path_win.phpt
@@ -10,6 +10,7 @@ if((substr(PHP_OS, 0, 3) != "WIN"))
var_dump(basename("\377"));
echo "Done\n";
+?>
--EXPECTF--
string(1) "%c"
Done
diff --git a/ext/standard/tests/strings/basename_variation.phpt b/ext/standard/tests/strings/basename_variation.phpt
index e41d370fc9..eae1f7fa51 100644
--- a/ext/standard/tests/strings/basename_variation.phpt
+++ b/ext/standard/tests/strings/basename_variation.phpt
@@ -80,6 +80,7 @@ echo "*** Testing possible variations in path and suffix ***\n";
check_basename( $file_path_variations );
echo "Done\n";
+?>
--EXPECT--
*** Testing possible variations in path and suffix ***
diff --git a/ext/standard/tests/strings/bug49687.phpt b/ext/standard/tests/strings/bug49687.phpt
index ae191be088..b4f7ac6673 100644
--- a/ext/standard/tests/strings/bug49687.phpt
+++ b/ext/standard/tests/strings/bug49687.phpt
@@ -12,6 +12,7 @@ foreach ($tests as $t) {
echo bin2hex(utf8_decode($t)), "\n";
}
echo "Done.\n";
+?>
--EXPECT--
413f3e42
3f22
diff --git a/ext/standard/tests/strings/bug53021.phpt b/ext/standard/tests/strings/bug53021.phpt
index 15b3cb07e9..cdb408db63 100644
--- a/ext/standard/tests/strings/bug53021.phpt
+++ b/ext/standard/tests/strings/bug53021.phpt
@@ -18,6 +18,7 @@ echo html_entity_decode("&#39;", ENT_NOQUOTES, 'UTF-8'), "\n";
echo html_entity_decode("&#39;", ENT_QUOTES, 'UTF-8'), "\n";
echo html_entity_decode("&#39;", ENT_COMPAT, 'UTF-8'), "\n";
echo html_entity_decode("&#39;"), "\n";
+?>
--EXPECT--
array(1) {
[1]=>
diff --git a/ext/standard/tests/strings/bug54055.phpt b/ext/standard/tests/strings/bug54055.phpt
index 7124c46875..25d3feb030 100644
--- a/ext/standard/tests/strings/bug54055.phpt
+++ b/ext/standard/tests/strings/bug54055.phpt
@@ -6,6 +6,7 @@ for($i = 495; $i <= 1074; $i++) {
ini_set('precision', $i);
echo "$i: len=", strlen(strval(-1 * pow(2, -1074))), "\n";
}
+?>
--EXPECT--
495: len=502
496: len=503
diff --git a/ext/standard/tests/strings/bug55871.phpt b/ext/standard/tests/strings/bug55871.phpt
index 47e52e9bf7..eaa4fe25f2 100644
--- a/ext/standard/tests/strings/bug55871.phpt
+++ b/ext/standard/tests/strings/bug55871.phpt
@@ -32,6 +32,7 @@ var_dump($out, $my_var);
$my_var = str_repeat('A', 40);
$out = substr_replace(array(&$my_var), array(new test3), 40, 0);
var_dump($out, $my_var);
+?>
--EXPECTF--
array(1) {
[0]=>
diff --git a/ext/standard/tests/strings/bug60965.phpt b/ext/standard/tests/strings/bug60965.phpt
index 57a3b1c947..b370d22569 100644
--- a/ext/standard/tests/strings/bug60965.phpt
+++ b/ext/standard/tests/strings/bug60965.phpt
@@ -5,6 +5,7 @@ Bug #60965: Buffer overflow on htmlspecialchars/entities with $double=false
echo htmlspecialchars('"""""""""""""""""""""""""""""""""""""""""""""&#x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005;',
ENT_QUOTES, 'UTF-8', false), "\n";
echo "Done.\n";
+?>
--EXPECT--
&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&quot;&#x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005;
Done.
diff --git a/ext/standard/tests/strings/bug61374.phpt b/ext/standard/tests/strings/bug61374.phpt
index b7fce11ee2..0607e01b79 100644
--- a/ext/standard/tests/strings/bug61374.phpt
+++ b/ext/standard/tests/strings/bug61374.phpt
@@ -3,5 +3,6 @@ Bug #61374: html_entity_decode tries to decode code points that don't exist in I
--FILE--
<?php
echo html_entity_decode('&OElig;', 0, 'ISO-8859-1');
+?>
--EXPECT--
&OElig;
diff --git a/ext/standard/tests/strings/bug61764.phpt b/ext/standard/tests/strings/bug61764.phpt
index dc44f25b3f..78ec0cc89f 100644
--- a/ext/standard/tests/strings/bug61764.phpt
+++ b/ext/standard/tests/strings/bug61764.phpt
@@ -8,6 +8,7 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
//expected -30000 mod 2^32 = 4294937296, and not -30000
//because we can represent 4294937296 with our PHP int type
print_r(unpack('I', pack('L', -30000)));
+?>
--EXPECT--
Array
(
diff --git a/ext/standard/tests/strings/bug62443.phpt b/ext/standard/tests/strings/bug62443.phpt
index 9e0dc38cfb..49b0b134f0 100644
--- a/ext/standard/tests/strings/bug62443.phpt
+++ b/ext/standard/tests/strings/bug62443.phpt
@@ -5,5 +5,6 @@ Bug #62443 Crypt SHA256/512 Segfaults With Malformed Salt
crypt("foo", '$5$'.chr(0).'abc');
crypt("foo", '$6$'.chr(0).'abc');
echo "OK!";
+?>
--EXPECT--
OK!
diff --git a/ext/standard/tests/strings/bug62462.phpt b/ext/standard/tests/strings/bug62462.phpt
index 5596a42bdd..ac382800f7 100644
--- a/ext/standard/tests/strings/bug62462.phpt
+++ b/ext/standard/tests/strings/bug62462.phpt
@@ -4,7 +4,6 @@ Multibyte characters shouldn't be split by soft line break added by quoted_print
<?php
echo quoted_printable_encode(str_repeat("\xc4\x85", 77));
?>
-
--EXPECT--
=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=
=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=
diff --git a/ext/standard/tests/strings/bug65230.phpt b/ext/standard/tests/strings/bug65230.phpt
index 1efcc6cf2e..dd8c4e1cda 100644
--- a/ext/standard/tests/strings/bug65230.phpt
+++ b/ext/standard/tests/strings/bug65230.phpt
@@ -29,6 +29,7 @@ test('german', 3.41);
test('english', 3.41);
test('french', 3.41);
test('german', 3.41);
+?>
--EXPECT--
German_Germany.1252
--------------------------
diff --git a/ext/standard/tests/strings/bug65947.phpt b/ext/standard/tests/strings/bug65947.phpt
index 3ffecf3cac..0bd50cf1dc 100644
--- a/ext/standard/tests/strings/bug65947.phpt
+++ b/ext/standard/tests/strings/bug65947.phpt
@@ -11,5 +11,6 @@ if ($filename != $b2)
print "BUG";
else
print "OKEY";
+?>
--EXPECT--
OKEY
diff --git a/ext/standard/tests/strings/bug72152.phpt b/ext/standard/tests/strings/bug72152.phpt
index 440a90e057..02f49882d6 100644
--- a/ext/standard/tests/strings/bug72152.phpt
+++ b/ext/standard/tests/strings/bug72152.phpt
@@ -5,6 +5,7 @@ Bug #72152 (base64_decode $strict fails to detect null byte)
var_dump(base64_decode("\x00", true));
var_dump(base64_decode("\x00VVVV", true));
var_dump(base64_decode("VVVV\x00", true));
+?>
--EXPECT--
bool(false)
bool(false)
diff --git a/ext/standard/tests/strings/bug72263.phpt b/ext/standard/tests/strings/bug72263.phpt
index d827af21ce..c6694f02f6 100644
--- a/ext/standard/tests/strings/bug72263.phpt
+++ b/ext/standard/tests/strings/bug72263.phpt
@@ -6,6 +6,7 @@ var_dump(base64_decode("*", true));
var_dump(base64_decode("=*", true));
var_dump(base64_decode("VVV=", true));
var_dump(base64_decode("VVV=*", true));
+?>
--EXPECT--
bool(false)
bool(false)
diff --git a/ext/standard/tests/strings/bug72264.phpt b/ext/standard/tests/strings/bug72264.phpt
index 67dc0e9e5c..da597d26b6 100644
--- a/ext/standard/tests/strings/bug72264.phpt
+++ b/ext/standard/tests/strings/bug72264.phpt
@@ -3,5 +3,6 @@ Bug #72264 (base64_decode $strict fails with whitespace between padding)
--FILE--
<?php
var_dump(base64_decode("VV= =", true));
+?>
--EXPECT--
string(1) "U"
diff --git a/ext/standard/tests/strings/crypt_chars.phpt b/ext/standard/tests/strings/crypt_chars.phpt
index c4e65016f1..c0ef4a39da 100644
--- a/ext/standard/tests/strings/crypt_chars.phpt
+++ b/ext/standard/tests/strings/crypt_chars.phpt
@@ -6,6 +6,7 @@ var_dump(crypt("À1234abcd", "99"));
var_dump(crypt("À9234abcd", "99"));
var_dump(crypt("À1234abcd", "_01234567"));
var_dump(crypt("À9234abcd", "_01234567"));
+?>
--EXPECT--
string(13) "99PxawtsTfX56"
string(13) "99jcVcGxUZOWk"
diff --git a/ext/standard/tests/strings/html_entity_decode1.phpt b/ext/standard/tests/strings/html_entity_decode1.phpt
index 8d7a07784e..fb935f8742 100644
--- a/ext/standard/tests/strings/html_entity_decode1.phpt
+++ b/ext/standard/tests/strings/html_entity_decode1.phpt
@@ -40,6 +40,7 @@ foreach ($arr as $ent) {
echo html_entity_decode($ent, ENT_QUOTES, 'UTF-8'), "\n";
}
echo "Done.\n";
+?>
--EXPECT--
&
&&
diff --git a/ext/standard/tests/strings/html_entity_decode2.phpt b/ext/standard/tests/strings/html_entity_decode2.phpt
index 1eb643bd0e..b900b20b6d 100644
--- a/ext/standard/tests/strings/html_entity_decode2.phpt
+++ b/ext/standard/tests/strings/html_entity_decode2.phpt
@@ -19,6 +19,7 @@ echo "*** XML 1.0 ***\n";
echo html_entity_decode("&apos;", ENT_QUOTES | ENT_XML1, "UTF-8"), "\n";
echo "Done.\n";
+?>
--EXPECT--
*** HTML 4.01 implicit (shouldn't decode) ***
&apos;
diff --git a/ext/standard/tests/strings/html_entity_decode3.phpt b/ext/standard/tests/strings/html_entity_decode3.phpt
index 48cff17bda..e8372ed4f8 100644
--- a/ext/standard/tests/strings/html_entity_decode3.phpt
+++ b/ext/standard/tests/strings/html_entity_decode3.phpt
@@ -89,6 +89,7 @@ foreach ($tests as $t) {
}
echo "\nDone.\n";
+?>
--EXPECT--
*** HTML 4.01 ***
&#0; NOT DECODED
diff --git a/ext/standard/tests/strings/html_entity_decode_cp866.phpt b/ext/standard/tests/strings/html_entity_decode_cp866.phpt
index 685e0f66a6..5fd2db6b10 100644
--- a/ext/standard/tests/strings/html_entity_decode_cp866.phpt
+++ b/ext/standard/tests/strings/html_entity_decode_cp866.phpt
@@ -145,6 +145,7 @@ foreach ($arr as $u => $v) {
$res = unpack("H*", $res)[1];
echo sprintf("%s => %s\n\n", $ent, $res);
}
+?>
--EXPECT--
CYRILLIC CAPITAL LETTER A: &#x410; => 80
&#x80; => &#x80;
diff --git a/ext/standard/tests/strings/html_entity_decode_iso8859-15.phpt b/ext/standard/tests/strings/html_entity_decode_iso8859-15.phpt
index f41a5e16f5..91bb9f14ae 100644
--- a/ext/standard/tests/strings/html_entity_decode_iso8859-15.phpt
+++ b/ext/standard/tests/strings/html_entity_decode_iso8859-15.phpt
@@ -113,6 +113,7 @@ foreach ($arr as $u => $v) {
$res = unpack("H*", $res)[1];
echo sprintf("%s => %s\n\n", $ent, $res);
}
+?>
--EXPECT--
NO-BREAK SPACE: &#xA0; => a0
&#xA0; => a0
diff --git a/ext/standard/tests/strings/html_entity_decode_iso8859-5.phpt b/ext/standard/tests/strings/html_entity_decode_iso8859-5.phpt
index eb13827cee..46e6dc4dfe 100644
--- a/ext/standard/tests/strings/html_entity_decode_iso8859-5.phpt
+++ b/ext/standard/tests/strings/html_entity_decode_iso8859-5.phpt
@@ -113,6 +113,7 @@ foreach ($arr as $u => $v) {
$res = unpack("H*", $res)[1];
echo sprintf("%s => %s\n\n", $ent, $res);
}
+?>
--EXPECT--
NO-BREAK SPACE: &#xA0; => a0
&#xA0; => a0
diff --git a/ext/standard/tests/strings/html_entity_decode_koi8-r.phpt b/ext/standard/tests/strings/html_entity_decode_koi8-r.phpt
index adaa8563bd..bd9aad617c 100644
--- a/ext/standard/tests/strings/html_entity_decode_koi8-r.phpt
+++ b/ext/standard/tests/strings/html_entity_decode_koi8-r.phpt
@@ -145,6 +145,7 @@ foreach ($arr as $u => $v) {
$res = unpack("H*", $res)[1];
echo sprintf("%s => %s\n\n", $ent, $res);
}
+?>
--EXPECT--
BOX DRAWINGS LIGHT HORIZONTAL: &#x2500; => 80
&#x80; => &#x80;
diff --git a/ext/standard/tests/strings/html_entity_decode_macroman.phpt b/ext/standard/tests/strings/html_entity_decode_macroman.phpt
index c4c9dd493b..6eb291888c 100644
--- a/ext/standard/tests/strings/html_entity_decode_macroman.phpt
+++ b/ext/standard/tests/strings/html_entity_decode_macroman.phpt
@@ -149,6 +149,7 @@ foreach ($arr as $u => $v) {
$res = unpack("H*", $res)[1];
echo sprintf("%s => %s\n\n", $ent, $res);
}
+?>
--EXPECT--
Special test for &#x7F; (shouldn't decode):
&#x7F;
diff --git a/ext/standard/tests/strings/html_entity_decode_win1251.phpt b/ext/standard/tests/strings/html_entity_decode_win1251.phpt
index 4b96f01774..8a9b3ddeb5 100644
--- a/ext/standard/tests/strings/html_entity_decode_win1251.phpt
+++ b/ext/standard/tests/strings/html_entity_decode_win1251.phpt
@@ -149,6 +149,7 @@ foreach ($arr as $u => $v) {
$res = unpack("H*", $res)[1];
echo sprintf("%s => %s\n\n", $ent, $res);
}
+?>
--EXPECT--
Special test for &#x98; (shouldn't decode):
&#x98;
diff --git a/ext/standard/tests/strings/html_entity_decode_win1252.phpt b/ext/standard/tests/strings/html_entity_decode_win1252.phpt
index 436b0d464a..4341426cb8 100644
--- a/ext/standard/tests/strings/html_entity_decode_win1252.phpt
+++ b/ext/standard/tests/strings/html_entity_decode_win1252.phpt
@@ -69,6 +69,7 @@ foreach ($arr as $u => $v) {
$res = unpack("H*", $res)[1];
echo sprintf("%s => %s\n\n", $ent, $res);
}
+?>
--EXPECT--
Special test for &#x81; (shouldn't decode):
&#x81;
diff --git a/ext/standard/tests/strings/htmlentities-utf-3.phpt b/ext/standard/tests/strings/htmlentities-utf-3.phpt
index 56d4cdc2f8..e85320c3df 100644
--- a/ext/standard/tests/strings/htmlentities-utf-3.phpt
+++ b/ext/standard/tests/strings/htmlentities-utf-3.phpt
@@ -79,5 +79,6 @@ for ($b1 = 0xF0; $b1 < 0xFF; $b1++) {
}
}
echo "Done.\n";
+?>
--EXPECT--
Done.
diff --git a/ext/standard/tests/strings/pack_Z.phpt b/ext/standard/tests/strings/pack_Z.phpt
index 5a7c5d95a6..672077bd89 100644
--- a/ext/standard/tests/strings/pack_Z.phpt
+++ b/ext/standard/tests/strings/pack_Z.phpt
@@ -16,6 +16,7 @@ var_dump(
unpack("Z2", "AB\0"),
unpack("Z2", "ABC")
);
+?>
--EXPECTF--
Warning: unpack(): Type Z: not enough input, need 2, have 1 in %s on line %d
string(0) ""
diff --git a/ext/standard/tests/strings/str_replace_array_refs.phpt b/ext/standard/tests/strings/str_replace_array_refs.phpt
index f45ea59c64..281bb94293 100644
--- a/ext/standard/tests/strings/str_replace_array_refs.phpt
+++ b/ext/standard/tests/strings/str_replace_array_refs.phpt
@@ -11,6 +11,7 @@ $numeric = &$ref['numeric'];
var_dump(str_replace(array_keys($data), $data, "a numeric"));
var_dump($numeric);
var_dump($data['numeric']);
+?>
--EXPECT--
string(3) "b 1"
int(1)
diff --git a/ext/standard/tests/strings/str_replace_array_refs2.phpt b/ext/standard/tests/strings/str_replace_array_refs2.phpt
index e12681e079..e4bfd47f62 100644
--- a/ext/standard/tests/strings/str_replace_array_refs2.phpt
+++ b/ext/standard/tests/strings/str_replace_array_refs2.phpt
@@ -21,6 +21,7 @@ var_dump(str_replace(array_keys($obj->prop), $obj->prop, "x property"));
$array = ['x' => 'property'];
$array = $closure($array, ['x'], 'a');
var_dump(str_replace(array_keys($array), $array, "x property"));
+?>
--EXPECT--
string(10) "a property"
string(10) "a property"
diff --git a/ext/standard/tests/strings/strip_tags_variation8.phpt b/ext/standard/tests/strings/strip_tags_variation8.phpt
index 5a61568d4e..bd98632dc5 100644
--- a/ext/standard/tests/strings/strip_tags_variation8.phpt
+++ b/ext/standard/tests/strings/strip_tags_variation8.phpt
@@ -31,6 +31,7 @@ foreach($quotes as $string_value)
}
echo "Done";
+?>
--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
diff --git a/ext/standard/tests/strings/strip_tags_variation9.phpt b/ext/standard/tests/strings/strip_tags_variation9.phpt
index fc4936525d..8603890374 100644
--- a/ext/standard/tests/strings/strip_tags_variation9.phpt
+++ b/ext/standard/tests/strings/strip_tags_variation9.phpt
@@ -29,6 +29,7 @@ foreach($double_quote_string as $string_value)
}
echo "Done";
+?>
--EXPECT--
*** Testing strip_tags() : usage variations ***
-- Iteration 1 --
diff --git a/ext/standard/tests/strings/trim.phpt b/ext/standard/tests/strings/trim.phpt
index 660bb202eb..71c56d9862 100644
--- a/ext/standard/tests/strings/trim.phpt
+++ b/ext/standard/tests/strings/trim.phpt
@@ -22,5 +22,6 @@ $tests = <<<TESTS
TESTS;
include(__DIR__ . '/../../../../tests/quicktester.inc');
+?>
--EXPECT--
OK
diff --git a/ext/standard/tests/strings/wordwrap.phpt b/ext/standard/tests/strings/wordwrap.phpt
index cb16b0fa37..7fefdb58c2 100644
--- a/ext/standard/tests/strings/wordwrap.phpt
+++ b/ext/standard/tests/strings/wordwrap.phpt
@@ -38,6 +38,7 @@ try {
} catch (\ValueError $e) {
echo $e->getMessage() . "\n";
}
+?>
--EXPECT--
OK
wordwrap(): Argument #3 ($break) cannot be empty
diff --git a/ext/standard/tests/url/parse_url_relative_scheme.phpt b/ext/standard/tests/url/parse_url_relative_scheme.phpt
index 678e3a3d11..7ac15621c7 100644
--- a/ext/standard/tests/url/parse_url_relative_scheme.phpt
+++ b/ext/standard/tests/url/parse_url_relative_scheme.phpt
@@ -3,6 +3,7 @@ Test parse_url() function: Checks relative URL schemes (e.g. "//example.com")
--FILE--
<?php
var_dump(parse_url('//example.org'));
+?>
--EXPECT--
array(1) {
["host"]=>
diff --git a/ext/standard/tests/versioning/php_sapi_name.phpt b/ext/standard/tests/versioning/php_sapi_name.phpt
index fefda8b2a5..ec7ab30c96 100644
--- a/ext/standard/tests/versioning/php_sapi_name.phpt
+++ b/ext/standard/tests/versioning/php_sapi_name.phpt
@@ -4,5 +4,6 @@ php_sapi_name test
<?php
var_dump(php_sapi_name());
+?>
--EXPECTF--
string(3) "c%ci"
diff --git a/ext/sysvshm/tests/shutdown_crash_0.phpt b/ext/sysvshm/tests/shutdown_crash_0.phpt
index f75a141323..ac1a040978 100644
--- a/ext/sysvshm/tests/shutdown_crash_0.phpt
+++ b/ext/sysvshm/tests/shutdown_crash_0.phpt
@@ -15,6 +15,7 @@ var_dump($s = shm_attach($key, 1024));
shm_remove($s);
var_dump($s = shm_attach($key, 1024));
shm_remove($s);
+?>
--EXPECT--
object(SysvSharedMemory)#1 (0) {
}
diff --git a/ext/xml/tests/bug72099.phpt b/ext/xml/tests/bug72099.phpt
index b32de02b24..6d6c20e950 100644
--- a/ext/xml/tests/bug72099.phpt
+++ b/ext/xml/tests/bug72099.phpt
@@ -12,6 +12,7 @@ $var3=[];
$var4=[];
xml_parse_into_struct($var1, $var2, $var3, $var4);
var_dump($var3);
+?>
--EXPECT--
array(0) {
}
diff --git a/ext/xsl/tests/bug26384.phpt b/ext/xsl/tests/bug26384.phpt
index 54ff5e767d..5b268da781 100644
--- a/ext/xsl/tests/bug26384.phpt
+++ b/ext/xsl/tests/bug26384.phpt
@@ -27,6 +27,7 @@ print $proc->transformToXml($dom);
//this segfaulted before
print $dom->documentElement->firstChild->nextSibling->nodeName;
+?>
--EXPECT--
HERE
ROW
diff --git a/ext/xsl/tests/bug48221.phpt b/ext/xsl/tests/bug48221.phpt
index 2d08b3d291..6bc76bb6aa 100644
--- a/ext/xsl/tests/bug48221.phpt
+++ b/ext/xsl/tests/bug48221.phpt
@@ -10,6 +10,7 @@ include('prepare.inc');
$proc->importStylesheet($xsl);
$proc->setParameter('', '', '"\'');
$proc->transformToXml($dom);
+?>
--EXPECTF--
Warning: XSLTProcessor::transformToXml(): Cannot create XPath expression (string contains both quote and double-quotes) in %s on line %d
--CREDITS--
diff --git a/ext/xsl/tests/bug54446.phpt b/ext/xsl/tests/bug54446.phpt
index 1e518f4977..d0d100e2f7 100644
--- a/ext/xsl/tests/bug54446.phpt
+++ b/ext/xsl/tests/bug54446.phpt
@@ -69,6 +69,7 @@ if (file_exists($outputfile)) {
} else {
print "OK, no file created\n";
}
+?>
--EXPECTF--
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on line %d
diff --git a/ext/xsl/tests/xslt004.phpt b/ext/xsl/tests/xslt004.phpt
index 656c99086d..50ffd66d12 100644
--- a/ext/xsl/tests/xslt004.phpt
+++ b/ext/xsl/tests/xslt004.phpt
@@ -17,6 +17,7 @@ $proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXml($dom);
print "\n";
+?>
--EXPECT--
Test 4: Checking UTF8 Output
<?xml version="1.0" encoding="utf-8"?>
diff --git a/ext/xsl/tests/xslt009.phpt b/ext/xsl/tests/xslt009.phpt
index 429e11f10d..25f8f6896f 100644
--- a/ext/xsl/tests/xslt009.phpt
+++ b/ext/xsl/tests/xslt009.phpt
@@ -20,6 +20,7 @@ if(!$xsl) {
$proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXML($dom);
+?>
--EXPECT--
Test 9: Stream Wrapper XPath-Document()
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt010.phpt b/ext/xsl/tests/xslt010.phpt
index dc1eac3ccb..62bc607417 100644
--- a/ext/xsl/tests/xslt010.phpt
+++ b/ext/xsl/tests/xslt010.phpt
@@ -21,6 +21,7 @@ $dom = new domDocument();
$xml->load(__DIR__."/exslt.xml");
print $proc->transformToXml($xml);
+?>
--EXPECT--
Test 10: EXSLT Support
diff --git a/ext/xsl/tests/xslt010_gt10129.phpt b/ext/xsl/tests/xslt010_gt10129.phpt
index d1de1722a1..b5f650623f 100644
--- a/ext/xsl/tests/xslt010_gt10129.phpt
+++ b/ext/xsl/tests/xslt010_gt10129.phpt
@@ -20,6 +20,7 @@ $dom = new domDocument();
$xml->load(__DIR__."/exslt.xml");
print $proc->transformToXml($xml);
+?>
--EXPECT--
Test 10: EXSLT Support
diff --git a/ext/xsl/tests/xslt011.phpt b/ext/xsl/tests/xslt011.phpt
index 5eaa7fbd09..ba58ecb087 100644
--- a/ext/xsl/tests/xslt011.phpt
+++ b/ext/xsl/tests/xslt011.phpt
@@ -45,6 +45,7 @@ $dom = new domDocument();
return $id;
}
}
+?>
--EXPECTF--
Test 11: php:function Support
diff --git a/ext/xsl/tests/xsltprocessor_getParameter-invalidparam.phpt b/ext/xsl/tests/xsltprocessor_getParameter-invalidparam.phpt
index 78191c2b6e..4311c30886 100644
--- a/ext/xsl/tests/xsltprocessor_getParameter-invalidparam.phpt
+++ b/ext/xsl/tests/xsltprocessor_getParameter-invalidparam.phpt
@@ -10,6 +10,7 @@ Check xsltprocessor::getParameter with undefined parameter
<?php
include __DIR__ .'/prepare.inc';
var_dump($proc->getParameter('', 'doesnotexist'));
+?>
--EXPECT--
bool(false)
--CREDITS--
diff --git a/ext/xsl/tests/xsltprocessor_getParameter.phpt b/ext/xsl/tests/xsltprocessor_getParameter.phpt
index 6512b7b53e..b33220edad 100644
--- a/ext/xsl/tests/xsltprocessor_getParameter.phpt
+++ b/ext/xsl/tests/xsltprocessor_getParameter.phpt
@@ -12,6 +12,7 @@ include __DIR__ .'/prepare.inc';
$proc->importStylesheet($xsl);
$proc->setParameter('', 'key', 'value');
var_dump($proc->getParameter('', 'key'));
+?>
--EXPECT--
string(5) "value"
--CREDITS--
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt
index 18e7ddca97..5cdaec1685 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt
@@ -21,6 +21,7 @@ var_dump($proc->transformToXml($dom));
//var_dump($proc->registerPHPFunctions(array()));
//var_dump($proc->transformToXml($dom));
+?>
--EXPECT--
NULL
string(18) "This Is An Example"
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-multiple.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-multiple.phpt
index ab136735ef..2d733b6903 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-multiple.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-multiple.phpt
@@ -24,6 +24,7 @@ var_dump($proc->registerPHPFunctions(array('strpos', 'ucwords')));
var_dump($proc->registerPHPFunctions(array('strrev', 'array_key_exists')));
var_dump($proc->registerPHPFunctions(array()));
var_dump($proc->transformToXml($dom));
+?>
--EXPECT--
NULL
NULL
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-notallowed.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-notallowed.phpt
index 03b3f744e6..524d317713 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-notallowed.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array-notallowed.phpt
@@ -18,6 +18,7 @@ if(!$phpfuncxsl) {
$proc->importStylesheet($phpfuncxsl);
var_dump($proc->registerPHPFunctions(array()));
var_dump($proc->transformToXml($dom));
+?>
--EXPECTF--
NULL
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array.phpt
index 5cfa497408..01e99976a7 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-array.phpt
@@ -18,6 +18,7 @@ if(!$phpfuncxsl) {
$proc->importStylesheet($phpfuncxsl);
var_dump($proc->registerPHPFunctions(array('ucwords')));
var_dump($proc->transformToXml($dom));
+?>
--EXPECT--
NULL
string(18) "This Is An Example"
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
index e173842c4e..b83a1d0814 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
@@ -21,6 +21,7 @@ if(!$phpfuncxsl) {
$proc->importStylesheet($phpfuncxsl);
var_dump($proc->registerPHPFunctions());
var_dump($proc->transformToXml($dom));
+?>
--EXPECTF--
NULL
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt
index 85fcbe0d02..be98ad82e0 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt
@@ -20,6 +20,7 @@ if(!$phpfuncxsl) {
$proc->importStylesheet($phpfuncxsl);
var_dump($proc->registerPHPFunctions());
var_dump($proc->transformToXml($dom));
+?>
--EXPECTF--
NULL
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-null.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-null.phpt
index 3fb495d5a2..335adf8260 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-null.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-null.phpt
@@ -23,6 +23,7 @@ $proc->importStylesheet($phpfuncxsl);
var_dump($proc->registerPHPFunctions('ucwords'));
var_dump($proc->registerPHPFunctions(null));
var_dump($proc->transformToXml($dom));
+?>
--EXPECT--
NULL
NULL
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt
index 1ef40abc94..9dfbdc97d2 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-multiple.phpt
@@ -23,6 +23,7 @@ $proc->importStylesheet($phpfuncxsl);
var_dump($proc->registerPHPFunctions('ucwords'));
var_dump($proc->registerPHPFunctions('strpos'));
var_dump($proc->transformToXml($dom));
+?>
--EXPECT--
NULL
NULL
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-notallowed.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-notallowed.phpt
index cb6a274905..f8c14cdfb2 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-notallowed.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string-notallowed.phpt
@@ -18,6 +18,7 @@ if(!$phpfuncxsl) {
$proc->importStylesheet($phpfuncxsl);
var_dump($proc->registerPHPFunctions('strpos'));
var_dump($proc->transformToXml($dom));
+?>
--EXPECTF--
NULL
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string.phpt
index ac9d4ffb9f..9200d19bbb 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-string.phpt
@@ -18,6 +18,7 @@ if(!$phpfuncxsl) {
$proc->importStylesheet($phpfuncxsl);
var_dump($proc->registerPHPFunctions('ucwords'));
var_dump($proc->transformToXml($dom));
+?>
--EXPECT--
NULL
string(18) "This Is An Example"
diff --git a/ext/xsl/tests/xsltprocessor_removeParameter-invalidparam.phpt b/ext/xsl/tests/xsltprocessor_removeParameter-invalidparam.phpt
index 9eed0ccedc..14d72d145d 100644
--- a/ext/xsl/tests/xsltprocessor_removeParameter-invalidparam.phpt
+++ b/ext/xsl/tests/xsltprocessor_removeParameter-invalidparam.phpt
@@ -11,6 +11,7 @@ Check xsltprocessor::removeParameter with invalid parameter
include __DIR__ .'/prepare.inc';
$proc->importStylesheet($xsl);
var_dump($proc->removeParameter('', 'doesnotexist'));
+?>
--EXPECT--
bool(false)
--CREDITS--
diff --git a/ext/xsl/tests/xsltprocessor_removeParameter.phpt b/ext/xsl/tests/xsltprocessor_removeParameter.phpt
index 6b9cb99d09..be463e8f9b 100644
--- a/ext/xsl/tests/xsltprocessor_removeParameter.phpt
+++ b/ext/xsl/tests/xsltprocessor_removeParameter.phpt
@@ -13,6 +13,7 @@ $proc->importStylesheet($xsl);
$proc->setParameter('', 'key', 'value');
$proc->removeParameter('', 'key');
var_dump($proc->getParameter('', 'key'));
+?>
--EXPECT--
bool(false)
--CREDITS--
diff --git a/ext/xsl/tests/xsltprocessor_setparameter-errorquote.phpt b/ext/xsl/tests/xsltprocessor_setparameter-errorquote.phpt
index efefe0f83b..a2f125a000 100644
--- a/ext/xsl/tests/xsltprocessor_setparameter-errorquote.phpt
+++ b/ext/xsl/tests/xsltprocessor_setparameter-errorquote.phpt
@@ -14,6 +14,7 @@ include __DIR__ .'/prepare.inc';
$proc->importStylesheet($xsl);
$proc->setParameter('', '', '"\'');
$proc->transformToXml($dom);
+?>
--EXPECTF--
Warning: XSLTProcessor::transformToXml(): Cannot create XPath expression (string contains both quote and double-quotes) in %s on line %d
--CREDITS--
diff --git a/ext/xsl/tests/xsltprocessor_setparameter-nostring.phpt b/ext/xsl/tests/xsltprocessor_setparameter-nostring.phpt
index 2c723434aa..87d186eb6f 100644
--- a/ext/xsl/tests/xsltprocessor_setparameter-nostring.phpt
+++ b/ext/xsl/tests/xsltprocessor_setparameter-nostring.phpt
@@ -14,6 +14,7 @@ include __DIR__ .'/prepare.inc';
$proc->importStylesheet($xsl);
var_dump($proc->setParameter('', array(4, 'abc')));
$proc->transformToXml($dom);
+?>
--EXPECTF--
Warning: XSLTProcessor::setParameter(): Invalid parameter array in %s on line %d
bool(false)
diff --git a/ext/zip/tests/bug47667.phpt b/ext/zip/tests/bug47667.phpt
index ab93202801..43c1f4964d 100644
--- a/ext/zip/tests/bug47667.phpt
+++ b/ext/zip/tests/bug47667.phpt
@@ -35,5 +35,6 @@ echo "files: " , $zip->numFiles;
$zip->close();
unlink($filename);
+?>
--EXPECT--
files: 1
diff --git a/ext/zip/tests/bug51353.phpt b/ext/zip/tests/bug51353.phpt
index 896375dda3..ab021f4715 100644
--- a/ext/zip/tests/bug51353.phpt
+++ b/ext/zip/tests/bug51353.phpt
@@ -49,6 +49,7 @@ foreach($a as $f) {
unlink($f);
}
rmdir("$base_path/51353_unpack");
+?>
--EXPECT--
100000
OK
diff --git a/ext/zip/tests/bug53603.phpt b/ext/zip/tests/bug53603.phpt
index 1d1703d590..b3108da795 100644
--- a/ext/zip/tests/bug53603.phpt
+++ b/ext/zip/tests/bug53603.phpt
@@ -27,6 +27,7 @@ if ($zip->open($file) !== TRUE) {
$a = $zip->extractTo('teststream://test');
var_dump($a);
+?>
--EXPECTF--
Warning: ZipArchive::extractTo(teststream://test/foo): Failed to open stream: "TestStream::stream_open" call failed in %s on line %d
bool(false)
diff --git a/ext/zip/tests/bug53854.phpt b/ext/zip/tests/bug53854.phpt
index cd8ae7e5f3..c008d67b94 100644
--- a/ext/zip/tests/bug53854.phpt
+++ b/ext/zip/tests/bug53854.phpt
@@ -24,6 +24,7 @@ var_dump(ZipArchive::CM_TERSE);
var_dump(ZipArchive::CM_LZ77);
var_dump(ZipArchive::CM_WAVPACK);
var_dump(ZipArchive::CM_PPMD);
+?>
--EXPECT--
int(-1)
int(0)
diff --git a/ext/zip/tests/bug64342_0.phpt b/ext/zip/tests/bug64342_0.phpt
index f9cde3afed..d187175cd9 100644
--- a/ext/zip/tests/bug64342_0.phpt
+++ b/ext/zip/tests/bug64342_0.phpt
@@ -35,6 +35,7 @@ DONE
<?php
@unlink(__DIR__ . '/bug64342.zip');
+?>
--EXPECTF--
%s.txt
add failed
diff --git a/ext/zip/tests/bug8009.phpt b/ext/zip/tests/bug8009.phpt
index 4cc85a1b3f..84e67d10d4 100644
--- a/ext/zip/tests/bug8009.phpt
+++ b/ext/zip/tests/bug8009.phpt
@@ -21,5 +21,6 @@ $zip->close();
unlink($filename);
echo "status: " . $zip->status . "\n";
echo "\n";
+?>
--EXPECT--
status: 0
diff --git a/ext/zip/tests/bug8700.phpt b/ext/zip/tests/bug8700.phpt
index ad5d91b7c2..57db3af7d2 100644
--- a/ext/zip/tests/bug8700.phpt
+++ b/ext/zip/tests/bug8700.phpt
@@ -24,5 +24,6 @@ if ($contents_from_idx != $contents_from_name) {
$zip->close();
echo "status: " . $zip->status . "\n";
echo "\n";
+?>
--EXPECT--
status: 0
diff --git a/ext/zlib/tests/zlib_wrapper_level.phpt b/ext/zlib/tests/zlib_wrapper_level.phpt
index 135ef9c72a..5cfd9cf6a8 100644
--- a/ext/zlib/tests/zlib_wrapper_level.phpt
+++ b/ext/zlib/tests/zlib_wrapper_level.phpt
@@ -29,6 +29,7 @@ var_dump(10 * strlen($thisfile));
var_dump($size1);
var_dump($size9);
var_dump($size9 < $size1);
+?>
--EXPECTF--
int(%d)
int(%d)