]> granicus.if.org Git - php/commitdiff
Run tidy
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 18 Sep 2020 12:28:32 +0000 (14:28 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 18 Sep 2020 12:28:32 +0000 (14:28 +0200)
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.

1169 files changed:
Zend/tests/attributes/001_placement.phpt
Zend/tests/attributes/003_ast_nodes.phpt
Zend/tests/attributes/005_objects.phpt
Zend/tests/attributes/006_filter.phpt
Zend/tests/attributes/011_inheritance.phpt
Zend/tests/attributes/012_ast_export.phpt
Zend/tests/attributes/013_class_scope.phpt
Zend/tests/attributes/014_class_const_group.phpt
Zend/tests/attributes/015_property_group.phpt
Zend/tests/attributes/017_closure_scope.phpt
Zend/tests/attributes/020_userland_attribute_validation.phpt
Zend/tests/attributes/027_trailing_comma_args.phpt
Zend/tests/bug40770.phpt
Zend/tests/bug54268.phpt
Zend/tests/bug54547.phpt
Zend/tests/bug62097.phpt
Zend/tests/bug70258.phpt
Zend/tests/bug70914.phpt
Zend/tests/bug76846.phpt
Zend/tests/bug79599.phpt
Zend/tests/bug80037.phpt
Zend/tests/dval_to_lval_32.phpt
Zend/tests/dval_to_lval_64.phpt
Zend/tests/generators/repeated_yield_from_with_immediate_release.phpt
Zend/tests/magic_methods_011.phpt
Zend/tests/magic_methods_012.phpt
Zend/tests/magic_methods_013.phpt
Zend/tests/magic_methods_014.phpt
Zend/tests/magic_methods_015.phpt
Zend/tests/magic_methods_016.phpt
Zend/tests/magic_methods_017.phpt
Zend/tests/magic_methods_018.phpt
Zend/tests/magic_methods_019.phpt
Zend/tests/magic_methods_020.phpt
Zend/tests/magic_methods_inheritance_rules.phpt
Zend/tests/magic_methods_inheritance_rules_non_trivial_01.phpt
Zend/tests/magic_methods_inheritance_rules_non_trivial_02.phpt
Zend/tests/magic_methods_sleep.phpt
Zend/tests/magic_methods_wakeup.phpt
Zend/tests/return_types/033.phpt
Zend/tests/return_types/034.phpt
Zend/tests/return_types/035.phpt
Zend/zend_generators.c
ext/com_dotnet/tests/bug66431_0.phpt
ext/com_dotnet/tests/bug66431_1.phpt
ext/com_dotnet/tests/variants_x64.phpt
ext/curl/tests/bug46711.phpt
ext/curl/tests/bug48514.phpt
ext/curl/tests/bug52827.phpt
ext/curl/tests/bug61948.phpt
ext/curl/tests/bug71523.phpt
ext/curl/tests/bug72202.phpt
ext/curl/tests/bug76675.phpt
ext/curl/tests/bug77535.phpt
ext/curl/tests/bug77946.phpt
ext/curl/tests/bug79741.phpt
ext/curl/tests/check_win_config.phpt
ext/curl/tests/curl_basic_008.phpt
ext/curl/tests/curl_basic_010.phpt
ext/curl/tests/curl_basic_023.phpt
ext/curl/tests/curl_basic_024.phpt
ext/curl/tests/curl_copy_handle_basic.phpt
ext/curl/tests/curl_copy_handle_variation1.phpt
ext/curl/tests/curl_copy_handle_variation2.phpt
ext/curl/tests/curl_escape.phpt
ext/curl/tests/curl_file_serialize.phpt
ext/curl/tests/curl_multi_errno_strerror_001.phpt
ext/curl/tests/curl_multi_setopt_basic001.phpt
ext/curl/tests/curl_multi_strerror_001.phpt
ext/curl/tests/curl_share_errno_strerror_001.phpt
ext/curl/tests/curl_share_setopt_basic001.phpt
ext/curl/tests/curl_strerror_001.phpt
ext/date/tests/002.phpt
ext/date/tests/bug13142.phpt
ext/date/tests/bug26317.phpt
ext/date/tests/bug26320.phpt
ext/date/tests/date_default_timezone_get-1.phpt
ext/date/tests/date_default_timezone_get-2.phpt
ext/date/tests/strftime_variation22.phpt
ext/dba/tests/bug36436.phpt
ext/dba/tests/bug38698.phpt
ext/dba/tests/bug48240.phpt
ext/dba/tests/bug49125.phpt
ext/dba/tests/bug65708.phpt
ext/dba/tests/bug72157.phpt
ext/dba/tests/dba001.phpt
ext/dba/tests/dba002.phpt
ext/dba/tests/dba003.phpt
ext/dba/tests/dba004.phpt
ext/dba/tests/dba005.phpt
ext/dba/tests/dba006.phpt
ext/dba/tests/dba007.phpt
ext/dba/tests/dba009.phpt
ext/dba/tests/dba010.phpt
ext/dba/tests/dba015.phpt
ext/dba/tests/dba016.phpt
ext/dba/tests/dba_cdb.phpt
ext/dba/tests/dba_cdb_make.phpt
ext/dba/tests/dba_cdb_read.phpt
ext/dba/tests/dba_db1.phpt
ext/dba/tests/dba_db2.phpt
ext/dba/tests/dba_db3.phpt
ext/dba/tests/dba_db4_018.phpt
ext/dba/tests/dba_dbm.phpt
ext/dba/tests/dba_flatfile.phpt
ext/dba/tests/dba_gdbm.phpt
ext/dba/tests/dba_inifile.phpt
ext/dba/tests/dba_lmdb.phpt
ext/dba/tests/dba_ndbm.phpt
ext/dba/tests/dba_optimize.phpt
ext/dba/tests/dba_qdbm.phpt
ext/dba/tests/dba_split.phpt
ext/dba/tests/dba_sync.phpt
ext/dba/tests/dba_tcadb.phpt
ext/dom/tests/DOMDocument_save_basic.phpt
ext/enchant/tests/broker_describe.phpt
ext/enchant/tests/broker_list_dicts.phpt
ext/enchant/tests/bug13181.phpt
ext/exif/exif.c
ext/exif/tests/exif003.phpt
ext/exif/tests/exif004.phpt
ext/ffi/tests/100.phpt
ext/ffi/tests/101.phpt
ext/ffi/tests/200.phpt
ext/ffi/tests/bug77632.phpt
ext/ffi/tests/bug77632b.phpt
ext/ffi/tests/bug77706.phpt
ext/ffi/tests/bug77768.phpt
ext/fileinfo/tests/bug57547.phpt
ext/fileinfo/tests/bug61173.phpt
ext/fileinfo/tests/bug67516.phpt
ext/fileinfo/tests/bug67647-mb.phpt
ext/fileinfo/tests/bug68731.phpt
ext/fileinfo/tests/bug69320.phpt
ext/fileinfo/tests/bug71527-mb.phpt
ext/fileinfo/tests/bug71527.phpt
ext/fileinfo/tests/bug74170.phpt
ext/fileinfo/tests/cve-2014-1943-mb.phpt
ext/fileinfo/tests/cve-2014-1943.phpt
ext/fileinfo/tests/cve-2014-3538-mb.phpt
ext/fileinfo/tests/cve-2014-3538-nojit.phpt
ext/fileinfo/tests/cve-2014-3538.phpt
ext/fileinfo/tests/finfo_extension_flag.phpt
ext/gd/tests/bug19366.phpt
ext/gd/tests/bug22544-mb.phpt
ext/gd/tests/bug22544.phpt
ext/gd/tests/bug24155.phpt
ext/gd/tests/bug24594.phpt
ext/gd/tests/bug28147.phpt
ext/gd/tests/bug36697-mb.phpt
ext/gd/tests/bug36697.phpt
ext/gd/tests/bug37346-mb.phpt
ext/gd/tests/bug37346.phpt
ext/gd/tests/bug37360.phpt
ext/gd/tests/bug38112.phpt
ext/gd/tests/bug39082.phpt
ext/gd/tests/bug39273.phpt
ext/gd/tests/bug39366.phpt
ext/gd/tests/bug39508.phpt
ext/gd/tests/bug39780.phpt
ext/gd/tests/bug39780_extern.phpt
ext/gd/tests/bug40764.phpt
ext/gd/tests/bug41442.phpt
ext/gd/tests/bug42434.phpt
ext/gd/tests/bug43073.phpt
ext/gd/tests/bug43121.phpt
ext/gd/tests/bug43475.phpt
ext/gd/tests/bug43828.phpt
ext/gd/tests/bug44849.phpt
ext/gd/tests/bug45799.phpt
ext/gd/tests/bug48555.phpt
ext/gd/tests/bug48732-mb.phpt
ext/gd/tests/bug48732.phpt
ext/gd/tests/bug48801-mb.phpt
ext/gd/tests/bug48801.phpt
ext/gd/tests/bug49600.phpt
ext/gd/tests/bug51263.phpt
ext/gd/tests/bug51671.phpt
ext/gd/tests/bug53504.phpt
ext/gd/tests/bug60160.phpt
ext/gd/tests/bug64641.phpt
ext/gd/tests/bug66356.phpt
ext/gd/tests/bug67447.phpt
ext/gd/tests/bug70976.phpt
ext/gd/tests/bug71952.phpt
ext/gd/tests/bug72227.phpt
ext/gd/tests/bug72298.phpt
ext/gd/tests/bug72339.phpt
ext/gd/tests/bug72512.phpt
ext/gd/tests/bug72512_0.phpt
ext/gd/tests/bug72512_1.phpt
ext/gd/tests/crafted_gd2.phpt
ext/gd/tests/createfromwbmp2.phpt
ext/gd/tests/createfromwbmp2_extern.phpt
ext/gd/tests/gd_info_basic.phpt
ext/gd/tests/gif.phpt
ext/gd/tests/gif2gd.phpt
ext/gd/tests/gif2jpg.phpt
ext/gd/tests/gif2png.phpt
ext/gd/tests/imagechar_basic.phpt
ext/gd/tests/imagecharup_basic.phpt
ext/gd/tests/imagecolorallocatealpha_basic.phpt
ext/gd/tests/imagecolordeallocate_basic.phpt
ext/gd/tests/imagecolordeallocate_error3.phpt
ext/gd/tests/imagecolordeallocate_error4.phpt
ext/gd/tests/imagecolorset_basic.phpt
ext/gd/tests/imagecolourstotal_basic.phpt
ext/gd/tests/imagecopyresampled_basic.phpt
ext/gd/tests/imagecreate_error.phpt
ext/gd/tests/imagecreatetruecolor_basic.phpt
ext/gd/tests/imagecreatetruecolor_error2.phpt
ext/gd/tests/imagedashedline_basic.phpt
ext/gd/tests/imagefill_1.phpt
ext/gd/tests/imagefilledarc_basic.phpt
ext/gd/tests/imagefilledarc_variation1.phpt
ext/gd/tests/imagefilledarc_variation2.phpt
ext/gd/tests/imagefilledpolygon_basic.phpt
ext/gd/tests/imagefilter.phpt
ext/gd/tests/imagefontheight_basic.phpt
ext/gd/tests/imagefontwidth_basic.phpt
ext/gd/tests/imagefttext.phpt
ext/gd/tests/imagegammacorrect_basic.phpt
ext/gd/tests/imagegammacorrect_variation1.phpt
ext/gd/tests/imageistruecolor_basic.phpt
ext/gd/tests/imagejpeg_nullbyte_injection.phpt
ext/gd/tests/imagelayereffect_basic.phpt
ext/gd/tests/imageloadfont_error2.phpt
ext/gd/tests/imageloadfont_invalid.phpt
ext/gd/tests/imagepng_nullbyte_injection.phpt
ext/gd/tests/imagepolygon_basic.phpt
ext/gd/tests/imagerotate_overflow.phpt
ext/gd/tests/imagesetbrush_basic.phpt
ext/gd/tests/imagesetthickness_basic.phpt
ext/gd/tests/imagestring_basic.phpt
ext/gd/tests/imagestringup_basic.phpt
ext/gd/tests/imagetruecolortopalette_basic.phpt
ext/gd/tests/imagetruecolortopalette_error3.phpt
ext/gd/tests/imagetruecolortopalette_error4.phpt
ext/gd/tests/imagettftext_charmap_order.phpt
ext/gd/tests/imagewbmp_nullbyte_injection.phpt
ext/gd/tests/imagewebp_nullbyte_injection.phpt
ext/gd/tests/jpeg2png.phpt
ext/gd/tests/jpg2gd-mb.phpt
ext/gd/tests/jpg2gd.phpt
ext/gd/tests/libgd00086.phpt
ext/gd/tests/libgd00086_extern.phpt
ext/gd/tests/libgd00094-mb.phpt
ext/gd/tests/libgd00094.phpt
ext/gd/tests/libgd00100.phpt
ext/gd/tests/libgd00101.phpt
ext/gd/tests/libgd00106.phpt
ext/gd/tests/libgd00186.phpt
ext/gd/tests/libgd00191.phpt
ext/gd/tests/png2gd.phpt
ext/gd/tests/pngcomp.phpt
ext/gd/tests/xbm2png.phpt
ext/gd/tests/xpm2gd.phpt
ext/gd/tests/xpm2jpg.phpt
ext/gd/tests/xpm2png.phpt
ext/gettext/tests/44938.phpt
ext/gettext/tests/bug66267.phpt
ext/gettext/tests/gettext_basic-enus.phpt
ext/gettext/tests/gettext_basic.phpt
ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt
ext/gettext/tests/gettext_ngettext.phpt
ext/gettext/tests/gettext_phpinfo.phpt
ext/gettext/tests/gettext_textdomain-retval.phpt
ext/gmp/tests/gmp_divexact.phpt
ext/gmp/tests/gmp_setbit_long.phpt
ext/iconv/tests/bug37176.phpt
ext/iconv/tests/bug37773.phpt
ext/iconv/tests/iconv002.phpt
ext/imap/tests/bug45705_1.phpt
ext/imap/tests/bug45705_2.phpt
ext/imap/tests/bug77153.phpt
ext/intl/tests/breakiter___construct.phpt
ext/intl/tests/breakiter_clone_basic.phpt
ext/intl/tests/breakiter_createCodePointInstance_basic.phpt
ext/intl/tests/breakiter_current_basic.phpt
ext/intl/tests/breakiter_factories_basic.phpt
ext/intl/tests/breakiter_first_basic.phpt
ext/intl/tests/breakiter_following_basic.phpt
ext/intl/tests/breakiter_getPartsIterator_basic.phpt
ext/intl/tests/breakiter_getPartsIterator_basic2.phpt
ext/intl/tests/breakiter_getPartsIterator_error.phpt
ext/intl/tests/breakiter_getPartsIterator_var1.phpt
ext/intl/tests/breakiter_getText_basic.phpt
ext/intl/tests/breakiter_isBoundary_basic.phpt
ext/intl/tests/breakiter_last_basic.phpt
ext/intl/tests/breakiter_next_basic.phpt
ext/intl/tests/breakiter_preceding_basic.phpt
ext/intl/tests/breakiter_preceding_basic2.phpt
ext/intl/tests/breakiter_previous_basic.phpt
ext/intl/tests/breakiter_setText_basic.phpt
ext/intl/tests/bug58756_MessageFormatter.phpt
ext/intl/tests/bug58756_MessageFormatter_variant2.phpt
ext/intl/tests/bug60192-compare.phpt
ext/intl/tests/bug60192-getlocale.phpt
ext/intl/tests/bug60192-getsortkey.phpt
ext/intl/tests/bug60192-sort.phpt
ext/intl/tests/bug60192-sortwithsortkeys.phpt
ext/intl/tests/bug62017.phpt
ext/intl/tests/bug62081.phpt
ext/intl/tests/bug62082.phpt
ext/intl/tests/bug62083.phpt
ext/intl/tests/bug62915-2.phpt
ext/intl/tests/bug62915.phpt
ext/intl/tests/bug74484_MessageFormatter.phpt
ext/intl/tests/calendar_add_basic.phpt
ext/intl/tests/calendar_add_error.phpt
ext/intl/tests/calendar_before_after_error.phpt
ext/intl/tests/calendar_clear_basic.phpt
ext/intl/tests/calendar_clear_error.phpt
ext/intl/tests/calendar_clear_variation1.phpt
ext/intl/tests/calendar_const_field_field_count.phpt
ext/intl/tests/calendar_createInstance_basic.phpt
ext/intl/tests/calendar_createInstance_error.phpt
ext/intl/tests/calendar_createInstance_variation1.phpt
ext/intl/tests/calendar_equals_before_after_basic.phpt
ext/intl/tests/calendar_equals_error.phpt
ext/intl/tests/calendar_fieldDifference_basic.phpt
ext/intl/tests/calendar_fieldDifference_error.phpt
ext/intl/tests/calendar_fromDateTime_basic.phpt
ext/intl/tests/calendar_fromDateTime_error.phpt
ext/intl/tests/calendar_getAvailableLocales_basic.phpt
ext/intl/tests/calendar_getDayOfWeekType_basic.phpt
ext/intl/tests/calendar_getDayOfWeekType_basic2.phpt
ext/intl/tests/calendar_getDayOfWeekType_error.phpt
ext/intl/tests/calendar_getErrorCode_error.phpt
ext/intl/tests/calendar_getErrorCode_getErrorMessage_basic.phpt
ext/intl/tests/calendar_getErrorMessage_error.phpt
ext/intl/tests/calendar_getFirstDayOfWeek_basic.phpt
ext/intl/tests/calendar_getFirstDayOfWeek_error.phpt
ext/intl/tests/calendar_getKeywordValuesForLocale_basic.phpt
ext/intl/tests/calendar_getLocale_basic.phpt
ext/intl/tests/calendar_getLocale_error.phpt
ext/intl/tests/calendar_getMinimalDaysInFirstWeek_basic.phpt
ext/intl/tests/calendar_getMinimalDaysInFirstWeek_error.phpt
ext/intl/tests/calendar_getNow_basic.phpt
ext/intl/tests/calendar_getSkipped_RepeatedWallTimeOption_error.phpt
ext/intl/tests/calendar_getTimeZone_basic.phpt
ext/intl/tests/calendar_getTimeZone_error.phpt
ext/intl/tests/calendar_getTime_basic.phpt
ext/intl/tests/calendar_getTime_error.phpt
ext/intl/tests/calendar_getType_basic.phpt
ext/intl/tests/calendar_getType_error.phpt
ext/intl/tests/calendar_getWeekendTransition_basic.phpt
ext/intl/tests/calendar_getWeekendTransition_error.phpt
ext/intl/tests/calendar_getXMaximum_basic.phpt
ext/intl/tests/calendar_getXMinimum_basic.phpt
ext/intl/tests/calendar_get_Least_Greatest_Minimum_Maximum_error.phpt
ext/intl/tests/calendar_get_basic.phpt
ext/intl/tests/calendar_get_getActualMaximum_Minumum_error.phpt
ext/intl/tests/calendar_get_getActualMaximum_Minumum_error2.phpt
ext/intl/tests/calendar_get_setRepeatedWallTimeOption_basic.phpt
ext/intl/tests/calendar_get_setSkippedWallTimeOption_basic.phpt
ext/intl/tests/calendar_inDaylightTime_basic.phpt
ext/intl/tests/calendar_inDaylightTime_error.phpt
ext/intl/tests/calendar_isEquivalentTo_basic.phpt
ext/intl/tests/calendar_isEquivalentTo_error.phpt
ext/intl/tests/calendar_isLenient_error.phpt
ext/intl/tests/calendar_isSet_basic.phpt
ext/intl/tests/calendar_isSet_error.phpt
ext/intl/tests/calendar_isWeekend_basic.phpt
ext/intl/tests/calendar_isWeekend_error.phpt
ext/intl/tests/calendar_is_set_lenient_basic.phpt
ext/intl/tests/calendar_roll_basic.phpt
ext/intl/tests/calendar_roll_error.phpt
ext/intl/tests/calendar_roll_variation1.phpt
ext/intl/tests/calendar_setFirstDayOfWeek_basic.phpt
ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt
ext/intl/tests/calendar_setLenient_error.phpt
ext/intl/tests/calendar_setMinimalDaysInFirstWeek_basic.phpt
ext/intl/tests/calendar_setMinimalDaysInFirstWeek_error.phpt
ext/intl/tests/calendar_setSkipped_RepeatedWallTimeOption_error.phpt
ext/intl/tests/calendar_setTimeZone_basic.phpt
ext/intl/tests/calendar_setTimeZone_error.phpt
ext/intl/tests/calendar_setTimeZone_error2.phpt
ext/intl/tests/calendar_setTimeZone_variation1.phpt
ext/intl/tests/calendar_setTimeZone_variation2.phpt
ext/intl/tests/calendar_setTime_basic.phpt
ext/intl/tests/calendar_setTime_error.phpt
ext/intl/tests/calendar_set_basic.phpt
ext/intl/tests/calendar_set_error.phpt
ext/intl/tests/calendar_set_variation1.phpt
ext/intl/tests/calendar_toDateTime_basic.phpt
ext/intl/tests/calendar_toDateTime_error.phpt
ext/intl/tests/cpbi_clone_equality.phpt
ext/intl/tests/cpbi_getLastCodePoint_basic.phpt
ext/intl/tests/cpbi_parts_iterator.phpt
ext/intl/tests/dateformat___construct_bad_tz_cal.phpt
ext/intl/tests/dateformat_formatObject_error.phpt
ext/intl/tests/dateformat_setTimeZone_error.phpt
ext/intl/tests/gregoriancalendar___construct_basic.phpt
ext/intl/tests/gregoriancalendar___construct_error.phpt
ext/intl/tests/gregoriancalendar___construct_variant1.phpt
ext/intl/tests/gregoriancalendar_getGregorianChange_error.phpt
ext/intl/tests/gregoriancalendar_get_setGregorianChange_basic.phpt
ext/intl/tests/gregoriancalendar_isLeapYear_basic.phpt
ext/intl/tests/gregoriancalendar_isLeapYear_error.phpt
ext/intl/tests/idn_uts46_basic.phpt
ext/intl/tests/idn_uts46_errors.phpt
ext/intl/tests/msgfmt_bug70484.phpt
ext/intl/tests/msgfmt_format_datetime.phpt
ext/intl/tests/msgfmt_format_error1.phpt
ext/intl/tests/msgfmt_format_error2.phpt
ext/intl/tests/msgfmt_format_error3.phpt
ext/intl/tests/msgfmt_format_error4.phpt
ext/intl/tests/msgfmt_format_error5.phpt
ext/intl/tests/msgfmt_format_error6.phpt
ext/intl/tests/msgfmt_format_mixed_params.phpt
ext/intl/tests/msgfmt_format_simple_types_numeric_strings.phpt
ext/intl/tests/msgfmt_format_subpatterns.phpt
ext/intl/tests/msgfmt_format_subpatterns_named.phpt
ext/intl/tests/msgfmt_millisecond_dates.phpt
ext/intl/tests/msgfmt_setPattern_cache.phpt
ext/intl/tests/rbbiter___construct_basic.phpt
ext/intl/tests/rbbiter_getRuleStatusVec_basic.phpt
ext/intl/tests/rbbiter_getRuleStatus_basic.phpt
ext/intl/tests/spoofchecker_007.phpt
ext/intl/tests/timezone_IDforWindowsID_basic.phpt
ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
ext/intl/tests/timezone_clone_basic.phpt
ext/intl/tests/timezone_clone_error.phpt
ext/intl/tests/timezone_countEquivalentIDs_basic.phpt
ext/intl/tests/timezone_countEquivalentIDs_error.phpt
ext/intl/tests/timezone_createDefault_basic.phpt
ext/intl/tests/timezone_createEnumeration_basic.phpt
ext/intl/tests/timezone_createEnumeration_error.phpt
ext/intl/tests/timezone_createEnumeration_variation1.phpt
ext/intl/tests/timezone_createEnumeration_variation2.phpt
ext/intl/tests/timezone_createTimeZoneIDEnumeration_basic.phpt
ext/intl/tests/timezone_createTimeZoneIDEnumeration_error.phpt
ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant1.phpt
ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt
ext/intl/tests/timezone_createTimeZone_basic.phpt
ext/intl/tests/timezone_createTimeZone_error.phpt
ext/intl/tests/timezone_equals_basic.phpt
ext/intl/tests/timezone_equals_error.phpt
ext/intl/tests/timezone_fromDateTimeZone_basic.phpt
ext/intl/tests/timezone_fromDateTimeZone_error.phpt
ext/intl/tests/timezone_getCanonicalID_basic.phpt
ext/intl/tests/timezone_getCanonicalID_error.phpt
ext/intl/tests/timezone_getDSTSavings_basic.phpt
ext/intl/tests/timezone_getDSTSavings_error.phpt
ext/intl/tests/timezone_getDisplayName_basic.phpt
ext/intl/tests/timezone_getDisplayName_error.phpt
ext/intl/tests/timezone_getDisplayName_variant1.phpt
ext/intl/tests/timezone_getEquivalentID_basic.phpt
ext/intl/tests/timezone_getEquivalentID_error.phpt
ext/intl/tests/timezone_getErrorCodeMessage_basic.phpt
ext/intl/tests/timezone_getErrorCode_error.phpt
ext/intl/tests/timezone_getErrorMessage_error.phpt
ext/intl/tests/timezone_getGMT_basic.phpt
ext/intl/tests/timezone_getID_error.phpt
ext/intl/tests/timezone_getOffset_basic.phpt
ext/intl/tests/timezone_getOffset_error.phpt
ext/intl/tests/timezone_getRawOffset_basic.phpt
ext/intl/tests/timezone_getRawOffset_error.phpt
ext/intl/tests/timezone_getRegion_basic.phpt
ext/intl/tests/timezone_getRegion_error.phpt
ext/intl/tests/timezone_getTZData_basic.phpt
ext/intl/tests/timezone_getUnknown_basic.phpt
ext/intl/tests/timezone_hasSameRules_basic.phpt
ext/intl/tests/timezone_hasSameRules_error.phpt
ext/intl/tests/timezone_toDateTimeZone_basic.phpt
ext/intl/tests/timezone_toDateTimeZone_error.phpt
ext/intl/tests/timezone_useDaylightTime_basic.phpt
ext/intl/tests/timezone_useDaylightTime_error.phpt
ext/intl/tests/timezone_windowsID_basic.phpt
ext/intl/tests/timezone_windowsID_basic2.phpt
ext/json/tests/bug41403.phpt
ext/json/tests/bug42785.phpt
ext/ldap/tests/ldap_exop_refresh.phpt
ext/ldap/tests/ldap_option_reqcert_basic.phpt
ext/ldap/tests/ldap_option_reqcert_error.phpt
ext/ldap/tests/ldap_sasl_bind_basic.phpt
ext/ldap/tests/ldap_set_option_crlcheck_basic.phpt
ext/ldap/tests/ldap_set_rebind_proc_error.phpt
ext/mbstring/tests/bug52681.phpt
ext/mbstring/tests/htmlent.phpt
ext/mbstring/tests/mb_send_mail01.phpt
ext/mbstring/tests/mb_send_mail02.phpt
ext/mbstring/tests/mb_send_mail03.phpt
ext/mbstring/tests/mb_send_mail04.phpt
ext/mbstring/tests/mb_send_mail05.phpt
ext/mbstring/tests/mb_send_mail06.phpt
ext/mbstring/tests/mb_send_mail07.phpt
ext/mysqli/tests/002.phpt
ext/mysqli/tests/003.phpt
ext/mysqli/tests/004.phpt
ext/mysqli/tests/005.phpt
ext/mysqli/tests/006.phpt
ext/mysqli/tests/007.phpt
ext/mysqli/tests/008.phpt
ext/mysqli/tests/009.phpt
ext/mysqli/tests/010.phpt
ext/mysqli/tests/011.phpt
ext/mysqli/tests/012.phpt
ext/mysqli/tests/013.phpt
ext/mysqli/tests/014.phpt
ext/mysqli/tests/015.phpt
ext/mysqli/tests/019.phpt
ext/mysqli/tests/020.phpt
ext/mysqli/tests/021.phpt
ext/mysqli/tests/022.phpt
ext/mysqli/tests/023.phpt
ext/mysqli/tests/024.phpt
ext/mysqli/tests/025.phpt
ext/mysqli/tests/026.phpt
ext/mysqli/tests/029.phpt
ext/mysqli/tests/032.phpt
ext/mysqli/tests/036.phpt
ext/mysqli/tests/037.phpt
ext/mysqli/tests/038.phpt
ext/mysqli/tests/040.phpt
ext/mysqli/tests/041.phpt
ext/mysqli/tests/042.phpt
ext/mysqli/tests/043.phpt
ext/mysqli/tests/045.phpt
ext/mysqli/tests/046.phpt
ext/mysqli/tests/047.phpt
ext/mysqli/tests/048.phpt
ext/mysqli/tests/057.phpt
ext/mysqli/tests/058.phpt
ext/mysqli/tests/059.phpt
ext/mysqli/tests/060.phpt
ext/mysqli/tests/061.phpt
ext/mysqli/tests/065.phpt
ext/mysqli/tests/066.phpt
ext/mysqli/tests/067.phpt
ext/mysqli/tests/bug32405.phpt
ext/mysqli/tests/bug34810.phpt
ext/mysqli/tests/bug35103.phpt
ext/mysqli/tests/bug35517.phpt
ext/mysqli/tests/bug36949.phpt
ext/mysqli/tests/bug37090.phpt
ext/mysqli/tests/bug42548.phpt
ext/mysqli/tests/bug44897.phpt
ext/mysqli/tests/bug45289.phpt
ext/mysqli/tests/bug46614.phpt
ext/mysqli/tests/bug47050.phpt
ext/mysqli/tests/bug48909.phpt
ext/mysqli/tests/bug49027.phpt
ext/mysqli/tests/bug49442.phpt
ext/mysqli/tests/bug51647.phpt
ext/mysqli/tests/bug52891.phpt
ext/mysqli/tests/bug53503.phpt
ext/mysqli/tests/bug55283.phpt
ext/mysqli/tests/bug67839.phpt
ext/mysqli/tests/bug68077.phpt
ext/mysqli/tests/bug69899.phpt
ext/mysqli/tests/bug70384.phpt
ext/mysqli/tests/bug70949.phpt
ext/mysqli/tests/bug71863.phpt
ext/mysqli/tests/bug72701.phpt
ext/mysqli/tests/bug76386.phpt
ext/mysqli/tests/bug77956.phpt
ext/mysqli/tests/gracefull_fail_on_empty_result_set.phpt
ext/mysqli/tests/mysqli_affected_rows.phpt
ext/mysqli/tests/mysqli_affected_rows_oo.phpt
ext/mysqli/tests/mysqli_auth_pam.phpt
ext/mysqli/tests/mysqli_autocommit.phpt
ext/mysqli/tests/mysqli_autocommit_oo.phpt
ext/mysqli/tests/mysqli_begin_transaction.phpt
ext/mysqli/tests/mysqli_change_user_insert_id.phpt
ext/mysqli/tests/mysqli_change_user_locks_temporary.phpt
ext/mysqli/tests/mysqli_change_user_new.phpt
ext/mysqli/tests/mysqli_change_user_old.phpt
ext/mysqli/tests/mysqli_change_user_oo.phpt
ext/mysqli/tests/mysqli_change_user_rollback.phpt
ext/mysqli/tests/mysqli_change_user_set_names.phpt
ext/mysqli/tests/mysqli_character_set.phpt
ext/mysqli/tests/mysqli_character_set_name_oo.phpt
ext/mysqli/tests/mysqli_class_mysqli_stmt_interface.phpt
ext/mysqli/tests/mysqli_class_mysqli_warning.phpt
ext/mysqli/tests/mysqli_commit.phpt
ext/mysqli/tests/mysqli_commit_oo.phpt
ext/mysqli/tests/mysqli_connect_attr.phpt
ext/mysqli/tests/mysqli_connect_oo_warnings.phpt
ext/mysqli/tests/mysqli_data_seek.phpt
ext/mysqli/tests/mysqli_data_seek_oo.phpt
ext/mysqli/tests/mysqli_debug.phpt
ext/mysqli/tests/mysqli_debug_append.phpt
ext/mysqli/tests/mysqli_debug_control_string.phpt
ext/mysqli/tests/mysqli_debug_ini.phpt
ext/mysqli/tests/mysqli_debug_mysqlnd_control_string.phpt
ext/mysqli/tests/mysqli_debug_mysqlnd_only.phpt
ext/mysqli/tests/mysqli_disable_reads_from_master.phpt
ext/mysqli/tests/mysqli_enable_reads_from_master.phpt
ext/mysqli/tests/mysqli_expire_password.phpt
ext/mysqli/tests/mysqli_explain_metadata.phpt
ext/mysqli/tests/mysqli_fetch_all.phpt
ext/mysqli/tests/mysqli_fetch_all_oo.phpt
ext/mysqli/tests/mysqli_fetch_array_assoc.phpt
ext/mysqli/tests/mysqli_fetch_array_many_rows.phpt
ext/mysqli/tests/mysqli_fetch_array_oo.phpt
ext/mysqli/tests/mysqli_fetch_assoc.phpt
ext/mysqli/tests/mysqli_fetch_assoc_bit.phpt
ext/mysqli/tests/mysqli_fetch_assoc_no_alias_utf8.phpt
ext/mysqli/tests/mysqli_fetch_assoc_oo.phpt
ext/mysqli/tests/mysqli_fetch_assoc_zerofill.phpt
ext/mysqli/tests/mysqli_fetch_field.phpt
ext/mysqli/tests/mysqli_fetch_field_direct.phpt
ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt
ext/mysqli/tests/mysqli_fetch_field_flags.phpt
ext/mysqli/tests/mysqli_fetch_field_oo.phpt
ext/mysqli/tests/mysqli_fetch_field_types.phpt
ext/mysqli/tests/mysqli_fetch_fields.phpt
ext/mysqli/tests/mysqli_fetch_lengths.phpt
ext/mysqli/tests/mysqli_fetch_lengths_oo.phpt
ext/mysqli/tests/mysqli_fetch_object.phpt
ext/mysqli/tests/mysqli_fetch_object_no_constructor.phpt
ext/mysqli/tests/mysqli_fetch_object_no_object.phpt
ext/mysqli/tests/mysqli_fetch_object_oo.phpt
ext/mysqli/tests/mysqli_fetch_row.phpt
ext/mysqli/tests/mysqli_field_count.phpt
ext/mysqli/tests/mysqli_field_seek.phpt
ext/mysqli/tests/mysqli_field_tell.phpt
ext/mysqli/tests/mysqli_fork.phpt
ext/mysqli/tests/mysqli_free_result.phpt
ext/mysqli/tests/mysqli_get_charset.phpt
ext/mysqli/tests/mysqli_get_client_stats.phpt
ext/mysqli/tests/mysqli_get_client_stats_implicit_free.phpt
ext/mysqli/tests/mysqli_get_client_stats_off.phpt
ext/mysqli/tests/mysqli_get_client_stats_ps.phpt
ext/mysqli/tests/mysqli_get_client_stats_skipped.phpt
ext/mysqli/tests/mysqli_get_connection_stats.phpt
ext/mysqli/tests/mysqli_get_connection_stats_off.phpt
ext/mysqli/tests/mysqli_get_host_info.phpt
ext/mysqli/tests/mysqli_get_server_info.phpt
ext/mysqli/tests/mysqli_get_warnings.phpt
ext/mysqli/tests/mysqli_insert_id.phpt
ext/mysqli/tests/mysqli_insert_id_variation.phpt
ext/mysqli/tests/mysqli_insert_packet_overflow.phpt
ext/mysqli/tests/mysqli_kill.phpt
ext/mysqli/tests/mysqli_last_insert_id.phpt
ext/mysqli/tests/mysqli_more_results.phpt
ext/mysqli/tests/mysqli_multi_query.phpt
ext/mysqli/tests/mysqli_mysqlnd_read_timeout.phpt
ext/mysqli/tests/mysqli_mysqlnd_read_timeout_long.phpt
ext/mysqli/tests/mysqli_mysqlnd_read_timeout_zero.phpt
ext/mysqli/tests/mysqli_next_result.phpt
ext/mysqli/tests/mysqli_num_fields.phpt
ext/mysqli/tests/mysqli_num_rows.phpt
ext/mysqli/tests/mysqli_options_init_command.phpt
ext/mysqli/tests/mysqli_options_int_and_float_native.phpt
ext/mysqli/tests/mysqli_pam_sha256.phpt
ext/mysqli/tests/mysqli_pam_sha256_public_key_ini.phpt
ext/mysqli/tests/mysqli_pam_sha256_public_key_option.phpt
ext/mysqli/tests/mysqli_pam_sha256_public_key_option_invalid.phpt
ext/mysqli/tests/mysqli_pconn_max_links.phpt
ext/mysqli/tests/mysqli_poll.phpt
ext/mysqli/tests/mysqli_poll_kill.phpt
ext/mysqli/tests/mysqli_poll_mixing_insert_select.phpt
ext/mysqli/tests/mysqli_poll_reference.phpt
ext/mysqli/tests/mysqli_prepare.phpt
ext/mysqli/tests/mysqli_query.phpt
ext/mysqli/tests/mysqli_query_iterators.phpt
ext/mysqli/tests/mysqli_query_stored_proc.phpt
ext/mysqli/tests/mysqli_query_unicode.phpt
ext/mysqli/tests/mysqli_real_connect_pconn.phpt
ext/mysqli/tests/mysqli_real_escape_string_big5.phpt
ext/mysqli/tests/mysqli_real_escape_string_eucjpms.phpt
ext/mysqli/tests/mysqli_real_escape_string_euckr.phpt
ext/mysqli/tests/mysqli_real_escape_string_gb2312.phpt
ext/mysqli/tests/mysqli_real_escape_string_gbk.phpt
ext/mysqli/tests/mysqli_real_escape_string_sjis.phpt
ext/mysqli/tests/mysqli_real_escape_string_unicode.phpt
ext/mysqli/tests/mysqli_real_query.phpt
ext/mysqli/tests/mysqli_reap_async_query.phpt
ext/mysqli/tests/mysqli_reconnect.phpt
ext/mysqli/tests/mysqli_release_savepoint.phpt
ext/mysqli/tests/mysqli_report.phpt
ext/mysqli/tests/mysqli_report_new.phpt
ext/mysqli/tests/mysqli_report_wo_ps.phpt
ext/mysqli/tests/mysqli_result_invalid_mode.phpt
ext/mysqli/tests/mysqli_result_references.phpt
ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt
ext/mysqli/tests/mysqli_rollback.phpt
ext/mysqli/tests/mysqli_savepoint.phpt
ext/mysqli/tests/mysqli_send_query.phpt
ext/mysqli/tests/mysqli_set_charset.phpt
ext/mysqli/tests/mysqli_sqlstate.phpt
ext/mysqli/tests/mysqli_ssl_set.phpt
ext/mysqli/tests/mysqli_stmt_affected_rows.phpt
ext/mysqli/tests/mysqli_stmt_attr_get.phpt
ext/mysqli/tests/mysqli_stmt_attr_get_prefetch.phpt
ext/mysqli/tests/mysqli_stmt_attr_set.phpt
ext/mysqli/tests/mysqli_stmt_big_prepare.phpt
ext/mysqli/tests/mysqli_stmt_bind_param.phpt
ext/mysqli/tests/mysqli_stmt_bind_param_call_user_func.phpt
ext/mysqli/tests/mysqli_stmt_bind_param_check_param_no_change.phpt
ext/mysqli/tests/mysqli_stmt_bind_param_references.phpt
ext/mysqli/tests/mysqli_stmt_bind_param_type_juggling.phpt
ext/mysqli/tests/mysqli_stmt_bind_result.phpt
ext/mysqli/tests/mysqli_stmt_bind_result_bit.phpt
ext/mysqli/tests/mysqli_stmt_bind_result_references.phpt
ext/mysqli/tests/mysqli_stmt_bind_result_zerofill.phpt
ext/mysqli/tests/mysqli_stmt_close.phpt
ext/mysqli/tests/mysqli_stmt_data_seek.phpt
ext/mysqli/tests/mysqli_stmt_datatype_change.phpt
ext/mysqli/tests/mysqli_stmt_errno.phpt
ext/mysqli/tests/mysqli_stmt_error.phpt
ext/mysqli/tests/mysqli_stmt_execute.phpt
ext/mysqli/tests/mysqli_stmt_execute_stored_proc.phpt
ext/mysqli/tests/mysqli_stmt_execute_stored_proc_next_result.phpt
ext/mysqli/tests/mysqli_stmt_execute_stored_proc_out.phpt
ext/mysqli/tests/mysqli_stmt_fetch.phpt
ext/mysqli/tests/mysqli_stmt_fetch_bit.phpt
ext/mysqli/tests/mysqli_stmt_fetch_fields_win32_unicode.phpt
ext/mysqli/tests/mysqli_stmt_fetch_geom.phpt
ext/mysqli/tests/mysqli_stmt_field_count.phpt
ext/mysqli/tests/mysqli_stmt_free_result.phpt
ext/mysqli/tests/mysqli_stmt_get_result.phpt
ext/mysqli/tests/mysqli_stmt_get_result2.phpt
ext/mysqli/tests/mysqli_stmt_get_result_bit.phpt
ext/mysqli/tests/mysqli_stmt_get_result_field_count.phpt
ext/mysqli/tests/mysqli_stmt_get_result_geom.phpt
ext/mysqli/tests/mysqli_stmt_get_result_metadata.phpt
ext/mysqli/tests/mysqli_stmt_get_result_metadata_fetch_field.phpt
ext/mysqli/tests/mysqli_stmt_get_result_non_select.phpt
ext/mysqli/tests/mysqli_stmt_get_result_seek.phpt
ext/mysqli/tests/mysqli_stmt_get_result_types.phpt
ext/mysqli/tests/mysqli_stmt_get_warnings.phpt
ext/mysqli/tests/mysqli_stmt_init.phpt
ext/mysqli/tests/mysqli_stmt_insert_id.phpt
ext/mysqli/tests/mysqli_stmt_multires.phpt
ext/mysqli/tests/mysqli_stmt_num_rows.phpt
ext/mysqli/tests/mysqli_stmt_param_count.phpt
ext/mysqli/tests/mysqli_stmt_prepare.phpt
ext/mysqli/tests/mysqli_stmt_reset.phpt
ext/mysqli/tests/mysqli_stmt_result_metadata.phpt
ext/mysqli/tests/mysqli_stmt_result_metadata_sqltests.phpt
ext/mysqli/tests/mysqli_stmt_send_long_data.phpt
ext/mysqli/tests/mysqli_stmt_send_long_data_packet_size_libmysql.phpt
ext/mysqli/tests/mysqli_stmt_send_long_data_packet_size_mysqlnd.phpt
ext/mysqli/tests/mysqli_stmt_sqlstate.phpt
ext/mysqli/tests/mysqli_stmt_store_result.phpt
ext/mysqli/tests/mysqli_store_result.phpt
ext/mysqli/tests/mysqli_thread_id.phpt
ext/mysqli/tests/mysqli_use_result.phpt
ext/mysqli/tests/mysqli_warning_count.phpt
ext/mysqli/tests/mysqli_warning_unclonable.phpt
ext/oci8/tests/conn_attr_1.phpt
ext/oci8/tests/conn_attr_2.phpt
ext/oci8/tests/conn_attr_3.phpt
ext/oci8/tests/conn_attr_5.phpt
ext/oci8/tests/connect_without_oracle_home.phpt
ext/oci8/tests/connect_without_oracle_home_11.phpt
ext/oci8/tests/edition_1.phpt
ext/oci8/tests/edition_2.phpt
ext/oci8/tests/password_new.phpt
ext/oci8/tests/pecl_bug16035.phpt
ext/oci8/tests/refcur_prefetch_1.phpt
ext/oci8/tests/refcur_prefetch_2.phpt
ext/oci8/tests/refcur_prefetch_3.phpt
ext/oci8/tests/refcur_prefetch_4.phpt
ext/odbc/tests/bug60616.phpt
ext/odbc/tests/odbc_data_source_001.phpt
ext/odbc/tests/odbc_exec_001.phpt
ext/opcache/tests/bug78185.phpt
ext/openssl/tests/openssl_decrypt_ccm.phpt
ext/openssl/tests/openssl_decrypt_gcm.phpt
ext/openssl/tests/openssl_encrypt_gcm.phpt
ext/openssl/tests/openssl_error_string_basic.phpt
ext/openssl/tests/openssl_pkcs12_export_to_file_basic.phpt
ext/openssl/tests/openssl_pkcs12_export_to_file_error.phpt
ext/pcntl/tests/001.phpt
ext/pcntl/tests/002.phpt
ext/pcntl/tests/003.phpt
ext/pcntl/tests/async_signals.phpt
ext/pcntl/tests/bug73783.phpt
ext/pcntl/tests/pcntl_fork_basic.phpt
ext/pcntl/tests/pcntl_fork_variation.phpt
ext/pcntl/tests/pcntl_get_last_error.phpt
ext/pcntl/tests/pcntl_signal_dispatch.phpt
ext/pcntl/tests/signal_closure_handler.phpt
ext/pcre/tests/007.phpt
ext/pcre/tests/backtrack_limit.phpt
ext/pcre/tests/bug27103.phpt
ext/pcre/tests/bug72463.phpt
ext/pcre/tests/bug72463_2.phpt
ext/pcre/tests/bug76850.phpt
ext/pcre/tests/bug76909.phpt
ext/pcre/tests/bug77193.phpt
ext/pcre/tests/check_jit_enabled.phpt
ext/pcre/tests/errors04.phpt
ext/pcre/tests/errors05.phpt
ext/pcre/tests/invalid_utf8.phpt
ext/pcre/tests/invalid_utf8_offset.phpt
ext/pcre/tests/pcre_anchored.phpt
ext/pcre/tests/preg_match_error3.phpt
ext/pcre/tests/preg_replace2.phpt
ext/pcre/tests/recursion_limit.phpt
ext/pdo/tests/bug_44159.phpt
ext/pdo/tests/bug_44861.phpt
ext/pdo/tests/bug_47769.phpt
ext/pdo/tests/pdo_017.phpt
ext/pdo/tests/pdo_dsn_containing_credentials.phpt
ext/pdo_mysql/tests/bug_39858.phpt
ext/pdo_mysql/tests/bug_41125.phpt
ext/pdo_mysql/tests/bug_41997.phpt
ext/pdo_mysql/tests/bug_42499.phpt
ext/pdo_mysql/tests/bug_44707.phpt
ext/pdo_mysql/tests/bug_61411.phpt
ext/pdo_mysql/tests/bug_pecl_7976.phpt
ext/pdo_mysql/tests/pdo_mysql___construct_ini.phpt
ext/pdo_mysql/tests/pdo_mysql___construct_options_libmysql.phpt
ext/pdo_mysql/tests/pdo_mysql_attr_max_buffer_size.phpt
ext/pdo_mysql/tests/pdo_mysql_begintransaction.phpt
ext/pdo_mysql/tests/pdo_mysql_bit.phpt
ext/pdo_mysql/tests/pdo_mysql_class_constants.phpt
ext/pdo_mysql/tests/pdo_mysql_commit.phpt
ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt
ext/pdo_mysql/tests/pdo_mysql_get_attribute.phpt
ext/pdo_mysql/tests/pdo_mysql_interface.phpt
ext/pdo_mysql/tests/pdo_mysql_local_infile_default_off.phpt
ext/pdo_mysql/tests/pdo_mysql_local_infile_set_on.phpt
ext/pdo_mysql/tests/pdo_mysql_multi_stmt_nextrowset.phpt
ext/pdo_mysql/tests/pdo_mysql_prepare_load_data.phpt
ext/pdo_mysql/tests/pdo_mysql_rollback.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_blobfromsteam.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_fetchobject.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_getcolumnmeta.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_nextrowset.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_unbuffered_2050.phpt
ext/pdo_mysql/tests/pdo_mysql_stmt_variable_columncount.phpt
ext/pdo_odbc/tests/common.phpt
ext/pdo_pgsql/tests/bug62479.phpt
ext/pdo_pgsql/tests/bug68199.phpt
ext/pdo_pgsql/tests/bug69362.phpt
ext/pdo_sqlite/tests/pdo_sqlite_open_flags.phpt
ext/phar/tests/024-opcache-win32.phpt
ext/phar/tests/bug77022.phpt
ext/phar/tests/bug79082.phpt
ext/phar/tests/phar_buildfromdirectory2-win.phpt
ext/phar/tests/phar_buildfromdirectory2.phpt
ext/posix/tests/posix_ctermid.phpt
ext/posix/tests/posix_getgrgid_basic.phpt
ext/posix/tests/posix_getgrgid_error.phpt
ext/posix/tests/posix_getgrnam_basic.phpt
ext/posix/tests/posix_getgroups_basic.phpt
ext/posix/tests/posix_getpgid_basic.phpt
ext/posix/tests/posix_getpgid_error.phpt
ext/posix/tests/posix_getpgrp_basic.phpt
ext/posix/tests/posix_getpid_basic.phpt
ext/posix/tests/posix_getppid_basic.phpt
ext/posix/tests/posix_getpwnam_basic_01.phpt
ext/posix/tests/posix_getpwuid_basic.phpt
ext/posix/tests/posix_getpwuid_error.phpt
ext/posix/tests/posix_getsid.phpt
ext/posix/tests/posix_getsid_basic.phpt
ext/posix/tests/posix_getsid_error.phpt
ext/posix/tests/posix_kill_error.phpt
ext/posix/tests/posix_strerror_error.phpt
ext/posix/tests/posix_times.phpt
ext/posix/tests/posix_times_basic.phpt
ext/posix/tests/posix_ttyname.phpt
ext/posix/tests/posix_ttyname_error_wrongparams.phpt
ext/posix/tests/posix_uname_basic.phpt
ext/pspell/tests/001.phpt
ext/readline/tests/libedit_info_001-win32.phpt
ext/readline/tests/libedit_info_001.phpt
ext/readline/tests/libedit_write_history_001-win32.phpt
ext/readline/tests/libedit_write_history_001.phpt
ext/reflection/tests/ReflectionClass_getStaticPropertyValue_001.phpt
ext/reflection/tests/ReflectionClass_setStaticPropertyValue_001.phpt
ext/session/tests/bug42596.phpt
ext/session/tests/session_save_path_variation5.phpt
ext/shmop/tests/001.phpt
ext/shmop/tests/002.phpt
ext/simplexml/tests/011.phpt
ext/simplexml/tests/012.phpt
ext/simplexml/tests/013.phpt
ext/skeleton/tests/001.phpt
ext/skeleton/tests/002.phpt
ext/skeleton/tests/003.phpt
ext/snmp/tests/bug64124.phpt
ext/snmp/tests/ipv6.phpt
ext/soap/tests/bug73037.phpt
ext/soap/tests/bug77088.phpt
ext/soap/tests/custom_content_type.phpt
ext/soap/tests/schema/schema064.phpt
ext/soap/tests/server009.phpt
ext/soap/tests/server019.phpt
ext/soap/tests/server020.phpt
ext/soap/tests/server029.phpt
ext/sockets/tests/bug51958.phpt
ext/sockets/tests/ipv4loop.phpt
ext/sockets/tests/ipv6loop.phpt
ext/sockets/tests/mcast_ipv4_recv.phpt
ext/sockets/tests/mcast_ipv4_send.phpt
ext/sockets/tests/mcast_ipv4_send_error.phpt
ext/sockets/tests/mcast_ipv6_recv.phpt
ext/sockets/tests/mcast_ipv6_recv_limited.phpt
ext/sockets/tests/mcast_ipv6_send.phpt
ext/sockets/tests/socket_abstract_path.phpt
ext/sockets/tests/socket_abstract_path_sendmsg.phpt
ext/sockets/tests/socket_clear_error-win32.phpt
ext/sockets/tests/socket_clear_error.phpt
ext/sockets/tests/socket_create_listen-win32.phpt
ext/sockets/tests/socket_create_listen.phpt
ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt
ext/sockets/tests/socket_create_pair-wrongparams.phpt
ext/sockets/tests/socket_export_stream-1.phpt
ext/sockets/tests/socket_export_stream-2.phpt
ext/sockets/tests/socket_export_stream-3.phpt
ext/sockets/tests/socket_export_stream-4-win.phpt
ext/sockets/tests/socket_export_stream-4.phpt
ext/sockets/tests/socket_export_stream-5.phpt
ext/sockets/tests/socket_getpeername_ipv6loop.phpt
ext/sockets/tests/socket_import_stream-1.phpt
ext/sockets/tests/socket_import_stream-2.phpt
ext/sockets/tests/socket_import_stream-3.phpt
ext/sockets/tests/socket_import_stream-4-win.phpt
ext/sockets/tests/socket_import_stream-4.phpt
ext/sockets/tests/socket_import_stream-5.phpt
ext/sockets/tests/socket_listen-wrongparams.phpt
ext/sockets/tests/socket_select-wrongparams-1-win32.phpt
ext/sockets/tests/socket_select-wrongparams-1.phpt
ext/sockets/tests/socket_sendrecvmsg_multi_msg-unix.phpt
ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt
ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt
ext/sockets/tests/socket_sentto_recvfrom_ipv6_udp.phpt
ext/sockets/tests/socket_sentto_recvfrom_unix.phpt
ext/sockets/tests/socket_set_option_bindtodevice.phpt
ext/sockets/tests/socket_shutdown-win32.phpt
ext/sockets/tests/socket_shutdown.phpt
ext/sockets/tests/unixloop.phpt
ext/sockets/tests/wsaprotocol_info_0.phpt
ext/spl/tests/bug65006.phpt
ext/sqlite3/tests/sqlite3_11_numrows.phpt
ext/sqlite3/tests/sqlite3_15_open_error-win.phpt
ext/sqlite3/tests/sqlite3_15_open_error.phpt
ext/sqlite3/tests/sqlite3_22_loadextension.phpt
ext/sqlite3/tests/sqlite3_33_load_extension_param.phpt
ext/sqlite3/tests/sqlite3_34_load_extension_ext_dir.phpt
ext/sqlite3/tests/sqlite3_defensive.phpt
ext/sqlite3/tests/sqlite3stmt_getsql_expanded.phpt
ext/standard/tests/dir/opendir_variation5.phpt
ext/standard/tests/dir/scandir_variation5.phpt
ext/standard/tests/file/bug41874_1.phpt
ext/standard/tests/file/bug41874_2.phpt
ext/standard/tests/file/bug41874_3.phpt
ext/standard/tests/file/bug47517.phpt
ext/standard/tests/file/bug47767.phpt
ext/standard/tests/file/bug60120.phpt
ext/standard/tests/file/chroot_001.phpt
ext/standard/tests/file/file_get_contents_error001.phpt
ext/standard/tests/file/fopen_variation10-win32.phpt
ext/standard/tests/file/fopen_variation11-win32.phpt
ext/standard/tests/file/fscanf_variation3.phpt
ext/standard/tests/file/fscanf_variation33.phpt
ext/standard/tests/file/fscanf_variation34.phpt
ext/standard/tests/file/fscanf_variation39.phpt
ext/standard/tests/file/fscanf_variation40.phpt
ext/standard/tests/file/fscanf_variation55.phpt
ext/standard/tests/file/fscanf_variation9.phpt
ext/standard/tests/file/link_win32.phpt
ext/standard/tests/file/mkdir-004.phpt
ext/standard/tests/file/mkdir-005.phpt
ext/standard/tests/file/tempnam_variation3-win32.phpt
ext/standard/tests/file/windows_links/bug48746_3.phpt
ext/standard/tests/file/windows_links/common.inc
ext/standard/tests/file/windows_mb_path/bug75063_utf8.phpt
ext/standard/tests/file/windows_mb_path/test_long_path_mkdir.phpt
ext/standard/tests/filters/bug74267.phpt
ext/standard/tests/general_functions/bug41518.phpt
ext/standard/tests/general_functions/dl-check-enabled.phpt
ext/standard/tests/general_functions/dl-cve-2007-4887.phpt
ext/standard/tests/general_functions/dl-full-path-not-supported.phpt
ext/standard/tests/general_functions/proc_nice_basic-win.phpt
ext/standard/tests/general_functions/proc_nice_variation5.phpt
ext/standard/tests/general_functions/proc_open_sockets1.phpt
ext/standard/tests/general_functions/proc_open_sockets2.phpt
ext/standard/tests/general_functions/proc_open_sockets3.phpt
ext/standard/tests/general_functions/putenv_bug75574_cp936_win.phpt
ext/standard/tests/image/getimagesize.phpt
ext/standard/tests/image/getimagesize_246x247.phpt
ext/standard/tests/image/getimagesize_384x385.phpt
ext/standard/tests/image/getimagesize_swc.phpt
ext/standard/tests/image/getimagesize_variation4.phpt
ext/standard/tests/image/getimagesize_variation_005.phpt
ext/standard/tests/image/image_type_to_mime_type.phpt
ext/standard/tests/image/image_type_to_mime_type_variation4.phpt
ext/standard/tests/math/bug25665.phpt
ext/standard/tests/network/inet_ipv6.phpt
ext/standard/tests/network/shutdown.phpt
ext/standard/tests/network/tcp6loop.phpt
ext/standard/tests/network/udgloop.phpt
ext/standard/tests/network/udp6loop.phpt
ext/standard/tests/network/unixloop.phpt
ext/standard/tests/serialize/bug26762.phpt
ext/standard/tests/serialize/bug30234.phpt
ext/standard/tests/serialize/precision.phpt
ext/standard/tests/streams/bug61371-unix.phpt
ext/standard/tests/streams/bug64433.phpt
ext/standard/tests/streams/proc_open_bug51800.phpt
ext/standard/tests/strings/bug65769.phpt
ext/standard/tests/strings/bug72663_2.phpt
ext/standard/tests/strings/htmlentities02.phpt
ext/standard/tests/strings/htmlentities03.phpt
ext/standard/tests/strings/htmlentities05.phpt
ext/standard/tests/strings/htmlentities06.phpt
ext/standard/tests/strings/htmlentities07.phpt
ext/standard/tests/strings/htmlentities08.phpt
ext/standard/tests/strings/htmlentities09.phpt
ext/standard/tests/strings/htmlentities16.phpt
ext/standard/tests/strings/htmlentities25.phpt
ext/standard/tests/strings/pack.phpt
ext/standard/tests/strings/pack64.phpt
ext/standard/tests/strings/pack64_32.phpt
ext/standard/tests/strings/printf_basic7.phpt
ext/standard/tests/strings/printf_basic8.phpt
ext/standard/tests/strings/sprintf_basic7.phpt
ext/standard/tests/strings/sprintf_basic8.phpt
ext/standard/tests/strings/sprintf_variation28.phpt
ext/standard/tests/strings/sprintf_variation34.phpt
ext/standard/tests/strings/sprintf_variation40.phpt
ext/standard/tests/strings/sscanf_basic6.phpt
ext/standard/tests/time/001.phpt
ext/standard/tests/time/strptime_error.phpt
ext/sysvsem/tests/nowait.phpt
ext/sysvsem/tests/sysv.phpt
ext/xml/tests/bug32001.phpt
ext/xml/tests/xml007.phpt
ext/xml/tests/xml_parse_into_struct_variation.phpt
ext/xml/tests/xml_parser_set_option_basic.phpt
ext/xml/tests/xml_parser_set_option_variation3.phpt
ext/xml/tests/xml_set_notation_decl_handler_basic.phpt
ext/xml/tests/xml_set_processing_instruction_handler_basic.phpt
ext/xml/tests/xml_set_start_namespace_decl_handler_basic.phpt
ext/xmlwriter/tests/bug79029.phpt
ext/xsl/tests/xsl-phpinfo.phpt
ext/xsl/tests/xslt008-mb.phpt
ext/xsl/tests/xslt008.phpt
ext/xsl/tests/xslt009.phpt
ext/zend_test/tests/observer_generator_04.phpt
ext/zip/tests/bug51353.phpt
ext/zip/tests/bug64342_0.phpt
ext/zlib/tests/bug55544-win.phpt
ext/zlib/tests/bug55544.phpt
ext/zlib/tests/bug61139.phpt
ext/zlib/tests/gzclose_basic.phpt
ext/zlib/tests/gzcompress_basic1.phpt
ext/zlib/tests/gzcompress_error1.phpt
ext/zlib/tests/gzcompress_variation1.phpt
ext/zlib/tests/gzdeflate_basic1.phpt
ext/zlib/tests/gzdeflate_error1.phpt
ext/zlib/tests/gzdeflate_variation1.phpt
ext/zlib/tests/gzencode_basic1.phpt
ext/zlib/tests/gzencode_error1.phpt
ext/zlib/tests/gzencode_variation1-win32.phpt
ext/zlib/tests/gzencode_variation1.phpt
ext/zlib/tests/gzencode_variation2-win32.phpt
ext/zlib/tests/gzencode_variation2.phpt
ext/zlib/tests/gzeof_basic.phpt
ext/zlib/tests/gzeof_variation1.phpt
ext/zlib/tests/gzfile_variation15.phpt
ext/zlib/tests/gzgetc_basic.phpt
ext/zlib/tests/gzgetc_basic_1.phpt
ext/zlib/tests/gzgets_basic.phpt
ext/zlib/tests/gzinflate_error1.phpt
ext/zlib/tests/gzopen_basic.phpt
ext/zlib/tests/gzopen_basic2.phpt
ext/zlib/tests/gzopen_variation4.phpt
ext/zlib/tests/gzopen_variation5.phpt
ext/zlib/tests/gzopen_variation6.phpt
ext/zlib/tests/gzopen_variation7.phpt
ext/zlib/tests/gzopen_variation8.phpt
ext/zlib/tests/gzopen_variation9.phpt
ext/zlib/tests/gzpassthru_basic.phpt
ext/zlib/tests/gzputs_basic.phpt
ext/zlib/tests/gzread_basic.phpt
ext/zlib/tests/gzread_error2.phpt
ext/zlib/tests/gzread_variation1.phpt
ext/zlib/tests/gzrewind_basic.phpt
ext/zlib/tests/gzrewind_basic2.phpt
ext/zlib/tests/gzrewind_variation1.phpt
ext/zlib/tests/gzseek_basic.phpt
ext/zlib/tests/gzseek_basic2.phpt
ext/zlib/tests/gzseek_variation1.phpt
ext/zlib/tests/gzseek_variation2.phpt
ext/zlib/tests/gzseek_variation3.phpt
ext/zlib/tests/gzseek_variation4.phpt
ext/zlib/tests/gzseek_variation5.phpt
ext/zlib/tests/gzseek_variation6.phpt
ext/zlib/tests/gzseek_variation7.phpt
ext/zlib/tests/gztell_basic.phpt
ext/zlib/tests/gztell_basic2.phpt
ext/zlib/tests/gzuncompress_basic1.phpt
ext/zlib/tests/gzuncompress_error1.phpt
ext/zlib/tests/gzwrite_basic.phpt
ext/zlib/tests/gzwrite_error2.phpt
ext/zlib/tests/gzwrite_variation1.phpt
ext/zlib/tests/readgzfile_variation15.phpt
ext/zlib/tests/zlib_scheme_copy_basic.phpt
ext/zlib/tests/zlib_scheme_copy_variation1.phpt
ext/zlib/tests/zlib_scheme_copy_variation2.phpt
ext/zlib/tests/zlib_scheme_dir_basic.phpt
ext/zlib/tests/zlib_scheme_file_basic.phpt
ext/zlib/tests/zlib_scheme_file_get_contents_basic.phpt
ext/zlib/tests/zlib_scheme_file_put_contents_basic.phpt
ext/zlib/tests/zlib_scheme_file_read_file_basic.phpt
ext/zlib/tests/zlib_scheme_fopen_basic.phpt
ext/zlib/tests/zlib_scheme_fopen_variation1.phpt
ext/zlib/tests/zlib_scheme_rename_basic.phpt
ext/zlib/tests/zlib_scheme_stat_basic.phpt
ext/zlib/tests/zlib_scheme_stat_basic2.phpt
ext/zlib/tests/zlib_scheme_unlink_basic.phpt
ext/zlib/tests/zlib_wrapper_fflush_basic.phpt
ext/zlib/tests/zlib_wrapper_flock_basic.phpt
ext/zlib/tests/zlib_wrapper_fstat_basic.phpt
ext/zlib/tests/zlib_wrapper_ftruncate_basic.phpt
ext/zlib/tests/zlib_wrapper_meta_data_basic.phpt
sapi/cgi/tests/003.phpt
sapi/cgi/tests/005-win32.phpt
sapi/cgi/tests/005.phpt
sapi/cli/tests/002-unix.phpt
sapi/cli/tests/003-2.phpt
sapi/cli/tests/003.phpt
sapi/cli/tests/006.phpt
sapi/cli/tests/007.phpt
sapi/cli/tests/008.phpt
sapi/cli/tests/010-2.phpt
sapi/cli/tests/010.phpt
sapi/cli/tests/013.phpt
sapi/cli/tests/015.phpt
sapi/cli/tests/016.phpt
sapi/cli/tests/017.phpt
sapi/cli/tests/018.phpt
sapi/cli/tests/019.phpt
sapi/cli/tests/020.phpt
sapi/cli/tests/021.phpt
sapi/cli/tests/argv_mb_bug77111.phpt
sapi/cli/tests/bug44564.phpt
sapi/cli/tests/bug64529.phpt
sapi/cli/tests/bug64544.phpt
sapi/cli/tests/bug65275.inc
sapi/cli/tests/upload_2G.phpt
tests/classes/autoload_001.phpt
tests/classes/autoload_002.phpt
tests/classes/autoload_003.phpt
tests/classes/autoload_004.phpt
tests/classes/autoload_005.phpt
tests/classes/autoload_006.phpt
tests/lang/034.phpt
tests/lang/bug30638.phpt
tests/output/sapi_windows_vt100_support_winko_err.phpt
tests/output/sapi_windows_vt100_support_winko_in-err.phpt
tests/output/sapi_windows_vt100_support_winko_in-out-err.phpt
tests/output/sapi_windows_vt100_support_winko_in-out.phpt
tests/output/sapi_windows_vt100_support_winko_out-err.phpt
tests/output/sapi_windows_vt100_support_winko_out.phpt
tests/output/sapi_windows_vt100_support_winok_err.phpt
tests/output/sapi_windows_vt100_support_winok_in-err.phpt
tests/output/sapi_windows_vt100_support_winok_in-out-err.phpt
tests/output/sapi_windows_vt100_support_winok_in-out.phpt
tests/output/sapi_windows_vt100_support_winok_out-err.phpt
tests/output/sapi_windows_vt100_support_winok_out.phpt
tests/output/stream_isatty_err.phpt
tests/output/stream_isatty_in-err.phpt
tests/output/stream_isatty_in-out-err.phpt
tests/output/stream_isatty_in-out.phpt
tests/output/stream_isatty_out-err.phpt
tests/output/stream_isatty_out.phpt
tests/run-test/bug75042.phpt
tests/security/open_basedir_001.phpt

index 7de2210460e52b1d46c63cdcfd281e4d48f78cec..518c890ef2c4a4ca98bf59e948631b57e4223fc3 100644 (file)
@@ -41,8 +41,8 @@ $sources = [
 ];
 
 foreach ($sources as $r) {
-       $attr = $r->getAttributes();
-       var_dump(get_class($r), count($attr));
+    $attr = $r->getAttributes();
+    var_dump(get_class($r), count($attr));
 
     foreach ($attr as $a) {
         var_dump($a->getName(), $a->getArguments());
index 0177804dcc85a7b68b01cb38f65fe17435169bb8..854edf3d63c154f2f9347592651dd27820b974d2 100644 (file)
@@ -8,7 +8,7 @@ define('V1', strtoupper(php_sapi_name()));
 #[A1([V1 => V1])]
 class C1
 {
-       public const BAR = 'bar';
+    public const BAR = 'bar';
 }
 
 $ref = new \ReflectionClass(C1::class);
@@ -38,7 +38,7 @@ echo "\n";
 #[A1(self::FOO, C1::BAR)]
 class C3
 {
-       private const FOO = 'foo';
+    private const FOO = 'foo';
 }
 
 $ref = new \ReflectionClass(C3::class);
@@ -62,7 +62,7 @@ echo "\n";
 #[Attribute]
 class C5
 {
-       public function __construct() { }
+    public function __construct() { }
 }
 
 $ref = new \ReflectionFunction(#[C5(MissingClass::SOME_CONST)] function () { });
@@ -70,15 +70,15 @@ $attr = $ref->getAttributes();
 var_dump(count($attr));
 
 try {
-       $attr[0]->getArguments();
+    $attr[0]->getArguments();
 } catch (\Error $e) {
-       var_dump($e->getMessage());
+    var_dump($e->getMessage());
 }
 
 try {
-       $attr[0]->newInstance();
+    $attr[0]->newInstance();
 } catch (\Error $e) {
-       var_dump($e->getMessage());
+    var_dump($e->getMessage());
 }
 
 ?>
index 206d89fa10ab77c015a9856f9fbe713d9c56bafe..62b14181efd2e29681bfcd24667aa5b6f40c9122 100644 (file)
@@ -6,22 +6,22 @@ Attributes can be converted into objects.
 #[Attribute(Attribute::TARGET_FUNCTION)]
 class A1
 {
-       public string $name;
-       public int $ttl;
-
-       public function __construct(string $name, int $ttl = 50)
-       {
-               $this->name = $name;
-               $this->ttl = $ttl;
-       }
+    public string $name;
+    public int $ttl;
+
+    public function __construct(string $name, int $ttl = 50)
+    {
+        $this->name = $name;
+        $this->ttl = $ttl;
+    }
 }
 
 $ref = new \ReflectionFunction(#[A1('test')] function () { });
 
 foreach ($ref->getAttributes() as $attr) {
-       $obj = $attr->newInstance();
+    $obj = $attr->newInstance();
 
-       var_dump(get_class($obj), $obj->name, $obj->ttl);
+    var_dump(get_class($obj), $obj->name, $obj->ttl);
 }
 
 echo "\n";
@@ -29,9 +29,9 @@ echo "\n";
 $ref = new \ReflectionFunction(#[A1] function () { });
 
 try {
-       $ref->getAttributes()[0]->newInstance();
+    $ref->getAttributes()[0]->newInstance();
 } catch (\ArgumentCountError $e) {
-       var_dump('ERROR 1', $e->getMessage());
+    var_dump('ERROR 1', $e->getMessage());
 }
 
 echo "\n";
@@ -39,9 +39,9 @@ echo "\n";
 $ref = new \ReflectionFunction(#[A1([])] function () { });
 
 try {
-       $ref->getAttributes()[0]->newInstance();
+    $ref->getAttributes()[0]->newInstance();
 } catch (\TypeError $e) {
-       var_dump('ERROR 2', $e->getMessage());
+    var_dump('ERROR 2', $e->getMessage());
 }
 
 echo "\n";
@@ -49,9 +49,9 @@ echo "\n";
 $ref = new \ReflectionFunction(#[A2] function () { });
 
 try {
-       $ref->getAttributes()[0]->newInstance();
+    $ref->getAttributes()[0]->newInstance();
 } catch (\Error $e) {
-       var_dump('ERROR 3', $e->getMessage());
+    var_dump('ERROR 3', $e->getMessage());
 }
 
 echo "\n";
@@ -59,15 +59,15 @@ echo "\n";
 #[Attribute]
 class A3
 {
-       private function __construct() { }
+    private function __construct() { }
 }
 
 $ref = new \ReflectionFunction(#[A3] function () { });
 
 try {
-       $ref->getAttributes()[0]->newInstance();
+    $ref->getAttributes()[0]->newInstance();
 } catch (\Error $e) {
-       var_dump('ERROR 4', $e->getMessage());
+    var_dump('ERROR 4', $e->getMessage());
 }
 
 echo "\n";
@@ -78,9 +78,9 @@ class A4 { }
 $ref = new \ReflectionFunction(#[A4(1)] function () { });
 
 try {
-       $ref->getAttributes()[0]->newInstance();
+    $ref->getAttributes()[0]->newInstance();
 } catch (\Error $e) {
-       var_dump('ERROR 5', $e->getMessage());
+    var_dump('ERROR 5', $e->getMessage());
 }
 
 echo "\n";
@@ -90,9 +90,9 @@ class A5 { }
 $ref = new \ReflectionFunction(#[A5] function () { });
 
 try {
-       $ref->getAttributes()[0]->newInstance();
+    $ref->getAttributes()[0]->newInstance();
 } catch (\Error $e) {
-       var_dump('ERROR 6', $e->getMessage());
+    var_dump('ERROR 6', $e->getMessage());
 }
 
 ?>
index 8da1ec9bde1e158a645d9d681e2cd99e0df1be46..2924e6ed798267b62281389317fa78b6789cd928 100644 (file)
@@ -55,17 +55,17 @@ echo "\n";
 $ref = new \ReflectionFunction(function () { });
 
 try {
-       $ref->getAttributes(A1::class, 3);
+    $ref->getAttributes(A1::class, 3);
 } catch (\Error $e) {
-       var_dump('ERROR 1', $e->getMessage());
+    var_dump('ERROR 1', $e->getMessage());
 }
 
 $ref = new \ReflectionFunction(function () { });
 
 try {
-       $ref->getAttributes(SomeMissingClass::class, \ReflectionAttribute::IS_INSTANCEOF);
+    $ref->getAttributes(SomeMissingClass::class, \ReflectionAttribute::IS_INSTANCEOF);
 } catch (\Error $e) {
-       var_dump('ERROR 2', $e->getMessage());
+    var_dump('ERROR 2', $e->getMessage());
 }
 
 ?>
index 36ee3fa47addff70f7157dc567ded91251a80bca..6a589b9253d08231fd217534674b8204936d8403 100644 (file)
@@ -6,19 +6,19 @@ Attributes comply with inheritance rules.
 #[A2]
 class C1
 {
-       #[A1]
-       public function foo() { }
+    #[A1]
+    public function foo() { }
 }
 
 class C2 extends C1
 {
-       public function foo() { }
+    public function foo() { }
 }
 
 class C3 extends C1
 {
-       #[A1]
-       public function bar() { }
+    #[A1]
+    public function bar() { }
 }
 
 $ref = new \ReflectionClass(C1::class);
@@ -37,20 +37,20 @@ echo "\n";
 
 trait T1
 {
-       #[A2]
-       public $a;
+    #[A2]
+    public $a;
 }
 
 class C4
 {
-       use T1;
+    use T1;
 }
 
 class C5
 {
-       use T1;
+    use T1;
 
-       public $a;
+    public $a;
 }
 
 $ref = new \ReflectionClass(T1::class);
index a9131f92d0c0b30ad138f6c451acdb11461210f0..347d1befe7f48212ac8e82f3fc032ca6a5be894a 100644 (file)
@@ -12,15 +12,15 @@ assert(0 && ($a = #[A1] #[A2] function ($a, #[A3(1)] $b) { }));
 assert(0 && ($a = #[A1(1, 2, 1 + 2)] fn () => 1));
 
 assert(0 && ($a = new #[A1] class() {
-       #[A1]#[A2] const FOO = 'foo';
-       #[A2] public $x;
-       #[A3] function a() { }
+    #[A1]#[A2] const FOO = 'foo';
+    #[A2] public $x;
+    #[A3] function a() { }
 }));
 
 assert(0 && ($a = function () {
-       #[A1] class Test1 { }
-       #[A2] interface Test2 { }
-       #[A3] trait Test3 { }
+    #[A1] class Test1 { }
+    #[A2] interface Test2 { }
+    #[A3] trait Test3 { }
 }));
 
 ?>
index 61dd9f594c7088a061f06dd8747eaf4b227ad153..ff16bb7b822585b83b80108904aeba213081b14f 100644 (file)
@@ -6,14 +6,14 @@ Attributes make use of class scope.
 #[A1(self::class, self::FOO)]
 class C1
 {
-       #[A1(self::class, self::FOO)]
-       private const FOO = 'foo';
+    #[A1(self::class, self::FOO)]
+    private const FOO = 'foo';
 
-       #[A1(self::class, self::FOO)]
-       public $a;
+    #[A1(self::class, self::FOO)]
+    public $a;
 
-       #[A1(self::class, self::FOO)]
-       public function bar(#[A1(self::class, self::FOO)] $p) { }
+    #[A1(self::class, self::FOO)]
+    public function bar(#[A1(self::class, self::FOO)] $p) { }
 }
 
 $ref = new \ReflectionClass(C1::class);
@@ -27,15 +27,15 @@ echo "\n";
 
 trait T1
 {
-       #[A1(self::class, self::FOO)]
-       public function foo() { }
+    #[A1(self::class, self::FOO)]
+    public function foo() { }
 }
 
 class C2
 {
-       use T1;
+    use T1;
 
-       private const FOO = 'bar';
+    private const FOO = 'bar';
 }
 
 $ref = new \ReflectionClass(C2::class);
@@ -45,7 +45,7 @@ $ref = new \ReflectionClass(T1::class);
 $attr = $ref->getMethod('foo')->getAttributes()[0];
 
 try {
-       $attr->getArguments();
+    $attr->getArguments();
 } catch (\Error $e) {
     var_dump('ERROR 1', $e->getMessage());
 }
@@ -54,17 +54,17 @@ echo "\n";
 
 class C3
 {
-       private const FOO = 'foo';
+    private const FOO = 'foo';
 
-       public static function foo()
-       {
-               return new #[A1(self::class, self::FOO)] class() {
-                       private const FOO = 'bar';
+    public static function foo()
+    {
+        return new #[A1(self::class, self::FOO)] class() {
+            private const FOO = 'bar';
 
-                       #[A1(self::class, self::FOO)]
-                       public function bar() { }
-               };
-       }
+            #[A1(self::class, self::FOO)]
+            public function bar() { }
+        };
+    }
 }
 
 $ref = new \ReflectionObject(C3::foo());
index a53ed09c0abd2a289af9e6f5330403dd74dc7d03..9f01d013a7de1ecac3c85e43da2bf2f1a84fe9fd 100644 (file)
@@ -5,8 +5,8 @@ Attributes cannot be applied to groups of class constants.
 
 class C1
 {
-       #[A1]
-       public const A = 1, B = 2;
+    #[A1]
+    public const A = 1, B = 2;
 }
 
 ?>
index 484d4154cf3a6c236e76c8a7c1e7f102f287a54d..b84ded8c38d6dd640fc50e8c871e889b6981dd2f 100644 (file)
@@ -5,8 +5,8 @@ Attributes cannot be applied to groups of properties.
 
 class C1
 {
-       #[A1]
-       public $x, $y;
+    #[A1]
+    public $x, $y;
 }
 
 ?>
index af7de8e2e828bc338087f71f001d706029297dc0..8c39ceede9e617e19b48fb48e5a2da0f415fcc9c 100644 (file)
@@ -5,17 +5,17 @@ Attributes make use of closure scope.
 
 class Test1
 {
-       private const FOO = 'bar';
+    private const FOO = 'bar';
 }
 
 class C1
 {
-       private const FOO = 'foo';
+    private const FOO = 'foo';
 
-       public static function foo()
-       {
-               return #[A1(self::class, self::FOO)] function (#[A1(self::class, self::FOO)] $p) { };
-       }
+    public static function foo()
+    {
+        return #[A1(self::class, self::FOO)] function (#[A1(self::class, self::FOO)] $p) { };
+    }
 }
 
 $ref = new \ReflectionFunction(C1::foo());
index 14a10c39b288b78b24a191eca79683732263fb06..ce2acb26db1611c4ddc628f24185a8e95c449e36 100644 (file)
@@ -18,9 +18,9 @@ $attr = $ref->getAttributes()[0];
 var_dump($attr->getName(), $attr->getTarget() == Attribute::TARGET_CLASS, $attr->isRepeated());
 
 try {
-       $attr->newInstance();
+    $attr->newInstance();
 } catch (\Throwable $e) {
-       var_dump('ERROR 1', $e->getMessage());
+    var_dump('ERROR 1', $e->getMessage());
 }
 
 echo "\n";
@@ -30,9 +30,9 @@ $attr = $ref->getAttributes()[0];
 var_dump($attr->getName(), $attr->getTarget() == Attribute::TARGET_FUNCTION, $attr->isRepeated());
 
 try {
-       $attr->newInstance();
+    $attr->newInstance();
 } catch (\Throwable $e) {
-       var_dump('ERROR 2', $e->getMessage());
+    var_dump('ERROR 2', $e->getMessage());
 }
 
 echo "\n";
index 226025f359c2cd0063ccac4457096f8af99af3e6..96966c364de66e52c021ce5ea6c04c5d5ff09322 100644 (file)
@@ -4,10 +4,10 @@ Trailing comma in attribute argument list
 <?php
 
 #[MyAttribute(
-       "there",
-       "are",
-       "many",
-       "arguments",
+    "there",
+    "are",
+    "many",
+    "arguments",
 )]
 class Foo { }
 
index c4c78c2220ef11bc6a454789019e7af107af4c6f..f37d96d5ff333931e8e1fc26260dbeee2c15fd08 100644 (file)
@@ -6,7 +6,7 @@ memory_limit=8M
 <?php
 $zend_mm_enabled = getenv("USE_ZEND_ALLOC");
 if ($zend_mm_enabled === "0") {
-       die("skip Zend MM disabled");
+    die("skip Zend MM disabled");
 }
 ?>
 --FILE--
index 1680f4ceedb8f075028f68c3c633bd4ca35aa69c..e4ce5c0e3a77412274436ebcca659d13ab7bb387 100644 (file)
@@ -6,7 +6,7 @@ memory_limit=8M
 <?php
 $zend_mm_enabled = getenv("USE_ZEND_ALLOC");
 if ($zend_mm_enabled === "0") {
-       die("skip Zend MM disabled");
+    die("skip Zend MM disabled");
 }
 ?>
 --FILE--
index 7cb0cf06647a4fb1f2f6b12da621d3a934dbd246..2f6387ca26c1d6ae400a5b6779e24819901665aa 100644 (file)
@@ -3,7 +3,7 @@ Bug #54547: wrong equality of string numbers near LONG_MAX with 64-bit longs
 --SKIPIF--
 <?php
 if (PHP_INT_MAX !== 9223372036854775807)
-       die("skip for 64-bit long systems only");
+    die("skip for 64-bit long systems only");
 --FILE--
 <?php
 var_dump("9223372036854775807" == "9223372036854775808");
index 8b78e6c69115db78317e8de5a879a53ec7590c55..52dd7499dc29fddb3d3f72357164072bc43676c7 100644 (file)
@@ -3,7 +3,7 @@ Bug #62097: fix for bug #54547 is wrong for 32-bit machines
 --SKIPIF--
 <?php
 if (PHP_INT_MAX !== 2147483647)
-       die('skip for system with 32-bit wide longs only');
+    die('skip for system with 32-bit wide longs only');
 --FILE--
 <?php
 var_dump("02147483647" == "2147483647",
index 11f59dd95b9404ae7305f65f566ada51b7247a58..40915a286ef9e37accf28cfd1cbe33335a6324a2 100644 (file)
@@ -6,7 +6,7 @@ memory_limit=2M
 <?php
 $zend_mm_enabled = getenv("USE_ZEND_ALLOC");
 if ($zend_mm_enabled === "0") {
-       die("skip Zend MM disabled");
+    die("skip Zend MM disabled");
 }
 ?>
 --FILE--
index 2ea1b9124191925908da830254afd76944882a1f..b8a1c91d36338d36716d8605fe4d21f56c3feca3 100644 (file)
@@ -3,7 +3,7 @@ Bug #70914 zend_throw_or_error() format string vulnerability
 --SKIPIF--
 <?php
 if (!extension_loaded("pdo_sqlite")) {
-       die("skip pdo_sqlite required");
+    die("skip pdo_sqlite required");
 }
 ?>
 --FILE--
index fbef2010338cf2aa6f91b41793f389fc75311202..cd837bd860973fd42989d367ba06120ec9a9a2bb 100644 (file)
@@ -6,7 +6,7 @@ memory_limit=33M
 <?php
 $zend_mm_enabled = getenv("USE_ZEND_ALLOC");
 if ($zend_mm_enabled === "0") {
-       die("skip Zend MM disabled");
+    die("skip Zend MM disabled");
 }
 ?>
 --FILE--
index b333f153a8cb18125a770c9de246710fa59f3d71..57e5332431f53a67bf4e41afe6e7277e7be59af5 100644 (file)
@@ -3,23 +3,23 @@ Bug #79599 (coredump in set_error_handler)
 --FILE--
 <?php
 set_error_handler(function($code, $message){
-       throw new \Exception($message);
+    throw new \Exception($message);
 });
 function test1(){
-       $a[] = $b;
+    $a[] = $b;
 }
 function test2(){
-       $a[$c] = $b;
+    $a[$c] = $b;
 }
 try{
-       test1();
+    test1();
 }catch(\Exception $e){
-       var_dump($e->getMessage());
+    var_dump($e->getMessage());
 }
 try{
-       test2();
+    test2();
 }catch(\Exception $e){
-       var_dump($e->getMessage());
+    var_dump($e->getMessage());
 }
 ?>
 --EXPECT--
index 7bbe6128b366967c1228a989d26cf47f91a0af0a..d6e057546b381af79b0b16bfe438485078e385c5 100644 (file)
@@ -5,21 +5,21 @@ Bug #80037: Typed property must not be accessed before initialization when __get
 
 final class A
 {
-       public string $a;
+    public string $a;
 
-       public static function fromArray(array $props): self
-       {
-               $me = new static;
-               foreach ($props as $k => &$v) {
-                       $me->{$k} = &$v;  # try to remove &
-               }
-               return $me;
-       }
+    public static function fromArray(array $props): self
+    {
+        $me = new static;
+        foreach ($props as $k => &$v) {
+            $me->{$k} = &$v;  # try to remove &
+        }
+        return $me;
+    }
 
-       public function __get($name)
-       {
-               throw new \LogicException("Property '$name' is not defined.");
-       }
+    public function __get($name)
+    {
+        throw new \LogicException("Property '$name' is not defined.");
+    }
 }
 
 var_dump(A::fromArray(['a' => 'foo']));
index 9aeea650605e5bdc6b95dab73b3c8b478ed703a8..89acf9076ad7543fa05a7de445ff919a566a5cdf 100644 (file)
@@ -3,7 +3,7 @@ zend_dval_to_lval preserves low bits  (32 bit long)
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4)
-        die("skip for machines with 32-bit longs");
+     die("skip for machines with 32-bit longs");
 ?>
 --FILE--
 <?php
index 3d6b736b8fdf486a2f20aa491c7edfe1c919f87b..b54f861bf55cf9565ebf2a0832abb6b1c3ee7c99 100644 (file)
@@ -3,7 +3,7 @@ zend_dval_to_lval preserves low bits  (64 bit long)
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 8)
-        die("skip for machines with 64-bit longs");
+     die("skip for machines with 64-bit longs");
 ?>
 --FILE--
 <?php
index 48813704b68fa0b22a2a2587b09ddff8e23cc334..e6ab4e3c6cb6b1369bd8578c0345205c36dd1751 100644 (file)
@@ -4,10 +4,10 @@ A generator can be yielded from multiple times, testing immediate release of the
 <?php
 
 function gen() {
-       yield 42;
+    yield 42;
 }
 function yield_from($gen) {
-       yield from $gen;
+    yield from $gen;
 }
 $gen = gen();
 var_dump(yield_from($gen)->current());
index 5ce536ae403cb6c0f23f253224581befcb21355a..7cd4d4bee1d2606e8cb877fb7cb021a87e15226b 100644 (file)
@@ -3,7 +3,7 @@ __set first parameter should be a string when typed
 --FILE--
 <?php
 class Foo {
-       function __set(\Countable $name, $value) {}
+    function __set(\Countable $name, $value) {}
 }
 ?>
 --EXPECTF--
index 4ac3952c4d8722979169126bb65b4c7770164cf9..450c7b229577ace64755f3618f3e86841f711c72 100644 (file)
@@ -3,7 +3,7 @@ __get first parameter should be a string when typed
 --FILE--
 <?php
 class Foo {
-       function __get(int $name) {}
+    function __get(int $name) {}
 }
 ?>
 --EXPECTF--
index 03a4fb7ea7ffd7163c6290f4e71128ee2b1549f0..95614779d5666e0630a0c8be55f64af91386366d 100644 (file)
@@ -3,7 +3,7 @@ __isset first parameter should be a string when typed
 --FILE--
 <?php
 class Foo {
-       function __isset(\stdClass $name) {}
+    function __isset(\stdClass $name) {}
 }
 ?>
 --EXPECTF--
index 783b6003dc846e67097e01c9b367d26600ee6cf1..8a1aa6388d851f7258b9cb6c33e6ec9dbcf9f7c8 100644 (file)
@@ -3,7 +3,7 @@ __unset first parameter should be a string when typed
 --FILE--
 <?php
 class Foo {
-       function __unset(array $name) {}
+    function __unset(array $name) {}
 }
 ?>
 --EXPECTF--
index d5e93c9ef074ed87b14ea9c78189a1b309650dba..3b7cf696182d55099610d6a063ab6a0796b271c8 100644 (file)
@@ -3,7 +3,7 @@ __call first parameter should be a string typed
 --FILE--
 <?php
 class Foo {
-       function __call(int $name, array $arguments) {}
+    function __call(int $name, array $arguments) {}
 }
 ?>
 --EXPECTF--
index a0ac45e42aebf06f03318061f2ad928bcc97e825..c456afa12783e0862d68498e9cadf7ac15cdc1a9 100644 (file)
@@ -3,7 +3,7 @@ __call second parameter should be an array when typed
 --FILE--
 <?php
 class Foo {
-       function __call(string $name, \Arguments $arguments) {}
+    function __call(string $name, \Arguments $arguments) {}
 }
 ?>
 --EXPECTF--
index 9afb089f311c0b37a723fd4917cb716a29c5ab05..0ce622712364bd490437f88d152ec2370c3b37f0 100644 (file)
@@ -3,7 +3,7 @@ __callStatic first parameter should be a string typed
 --FILE--
 <?php
 class Foo {
-       static function __callStatic(int $name, array $arguments) {}
+    static function __callStatic(int $name, array $arguments) {}
 }
 ?>
 --EXPECTF--
index faddd3cca11d5571da6e5c17c1d401fc546268aa..914a8898082c8b696421a57eeb9ddfcb90400a61 100644 (file)
@@ -3,7 +3,7 @@ __callStatic second parameter should be an array typed
 --FILE--
 <?php
 class Foo {
-       static function __callStatic(string $name, \Arguments $args) {}
+    static function __callStatic(string $name, \Arguments $args) {}
 }
 ?>
 --EXPECTF--
index 85823e6c4029145e0a5948296f9734793c2578f1..f0a5fabff29d7989fd09b4a8854082a9b2e1b6c1 100644 (file)
@@ -3,7 +3,7 @@ __unserialize first parameter must be an array
 --FILE--
 <?php
 class Foo {
-       public function __unserialize(string $name) {}
+    public function __unserialize(string $name) {}
 }
 ?>
 --EXPECTF--
index 45e144cac793c8e4314f4ce4c4a8d9aedee458ec..4efaf6fb18a8292694b7905351303e5028d5d5be 100644 (file)
@@ -4,7 +4,7 @@ __set_state first parameter must be an array
 <?php
 
 class Foo {
-       public static function __set_state(int $properties) {}
+    public static function __set_state(int $properties) {}
 }
 
 ?>
index e91fdc7848097d6dd2275dca58a0d8cd9b94f243..6bdcafb1bfb5aa83309029e8c1d23c455f2a482c 100644 (file)
@@ -3,65 +3,65 @@ Magic Methods inheritance rules
 --FILE--
 <?php
 class ValidMagicMethods {
-       public function __call(string $name, array $arguments): mixed {}
+    public function __call(string $name, array $arguments): mixed {}
 
-       public static function __callStatic(string $name, array $arguments): mixed {}
+    public static function __callStatic(string $name, array $arguments): mixed {}
 
-       public function __clone(): void {}
+    public function __clone(): void {}
 
-       public function __debugInfo(): ?array {}
+    public function __debugInfo(): ?array {}
 
-       public function __get(string $name): mixed {}
+    public function __get(string $name): mixed {}
 
-       public function __invoke(mixed $arguments): mixed {}
+    public function __invoke(mixed $arguments): mixed {}
 
-       public function __isset(string $name): bool {}
+    public function __isset(string $name): bool {}
 
-       public function __serialize(): array {}
+    public function __serialize(): array {}
 
-       public function __set(string $name, mixed $value): void {}
+    public function __set(string $name, mixed $value): void {}
 
-       public static function __set_state(array $properties): object {}
+    public static function __set_state(array $properties): object {}
 
-       public function __sleep(): array {}
+    public function __sleep(): array {}
 
-       public function __toString(): string {}
+    public function __toString(): string {}
 
-       public function __unserialize(array $data): void {}
+    public function __unserialize(array $data): void {}
 
-       public function __unset(string $name): void {}
+    public function __unset(string $name): void {}
 
-       public function __wakeup(): void {}
+    public function __wakeup(): void {}
 }
 
 class NarrowedReturnType extends ValidMagicMethods {
-       public function __call(string $name, array $arguments): string|float|null {}
+    public function __call(string $name, array $arguments): string|float|null {}
 
-       public static function __callStatic(string $name, array $arguments): ?array {}
+    public static function __callStatic(string $name, array $arguments): ?array {}
 
-       public function __debugInfo(): array {}
+    public function __debugInfo(): array {}
 
-       public function __get(string $name): int|string {}
+    public function __get(string $name): int|string {}
 
-       public function __invoke(mixed $arguments): object {}
+    public function __invoke(mixed $arguments): object {}
 }
 
 class WidenedArgumentType extends NarrowedReturnType {
-       public function __call(string|array $name, array|string $arguments): string|float|null {}
+    public function __call(string|array $name, array|string $arguments): string|float|null {}
 
-       public static function __callStatic(string|object $name, array|object $arguments): ?array {}
+    public static function __callStatic(string|object $name, array|object $arguments): ?array {}
 
-       public function __get(string|array $name): int|string {}
+    public function __get(string|array $name): int|string {}
 
-       public function __isset(string|bool $name): bool {}
+    public function __isset(string|bool $name): bool {}
 
-       public function __set(string|bool|float $name, mixed $value): void {}
+    public function __set(string|bool|float $name, mixed $value): void {}
 
-       public static function __set_state(string|array $properties): object {}
+    public static function __set_state(string|array $properties): object {}
 
-       public function __unserialize(array|string $data): void {}
+    public function __unserialize(array|string $data): void {}
 
-       public function __unset(string|array $name): void {}
+    public function __unset(string|array $name): void {}
 }
 
 echo 'No problems!';
index a57c8b7dc8e1d33e84ca9ce3566e9eb98b523071..84a960240a70761d98992ab35e97aaf8f09762c5 100644 (file)
@@ -3,15 +3,15 @@ Magic Methods inheritance rules on a non-trivial class hierarchy
 --FILE--
 <?php
 class A {
-       public function __get(string|array $name): mixed {} // valid
+    public function __get(string|array $name): mixed {} // valid
 }
 
 class B extends A {
-       public function __get(string|array|object $name): int {} // also valid
+    public function __get(string|array|object $name): int {} // also valid
 }
 
 class C extends B {
-       public function __get(string|array $name): int {} // this is invalid
+    public function __get(string|array $name): int {} // this is invalid
 }
 ?>
 --EXPECTF--
index 72c20a788532d647c1d5835481d8b0a41d4c0da0..2835b468309525ae141ec5e0aa37867f80c74a19 100644 (file)
@@ -3,15 +3,15 @@ Magic Methods inheritance rules on a non-trivial class hierarchy
 --FILE--
 <?php
 class A {
-       public function __get(string|array $name): mixed {} // valid
+    public function __get(string|array $name): mixed {} // valid
 }
 
 class B extends A {
-       public function __get(string|array|object $name): int {} // also valid
+    public function __get(string|array|object $name): int {} // also valid
 }
 
 class C extends B {
-       public function __get(string|array|object $name): int|float {} // this is invalid
+    public function __get(string|array|object $name): int|float {} // this is invalid
 }
 ?>
 --EXPECTF--
index 593d8fc037bf4284e31473d31a1cd47a24bb7036..89baac4699d1322d5ffa797589476fb8fa7c9e60 100644 (file)
@@ -3,7 +3,7 @@ __sleep cannot take arguments
 --FILE--
 <?php
 class Foo {
-       public function __sleep(string $name) {}
+    public function __sleep(string $name) {}
 }
 ?>
 --EXPECTF--
index f4edb33576bc5627d3140545d12a84bdbf49dfc4..8d72b6be866ad3ad00e19df2390165dcb016dd02 100644 (file)
@@ -3,7 +3,7 @@ __wakeup cannot take arguments
 --FILE--
 <?php
 class Foo {
-       public function __wakeup(string $name) {}
+    public function __wakeup(string $name) {}
 }
 ?>
 --EXPECTF--
index e725465253fdad5c769f8e796cc77ead56111d61..1eb5171cb08ef611093d43759afeafff4a8aacaa 100644 (file)
@@ -3,7 +3,7 @@ __set can only declare void return
 --FILE--
 <?php
 class Foo {
-       function __set($name, $value) : string {}
+    function __set($name, $value) : string {}
 }
 ?>
 --EXPECTF--
index 50324208cbc9ad28d665dbbbbd666f8b79831442..80a57cf1e8cd2546406bfdfdec58aac2e34049db 100644 (file)
@@ -3,7 +3,7 @@ __isset can only declare a boolean return type
 --FILE--
 <?php
 class Foo {
-       function __isset($name) : \stdClass|bool {}
+    function __isset($name) : \stdClass|bool {}
 }
 ?>
 --EXPECTF--
index fa2d331f55e6e5fcd845060dcda2f2c45fe93d39..359790b82eab844490f26cb80e854c94ab8f1503 100644 (file)
@@ -3,7 +3,7 @@ __unset can only declare void return
 --FILE--
 <?php
 class Foo {
-       function __unset($name) : bool {}
+    function __unset($name) : bool {}
 }
 ?>
 --EXPECTF--
index 4e2351869d3104e54cbe2d64b94ddd7db3fbc7a3..177cf5c75d199002018e7e51fe49c70d6e74e2ec 100644 (file)
@@ -262,7 +262,7 @@ static void zend_generator_dtor_storage(zend_object *object) /* {{{ */
                        OBJ_RELEASE(&parent->std);
                        /* Reset for resuming in finally */
                        generator->node.parent = NULL;
-                       generator->node.ptr.root = generator; 
+                       generator->node.ptr.root = generator;
                }
        }
 
index 4a0062a7e13c23bb4b3ed182ac7992ce654abf7d..5f9bc5c0b0bb52cff251bd508b1f154e8953a8f1 100644 (file)
@@ -33,7 +33,7 @@ if (!$result) {
 $fpath = str_replace("/", "\\", __DIR__ . "/bug66431.txt");
 
 if (file_exists($fpath)) {
-       unlink($fpath);
+    unlink($fpath);
 }
 ?>
 --EXPECT--
index e99131d27b1e1bafb8ccc8a240a485bae629cd9f..7ebf16a10d1da49e21ec80f7478f3ac3200d7928 100644 (file)
@@ -5,9 +5,9 @@ Bug #66431 Special Character via COM Interface (CP_UTF8), Application.Word
 if (!extension_loaded("com_dotnet")){ echo "skip COM/.Net support not present"; }
 
 try {
-       new COM("word.application", NULL, CP_UTF8);
+    new COM("word.application", NULL, CP_UTF8);
 } catch (Exception $e) {
-       die('skip ' . $e->getMessage());
+    die('skip ' . $e->getMessage());
 }
 
 ?>
@@ -51,7 +51,7 @@ if (!$result) {
 $fpath = str_replace("/", "\\", __DIR__ . "/bug66431.docx");
 
 if (file_exists($fpath)) {
-       unlink($fpath);
+    unlink($fpath);
 }
 ?>
 --EXPECT--
index 88f9f3e12616ea6e7c1883c7b3ce8d0d8c6e6e12..6a1b7e1c12925b02400807609e3c9dec37008eb8 100644 (file)
@@ -5,7 +5,7 @@ COM: General variant tests
 if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present";
 if (8 != PHP_INT_SIZE) print "skip x64 only";
 if ((string) variant_cat(new VARIANT(false), new VARIANT(0.5)) != 'False0.5')
-       print "skip English locale only";
+    print "skip English locale only";
 ?>
 --FILE--
 <?php
index c46ea5331d75fba936e65a2c84c665672ed2193e..501bd3ee169cc86e908175caceabedbb9ca0b433 100644 (file)
@@ -3,7 +3,7 @@ Bug #46711 (lost memory when foreach is used for values passed to curl_setopt())
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-       exit("skip curl extension not loaded");
+    exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index 759e4bc1be16385ae8d9d5c01c4df2fbc7c07104..12dcdd498b0c0325b6477aca2d08a2ec3c41831d 100644 (file)
@@ -4,7 +4,7 @@ Bug #48514 (cURL extension uses same resource name for simple and multi APIs)
 <?php
 
 if (!extension_loaded('curl')) {
-       exit("skip curl extension not loaded");
+    exit("skip curl extension not loaded");
 }
 
 ?>
index 8fbcad627d4ef3404d542931f3948566262a51df..3b9aabf92cdc10fafc0804ead26d9bb98269c4ab 100644 (file)
@@ -4,7 +4,7 @@ Bug #52827 (curl_setopt with CURLOPT_STDERR erroneously increments the resource
 <?php
 
 if (!extension_loaded('curl')) {
-       exit("skip curl extension not loaded");
+    exit("skip curl extension not loaded");
 }
 
 ?>
index 316fa4d0e73155c1e791f136c2b07ba4de5a8129..9b795241f26b2205e973c67350ef5811a5ae47ba 100644 (file)
@@ -18,9 +18,9 @@ Bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
 ?>
 --CLEAN--
 <?php
-       $base_dir = __DIR__ . DIRECTORY_SEPARATOR . "bug61948";
-       rmdir("$base_dir/foo");
-       rmdir($base_dir);
+    $base_dir = __DIR__ . DIRECTORY_SEPARATOR . "bug61948";
+    rmdir("$base_dir/foo");
+    rmdir($base_dir);
 ?>
 --EXPECTF--
 %a
index 2d947febecb7be587bd6a2ed5587c59d25f5aa20..3252f75f4613b1770196b75678e4eaf7ccdadd20 100644 (file)
@@ -3,7 +3,7 @@ Bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-       exit("skip curl extension not loaded");
+    exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index bf04d9faea501df535745735f2bb7fb83a4229b9..5b2ebfa2cccc420456cd2bea234a254900739ab2 100644 (file)
@@ -3,7 +3,7 @@ Bug #72202 (curl_close doesn't close cURL handle)
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-       exit("skip curl extension not loaded");
+    exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index e59aabc7c3407c9a5fb4b208fab30c46429d0655..5d36abfdd671b277e54dd06a9443f9a13e2daa26 100644 (file)
@@ -4,11 +4,11 @@ Bug #76675 (Segfault with H2 server push write/writeheader handlers)
 <?php
 include 'skipif.inc';
 if (getenv("SKIP_ONLINE_TESTS")) {
-       die("skip online test");
+    die("skip online test");
 }
 $curl_version = curl_version();
 if ($curl_version['version_number'] < 0x073d00) {
-       exit("skip: test may crash with curl < 7.61.0");
+    exit("skip: test may crash with curl < 7.61.0");
 }
 ?>
 --FILE--
index 95eec344a894ef9e3007e8ce6f4de3f9c505be22..b1d8f4d4da51aa2816e49044be21965040b1a34d 100644 (file)
@@ -4,11 +4,11 @@ Bug #77535 (Invalid callback, h2 server push)
 <?php
 include 'skipif.inc';
 if (getenv("SKIP_ONLINE_TESTS")) {
-       die("skip online test");
+    die("skip online test");
 }
 $curl_version = curl_version();
 if ($curl_version['version_number'] < 0x073d00) {
-       exit("skip: test may crash with curl < 7.61.0");
+    exit("skip: test may crash with curl < 7.61.0");
 }
 ?>
 --FILE--
index c983a7761747f51dbd613992d2e6c773ca348d4c..2a0dcd62a38021f4c2e52e9ba2216e253545f798 100644 (file)
@@ -4,7 +4,7 @@ Bug #77946 (Errored cURL resources returned by curl_multi_info_read() must be co
 <?php
 
 if (!extension_loaded('curl')) {
-       exit('skip curl extension not loaded');
+    exit('skip curl extension not loaded');
 }
 
 ?>
index 3f5a4801b19c2bd306c09c39c5138b1262c0577d..5fddd30c2769cb3ed6465e8f706e5c7b21924fec 100644 (file)
@@ -4,7 +4,7 @@ Bug #79741: curl_setopt CURLOPT_POSTFIELDS asserts on object with declared prope
 <?php
 
 class Test {
-       public $prop = "value";
+    public $prop = "value";
 }
 
 $ch = curl_init();
index 2764a82f3816c68755828d5757790ee1b270f850..f1c61fbf3bebd3cc45db2a665752f6df927c2b9a 100644 (file)
@@ -3,7 +3,7 @@ Check libcurl config on windows
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-       die('skip - curl extension not available in this build');
+    die('skip - curl extension not available in this build');
 }
 if(substr(PHP_OS, 0, 3) != 'WIN' )
   die("skip for windows only");
index 70f82532b72b02aa74aa9b4139c6cfe013589931..3b5f67b5e04f120bc403f175a8ba629473dd1a9c 100644 (file)
@@ -4,11 +4,11 @@ Test curl_error() & curl_errno() function with problematic host
 TestFest 2009 - AFUP - Perrick Penet <perrick@noparking.net>
 --SKIPIF--
 <?php
-       if (!extension_loaded("curl")) print "skip";
-       $addr = "www.".uniqid().".".uniqid();
-       if (gethostbyname($addr) != $addr) {
-               print "skip catch all dns";
-       }
+    if (!extension_loaded("curl")) print "skip";
+    $addr = "www.".uniqid().".".uniqid();
+    if (gethostbyname($addr) != $addr) {
+        print "skip catch all dns";
+    }
 ?>
 --FILE--
 <?php
index 13fbd0c4045d08fd6a32f920acaaba75c0d0d52d..5a9d4d44ae481f68266956baa64aa1fd72341621 100644 (file)
@@ -4,11 +4,11 @@ Test curl_error() & curl_errno() function with problematic proxy
 TestFest 2009 - AFUP - Perrick Penet <perrick@noparking.net>
 --SKIPIF--
 <?php
-       if (!extension_loaded("curl")) print "skip";
-       $addr = "www.".uniqid().".".uniqid();
-       if (gethostbyname($addr) != $addr) {
-               print "skip catch all dns";
-       }
+    if (!extension_loaded("curl")) print "skip";
+    $addr = "www.".uniqid().".".uniqid();
+    if (gethostbyname($addr) != $addr) {
+        print "skip catch all dns";
+    }
 ?>
 --FILE--
 <?php
index 6bcfd72b32749dc404207eddceda8c3441949ddd..1ac764ea2c0622cfe7a5c64628f280d80339d1a1 100644 (file)
@@ -4,7 +4,7 @@ Test curl_getinfo() function with CURLINFO_HTTP_VERSION parameter
 <?php if (!extension_loaded("curl")) print "skip";
 $curl_version = curl_version();
 if ($curl_version['version_number'] < 0x073200) {
-           exit("skip: test works only with curl >= 7.50.0");
+        exit("skip: test works only with curl >= 7.50.0");
 }
 ?>
 --FILE--
index 6875d4f02a25df749acf40bc75148946bc1f6368..4037a0bc12636dd80f05dec9213c2b1189c9ecd6 100644 (file)
@@ -4,7 +4,7 @@ Test curl_getinfo() function with CURLINFO_* from curl >= 7.52.0
 <?php if (!extension_loaded("curl")) print "skip";
 $curl_version = curl_version();
 if ($curl_version['version_number'] < 0x073400) {
-           exit("skip: test works only with curl >= 7.52.0");
+        exit("skip: test works only with curl >= 7.52.0");
 }
 ?>
 --FILE--
index 0aa58dbcf869eb8546397d7415cecaeaf81b243f..945768436c5fe13c01470066f821728f344ca997 100644 (file)
@@ -5,7 +5,7 @@ Francesco Fullone ff@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("curl")) exit("skip curl extension not loaded");
+    if (!extension_loaded("curl")) exit("skip curl extension not loaded");
 ?>
 --FILE--
 <?php
index 8dbb3f6987caaa2120cebaa825c90a829269b337..63331b5726861ca2b36570e7902880fdc5cffdee 100644 (file)
@@ -5,7 +5,7 @@ Francesco Fullone ff@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("curl")) exit("skip curl extension not loaded");
+    if (!extension_loaded("curl")) exit("skip curl extension not loaded");
 ?>
 --FILE--
 <?php
index be036d0ca80d9718a4b3e60ebaefcb54d382fe83..afa8944bde6d102342ebb700f87e290a3b2bfea1 100644 (file)
@@ -5,7 +5,7 @@ Francesco Fullone ff@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("curl")) exit("skip curl extension not loaded");
+    if (!extension_loaded("curl")) exit("skip curl extension not loaded");
 ?>
 --DESCRIPTION--
 the only way to test if a option is setten on a curl handle is using the curl_getinfo() function.
index 015b010a1ca2cbf56a4938fb1bcc9558b26b260e..91dff3f0563399af12a60edb592973a8b1b88aba 100644 (file)
Binary files a/ext/curl/tests/curl_escape.phpt and b/ext/curl/tests/curl_escape.phpt differ
index 7748272b7610d3574ea925b5eb18f648add769d8..7776a455a402fa57e8d6575dfd81d065c8514116 100644 (file)
@@ -3,7 +3,7 @@ CURL file uploading
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-       exit("skip curl extension not loaded");
+    exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index cc8e175460a51121c385958cec0dd4939d4e7f78..d0c237ef0c72eec5d99218f88af7de902386dd5e 100644 (file)
@@ -3,7 +3,7 @@ curl_multi_errno and curl_multi_strerror basic test
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-           exit("skip curl extension not loaded");
+        exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index 25c3b4962f5c6c66001dc2e0cee04794d9bc3c11..7620c421e4cdd26a2e908cd1b555b6e3a3be483d 100644 (file)
@@ -3,7 +3,7 @@ curl_multi_setopt basic test
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-           exit("skip curl extension not loaded");
+        exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index 3c2edb988de6b8faa33c47927a147f2d6e6e79ec..7d1b426a258a43a0da8dc827e8c0a4d564a83d6b 100644 (file)
@@ -3,7 +3,7 @@ curl_multi_strerror basic test
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-           exit("skip curl extension not loaded");
+        exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index 3a24121b57ee379eda649e4fbcf3cfafd51c3b68..d8f18eb76fd9c9ec4b19d82b33f596b44e89e54c 100644 (file)
@@ -3,7 +3,7 @@ curl_share_errno and curl_share_strerror basic test
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-           exit("skip curl extension not loaded");
+        exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index d53ae4ff8e963286ffc8d6ef30de993a9cac05fc..476ea688250b4b4dc1a1a5d9d454a78d980b01b2 100644 (file)
@@ -3,7 +3,7 @@ curl_share_setopt basic test
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-           exit("skip curl extension not loaded");
+        exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index 06342598962d96fb6075a167420f90a0c66c4e3a..85a13271c190a4cea9ec83c02ef5237cb7a84d52 100644 (file)
@@ -3,7 +3,7 @@ curl_strerror basic test
 --SKIPIF--
 <?php
 if (!extension_loaded("curl")) {
-           exit("skip curl extension not loaded");
+        exit("skip curl extension not loaded");
 }
 ?>
 --FILE--
index 36dc43d7605b65a5dcb5dc0a3f3c81a3da6277dd..65e8228149338830c7a14cc4d39f762ed428d47c 100644 (file)
@@ -3,7 +3,7 @@ strtotime() function
 --SKIPIF--
 <?php
 if (!@putenv("TZ=EST5") || getenv("TZ") != 'EST5') {
-       die("skip unable to change TZ environment variable\n");
+    die("skip unable to change TZ environment variable\n");
 }
 ?>
 --FILE--
index 80d4fa82fc453960b330ef3e63f558a64802a8d0..63eba795d866ebd6cdc29e771b79faad52058a78 100644 (file)
@@ -5,10 +5,10 @@ date.timezone=US/Eastern
 --SKIPIF--
 <?php
 if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
-       die("skip. set TZ env is not supported at runtime.");
+    die("skip. set TZ env is not supported at runtime.");
 }
 if (!@putenv("TZ=US/Eastern") || getenv("TZ") != 'US/Eastern') {
-       die("skip unable to change TZ environment variable\n");
+    die("skip unable to change TZ environment variable\n");
 }
 ?>
 --FILE--
index 38c724ed57017fd9434ac30c73e37d89e9e9ccc6..bfd416fc5e308c19b04708af01a6970dbec36cc9 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=GMT0
 --SKIPIF--
 <?php
 if (!@putenv("TZ=GMT0") || getenv("TZ") != 'GMT0') {
-       die("skip unable to change TZ environment variable\n");
+    die("skip unable to change TZ environment variable\n");
 }
 ?>
 --FILE--
index 563e39ab3060148e7415051f79636fea00b38569..b8d4fc1d2a3e2c37d9170da02e6f3b02c19380d3 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=GMT0
 --SKIPIF--
 <?php
 if (!@putenv("TZ=GMT0") || getenv("TZ") != 'GMT0') {
-       die("skip unable to change TZ environment variable\n");
+    die("skip unable to change TZ environment variable\n");
 }
 ?>
 --FILE--
index 32c066c1ca7ca8a03a0c80e0460cce9f5a39e3ca..fc466d411d1ecdeba6e1115f40e4089c73f26194 100644 (file)
@@ -2,7 +2,7 @@
 date_default_timezone_get() function [1]
 --SKIPIF--
 <?php
-       if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows");
+    if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows");
 ?>
 --INI--
 date.timezone=
index cf7478c90b502e35328fdb810103b4bda5a655d6..44d94cd76f2a3fa017038ac0193583d070a4c7fc 100644 (file)
@@ -2,7 +2,7 @@
 date_default_timezone_get() function [2]
 --SKIPIF--
 <?php
-       if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows");
+    if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows");
 ?>
 --INI--
 date.timezone=
index b1c107ba78c08a82331f85b4c44d95fb3ab143ba..ab0089e7f75b193435440f33c19a713d35e97957 100644 (file)
@@ -6,7 +6,7 @@ if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
     die("skip Test is not valid for Windows");
 }
 if(!setlocale(LC_ALL, "POSIX")) {
-       die("skip Locale POSIX is  needed by test and is not available");
+    die("skip Locale POSIX is  needed by test and is not available");
 }
 ?>
 --FILE--
index fe625b62bc6b4c0be4f0128a4b7d34b828f93875..a7a87c70c347401fb0e4d6bf9b092301faf49347 100644 (file)
@@ -2,8 +2,8 @@
 Bug #36436 (DBA problem with Berkeley DB4)
 --SKIPIF--
 <?php
-       $handler = 'db4';
-       require_once(__DIR__ .'/skipif.inc');
+    $handler = 'db4';
+    require_once(__DIR__ .'/skipif.inc');
 ?>
 --FILE--
 <?php
@@ -26,7 +26,7 @@ dba_close($db);
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 resource(%d) of type (dba persistent)
index fe4c68aa80fea726e99259f8db187a9fb7a31110..364d54d00496a15bc2191c04f6cca4ee4bea8b2f 100644 (file)
@@ -2,8 +2,8 @@
 Bug #38698 (Bug #38698 for some keys cdbmake creates corrupted db and cdb can't read valid db)
 --SKIPIF--
 <?php
-       $handler = 'cdb_make';
-       require_once(__DIR__ .'/skipif.inc');
+    $handler = 'cdb_make';
+    require_once(__DIR__ .'/skipif.inc');
 ?>
 --FILE--
 <?php
index c735c9a07d966f9cbbb980cd3b22665c68a2a5dc..bded251791c6733a774f90fe2966b2bcbca5488c 100644 (file)
@@ -2,8 +2,8 @@
 Bug #48240 (DBA Segmentation fault dba_nextkey)
 --SKIPIF--
 <?php
-       $handler = 'db4';
-       require_once(__DIR__ .'/skipif.inc');
+    $handler = 'db4';
+    require_once(__DIR__ .'/skipif.inc');
 ?>
 --FILE--
 <?php
@@ -20,7 +20,7 @@ dba_close($db);
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 bool(false)
index 70f59c97c91a28fa021e7bcbf8888d9e559c82a8..7e46ea9f1f04c433c0e351317267e0b1db7d511c 100644 (file)
@@ -2,8 +2,8 @@
 Bug #49125 (Error in dba_exists C code)
 --SKIPIF--
 <?php
-       $handler = 'db4';
-       require_once(__DIR__ .'/skipif.inc');
+    $handler = 'db4';
+    require_once(__DIR__ .'/skipif.inc');
 ?>
 --FILE--
 <?php
@@ -24,7 +24,7 @@ dba_close($db);
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 bool(true)
index 8bec60a543fc2bd6a783a570b96051137384bed9..dff291a39d263f5457c14d56b13fb1154014c52f 100644 (file)
@@ -2,7 +2,7 @@
 Bug #65708 (dba functions cast $key param to string in-place, bypassing copy on write)
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
+    require_once(__DIR__ .'/skipif.inc');
 ?>
 --FILE--
 <?php
@@ -29,7 +29,7 @@ dba_close($db);
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 integer
index 71fa8730b89aca9ebc1128fda15be5bad5a1dee1..490e9116d153ef629678b18cb910761ff23aabd1 100644 (file)
@@ -2,7 +2,7 @@
 Bug #72157 (use-after-free caused by dba_open)
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
+    require_once(__DIR__ .'/skipif.inc');
 ?>
 --FILE--
 <?php
index 79ebb2d23771310c590368da23c233bac69e57eb..d5984c54c8725d9ac38098579c88a6e030942cfc 100644 (file)
@@ -2,8 +2,8 @@
 DBA File Creation Test
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       die("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -18,7 +18,7 @@ DBA File Creation Test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index c0432c4599bc24375bd1adfd650916298c71064e..2aba823af25c6c876fabc71f20f6221f96d6a43a 100644 (file)
@@ -2,8 +2,8 @@
 DBA Insert/Fetch Test
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       die("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -19,7 +19,7 @@ DBA Insert/Fetch Test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index 55d4ce9fe010aa4300f78289fe27a65e51cc0317..dd08f86ed571fd1aa0f13023338d5f141520e7d4 100644 (file)
@@ -2,8 +2,8 @@
 DBA Insert/Replace/Fetch Test
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       die("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -21,7 +21,7 @@ DBA Insert/Replace/Fetch Test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index 3846ccfd2918e4a4afac9aa6bea7fecbd68fc78c..eebbc04ffb9ecf62891aae26df078f12c1cf4d72 100644 (file)
@@ -2,8 +2,8 @@
 DBA Multiple Insert/Fetch Test
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       die("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -25,7 +25,7 @@ DBA Multiple Insert/Fetch Test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index 0f5767988dd954eb43b1ec9e6521192440490e64..bde23a495defa683df2c1eb955705e74d35be20a 100644 (file)
@@ -2,8 +2,8 @@
 DBA FirstKey/NextKey Loop Test With 5 Items
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       die("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -32,7 +32,7 @@ DBA FirstKey/NextKey Loop Test With 5 Items
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index 1264ccf89955e94741af27b665a4c14d6dd622a0..dfe93f874db81aac815a8603a9457e92948fdda2 100644 (file)
@@ -2,8 +2,8 @@
 DBA FirstKey/NextKey with 2 deletes
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       die("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -34,7 +34,7 @@ DBA FirstKey/NextKey with 2 deletes
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index bb71ad273e40e905f1606928c5823a481c23b337..b617c34e9b6d6d34d0c8221789230ba0f739edd3 100644 (file)
@@ -2,9 +2,9 @@
 DBA Multiple File Creation Test
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       if (!function_exists('dba_list')) die('skip dba_list() not available');
-       die("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    if (!function_exists('dba_list')) die('skip dba_list() not available');
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -35,7 +35,7 @@ DBA Multiple File Creation Test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index 4ca9b0ed96ce4bb77ae0b92d93b01eed56192f07..3f23c9748c2e3379383c369e5ecaabf8305efdef 100644 (file)
@@ -2,8 +2,8 @@
 DBA dba_popen Test
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       print("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    print("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -26,7 +26,7 @@ DBA dba_popen Test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index f5cb08871a93653b9fd76fbbf196939b73856e09..1b0d6172aa3c6a651e40ddeac8b268b40115f332 100644 (file)
@@ -2,8 +2,8 @@
 DBA with array keys
 --SKIPIF--
 <?php
-       require_once(__DIR__ .'/skipif.inc');
-       die("info $HND handler used");
+    require_once(__DIR__ .'/skipif.inc');
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -37,7 +37,7 @@ if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: %s
index 42a448dde99d589dabb03d1449efa8bac980e3d5..1da13070492b4b003610412cbbe7322d1a32b6cc 100644 (file)
@@ -50,7 +50,7 @@ echo dba_fetch("key2", $db_file1), "\n";
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: flatfile
index 5d2a35990cdfb0859d89e25a78ba6698f6cc37b1..e670ec86b96b1ec410c01a5c0a184bbacf253bc2 100644 (file)
@@ -17,7 +17,7 @@ $db_file1 = dba_popen($db_filename, 'n-t', 'flatfile');
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: flatfile
index 956483f5f35f36dd91d38b88ec3b635a8878936e..7ed9a6487b9a93d03adc309222b90baf4133f593 100644 (file)
@@ -2,9 +2,9 @@
 DBA CDB handler test
 --SKIPIF--
 <?php
-       $handler = 'cdb';
-       require_once(__DIR__ .'/skipif.inc');
-       die('info CDB does not support replace or delete');
+    $handler = 'cdb';
+    require_once(__DIR__ .'/skipif.inc');
+    die('info CDB does not support replace or delete');
 ?>
 --FILE--
 <?php
@@ -14,7 +14,7 @@ DBA CDB handler test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 database handler: cdb
index 21969db0743a8074ec7b0177edbcf223fbe4d4f3..c15f49a8054187cc862d9f50315628a5dec86bdc 100644 (file)
@@ -2,9 +2,9 @@
 DBA CDB_MAKE handler test
 --SKIPIF--
 <?php
-       $handler = 'cdb_make';
-       require_once(__DIR__ .'/skipif.inc');
-       die('info CDB_MAKE does not support reading');
+    $handler = 'cdb_make';
+    require_once(__DIR__ .'/skipif.inc');
+    die('info CDB_MAKE does not support reading');
 ?>
 --FILE--
 <?php
@@ -32,7 +32,7 @@ DBA CDB_MAKE handler test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 database handler: cdb_make
index 39fc85e454caca437f300d2ed0eb508f681206ef..77afb95661d9acd955197e703e0b56706cc931e4 100644 (file)
@@ -2,8 +2,8 @@
 DBA CDB handler test (read only)
 --SKIPIF--
 <?php
-       $handler = 'cdb_make';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'cdb_make';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
index 26711c9d5e5c13c499d67cc7209b8769be8d16be..d87699bdaacb6cd92da59d4b4e1c4d7fcde9367d 100644 (file)
@@ -2,8 +2,8 @@
 DBA DB1 handler test
 --SKIPIF--
 <?php
-       $handler = 'db1';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'db1';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
index 013813062a4a0053d316a0d8004951481f4eb1a5..3683058d7dfa2f37bdd0a8ed596cb01afa32cc88 100644 (file)
@@ -2,8 +2,8 @@
 DBA DB2 handler test
 --SKIPIF--
 <?php
-       $handler = 'db2';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'db2';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
index f3c2061414caebf1ad5d89dad5ec989b24a16907..12a19fae7c1f92bb743af701a874a5e4f005a503 100644 (file)
@@ -2,8 +2,8 @@
 DBA DB3 handler test
 --SKIPIF--
 <?php
-       $handler = 'db3';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'db3';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
index e69d60489d1c7c5547e53c258d6d3ebad4bd9f42..c85f133fabbd5588237456455dbca58c34ccebb7 100644 (file)
@@ -50,7 +50,7 @@ echo dba_fetch("key2", $db_file1), "\n";
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --XFAIL--
 Test 6 crashes with dba pointer of NULL, bug http://bugs.php.net/bug.php?id=51278
index 47bbae28c075795071cb7c1f0601ed7c060584d6..6fc649d29c4450e3de5c94b6a747f6fefb565935 100644 (file)
@@ -2,8 +2,8 @@
 DBA DBM handler test
 --SKIPIF--
 <?php
-       $handler = 'dbm';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'dbm';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
@@ -13,7 +13,7 @@ DBA DBM handler test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 database handler: dbm
index 41bd0f891d307782e3a09de01795630e240f282a..c2022895ab70d9f3040522cb0951c714182fb288 100644 (file)
@@ -2,8 +2,8 @@
 DBA FlatFile handler test
 --SKIPIF--
 <?php
-       $handler = 'flatfile';
-       require_once(__DIR__ .'/skipif.inc');
+    $handler = 'flatfile';
+    require_once(__DIR__ .'/skipif.inc');
 ?>
 --FILE--
 <?php
@@ -13,7 +13,7 @@ DBA FlatFile handler test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 database handler: flatfile
index ae4216d7fd5c3f02534ed09def33e3e96ff8e60f..f8174dde58ee780c307b83b5c6d68095879d10bc 100644 (file)
@@ -2,8 +2,8 @@
 DBA GDBM handler test
 --SKIPIF--
 <?php
-       $handler = 'gdbm';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'gdbm';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
index e9bc185bf48ef80a7ba116785a692f53a7670467..d1db7beb6cd67821d57fa1d69a0a7097145c77ff 100644 (file)
@@ -2,8 +2,8 @@
 DBA INIFILE handler test
 --SKIPIF--
 <?php
-       $handler = 'inifile';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'inifile';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
@@ -13,7 +13,7 @@ DBA INIFILE handler test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 database handler: inifile
index a97244bf36918e4e8c3e7368868bfa26488c2e7a..b23a2686f8751863e5c919a7089ff9e0b7ac3a59 100644 (file)
@@ -2,8 +2,8 @@
 DBA LMDB handler test
 --SKIPIF--
 <?php
-       $handler = 'lmdb';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'lmdb';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
@@ -14,7 +14,7 @@ DBA LMDB handler test
 ?>
 --CLEAN--
 <?php
-       require_once __DIR__ .'/clean.inc';
+    require_once __DIR__ .'/clean.inc';
 ?>
 --EXPECTF--
 database handler: lmdb
index 74f316e1908e34b393868800fe43dfdd86323560..0cd00bbab191e7fd94cc2fa154521362b74419cf 100644 (file)
@@ -2,8 +2,8 @@
 DBA NDBM handler test
 --SKIPIF--
 <?php
-       $handler = 'ndbm';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'ndbm';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
index c0ecc3101d8424aa1f6b83ce007ce48fe193d8a0..e36643944f313d6ef1abd4e7a5365bdd4a1fd490 100644 (file)
@@ -2,8 +2,8 @@
 DBA Optimize Test
 --SKIPIF--
 <?php
-       require_once __DIR__ .'/skipif.inc';
-       die("info $HND handler used");
+    require_once __DIR__ .'/skipif.inc';
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -32,7 +32,7 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 database handler: flatfile
index efe34653b3f552b179475d55d471c56a8c35f437..940b929bdf2846dcc489c9b9ae030138cc199fc2 100644 (file)
@@ -2,8 +2,8 @@
 DBA QDBM handler test
 --SKIPIF--
 <?php
-       $handler = 'qdbm';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'qdbm';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
@@ -14,7 +14,7 @@ DBA QDBM handler test
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECTF--
 database handler: qdbm
index a85798474182b0f4aa6c89b69f67d153dd562822..246018715033b42d6ccd99a4cf71f9daca32e301 100644 (file)
@@ -2,8 +2,8 @@
 DBA Split Test
 --SKIPIF--
 <?php
-       require_once __DIR__ .'/skipif.inc';
-       die("info $HND handler used");
+    require_once __DIR__ .'/skipif.inc';
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
index 56cba13a1ce54d53c0440ad32177cf5531ad17e4..ffd5a13003ea0196a86caba691214b2d7501b25e 100644 (file)
@@ -2,8 +2,8 @@
 DBA Sync Test
 --SKIPIF--
 <?php
-       require_once __DIR__ .'/skipif.inc';
-       die("info $HND handler used");
+    require_once __DIR__ .'/skipif.inc';
+    die("info $HND handler used");
 ?>
 --FILE--
 <?php
@@ -32,7 +32,7 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
 ?>
 --CLEAN--
 <?php
-       require(__DIR__ .'/clean.inc');
+    require(__DIR__ .'/clean.inc');
 ?>
 --EXPECT--
 database handler: flatfile
index 0d7c32f06c6ac02bdddbb8431b3eabbb84fdfea7..f8ff71cb9eadc7da117f520e7ed5eb8859863f52 100644 (file)
@@ -2,8 +2,8 @@
 DBA TCADB handler test
 --SKIPIF--
 <?php
-       $handler = 'tcadb';
-       require_once __DIR__ .'/skipif.inc';
+    $handler = 'tcadb';
+    require_once __DIR__ .'/skipif.inc';
 ?>
 --FILE--
 <?php
index 2fe9cdac7591ee141591d415628386c83e523564..2b92048ea8c8db3f6e2049dd5e7f02b1293b52f0 100644 (file)
@@ -25,8 +25,8 @@ echo 'Wrote: ' . $doc->save($temp_filename) . ' bytes'; // Wrote: 72 bytes
 ?>
 --CLEAN--
 <?php
-       $temp_filename = __DIR__."/DomDocument_save_basic.tmp";
-       unlink($temp_filename);
+    $temp_filename = __DIR__."/DomDocument_save_basic.tmp";
+    unlink($temp_filename);
 ?>
 --EXPECT--
 Wrote: 72 bytes
index 07134ae50fa2bae3967275a60c27c6c8e76ee7f6..93ec1fafdc820b732a76deea2c8fca2500bfcaa8 100644 (file)
@@ -5,21 +5,21 @@ marcosptf - <marcosptf@yahoo.com.br>
 --SKIPIF--
 <?php
 if (!extension_loaded('enchant')) {
-       echo "skip: Enchant extension not enabled\n";
-       exit;
+    echo "skip: Enchant extension not enabled\n";
+    exit;
 }
 
 $broker = enchant_broker_init();
 
 if (!$broker) {
-       echo "skip: Unable to init broker\n";
-       exit;
+    echo "skip: Unable to init broker\n";
+    exit;
 }
 
 if (!enchant_broker_describe($broker)) {
-       @enchant_broker_free($broker);
+    @enchant_broker_free($broker);
 
-       echo "skip: No broker providers found\n";
+    echo "skip: No broker providers found\n";
 }
 
 @enchant_broker_free($broker);
index ad4121512c2ee232e2587e7865fde08f7a01ad20..a12527733c97f78c3eb57a6dd1e501066e92f340 100644 (file)
@@ -5,21 +5,21 @@ marcosptf - <marcosptf@yahoo.com.br>
 --SKIPIF--
 <?php
 if (!extension_loaded('enchant')) {
-       echo "skip: Enchant extension not enabled\n";
-       exit;
+    echo "skip: Enchant extension not enabled\n";
+    exit;
 }
 
 $broker = enchant_broker_init();
 
 if (!$broker) {
-       echo "skip: Unable to init broker\n";
-       exit;
+    echo "skip: Unable to init broker\n";
+    exit;
 }
 
 if (!enchant_broker_list_dicts($broker)) {
-       @enchant_broker_free($broker);
+    @enchant_broker_free($broker);
 
-       echo "skip: No broker dicts installed\n";
+    echo "skip: No broker dicts installed\n";
 }
 
 @enchant_broker_free($broker);
index f195fdc52253f1d7ba9c22f9aa7a22bb45c090c3..9cfdd2c6f9f4b8d4a9dd9c96e5999df099bb1b0a 100644 (file)
@@ -3,21 +3,21 @@ bug #13181, leaving a context frees the broker resources
 --SKIPIF--
 <?php
 if (!extension_loaded('enchant')) {
-       echo "skip: Enchant extension not enabled\n";
-       exit;
+    echo "skip: Enchant extension not enabled\n";
+    exit;
 }
 
 $broker = enchant_broker_init();
 
 if (!$broker) {
-       echo "skip: Unable to init broker\n";
-       exit;
+    echo "skip: Unable to init broker\n";
+    exit;
 }
 
 if (!enchant_broker_list_dicts($broker)) {
-       @enchant_broker_free($broker);
+    @enchant_broker_free($broker);
 
-       echo "skip: No broker dicts installed\n";
+    echo "skip: No broker dicts installed\n";
 }
 
 @enchant_broker_free($broker);
index 59a3ab74d518f80954b2ed877407f68d0790ba2b..7a69ba470e5093efb1070d132d883d100bcbb841 100644 (file)
@@ -2085,7 +2085,7 @@ static inline zend_bool exif_offset_info_contains(
        return start >= info->valid_start && end <= info->valid_end;
 }
 
-#ifdef EXIF_DEBUG 
+#ifdef EXIF_DEBUG
 static inline int exif_offset_info_length(const exif_offset_info *info)
 {
        return info->valid_end - info->valid_start;
index 9d66e35ddc56a0afa27c19ae3f60a5c415ee13b5..6c043af4e2fdb92e561ad34cc42542c2e98d00b9 100644 (file)
@@ -2,9 +2,9 @@
 Check for exif_read_data, Unicode user comment
 --SKIPIF--
 <?php
-       if (!extension_loaded('exif')) die('skip exif extension not available');
-       if (!extension_loaded('mbstring')) die('skip mbstring extension not available');
-       if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl');
+    if (!extension_loaded('exif')) die('skip exif extension not available');
+    if (!extension_loaded('mbstring')) die('skip mbstring extension not available');
+    if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl');
 ?>
 --INI--
 output_handler=
index 2b2e978d528df8592fff42dca155a13fcde089c8..1b371ff81f8860b2919d8a9f6f239b13494dd72d 100644 (file)
@@ -2,9 +2,9 @@
 Check for exif_read_data, Unicode WinXP tags
 --SKIPIF--
 <?php
-       if (!extension_loaded('exif')) die('skip exif extension not available');
-       if (!extension_loaded('mbstring')) die('skip mbstring extension not available');
-       if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl');
+    if (!extension_loaded('exif')) die('skip exif extension not available');
+    if (!extension_loaded('mbstring')) die('skip mbstring extension not available');
+    if (!defined("EXIF_USE_MBSTRING") || !EXIF_USE_MBSTRING) die ('skip mbstring loaded by dl');
 ?>
 --INI--
 output_handler=
index 634d8d44362a79c4295cb1b748ec6f6f8ea58953..62cd0b2bdb602546390ec45718b92572ed1e2b36 100644 (file)
@@ -5,9 +5,9 @@ FFI 100: PHP symbols
 <?php require_once('utils.inc'); ?>
 <?php
 try {
-       ffi_cdef("extern void *zend_printf;", ffi_get_php_dll_name());
+    ffi_cdef("extern void *zend_printf;", ffi_get_php_dll_name());
 } catch (Throwable $e) {
-       die('skip PHP symbols not available');
+    die('skip PHP symbols not available');
 }
 ?>
 --INI--
index 3acc98f035a59d46275fe255a2104e8b46f54427..d3a81cbfd1bdcc685929b535829629135cf27f68 100644 (file)
@@ -5,9 +5,9 @@ FFI 101: PHP symbols (function address)
 <?php require_once('utils.inc'); ?>
 <?php
 try {
-       ffi_cdef("extern void *zend_printf;", ffi_get_php_dll_name());
+    ffi_cdef("extern void *zend_printf;", ffi_get_php_dll_name());
 } catch (Throwable $e) {
-       die('skip PHP symbols not available');
+    die('skip PHP symbols not available');
 }
 ?>
 --INI--
index 39dcbdf71a6b78cbdcc0691a48a5f71b554c8748..0fba3d4e16175f64772728656f942e6a7b24152e 100644 (file)
@@ -5,9 +5,9 @@ FFI 200: PHP callbacks
 <?php require_once('utils.inc'); ?>
 <?php
 try {
-       FFI::cdef("void* zend_write;", ffi_get_php_dll_name());
+    FFI::cdef("void* zend_write;", ffi_get_php_dll_name());
 } catch (Throwable $e) {
-       die('skip PHP symbols not available');
+    die('skip PHP symbols not available');
 }
 ?>
 --INI--
index 314424548a0fab4cb8e669993449fc5576353c48..df9078b723486b662784c3bcfee4871198393744 100644 (file)
@@ -4,9 +4,9 @@ Bug #77632 (FFI Segfaults When Called With Variadics)
 <?php
 require_once('skipif.inc');
 try {
-       $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
+    $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
 } catch (Throwable $_) {
-       die('skip libc.so.6 not available');
+    die('skip libc.so.6 not available');
 }
 ?>
 --INI--
index 2509aa9bae8c83267df3016757651e2a6cd95107..c0fee9ed4f531aad78859160e3b67a2072c92a47 100644 (file)
@@ -5,9 +5,9 @@ Bug #77632 (FFI function pointers with variadics)
 require_once('skipif.inc');
 require_once('utils.inc');
 try {
-       FFI::cdef("extern void *zend_printf;", ffi_get_php_dll_name());
+    FFI::cdef("extern void *zend_printf;", ffi_get_php_dll_name());
 } catch (Throwable $_) {
-       die('skip PHP symbols not available');
+    die('skip PHP symbols not available');
 }
 ?>
 --INI--
index 87ef584d51284eb5e4f3812c96926a42149c9e44..5a44d5855371bc0f3e359c62784d9e87c04d4f4b 100644 (file)
@@ -4,9 +4,9 @@ Bug #77632 (FFI Segfaults When Called With Variadics)
 <?php
 require_once('skipif.inc');
 try {
-       $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
+    $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
 } catch (Throwable $_) {
-       die('skip libc.so.6 not available');
+    die('skip libc.so.6 not available');
 }
 ?>
 --INI--
index 6c29db59d7cef27ccfb292625428e6f1f8a5844b..204a6e4f8cdb9b2881d93764525df0031291fb08 100644 (file)
@@ -4,9 +4,9 @@ Bug #77768 (Redeclaration of builtin types and repeated declarations)
 <?php
 require_once('skipif.inc');
 try {
-       $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
+    $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6");
 } catch (Throwable $_) {
-       die('skip libc.so.6 not available');
+    die('skip libc.so.6 not available');
 }
 ?>
 --INI--
index 184ea6e0186270d2fdd9ccb20982d009f888c554..a2375005017fe99f09de71d59203470b7166e3b7 100644 (file)
@@ -3,7 +3,7 @@ Bug #57547 Settings options on file doesn't give same result as constructor opti
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --FILE--
 <?php
 
index b96e08662d3b1423b01189f20500d77405da49c6..dba814936f95637f5a1c4a2b558117bb0cfbd421 100644 (file)
@@ -3,7 +3,7 @@ Bug #61173: Unable to detect error from finfo constructor
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --FILE--
 <?php
 
index 6f4147fb0ea5cd320c0e71a78141f4d9bfc921d1..7eed8049a55f3885bec2e8d1e08a9a4f11ef52e1 100644 (file)
@@ -3,7 +3,7 @@ Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE)
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --FILE--
 <?php
 
index c5ce8f9dc1751b19feed69d8695af06a136951ce..b3f4d576a0ebf0871ed2febfa4f7ae318e1bbb8b 100644 (file)
@@ -2,11 +2,11 @@
 Bug #67647: Bundled libmagic 5.17 does not detect quicktime files correctly
 --SKIPIF--
 <?php
-       require_once(__DIR__ . '/skipif.inc');
+    require_once(__DIR__ . '/skipif.inc');
 
-       if (ini_get("default_charset") != "UTF-8") {
-               die("skip require default_charset == UTF-8");
-       }
+    if (ini_get("default_charset") != "UTF-8") {
+        die("skip require default_charset == UTF-8");
+    }
 ?>
 --FILE--
 <?php
@@ -29,9 +29,9 @@ var_dump($fi->file($f));
 +++DONE+++
 --CLEAN--
 <?php
-       $f_base = "67647私はガラスを食べられます.mov";
-       $f = __DIR__ . DIRECTORY_SEPARATOR . $f_base;
-       unlink($f);
+    $f_base = "67647私はガラスを食べられます.mov";
+    $f = __DIR__ . DIRECTORY_SEPARATOR . $f_base;
+    unlink($f);
 ?>
 --EXPECT--
 string(15) "video/quicktime"
index c15b83c951f173c3a84cee23bbdfce94736a2ee2..5ae63ee11f7751575c1a9e6a383bc74269841c86 100644 (file)
@@ -3,7 +3,7 @@ Bug #68731 finfo_buffer doesn't extract the correct mime with some gifs
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --FILE--
 <?php
     $buffer = file_get_contents(__DIR__ . '/68731.gif');
index 9ab2bf2cb39add9b59f74eece11a6987aeb0002d..e6800b5f4a4e831d1be4fbf62811c1e3a2f5ee09 100644 (file)
@@ -12,8 +12,8 @@ var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
 ?>
 --CLEAN--
 <?php
-       $fname = __DIR__ . DIRECTORY_SEPARATOR . "bug69320.txt";
-       unlink($fname);
+    $fname = __DIR__ . DIRECTORY_SEPARATOR . "bug69320.txt";
+    unlink($fname);
 ?>
 --EXPECT--
 string(10) "text/plain"
index 272cdba702fb4d0b94f1447031cec5e493c00ad9..ea32a8122a923314434269ed675e09d98720942e 100644 (file)
@@ -3,7 +3,7 @@ Bug #71527 Buffer over-write in finfo_open with malformed magic file
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --ENV--
 USE_ZEND_ALLOC=0
 --FILE--
index e6289b73fdeef97430ba637ae33d29b378b17ddf..9a00c4f32b83d7130fff3d4f8061526443cafc84 100644 (file)
@@ -3,7 +3,7 @@ Bug #71527 Buffer over-write in finfo_open with malformed magic file
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --ENV--
 USE_ZEND_ALLOC=0
 --FILE--
index ceb0adc32f42989789a27be9d3b6078badd3050a..e6a3fd59784e481df9cc50eccba3376d139278a3 100644 (file)
@@ -3,11 +3,11 @@ Bug #74170 locale information change after mime_content_type
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (setlocale(LC_CTYPE, 'ru_RU.koi8r') === false)
-       die('skip ru_RU.koi8r locale is not available');
+    die('skip ru_RU.koi8r locale is not available');
 ?>
 --FILE--
 <?php
index b5cab7774ff9dac38622d1027267090f6311ae25..4de1bd71bca9b05499ab41d374ac801d3c1396c2 100644 (file)
@@ -3,7 +3,7 @@ Bug #66731: file: infinite recursion
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --FILE--
 <?php
 $fd = __DIR__.'/cve-2014-1943私はガラスを食べられます.data';
index 588c087c54264a7c44cc603a52eedf4dcf11b6a9..32453d98d3a7e7bb4a6f16b7d65f634db2ea771e 100644 (file)
@@ -3,7 +3,7 @@ Bug #66731: file: infinite recursion
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --FILE--
 <?php
 $fd = __DIR__.'/cve-2014-1943.data';
index bad322e3ca29fa3942f229314764f4c065a01055..4d0050f95096bb5b49529a31bce79d3405ddcdd8 100644 (file)
@@ -3,9 +3,9 @@ Bug #66731: file: extensive backtracking
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 if (getenv('SKIP_PERF_SENSITIVE'))
-       die("skip performance sensitive test");
+    die("skip performance sensitive test");
 ?>
 --FILE--
 <?php
index bed288ce32afb6ac5f2dc0c44094ec5f9f0d20cf..61f99ebcee9f7af487bfea52e4a4efe70f50fc28 100644 (file)
@@ -3,11 +3,11 @@ Bug #66731: file: extensive backtracking, with pcre.jit=0
 --SKIPIF--
 <?php
 if (defined("PHP_DEBUG") && PHP_DEBUG)
-       die("skip not suitable for debug build");
+    die("skip not suitable for debug build");
 if (getenv('SKIP_PERF_SENSITIVE'))
     die("skip performance sensitive test");
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 ?>
 --INI--
 pcre.jit=0
index 0ff2a68685b7e57330edf76953e7e6a7baf987cf..4d571b1b3f8b721ea0d0c7d91772b7e5d623c438 100644 (file)
@@ -3,9 +3,9 @@ Bug #66731: file: extensive backtracking
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 if (getenv('SKIP_PERF_SENSITIVE'))
-       die("skip performance sensitive test");
+    die("skip performance sensitive test");
 ?>
 --FILE--
 <?php
index 5c4079b97a1e8574adcfc058159457f8923e99bb..440c2184805e9ed3607c07b4b886dafc4dfd3b6b 100644 (file)
@@ -3,7 +3,7 @@ Test FILEINFO_EXTENSION flag
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
-       die('skip no fileinfo extension');
+    die('skip no fileinfo extension');
 --FILE--
 <?php
 
index 2832f72645e2695290a27d8fcf733917f3e11e1e..c6c3ed08ce3ad2baa4305f6148ca95bdf8195845 100644 (file)
@@ -2,7 +2,7 @@
 Bug #19366 (gdimagefill() function crashes (fixed in bundled libgd))
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index ae347edd70f2576b0668aec8287cdb43fc5d5206..23499617b88f7ddfb1a329afaa41101a7e1d78e6 100644 (file)
@@ -2,9 +2,9 @@
 Bug #22544 (TrueColor transparency in PNG images).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index c7b1e91966d63de850033d6e0f31643ea6c58134..3aca54df97a3c8cde4456cd7e5b50d5f2914d7cb 100644 (file)
@@ -2,9 +2,9 @@
 Bug #22544 (TrueColor transparency in PNG images).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index ff4f40fdeced262c013df969c0a9fc736ef84fe2..59da4598491e03c22aa3493f957da558369da7ad 100644 (file)
@@ -2,10 +2,10 @@
 Bug #24155 (gdImageRotate270 rotation problem).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
-       if (!function_exists("imagerotate")) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
+    if (!function_exists("imagerotate")) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index 138258cbbc74188e157e62e78cccd888c08c2844..4c91c6fe14639ccc22d98c162d45427868c5fc77 100644 (file)
@@ -2,9 +2,9 @@
 Bug #24594 (Filling an area using tiles).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index fc5f37c5a0af7d6463d2d53d451ee720ea5d06bd..def3bfd23333c82640835c688137284e69941d9a 100644 (file)
@@ -2,7 +2,7 @@
 Bug #28147 (Crash with anti-aliased line)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 371c8e48be452026c9c7dd46f98f57c21bb0549a..8e7097eaa017f6f49c89be980dd983be162bedf2 100644 (file)
@@ -2,9 +2,9 @@
 Bug #36697 (TrueColor transparency with GIF palette output).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index 262b881ca0d96a9bd042b46437c38464a8341139..990d65b2234cb27ad3b86f1b136bd1d4b9e887e0 100644 (file)
@@ -2,9 +2,9 @@
 Bug #36697 (TrueColor transparency with GIF palette output).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index e1a9b8b4706c9d9f2db2f0e7cb4f8119b54b0719..92a0416985feddb5b2b25176cbe3a57110cb7053 100644 (file)
@@ -2,7 +2,7 @@
 Bug #37346 (gdimagecreatefromgif, bad colormap)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 40b3341685daa6d306f1716ec30fc03c50307a4c..3884024c454852b53061259d4f9b29a6f4f69913 100644 (file)
@@ -2,7 +2,7 @@
 Bug #37346 (gdimagecreatefromgif, bad colormap)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 74a58223a96c0d18586a89dcfc3bb67d1927348b..356c877f71539126b0fc1d266a5ed3362f9c8910 100644 (file)
@@ -2,7 +2,7 @@
 Bug #37360 (gdimagecreatefromgif, bad image sizes)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 4eb553b6143845ced5e613cab0313f9d02bcbff8..328741a921901da98c00965845702fd6ad2f615a 100644 (file)
@@ -2,9 +2,9 @@
 Bug #38112 (GIF Invalid Code size ).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index 9bd6f5edc4e3591b1472eb292f2d545e16cb7bb5..e6f1ad757560ea72d533d73660b7e20bd9e808c0 100644 (file)
@@ -2,9 +2,9 @@
 Bug #39082 (Output image to stdout segfaults).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index 7e938f4bb177e691dd0f7dc2aca69b9f9a0df0ac..3fb56761e7f2a5859a36906df2e5420875dfa694 100644 (file)
@@ -2,7 +2,7 @@
 Bug #37360 (gdimagecreatefromgif, bad image sizes)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 85c72fe8604377aededfef363d022590ba7737c5..c23f9eadf1b6516ebc7d77fe964e8a9c6a5be362 100644 (file)
@@ -2,8 +2,8 @@
 Bug #39366 (imagerotate does not respect alpha with angles>45)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!function_exists("imagerotate")) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!function_exists("imagerotate")) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index f00a4aae4e2e10acc5746a82ca1c5afeb2876b56..6bfd83614fe42ac79d53afe8cb6011ac59f55aee 100644 (file)
@@ -2,7 +2,7 @@
 Bug #39508 (imagefill crashes with small images 3 pixels or less)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 6468f28b7342d7590c0debcdfdb847503e26e949..700dad46cfce02742076c65ff8a37a9f8a587371 100644 (file)
@@ -2,8 +2,8 @@
 Bug #39780 (PNG image with CRC/data error raises a fatal error)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index e09047731483135884aa21e0672fd43472d086f2..52c64534dc42786f11e87b0a45f7af7d74cdba21 100644 (file)
@@ -2,8 +2,8 @@
 Bug #39780 (PNG image with CRC/data error raises a fatal error)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (GD_BUNDLED) die("skip requires extern GD\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (GD_BUNDLED) die("skip requires extern GD\n");
 ?>
 --FILE--
 <?php
index 3802094e2552de9ac38f3987281fbdf0bd06c4dd..8a673207b60cdd05088c86e3cae0dd305599ed7c 100644 (file)
@@ -2,7 +2,7 @@
 Bug #40764 (line thickness not respected for horizontal and vertical lines)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 351734931acccdb28aec40fe7e9c75bb2cc6f092..2f88cc6d6cf27b6be99e4af2cf558dad38884f7d 100644 (file)
@@ -2,12 +2,12 @@
 Bug #41442 (imagegd2() under output control)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
-       if (!function_exists("imagegd2")) {
-               die("skip GD2 support unavailable");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
+    if (!function_exists("imagegd2")) {
+        die("skip GD2 support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 3db42a228e0ec8d04c101684804cbec309fade29..854e49eac4c62a6913c18a063eab1b45d730645c 100644 (file)
@@ -3,7 +3,7 @@ Bug #42434 (ImageLine w/ antialias = 1px shorter)
 --SKIPIF--
 <?php
 if (!extension_loaded('gd')) {
-       die('skip gd extension not available');
+    die('skip gd extension not available');
 }
 ?>
 --FILE--
index 74641496de970ed5f637e92ba7f7f8fd937e252e..4257f6c1a7d8fc56e6dd8dd41f5d53426eb139c4 100644 (file)
@@ -2,8 +2,8 @@
 Bug #43073 (TrueType bounding box is wrong for angle<>0)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imagettftext')) die('skip imagettftext() not available');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imagettftext')) die('skip imagettftext() not available');
 ?>
 --FILE--
 <?php
index 1c3a7e5bc7261daee06f8696daeeaf122d9d7152..38668fdfbbcd6c41796223c0928bfd02a39c588f 100644 (file)
@@ -2,10 +2,10 @@
 Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.0', '<')) {
-               die("skip test requires GD 2.2.0 or higher");
-       }
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.0', '<')) {
+        die("skip test requires GD 2.2.0 or higher");
+    }
 ?>
 --FILE--
 <?php
index 9264299181c2f8ccf1264446d1b43a14612dca4c..71c567570a63c8805b493d141f08f690f575af1b 100644 (file)
@@ -2,10 +2,10 @@
 Bug #43475 (Thick styled lines have scrambled patterns)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-               die("skip test requires GD 2.2.2 or higher");
-       }
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
+        die("skip test requires GD 2.2.2 or higher");
+    }
 ?>
 --FILE--
 <?php
index 0f130d28fd356af939a43bd2dc752c1d7553a287..de2b51ea3bdc57d7a6a55daa0aa12de6c30f26d3 100644 (file)
@@ -4,7 +4,7 @@ Bug #43828 (broken transparency of imagearc for truecolor in blendingmode)
 <?php
 if (!extension_loaded('gd')) die('skip ext/gd not available');
 if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-       die("skip test requires GD 2.2.2 or higher");
+    die("skip test requires GD 2.2.2 or higher");
 }
 ?>
 --FILE--
index 22e8a65ec45bc451038bf82aca35f4682ac8f5b9..4710f218f9b21c3ba6d49e919ddb57eb61cd3d66 100644 (file)
@@ -2,7 +2,7 @@
 Bug #44849 (imagecolorclosesthwb is not available on Windows)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 ?>
 --FILE--
 <?php
index 34fafa94231b920ba9172019c62b3519617c9ccf..fd7af45b91b8ce819907c12c5d9d4ae8914f776e 100644 (file)
@@ -2,7 +2,7 @@
 Bug #45799 (imagepng() crashes on empty image).
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 03ee5a2b945a113c67b45ae7f0fe7a04173490c7..68c533d75a98792d46037e703caba8821825f004 100644 (file)
@@ -2,8 +2,8 @@
 Bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imageftbbox')) die('skip imageftbbox() not available');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imageftbbox')) die('skip imageftbbox() not available');
 ?>
 --FILE--
 <?php
index 437731bb4bdcac8b4cc3a297696d050f039b69f8..8f27d28086433cd185dbb66a7189dd20a58cb59e 100644 (file)
@@ -2,9 +2,9 @@
 Bug #48732 (TTF Bounding box wrong for letters below baseline)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imagefttext')) die('skip imagefttext() not available');
-       if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imagefttext')) die('skip imagefttext() not available');
+    if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows');
 ?>
 --FILE--
 <?php
index b2be6a47f1ba15beee4b00c4dcec6bdca4269fa2..323690e2a0919b9fa32d2f9c487110cdbdffdfe4 100644 (file)
@@ -2,8 +2,8 @@
 Bug #48732 (TTF Bounding box wrong for letters below baseline)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imagefttext')) die('skip imagefttext() not available');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imagefttext')) die('skip imagefttext() not available');
 ?>
 --FILE--
 <?php
index 1793ac33863b9f517c9f16b4f654ad4146b7f817..435af2d3904eeeba690cbb892a0eb88130d7492e 100644 (file)
@@ -2,9 +2,9 @@
 Bug #48801 (Problem with imagettfbbox)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imageftbbox')) die('skip imageftbbox() not available');
-       if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imageftbbox')) die('skip imageftbbox() not available');
+    if (substr(PHP_OS, 0, 3) == 'WIN') die('skip UTF-8 font file names not yet supported on Windows');
 ?>
 --FILE--
 <?php
index b5e32af48063ef1e43330c72edcfd1b060258d34..0975d7d774517f5240f20173045da2d5b6e9feb6 100644 (file)
@@ -2,8 +2,8 @@
 Bug #48801 (Problem with imagettfbbox)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imageftbbox')) die('skip imageftbbox() not available');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imageftbbox')) die('skip imageftbbox() not available');
 ?>
 --FILE--
 <?php
index 79830be71f96fc023940d4951aafba1a86be90e3..3817391765cf70304a108e009424412d7747fd00 100644 (file)
@@ -2,9 +2,9 @@
 Bug #49600 (imageTTFText text shifted right)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imagettftext')) die('skip imagettftext() not available');
-       if(!function_exists('imagettfbbox')) die('skip imagettfbbox() not available');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imagettftext')) die('skip imagettftext() not available');
+    if(!function_exists('imagettfbbox')) die('skip imagettfbbox() not available');
 ?>
 --FILE--
 <?php
index 6f14cd3c9846370419adc51b9796142bf34043c6..04d827709465e3f9cc284d94be1f32860870a67d 100644 (file)
@@ -2,8 +2,8 @@
 Bug #51263 (imagettftext and rotated text uses wrong baseline)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imagettftext')) die('skip imagettftext() not available');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imagettftext')) die('skip imagettftext() not available');
 ?>
 --FILE--
 <?php
index 1d72e734a95e014a90e845e84fcff2fa19f748e3..1520e84f35e32fe6834967d3ad706c8d0038fd18 100644 (file)
@@ -2,7 +2,7 @@
 Bug #51671 (imagefill does not work correctly for small images)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 ?>
 --FILE--
 <?php
index 11e7a8af57f2dba51a1dd5b6ae355b6584b3178f..3a6a06006aa06acd00c9e7b0cf124a783531a99b 100644 (file)
@@ -2,8 +2,8 @@
 Bug #53504 imagettfbbox/imageftbbox gives incorrect values for bounding box
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imageftbbox')) die('skip imageftbbox() not available');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imageftbbox')) die('skip imageftbbox() not available');
 ?>
 --FILE--
 <?php
index c6a50ba48b33f96bfffe548c94e415b31fe230d8..ed7b463c305e2692cbc0a9dd30c481827701acd5 100644 (file)
@@ -2,7 +2,7 @@
 Bug #60160 (imagefill does not work correctly for small images) @see bug51671
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 ?>
 --FILE--
 <?php
index 4eb2e28730c7346785658697b9c9f2b971b7b085..69f76e5719afbabd994ad175314a6caac5af876a 100644 (file)
@@ -4,7 +4,7 @@ Bug #64641 (imagefilledpolygon doesn't draw horizontal line)
 <?php
 if (!extension_loaded('gd')) die("skip gd extension not available\n");
 if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-       die("skip test requires GD 2.2.2 or higher");
+    die("skip test requires GD 2.2.2 or higher");
 }
 ?>
 --FILE--
index a255997ca08aaf43da3a69a48020c729dfb20a97..0803ed48bdfddbe210000eb96105ac5b1939ddc8 100644 (file)
@@ -2,7 +2,7 @@
 Bug #66356 (Heap Overflow Vulnerability in imagecrop())
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 ?>
 --FILE--
 <?php
index c17454433d944d36d7d44f254daa9101d6497a3d..985183effcafa2df2d873de95a774123c720cf13 100644 (file)
@@ -2,9 +2,9 @@
 Bug #67447 (imagecrop() adds a black line when cropping)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index cd10a8ffc03d8b59061d7c9189935e379f6cef11..6af034383fdf6232c11e560285500e9691e7abd4 100644 (file)
@@ -2,7 +2,7 @@
 Bug #70976 (Memory Read via gdImageRotateInterpolated Array Index Out of Bounds)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 ?>
 --FILE--
 <?php
index 6aed9e936175461af117d4fc66d0c48b4170629a..0a4a8e31a0bfd200d6a93135b98ce15b8b5559c7 100644 (file)
@@ -2,7 +2,7 @@
 Bug #71952 (Corruption inside imageaffinematrixget)
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 ?>
 --FILE--
 <?php
index fb1b5bde94c1ade83b8b0649b291a802c7c75489..943d961f46c41f078d6de0aa08431798c1f747d1 100644 (file)
@@ -2,7 +2,7 @@
 Bug #72227: imagescale out-of-bounds read
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index a3aa491cbe9782fcac2a620266c4e8de9638506e..0224c2ed4fdc3b1ab15a3ed5236f0e5eb1a1e02b 100644 (file)
@@ -2,7 +2,7 @@
 Bug #72298: pass2_no_dither out-of-bounds access
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 4baaa92ab21e148643aeac948728ee07914be4ca..442f6ab290fff5f9262bc832d0905b00dad62af1 100644 (file)
@@ -4,7 +4,7 @@ Bug #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow
 <?php
 if (!function_exists("imagecreatefromgd2")) print "skip";
 if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-       die("skip test requires GD 2.2.2 or higher");
+    die("skip test requires GD 2.2.2 or higher");
 }
 ?>
 --FILE--
index e9331ec600639c530330494efc0e70ba8221fa43..96b6de10237d74b79aa63158d7f90969dad1f022 100644 (file)
@@ -2,10 +2,10 @@
 Bug #19366 (gdimagefill() function crashes (fixed in bundled libgd))
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-               die("skip test requires GD 2.2.2 or higher");
-       }
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
+        die("skip test requires GD 2.2.2 or higher");
+    }
 ?>
 --FILE--
 <?php
index 565d60a6329f551ca8f35892afcab01a97b02ec8..d9c6c8e297ca128107ffd54a3af2580428e64395 100644 (file)
@@ -2,10 +2,10 @@
 Bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access, var 0
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-               die("skip test requires GD 2.2.2 or higher");
-       }
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
+        die("skip test requires GD 2.2.2 or higher");
+    }
 ?>
 --FILE--
 <?php
index 2983ff29b89deb97f957257a6d7f033ad5ee0ac8..0c5ae7cb767ceff4929354d8b8794445c4fcfd60 100644 (file)
@@ -2,10 +2,10 @@
 Bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access, var 1
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-               die("skip test requires GD 2.2.2 or higher");
-       }
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
+        die("skip test requires GD 2.2.2 or higher");
+    }
 ?>
 --FILE--
 <?php
index a5b0dfe339bba6b8c451be887338e887cf65351c..1bf9895c1b6c98f7715ba5d2329a38e21865f59e 100644 (file)
@@ -2,9 +2,9 @@
 Test max colors for a gd image.
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available\n");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available\n");
+    }
 ?>
 --FILE--
 <?php
index c6a1a22427d6a7cf4170f2e520351345491c4051..37f7cd48ff6c170807cbd7f8eceb63e09f9a7834 100644 (file)
@@ -2,8 +2,8 @@
 imagecreatefromwbmp with invalid wbmp
 --SKIPIF--
 <?php
-       if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+    if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index ab15ec024e7e79f87c9b68761aa059489fa1e4ba..b426816f5b22499bc466185428b45932a6cdb97a 100644 (file)
@@ -2,8 +2,8 @@
 imagecreatefromwbmp with invalid wbmp
 --SKIPIF--
 <?php
-       if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n");
-       if (GD_BUNDLED) die("skip requires extern GD\n");
+    if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n");
+    if (GD_BUNDLED) die("skip requires extern GD\n");
 ?>
 --FILE--
 <?php
index 5c18b1f2ce7e65618733f9fbfb088f6f621962f6..61f73d97e7d95387cc6709c440c09adf13b337ef 100644 (file)
@@ -2,9 +2,9 @@
 gd_info()
 --SKIPIF--
 <?php
-       if (!function_exists('gd_info')) {
-               die('skip gd_info() not available');
-       }
+    if (!function_exists('gd_info')) {
+        die('skip gd_info() not available');
+    }
 ?>
 --FILE--
 <?php
index 8315fb0dbc3b96073441707d6648c523beb83774..75b8322715bb983c8e22f8fcb0baf7da84897d09 100644 (file)
@@ -2,12 +2,12 @@
 gif in/out
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
-       if (!function_exists("imagegif") || !function_exists("imagecreatefromgif") || !function_exists('imagecreatefromjpeg')) {
-               die("skip gif support unavailable");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
+    if (!function_exists("imagegif") || !function_exists("imagecreatefromgif") || !function_exists('imagecreatefromjpeg')) {
+        die("skip gif support unavailable");
+    }
 ?>
 --FILE--
 <?php
index a741cadb26516381aa2fe834ce7f2cecb5c9d583..1d8a8278a1c41aaee15e6c758ad893a1e193b8e1 100644 (file)
@@ -2,13 +2,13 @@
 gif --> gd1/gd2 conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagecreatefromgif")) {
-               die("skip gif read support unavailable");
-       }
+    if (!function_exists("imagecreatefromgif")) {
+        die("skip gif read support unavailable");
+    }
 ?>
 --FILE--
 <?php
index b0ce474886ab04e9971dff99b1fdc3db840f4b2b..ba02bed00e1558cf5e29c15a233b3a891f088079 100644 (file)
@@ -2,16 +2,16 @@
 gif --> jpeg conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagejpeg")) {
-               die("skip jpeg support unavailable");
-       }
-       if (!function_exists("imagecreatefromgif")) {
-               die("skip gif read support unavailable");
-       }
+    if (!function_exists("imagejpeg")) {
+        die("skip jpeg support unavailable");
+    }
+    if (!function_exists("imagecreatefromgif")) {
+        die("skip gif read support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 295a80944c908b5fce6fd776c59878f0ab791b46..c051d734257887c2602eb6e85a0d6b6fb5905667 100644 (file)
@@ -2,16 +2,16 @@
 gif --> png conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagepng")) {
-               die("skip png support unavailable");
-       }
-       if (!function_exists("imagecreatefromgif")) {
-               die("skip gif read support unavailable");
-       }
+    if (!function_exists("imagepng")) {
+        die("skip png support unavailable");
+    }
+    if (!function_exists("imagecreatefromgif")) {
+        die("skip gif read support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 3616f449ec3ebb52199409fcb6b70350455d28d8..54b8c6df8ec492373e8824df72bb56688ecf321c 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index 258f8b6e38cfd12d7f9a551d89f3391470a65734..15984eaf7fbcf67654b6a2ddde1772ec8c2f6c2f 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index e7b5807bbcb60e84b0d7c1cbefaa835b75783ae2..d6e19b8eef6fa7a415a3fe9329c2f7b16341187e 100644 (file)
@@ -4,10 +4,10 @@ Testing imagecolorallocatealpha()
 Rafael Dohms <rdohms [at] gmail [dot] com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-               die("skip test requires GD 2.2.2 or higher");
-       }
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
+        die("skip test requires GD 2.2.2 or higher");
+    }
 ?>
 --FILE--
 <?php
index 877e8b64c4b580aa2a84a0d845b2b5eff99ff776..6f8c3b7506392ff6548a80e4ee5d5641cbe7b9a1 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index 51df328f8c835c649fa635c02b4dffbe8acf9b4c..92568667b0353f272728980151c1dae38465a9a4 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index 6d9bceb3ac91f8e0c7c72aba4b72ae29d7164844..1a4b9e61c5aade457cb38100630eadb51ef75307 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index ef7f361ad519f1c6f13a5382a4642374aa391978..3da518912808daff7effe6f321eab9e10ce47503 100644 (file)
@@ -6,7 +6,7 @@ Erick Belluci Tedeschi <erickbt86 [at] gmail [dot] com>
 --SKIPIF--
 <?php
 if (!extension_loaded('gd')) {
-       die('skip gd extension is not loaded');
+    die('skip gd extension is not loaded');
 }
 ?>
 --FILE--
index 955dee9848fdd9aabb3d27b0b0a94b563a7583f4..0d03ecf7586f60f1244fd8a091a9c438f5c21c73 100644 (file)
@@ -4,12 +4,12 @@ Test imagecolorstotal() function : basic functionality
 Felix De Vliegher <felix.devliegher@gmail.com>
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
-       if (!function_exists("imagecolorstotal")) {
-               die("skip imagecolorstotal() not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
+    if (!function_exists("imagecolorstotal")) {
+        die("skip imagecolorstotal() not available.");
+    }
 ?>
 --FILE--
 <?php
index de1f25c0e00a10bbc1886d5f7d9c2d311eb604bd..1d6012e3f96e7c8aca634f45ef2bf48b2eea3915 100644 (file)
@@ -2,7 +2,7 @@
 imagecopyresampled()
 --SKIPIF--
 <?php
-       if (!function_exists('imagecopyresampled')) die('skip imagecopyresampled() not available');
+    if (!function_exists('imagecopyresampled')) die('skip imagecopyresampled() not available');
 ?>
 --FILE--
 <?php
@@ -52,10 +52,10 @@ echo "Done\n";
 ?>
 --CLEAN--
 <?php
-       $dest_lge = dirname(realpath(__FILE__)) . '/imagelarge.png';
-       $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png';
-       @unlink($dest_lge);
-       @unlink($dest_sml);
+    $dest_lge = dirname(realpath(__FILE__)) . '/imagelarge.png';
+    $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png';
+    @unlink($dest_lge);
+    @unlink($dest_sml);
 ?>
 --EXPECT--
 Simple test of imagecopyresampled() function
index b0b6c3abf7e947e87d6b706c54a54698f8e7fd49..3e16c1f034193b6c7c13076be2ac791139b44b1f 100644 (file)
@@ -2,8 +2,8 @@
 Testing imagecreate(): error on out of bound parameters
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!function_exists("imagecreate")) die("skip GD Version not compatible");
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!function_exists("imagecreate")) die("skip GD Version not compatible");
 ?>
 --FILE--
 <?php
index 2da09cd18bb1a2d0607ec2e91f27ad7dc6ca2579..bb29eb6b1cb25c55385cd1569ab4adc52bbf2d33 100644 (file)
@@ -4,8 +4,8 @@ Testing imagecreatetruecolor() of GD library
 Rafael Dohms <rdohms [at] gmail [dot] com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
 ?>
 --FILE--
 <?php
index 995aa03d7ed02cec1f4750edfd2c6bd14a0312e4..09870e282647539ba536f2d805555359be6fef0a 100644 (file)
@@ -4,8 +4,8 @@ Testing imagecreatetruecolor(): error on out of bound parameters
 Rafael Dohms <rdohms [at] gmail [dot] com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
 ?>
 --FILE--
 <?php
index 258eabf854b8af343cd8d7cf3cff1696e734a512..28ad43c7068bd6a4c4928bb3084a97fa229f65ad 100644 (file)
@@ -2,7 +2,7 @@
 imagedashedline()
 --SKIPIF--
 <?php
-       if (!function_exists('imagedashedline')) die('skip imagedashedline() not available');
+    if (!function_exists('imagedashedline')) die('skip imagedashedline() not available');
 ?>
 --FILE--
 <?php
@@ -41,8 +41,8 @@ echo "Done\n";
 ?>
 --CLEAN--
 <?php
-       $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png';
-       @unlink($dest);
+    $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png';
+    @unlink($dest);
 ?>
 --EXPECT--
 Simple test of imagedashedline() function
index f356fe826df43bc30f2121b8c4afb289d75f5257..ea2129b52b0ef9c058cbedfd8db9bd1af10ca2a6 100644 (file)
@@ -2,12 +2,12 @@
 imagefill() infinite loop with wrong color index
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
-       if (!function_exists("imagefttext")) {
-               die("skip imagefttext() not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
+    if (!function_exists("imagefttext")) {
+        die("skip imagefttext() not available.");
+    }
 ?>
 --FILE--
 <?php
index b353d808e6a302ea44dbc8c348b4529d6d53988a..199d435d9dd1a263e7cce4f04907e6a6a63df4f2 100644 (file)
@@ -7,7 +7,7 @@ Edgar Ferreira da Silva <contato [at] edgarfs [dot] com [dot] br>
 <?php
 if (!extension_loaded("gd")) die("skip GD not present");
 if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-       die("skip test requires GD 2.2.2 or higher");
+    die("skip test requires GD 2.2.2 or higher");
 }
 ?>
 --FILE--
index cc6e01b4ad495a1fa587fcaf7eb22696bbb8d76c..f17651afef249c84a8ce8835b8a803ba0525a638 100644 (file)
@@ -7,7 +7,7 @@ Edgar Ferreira da Silva <contato [at] edgarfs [dot] com [dot] br>
 <?php
 if (!extension_loaded("gd")) die("skip GD not present");
 if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-       die("skip test requires GD 2.2.2 or higher");
+    die("skip test requires GD 2.2.2 or higher");
 }
 ?>
 --FILE--
index feb81a8e0628c401719340dabf21b63ac4915239..b3888823909837eca282516e717db3f910782ea1 100644 (file)
@@ -7,7 +7,7 @@ Edgar Ferreira da Silva <contato [at] edgarfs [dot] com [dot] br>
 <?php
 if (!extension_loaded("gd")) die("skip GD not present");
 if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-       die("skip test requires GD 2.2.2 or higher");
+    die("skip test requires GD 2.2.2 or higher");
 }
 ?>
 --FILE--
index 165e685052d47d34b1292714d1d99ae84dadeb21..6462f42de736e2190b54d2b7a75f72666f634275 100644 (file)
@@ -2,7 +2,7 @@
 imagefilledpolygon()
 --SKIPIF--
 <?php
-       if (!function_exists('imagefilledpolygon')) die('skip imagefilledpolygon() not available');
+    if (!function_exists('imagefilledpolygon')) die('skip imagefilledpolygon() not available');
 ?>
 --FILE--
 <?php
@@ -57,8 +57,8 @@ echo "Done\n";
 ?>
 --CLEAN--
 <?php
-       $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png';
-       @unlink($dest);
+    $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png';
+    @unlink($dest);
 ?>
 --EXPECT--
 Simple test of imagefilledpolygon() function
index f040c5cac44904293ca253543d7f68d37a9b8a27..a55b88ee90384246403e4e83fe709a6f6406c7f5 100644 (file)
@@ -2,10 +2,10 @@
 imagefilter() function test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
-       if (!function_exists("imagefilter")) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
+    if (!function_exists("imagefilter")) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index ddb47c7cbd97f5a9213422bf7eb65039206e8bb0..65d6ec15bbe02af6cfb56fbcde72015e4faed39c 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index 2e3a5eb3caf4d98ed5a11dcc05c69897b2401dcd..87eac741337184f6cd49604266d07527e7a2e5f4 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index d140af858e97a5120b3367be4808a0e1316fb154..52ed27aadbf22ecc52defdd18707e623f75b9b38 100644 (file)
@@ -2,12 +2,12 @@
 imagefttext() function test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
-       if (!function_exists("imagefttext")) {
-               die("skip imagefttext() not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
+    if (!function_exists("imagefttext")) {
+        die("skip imagefttext() not available.");
+    }
 ?>
 --FILE--
 <?php
index 0e3203e9857af6246625e38035373a2373dc037d..449363f8e68f08824a1177b7119d876ff23de06a 100644 (file)
@@ -5,10 +5,10 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-               die("skip test requires GD 2.2.2 or higher");
-       }
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
+        die("skip test requires GD 2.2.2 or higher");
+    }
 ?>
 --FILE--
 <?php
index 8cc978a6fff0ec64c487bdbe40b73f5d14711d36..81b3ac7d46ee35645e014a4274e6100e6f9899cd 100644 (file)
@@ -5,10 +5,10 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-               die("skip test requires GD 2.2.2 or higher");
-       }
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
+        die("skip test requires GD 2.2.2 or higher");
+    }
 ?>
 --FILE--
 <?php
index fa323897ba7e97f09baa0cc2bd285f40635293ff..971a9dc3b8f6895dacb6dcda70b16c0124f1d635 100644 (file)
@@ -4,8 +4,8 @@ Testing imageistruecolor() of GD library
 Rafael Dohms <rdohms [at] gmail [dot] com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
 ?>
 --FILE--
 <?php
index 2f175271d158b785b133c7362d7f2f61e45b30fe..be385b8bdc4ccf7c513095ac442f2d617f49fd31 100644 (file)
@@ -5,7 +5,7 @@ Testing null byte injection in imagejpeg
 if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 $support = gd_info();
 if (!isset($support['JPEG Support']) || $support['JPEG Support'] === false) {
-       print 'skip jpeg support not available';
+    print 'skip jpeg support not available';
 }
 ?>
 --FILE--
index 5a9c3807582182548538356dab68b17e296ae46a..dc41148394b00cf65ad0fbbd7c6841b372217ea4 100644 (file)
@@ -5,8 +5,8 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!GD_BUNDLED) die('skip function only available in bundled, external GD detected');
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!GD_BUNDLED) die('skip function only available in bundled, external GD detected');
 ?>
 --FILE--
 <?php
index a4ad10839b91342a22686a1adc08b934e41dfc7b..6d30c1de337b7218f9866bcc33031a55ff3f33b5 100644 (file)
@@ -4,7 +4,7 @@ Testing that imageloadfont() breaks on invalid file passed as first argument
 Austin Drouare <austin.drouare [at] gmail [dot] com> #testfest #tek11
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index 0ef49da2a512908b03f109b0a82f419dc334c4fe..7bf326160c0c8c2e5badf349f3a6afb484543cef 100644 (file)
@@ -2,7 +2,7 @@
 imageloadfont() function crashes
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 830ee542baada78035ac095b67255a1725e47e14..8a415478ddcef4be6e9c5d4d02dd2604fd735a5d 100644 (file)
@@ -5,7 +5,7 @@ Testing null byte injection in imagepng
 if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 $support = gd_info();
 if (!isset($support['PNG Support']) || $support['PNG Support'] === false) {
-       print 'skip png support not available';
+    print 'skip png support not available';
 }
 ?>
 --FILE--
index d4948fcc6101689a48b395ebd702d87c080a2cd5..bea4462c6a160fd4cfb9b01c1a59fa8a5a524b44 100644 (file)
@@ -2,7 +2,7 @@
 imagepolygon()
 --SKIPIF--
 <?php
-       if (!function_exists('imagepolygon')) die('skip imagepolygon() not available');
+    if (!function_exists('imagepolygon')) die('skip imagepolygon() not available');
 ?>
 --FILE--
 <?php
@@ -43,8 +43,8 @@ echo "Done\n";
 ?>
 --CLEAN--
 <?php
-       $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png';
-       @unlink($dest);
+    $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png';
+    @unlink($dest);
 ?>
 --EXPECT--
 Simple test of imagepolygon() function
index ade61d8f801ce9f0651b8626151db85c990dd57c..34d66862ea5bfedaff1661ef55a8198c17f730a7 100644 (file)
@@ -2,13 +2,13 @@
 imagerotate() overflow with negative numbers
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists('imagerotate')) {
-               die("skip imagerotate() not available.");
-       }
+    if (!function_exists('imagerotate')) {
+        die("skip imagerotate() not available.");
+    }
 ?>
 --FILE--
 <?php
index 0afe6fc1d0133cf730249b24bf11e59443932baa..ae6a52a28ed16434885b09cdef7e7a79fa0b415c 100644 (file)
@@ -6,7 +6,7 @@ Erick Belluci Tedeschi <erickbt86 [at] gmail [dot] com>
 --SKIPIF--
 <?php
 if (!extension_loaded('gd')) {
-       die('skip gd extension is not loaded');
+    die('skip gd extension is not loaded');
 }
 ?>
 --FILE--
index 376d18f790b9156aa5c11e5f0d00cd4290168fe3..30bd6094aa0832f574cb264d71a3b7fc4257d3af 100644 (file)
@@ -4,8 +4,8 @@ Testing imagetruecolortopalette() of GD library
 Rafael Dohms <rdohms [at] gmail [dot] com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
 ?>
 --FILE--
 <?php
index 1265fed6e603a2c2f936737c2b503fed91c40ffa..0e418a69dd0b5f5ae8b75932fa1b26d30f3d3b98 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index 4a53da464ff9404e7390af897904e248a7d38647..93ea4f34ea2a560c0927470dd7fe4248111ffc0a 100644 (file)
@@ -5,7 +5,7 @@ Rafael Dohms <rdohms [at] gmail [dot] com>
 #testfest PHPSP on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
+    if (!extension_loaded("gd")) die("skip GD not present");
 ?>
 --FILE--
 <?php
index 18aa04a35d9c5bd1b8d8be26b248f9ae589fa01d..6c6ceb2f9fe56da97b6ac0d32821d1ddcadc4260 100644 (file)
@@ -4,11 +4,11 @@ Testing imagetruecolortopalette() of GD library
 Rafael Dohms <rdohms [at] gmail [dot] com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
-               die("skip test requires GD 2.2.2 or higher");
-       }
-       if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.2', '<')) {
+        die("skip test requires GD 2.2.2 or higher");
+    }
+    if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
 ?>
 --FILE--
 <?php
index 707f7e37bce148b6b4be17ba3a4b567ad6e633f9..3fd8be0c3adb3f7cb572a41a2e7bd2e918337ca4 100644 (file)
@@ -4,8 +4,8 @@ Testing imagetruecolortopalette(): wrong parameters for parameter 3
 Rafael Dohms <rdohms [at] gmail [dot] com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
 ?>
 --FILE--
 <?php
index 5726befab25a368eacb4ae28dea094dd68aa8152..dd24aecc8154bcd7734bffaf599e74bdde6453a5 100644 (file)
@@ -4,8 +4,8 @@ Testing imagetruecolortopalette(): out of range parameter 3
 Rafael Dohms <rdohms [at] gmail [dot] com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("gd")) die("skip GD not present");
-       if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
+    if (!extension_loaded("gd")) die("skip GD not present");
+    if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
 ?>
 --FILE--
 <?php
index 850ca806b6a7a6e44860654c16277862d866b6fb..36d2449fb18c6b105e47db32e5fa94cdf971b081 100644 (file)
@@ -2,8 +2,8 @@
 Font charmap order is deterministic based on order in the font, use the selected encoding
 --SKIPIF--
 <?php
-       if(!extension_loaded('gd')){ die('skip gd extension not available'); }
-       if(!function_exists('imagettftext')) die('skip imagettftext() not available');
+    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+    if(!function_exists('imagettftext')) die('skip imagettftext() not available');
   if(gd_info()['JIS-mapped Japanese Font Support']) die('skip JIS-mapped Japanese Font Support not supported');
 ?>
 --FILE--
index 8f2bdcec5951ea434b4ce8597260ec9d85f34e5b..d7c3f0c41617b2db62d4d430a1ea4a0669c52ed9 100644 (file)
@@ -5,7 +5,7 @@ Testing null byte injection in imagewbmp
 if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 $support = gd_info();
 if (!isset($support['WBMP Support']) || $support['WBMP Support'] === false) {
-       print 'skip wbmp support not available';
+    print 'skip wbmp support not available';
 }
 ?>
 --FILE--
index c48fd7d821fd04fcc6a92ef21265b162b259ab96..52ecc5994124748be10055cef05a6e512e5c35dd 100644 (file)
@@ -5,7 +5,7 @@ Testing null byte injection in imagewebp
 if(!extension_loaded('gd')){ die('skip gd extension not available'); }
 $support = gd_info();
 if (!isset($support['WebP Support']) || $support['WebP Support'] === false) {
-       print 'skip webp support not available';
+    print 'skip webp support not available';
 }
 ?>
 --FILE--
index dfcd1ef1a264fdd93c6399b45284a3c39880ea5b..cae283d10b9687ba711cc2386290437ac0a5d1e5 100644 (file)
@@ -2,16 +2,16 @@
 jpeg <--> png conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
-               die("skip png support unavailable");
-       }
-       if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
-               die("skip jpeg support unavailable");
-       }
+    if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
+        die("skip png support unavailable");
+    }
+    if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
+        die("skip jpeg support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 8cf4ffd28399a302a686342a755c0b5d0ec7c5f0..d68ff24dd5635823c45edd0358f19e7a5554f615 100644 (file)
@@ -2,13 +2,13 @@
 jpeg <--> gd1/gd2 conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
-               die("skip jpeg support unavailable");
-       }
+    if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
+        die("skip jpeg support unavailable");
+    }
 ?>
 --FILE--
 <?php
index da671e01ac056380d7f883651a61bce1a0fd6815..855f7a53212e4170965e1e57b473cb7b2dca25bb 100644 (file)
@@ -2,13 +2,13 @@
 jpeg <--> gd1/gd2 conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
-               die("skip jpeg support unavailable");
-       }
+    if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
+        die("skip jpeg support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 959828f0685acb99e1716ef537034c8282c5ffdb..69afee80901891bfa6a8a5b1e551fc6568158fab 100644 (file)
@@ -2,8 +2,8 @@
 libgd #86 (Possible infinite loop in imagecreatefrompng)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index 78bafa761e88bb8b5aa0b324b8ea546f3dbc28bb..1cdb28fee862380e0972edebd47a56fd8434c722 100644 (file)
@@ -2,8 +2,8 @@
 libgd #86 (Possible infinite loop in imagecreatefrompng)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (GD_BUNDLED) die("skip requires external GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (GD_BUNDLED) die("skip requires external GD library\n");
 ?>
 --FILE--
 <?php
index 7ce24a43b22c2e376ddccfc275532ec5a90bd5e5..ca313893d52cc5953e3a1c1b76013e4a184030ec 100644 (file)
@@ -2,8 +2,8 @@
 libgd #94 (imagecreatefromxbm can crash if gdImageCreate fails)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index 8af0b342d97c07994f4ccc1f8770eb87bc01bd9b..f9cbeec8719162283987add6170762d4f6c1976a 100644 (file)
@@ -2,8 +2,8 @@
 libgd #94 (imagecreatefromxbm can crash if gdImageCreate fails)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index c6fa6dd30e5cc9c5ddc603c48f05ee2308b54c19..9392fcf83469c2e98dcb66c3fe67dae9e18c62fc 100644 (file)
@@ -2,8 +2,8 @@
 libgd #100 (spurious horizontal line drawn by gdImageFilledPolygon)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index d2e278ced9888a98703ee2a4d0904393a26b358d..0206bd626b745ea598b8e53dffba331a2abc338a 100644 (file)
@@ -2,8 +2,8 @@
 libgd #101 (imagecreatefromgd can crash if gdImageCreate fails)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index d651b0bb1f6febcf6a310bebdca3ac5f47d45186..151d1260755595e48ed201367aca37fc4a111fee 100644 (file)
@@ -2,7 +2,7 @@
 libgd #106 (imagerectangle 1x1 draws 1x3)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index cb1686b5ac412b5880f22f8de99d6ae8614ca4a7..0df501c268d459d79d85a00ee7a02d027c3a2c03 100644 (file)
@@ -2,7 +2,7 @@
 libgd #186 (Tiling true colour with palette image does not work)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
 ?>
 --FILE--
 <?php
index 983b93e180e148f69498c9ea6c3447596eaacd1d..692d012c72ef27eee17089b7ddd79036a3f3d41e 100644 (file)
@@ -2,8 +2,8 @@
 libgd FS#191 (A circle becomes square)
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) die("skip gd extension not available\n");
-       if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+    if (!extension_loaded('gd')) die("skip gd extension not available\n");
+    if (!GD_BUNDLED) die("skip requires bundled GD library\n");
 ?>
 --FILE--
 <?php
index 850cdd0be2f7355bac07a078df2b3a406a942932..0df1e0611a2231966d54aac3d11e5f4834d54166 100644 (file)
@@ -2,13 +2,13 @@
 png <--> gd1/gd2 conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
-               die("skip png support unavailable");
-       }
+    if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
+        die("skip png support unavailable");
+    }
 ?>
 --FILE--
 <?php
index f9065ea82add786c24dccbb5ca279226a0901e7e..880e3a5b525b78b3ac8ad6427d9b87df69133e67 100644 (file)
@@ -2,13 +2,13 @@
 png compression test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
-               die("skip png support unavailable");
-       }
+    if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
+        die("skip png support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 9b1b4013c89ef9fc1fabdc2a3efd849ca7844b5f..c3b77f2e369a15ef5e34e6e2340c6104739ec031 100644 (file)
@@ -2,15 +2,15 @@
 xbm --> png conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
-       if (!function_exists("imagepng")) {
-               die("skip png support unavailable");
-       }
-       if (!function_exists("imagecreatefromxbm")) {
-               die("skip xbm read support unavailable");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
+    if (!function_exists("imagepng")) {
+        die("skip png support unavailable");
+    }
+    if (!function_exists("imagecreatefromxbm")) {
+        die("skip xbm read support unavailable");
+    }
 ?>
 --FILE--
 <?php
index dba9f03ec8e277c349b7bebf7bbf332f18999ffe..47e6c2faf1da5bea5b06544460a3cba2cb6ef458 100644 (file)
@@ -2,13 +2,13 @@
 xpm --> gd1/gd2 conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagecreatefromxpm")) {
-               die("skip xpm read support unavailable");
-       }
+    if (!function_exists("imagecreatefromxpm")) {
+        die("skip xpm read support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 6491b85646557ff8b46f09f9e8564ddf279009ba..c16c3d89cf87842303f93e734ded827be4a9ec41 100644 (file)
@@ -2,16 +2,16 @@
 xpm --> jpeg conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagejpeg")) {
-               die("skip jpeg support unavailable");
-       }
-       if (!function_exists("imagecreatefromxpm")) {
-               die("skip xpm read support unavailable");
-       }
+    if (!function_exists("imagejpeg")) {
+        die("skip jpeg support unavailable");
+    }
+    if (!function_exists("imagecreatefromxpm")) {
+        die("skip xpm read support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 602fc72a7cff027e5be1a14766cfb07e618244ee..c9902f07631b1df2c3e74934268550d61fdd0ae2 100644 (file)
@@ -2,16 +2,16 @@
 xpm --> png conversion test
 --SKIPIF--
 <?php
-       if (!extension_loaded('gd')) {
-               die("skip gd extension not available.");
-       }
+    if (!extension_loaded('gd')) {
+        die("skip gd extension not available.");
+    }
 
-       if (!function_exists("imagepng")) {
-               die("skip png support unavailable");
-       }
-       if (!function_exists("imagecreatefromxpm")) {
-               die("skip xpm read support unavailable");
-       }
+    if (!function_exists("imagepng")) {
+        die("skip png support unavailable");
+    }
+    if (!function_exists("imagecreatefromxpm")) {
+        die("skip xpm read support unavailable");
+    }
 ?>
 --FILE--
 <?php
index 4dc45260f8467ae1b61fe516e05e792d4c0a6adc..1de644a9339c2603b691f80fa79259f60203fc94 100644 (file)
@@ -3,7 +3,7 @@
 --SKIPIF--
 <?php
 if (!extension_loaded("gettext")) {
-       die("skip\n");
+    die("skip\n");
 }
 --FILE--
 <?php
index 749f4cd1a2fe43da0bb85f1b1c03cf8513980102..3b0b3fd0eeab601d5360a50e32fe936abde8ea1b 100644 (file)
@@ -3,20 +3,20 @@
 --SKIPIF--
 <?php
 if (!extension_loaded("gettext")) {
-       die("skip\n");
+    die("skip\n");
 }
 if (PHP_ZTS) {
-       /* this is supposed to fail on the TS build at least on Windows,
-       should be even XFAIL till it's fixed there */
-       die("skip NTS only");
+    /* this is supposed to fail on the TS build at least on Windows,
+    should be even XFAIL till it's fixed there */
+    die("skip NTS only");
 }
 if (substr(PHP_OS, 0, 3) != 'WIN') {
-       $loc = ["de_DE", "fr_FR", "en_US"];
-       foreach($loc as $l) {
-               if (!setlocale(LC_ALL, $l)) {
-                       die("SKIP '$l' locale not supported.");
-               }
-       }
+    $loc = ["de_DE", "fr_FR", "en_US"];
+    foreach($loc as $l) {
+        if (!setlocale(LC_ALL, $l)) {
+            die("SKIP '$l' locale not supported.");
+        }
+    }
 }
 ?>
 --FILE--
index edbd31cc481803d8b5903bdf4fcaf16816ef95e4..6fcd5bed80499625c7d92142c1d9d0b3f98604b2 100644 (file)
@@ -2,12 +2,12 @@
 Gettext basic test with en_US locale that should be on nearly every system
 --SKIPIF--
 <?php
-       if (!extension_loaded("gettext")) {
-               die("skip\n");
-       }
-       if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
-               die("skip en_US.UTF-8 locale not supported.");
-       }
+    if (!extension_loaded("gettext")) {
+        die("skip\n");
+    }
+    if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
+        die("skip en_US.UTF-8 locale not supported.");
+    }
 ?>
 --FILE--
 <?php
index 26e7b7017ec5a2d8590168baa8f37269370141e0..b02c1e78a000ce7d2edcf2f39187b949885feda2 100644 (file)
@@ -2,12 +2,12 @@
 Gettext basic test
 --SKIPIF--
 <?php
-       if (!extension_loaded("gettext")) {
-               die("skip\n");
-       }
-       if (!setlocale(LC_ALL, 'fi_FI')) {
-               die("skip fi_FI locale not supported.");
-       }
+    if (!extension_loaded("gettext")) {
+        die("skip\n");
+    }
+    if (!setlocale(LC_ALL, 'fi_FI')) {
+        die("skip fi_FI locale not supported.");
+    }
 ?>
 --FILE--
 <?php
index 498568294ad95072e539911945d6ef86c6333b62..cc86d780400af9b7c94b45f26cf45a3f5cd8eb2c 100644 (file)
@@ -2,9 +2,9 @@
 test if bind_textdomain_codeset() returns correct value
 --SKIPIF--
 <?php
-       if (!extension_loaded("gettext")) {
-               die("skip");
-       }
+    if (!extension_loaded("gettext")) {
+        die("skip");
+    }
 ?>
 --FILE--
 <?php
index e9a7de7e7384ad5e6b1807a271c4abf06346c57f..19a51f116b369b91dc1ebca105ab82828796e1a0 100644 (file)
@@ -2,12 +2,12 @@
 Test ngettext() functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded("gettext")) {
-               die("SKIP extension gettext not loaded\n");
-       }
-       if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
-               die("SKIP en_US.UTF-8 locale not supported.");
-       }
+    if (!extension_loaded("gettext")) {
+        die("SKIP extension gettext not loaded\n");
+    }
+    if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
+        die("SKIP en_US.UTF-8 locale not supported.");
+    }
 ?>
 --FILE--
 <?php
index a2bc332ea2a1b81008d496178478fc55e6698b19..0b7603651a16e793b9bbd386c63f0f88a6d63359 100644 (file)
@@ -2,9 +2,9 @@
 Test phpinfo() displays gettext support
 --SKIPIF--
 <?php
-       if (!extension_loaded("gettext")) {
-               die("SKIP extension gettext not loaded\n");
-       }
+    if (!extension_loaded("gettext")) {
+        die("SKIP extension gettext not loaded\n");
+    }
 ?>
 --FILE--
 <?php
index c5326a99dfef6872078111cab49aa7f80b5181c5..98927c740b1054b6327cfd44dc58e4c0c452ecba 100644 (file)
@@ -2,12 +2,12 @@
 Check if textdomain() returns the new domain
 --SKIPIF--
 <?php
-       if (!extension_loaded("gettext")) {
-               die("skip\n");
-       }
-       if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
-               die("skip en_US.UTF-8 locale not supported.");
-       }
+    if (!extension_loaded("gettext")) {
+        die("skip\n");
+    }
+    if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
+        die("skip en_US.UTF-8 locale not supported.");
+    }
 ?>
 --FILE--
 <?php
index f148693ef3f393cdb2c8cf266d1e573c77ecefb9..15182bbbee7b3469c82d9110e6942425e4288bd2 100644 (file)
@@ -4,7 +4,7 @@ gmp_divexact() tests
 <?php
 if (!extension_loaded("gmp")) die ("skip");
 if (!defined('GMP_VERSION') || version_compare("4.2.1", GMP_VERSION, ">=")) {
-       die("skip your GMP is too old and will crash");
+    die("skip your GMP is too old and will crash");
 }
 ?>
 --FILE--
index 065c8f8208fd63c8e0166de49da8584d6009d7ae..a967a80d76fd7ef9fe26400dccd24c1d308462fa 100644 (file)
@@ -6,19 +6,19 @@ gmp_setbit() with large index
 <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
 <?php if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?>
 <?php
-       /* This test requires about 8G RAM which likely not to be present on an arbitrary CI. */
-       if (!file_exists("/proc/meminfo")) {
-               die("skip cannot determine free memory amount.");
-       }
-       $s = file_get_contents("/proc/meminfo");
-       $free = 0;
-       if (preg_match(",MemFree:\s+(\d+)\s+kB,", $s, $m)) {
-               /* Got amount in kb. */
-               $free = $m[1]/1024/1024;
-       }
-       if ($free < 8) {
-               die("skip not enough free RAM.");
-       }
+    /* This test requires about 8G RAM which likely not to be present on an arbitrary CI. */
+    if (!file_exists("/proc/meminfo")) {
+        die("skip cannot determine free memory amount.");
+    }
+    $s = file_get_contents("/proc/meminfo");
+    $free = 0;
+    if (preg_match(",MemFree:\s+(\d+)\s+kB,", $s, $m)) {
+        /* Got amount in kb. */
+        $free = $m[1]/1024/1024;
+    }
+    if ($free < 8) {
+        die("skip not enough free RAM.");
+    }
 ?>
 --FILE--
 <?php
index c562ceac850de8955f0735466ddc9379aa643f05..d1da176b6a108c2f22ab77b10357ead9c66c7f8b 100644 (file)
@@ -6,7 +6,7 @@ include('skipif.inc');
 
 $test = @iconv_strpos("abbttt","ttt",0,"UTF-8");
 if ($test === false) {
-       die("skip UTF-8 is not supported?");
+    die("skip UTF-8 is not supported?");
 }
 
 ?>
index e2fb6a55e6a8b7f1cc7db1c9574e9f6b67e67755..3b520c6e022a3627c23d042b875199327042ed36 100644 (file)
@@ -6,7 +6,7 @@ include('skipif.inc');
 
 $test = @iconv_strpos("abbttt","ttt",0,"UTF-8");
 if ($test === false) {
-       die("skip UTF-8 is not supported?");
+    die("skip UTF-8 is not supported?");
 }
 
 ?>
index 6be5a86a69ebae4c82272a87ae73489806533c5f..c43402262ece5c2783d2af2bc2915d10f6528463 100644 (file)
@@ -4,7 +4,7 @@ iconv() test 2 (UCS4BE to ASCII)
 <?php
 include('skipif.inc');
 if (@iconv("ascii","UCS-4LE", "abcd") == '') {
-       die("skip conversion to UCS-4LE not supported");
+    die("skip conversion to UCS-4LE not supported");
 }
 ?>
 --INI--
index f699451407e11ab95599ad60c43019ead3a0b6d4..05d3a0a2f6b9de7c08aa091e7e1719f82fbecb99 100644 (file)
@@ -2,9 +2,9 @@
 Bug #45705 test #1 (imap rfc822_parse_adrlist() modifies passed address parameter)
 --SKIPIF--
 <?php
-       if (!extension_loaded("imap")) {
-               die("skip imap extension not available");
-       }
+    if (!extension_loaded("imap")) {
+        die("skip imap extension not available");
+    }
 ?>
 --FILE--
 <?php
index b8c1c295aee09a80065aab4c4eaea5b9fcc1751c..3de50290f7e386447c87c3cb5d82f2876722ff06 100644 (file)
@@ -2,9 +2,9 @@
 Bug #45705 test #2 (imap rfc822_parse_adrlist() modifies passed address parameter)
 --SKIPIF--
 <?php
-       if (!extension_loaded("imap")) {
-               die("skip imap extension not available");
-       }
+    if (!extension_loaded("imap")) {
+        die("skip imap extension not available");
+    }
 ?>
 --FILE--
 <?php
index 63590aee1dde4702d232eec574575206e98b800e..7b759621fe16f2f1125db5ed679c14a0c3cf9525 100644 (file)
@@ -2,8 +2,8 @@
 Bug #77153 (imap_open allows to run arbitrary shell commands via mailbox parameter)
 --SKIPIF--
 <?php
-        if (!extension_loaded("imap")) { 
-                die("skip imap extension not available");  
+        if (!extension_loaded("imap")) {
+                die("skip imap extension not available");
         }
 ?>
 --FILE--
index 16ca32bf184f6d8e31c5fe1222c95021641e3a1d..716de728ae7b6b5db72f0a408ae9851864220b18 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::__construct() should not be callable
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 4e997a84188b90da924c177b30a1758d35773f1f..7ee277bc5c51830014715f68fbd965e4dee89d22 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator: clone handler
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index bf07edf3beb1989da6dbe06ca7a4c08320579f3b..954d404c04cd0e515bee2c8353e92b2873d6d5ce 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::createCodePointInstance(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 6715d08f554bed1f4a762e8f4888694a0ac6699c..3edad104fe9943434de5ed1f2b81d41776cd552e 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::current(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 0e2c65fb445ce56d78debc8fa996b234a90b54ca..bed60e1c1f5c4a920bbdab092d581306badf6a8f 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator factories: basic tests
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 24c015f3fbdd96c75fe5c8d7fa7aa3c175aeb6c0..a74c29857572e3c7b290af61384853036ead0aab 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::first(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 4b56f03c3976fc1b927706679b14228a40a0a9e8..b6af697b479eb38aa96c2deddf8126166a510fed 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::following(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index c3210906c7aec79e080046f32cd19924d65d336f..428bf158bf80afff2d472e54bb058e297c18a986 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::getPartsIterator(): basic test, ICU <= 57.1
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (version_compare(INTL_ICU_VERSION, '57.1') > 0) die('skip for ICU <= 57.1');
 ?>
 --FILE--
index 834da13ecea7dacf494790bedbd83b263bf9f414..826f57e45ab9e4a999b9a7f15d6396261bc7305a 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::getPartsIterator(): basic test, ICU >= 58.1
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (version_compare(INTL_ICU_VERSION, '57.1') <= 0) die('skip for ICU >= 58.1');
 ?>
 --FILE--
index f86e64d4ccdd78f44ba51e359992779faf9fe49c..cd518b19d4d02f0d42f22f8d84bfcc68b7511eaa 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::getPartsIterator(): bad args
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.default_locale", "pt_PT");
index 3ad2c73a99289e27c38362b4cc8b4c2a311d61c2..2e83daa0154d4c020db3c2dffbe00d207af7d9be 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::getPartsIterator(): argument variations
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3efc1ca89fe00ece32e681047a2887f4ff04f0df..a52fd58d8d1a90a4bc7368f955d9c9cc52a2f009 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::getText(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 598d1f9d01729beedefd242002ea9d9fc43b5dc0..8c8212d34f766eedb58e614ecb7e0109884e60c6 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::isBoundary(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 014c57872552afc5ab0f26e36ce8d8815d51acf0..50213d2a7ea93a37eb03bc7f60b4c3aca089aca9 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::last(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index fa40eed4bdffab626971f08721252b8779976559..27e8f60ed332d916111dd7adee80cbb29daadd5f 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::next(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 31feb5efb2ce46d051356d9c41255ee37799ab49..b272bddf5bf4d9d600cb12c6abe7364274790f95 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::preceding(): basic test, ICU <= 57.1
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (version_compare(INTL_ICU_VERSION, '57.1') > 0) die('skip for ICU <= 57.1');
 ?>
 --FILE--
index 8c1ee625e4517023c803b3a5b7d3afa588304d81..53446b2f6bc2c4b5dfdca49599def05dc433ece0 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::preceding(): basic test, ICU >= 58.1
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (version_compare(INTL_ICU_VERSION, '57.1') <= 0) die('skip for ICU >= 58.1');
 --FILE--
 <?php
index b30399365a35f4f58aa62778e5e076d84127d951..cd754456b60afdf98e9aa7430c5ca808643ae120 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::previous(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 0526fe0e51c6c98d4da6582511b213f66322012c..1cab0f2d349778eb0ba93ef97516cde588b3e0e9 100644 (file)
@@ -3,7 +3,7 @@ IntlBreakIterator::setText(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 01673b8c485c9a32f8a4ecd157e8f3953ceff0e9..e30f11dde893d7e1dc292a5c79fad4e90d535d1d 100644 (file)
@@ -3,9 +3,9 @@ Bug #58756: w.r.t MessageFormatter
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (version_compare(INTL_ICU_VERSION, '51.2') >=  0)
-       die('skip for ICU < 51.2');
+    die('skip for ICU < 51.2');
 ?>
 --FILE--
 <?php
index 790033c95b572a1a8379b16ccbc830ea095c05ff..2c3b7bf4098b720d03774bce2384219e5e2f1646 100644 (file)
@@ -3,9 +3,9 @@ Bug #58756: w.r.t MessageFormatter
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (version_compare(INTL_ICU_VERSION, '51.2') < 0)
-       die('skip for ICU >= 51.2');
+    die('skip for ICU >= 51.2');
 ?>
 --FILE--
 <?php
index 4830e73d9cf82e8434cf8f60635a63728045c62c..46a585cdd2cd47855d74d5166e4b0f86fb1a52c0 100644 (file)
@@ -2,7 +2,7 @@
 Bug #60192 (SegFault when Collator not constructed properly)
 --SKIPIF--
 <?php
-       if (!extension_loaded('intl')) { die('skip intl extension not available'); }
+    if (!extension_loaded('intl')) { die('skip intl extension not available'); }
 ?>
 --FILE--
 <?php
index 2fea77cbd5720326ee22e4e9f686c4b7802212e6..90378c0c1a20a93fac74ac4e45085c4515573d64 100644 (file)
@@ -2,7 +2,7 @@
 Bug #60192 (SegFault when Collator not constructed properly)
 --SKIPIF--
 <?php
-       if (!extension_loaded('intl')) { die('skip intl extension not available'); }
+    if (!extension_loaded('intl')) { die('skip intl extension not available'); }
 ?>
 --FILE--
 <?php
index e00858bbd1c748661784d94e991f046ed0660d17..954e0b63e3b7aa8a2821c32bce01d2bf47ebc42f 100644 (file)
@@ -2,7 +2,7 @@
 Bug #60192 (SegFault when Collator not constructed properly)
 --SKIPIF--
 <?php
-       if (!extension_loaded('intl')) { die('skip intl extension not available'); }
+    if (!extension_loaded('intl')) { die('skip intl extension not available'); }
 ?>
 --FILE--
 <?php
index e0d20f7c3c53906fdf7b5f183e1e3ddb9af5739f..8489a6db7da395e4dcb2b4145213dc6d5d3980f5 100644 (file)
@@ -2,7 +2,7 @@
 Bug #60192 (SegFault when Collator not constructed properly)
 --SKIPIF--
 <?php
-       if (!extension_loaded('intl')) { die('skip intl extension not available'); }
+    if (!extension_loaded('intl')) { die('skip intl extension not available'); }
 ?>
 --FILE--
 <?php
index f324d052b0e33bcaed3c3649cfb38dfc194c1400..698672ef8f73db150198aafcc26f23bb3dbebab2 100644 (file)
@@ -2,7 +2,7 @@
 Bug #60192 (SegFault when Collator not constructed properly)
 --SKIPIF--
 <?php
-       if (!extension_loaded('intl')) { die('skip intl extension not available'); }
+    if (!extension_loaded('intl')) { die('skip intl extension not available'); }
 ?>
 --FILE--
 <?php
index 28e0bb570ad45da6f6092097f5d68f4edb7bb275..0032ae83372757c5409ba3619971381537dbe200 100644 (file)
@@ -3,7 +3,7 @@ Bug #62017: datefmt_create with incorrectly encoded timezone leaks pattern
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set('intl.error_level', E_WARNING);
index a9889d26d919a4eb37a8ad408278120fdf14f700..3693e3e20b57b6abcc19ad2124385dc0ae926022 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set('intl.error_level', E_WARNING);
index ab0eca20b9413cf9535c5206224c11dbccfad23c..449a3b8c4a192772ece3b2a4b6715aa980a92596 100644 (file)
@@ -3,7 +3,7 @@ Bug #62082: Memory corruption in internal get_icu_disp_value_src_php()
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 var_dump(locale_get_display_name(str_repeat("a", 300), null));
index 7bfa53058bae524e9d5548698f20f35bb262b40f..5b0f36e4f0872fb8fa8630993c27f9ddf1d4d3e2 100644 (file)
@@ -3,7 +3,7 @@ Bug #62083: grapheme_extract() leaks memory
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 $arr1 = array();
index 411023dc418722f1dbc540fa4d487268485596f6..d5a7a81944bce0c18fe9e629a262d1ca49cedea4 100644 (file)
@@ -3,9 +3,9 @@ Bug #62915: cloning of several classes is defective
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-           die('skip intl extension not enabled');
+        die('skip intl extension not enabled');
 if (!class_exists('Spoofchecker'))
-               die('skip intl extension does not have spoof checker');
+        die('skip intl extension does not have spoof checker');
 --FILE--
 <?php
 class A extends IntlDateFormatter {
index 09d757f63a70c67bfc1d6f9ac5f70abc54b29a4f..923cfe805fdbd6137a361ca728d895f7237facea 100644 (file)
@@ -3,7 +3,7 @@ Bug #62915: incomplete cloning of IntlTimeZone objects
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-           die('skip intl extension not enabled');
+        die('skip intl extension not enabled');
 --FILE--
 <?php
 
index da2fe6acdabbe3ce18e9499d3d927da5d2bf7e0c..152dc0b741f820f36c762c9fa8ea7bb607e32425 100644 (file)
@@ -3,7 +3,7 @@ Bug #74484 MessageFormatter::formatMessage memory corruption with 11+ named plac
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 ?>
 --FILE--
 <?php
index 3e8ed55579b79ea972aeed8fd3ed4f986f7199fd..9c20ddda320bd49d08cd815fd95fee4dbc63b5b1 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 2fdf7e0c9cc0e99163a795421fc433b0f62fdf91..4b642746427210ced13c093853f1d1e4a736ff59 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 707ad08f0d636740b858c6cabee8fb929073e603..850e59128dc6943350fa04a5633c2b4bfe36c012 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 1c4b40f424cc2c73fa2093acab362142e4e17117..5845541b94470ea71fbc4f6293c73cdcf1f474a1 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::clear() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 1e61f173155bc404c1507bc1578f8aacb554a9ba..ef3e0e9dcbf9ad81d827303b9d1f30adf1e15f89 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index 6bc97b6c71b0fbc3a053f39c7ecd2cee957ee5b4..ef7f57a2a85d38be739523e2f6e3f87ecaf9b694 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index db7d57addec7ade2478e298027e0d102f91d642b..83249aa654ffeccc2ef631a988634861c7c8ba9a 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 var_dump(IntlCalendar::FIELD_FIELD_COUNT);
index 1dcb8f892f05da1889896b078c8c289df66efd3f..4af69ed93979f9d6381f4100715ee5616d219ca1 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::createInstance() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 19d817b6beeb70d56f4d9b4392565b3c0787b08a..7438dc9f4c595f28f594d842be2ab233d978e02e 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::createInstance: bad arguments
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3bd0084c7805be320b738eee8b113d65b99c349e..48783a7bb4cfeb3b26213d89cf7225ef3d972338 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::createInstance() argument variations
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 49604a47d6f5143b1a4202558652ce9233030548..ff9484b4ea8c9fe91fc81104bdf51c4d84942879 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 177518e381f413cb4288bd21b8ddc9a5226b358f..f2ea3fefd0cfc9a2e7385d99dcd136e29629fe45 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 918f279fb159be9ff81bd28ac3f389afcfea89f6..9a1e0fd27a1bbf13025a908a6c81aaffb401fdb4 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index c43cbfe92f46e503a6afad8823bd32a9affba61b..7df49f092d1038f7996ec170a80e8abc2be05b6f 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 84010329a6d1e73bf89a28d086c93da2d0897d3e..d8c59714a269824dc99174624acc74518359b509 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::fromDateTime(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index c610335bb33508967c21edd9ebda21b3b7e0711c..40a56228c1c1f1cc7a2da22ad4900f32f52ab06b 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::fromDateTime(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index a5071545e265236af1f9f4a1ae087b289eaa0ab2..15fd39f0a4489317a0b8792d18735c1495ee455d 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::getAvailableLocales() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index c525dca988ba58bf8b9734ad5e8eb063a3cc4bb3..9a73ffcea95a1f481007cfe619f17e787ea0d5b4 100644 (file)
@@ -5,9 +5,9 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (version_compare(INTL_ICU_VERSION, '52.1') >= 0)
-       die('skip for ICU < 52.1');
+    die('skip for ICU < 52.1');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 982eaf4251b8357223497c8842edd6836b41ae6b..a4dac59144c191ad695ddf720f2f3b979860d042 100644 (file)
@@ -5,9 +5,9 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 if (version_compare(INTL_ICU_VERSION, '52.1') < 0)
-       die('skip for ICU >= 52.1');
+    die('skip for ICU >= 52.1');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 512d29743bd20df4a14f6602da3013bd30a694fa..9a066d800b78aa44ff4fc7505a749ade60b5540f 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 $c = new IntlGregorianCalendar(NULL, 'pt_PT');
index 7c7481ebbf5415f6a90c954813e01ab06e75705d..d7e739f2eaf24b9a1ee7b6d204245b919eadbc99 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 2bd97330edf02c84c5dab8bc0796032a4b144934..fe57b1833e797750fda9a4364c01443dea5c142b 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 7b94b607b019127ef9eeead4cfbeb0e5870a313c..39a456e53fff9fc4f794ce99ebb22cdadf2d665b 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3858b8a937138404f14cf0bc3434c0b9a39714b8..d61436ba5ccf8cf829feb8b1d04922e98d74f6b3 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::getFirstDayOfWeek() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 353c5cb09924b453d5d2ca3fccb6149117e849a1..55769f0f37450045aa1b82a8c4e70275c9c125b5 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index fbfe8515b98adcccdb5fd1edb94ee83f07e9c46c..4c649f0e647b5c4d40d82b9ea3363e95d09fa98e 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::getKeywordValuesForLocale() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 92b61d35d5379bac21dba9b2d665caf423e19a36..bb4d3b88872238b1d81ca3e01093bd1677765b79 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::getLocale() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index a7711e45659a0092c0328a4c9166c7678e80c84a..eea310993454406b1ce8c71427c81d7f77b8d1ee 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 2206c6e0be6d30abe698792b45abd33183f747d9..1b579ccfcb17591d46fcd090be141c578ff0b451 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::getMinimalDaysInFirstWeek() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index c5918dae371154e001907bb5274dd09f9f6ff2c3..296887247dcb8dbe314537c1c55c6975f7460186 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index bc103420c4c2d19404692c1bf9b72e1898816327..00bed7f8d7e241ed075ea39087a003a05a599cdc 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::getNow() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3d604da1b4719d116b3aa070455efeba54904c04..7dfa0e36b2b83aaac18874caa7b772c067406af8 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index acd3effb20bd6d98964b6678b578dfcfc3b6d4b2..509700b564dc65a01c39d9e179458c5af1078e79 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::getTimeZone() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 4ccd28243c4ab068702db60d842b33705f646021..b1f3ab6fe1038c8a517a01b2a47e2870f9f930b1 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index b644bc0737a04f33da56cd3308703753c78b2546..6ef757fa9d423f202d879ed84444c14c058e9917 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 13f5253728924db20b90cb54e06d7158b9e14d4b..7c958d11df62c7d5410d90ee88e25e522c02bc97 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 495caa390e96fa0b7933ad777da2875ebfdd565e..c861ff09657634b515c5b8c7a4b60428f23f9121 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 30c2cb90e860711f655390aa6ce7742416fe7b2e..46ba6f13bc64504539451c819ebc6e87441975b1 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 616f40b5266aec038c0063151960d07e46d7082e..0ba8d207ec5ddc1c3860437f47da69cb53f32ae2 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 87bb96d2200eb8a1796bd17405b41a1e054fc535..b20dfdd0ce15d4e2b2873dfb31ef93a8ae410db6 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 82e77b8c8eb3353d9dcfd2ae371e123f568d97fd..72f48fd53333fcdf05ef3f64886ee8e7128c2306 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index a1f52b361d299184a0767ccfc12cd1da1c8575af..e4e879b78b8d3347d7b252c13202169e7f4945b9 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 13952ce6b205a53b0baaf8d784db1f0b069c62ec..7b0d682c7361eb16fbbfc4f92fc5ccaa42e94d13 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index dc008ce9599f4cca72b068317790457ae9ed9958..750ae03341ea541889f30093fb4f13f00cdfb15e 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::get() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 2b5f344cb14e279be1bb873b44af68ab64e7fab0..2bc603780b4e71edef33e4d6a7ba7015d6827cfb 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index afc3df210a2932f5a1680bf3511efcbd2abb3e49..00f8ca3c66e834ef6020cd464d512d18a73650fd 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index 83e6b846453fec871b6bd7e9c0a2afa193e83396..d671dda235c1aa1950f8edc9229b922dcde43e1e 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::get/setRepeatedWallTimeOption(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 2f96aaf96df3c19d28044f48126836ed5e7ce8c9..3e5e3d98970bc91fd7205961495b51a4f2e88d0c 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::get/setSkippedWallTimeOption(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 6bbf833be79bccf5fc64e6b141e9fb1d197b0dba..3bb566cf2f6886143ffa38c15fb3e64161cace84 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index f0cb1d0cb1a93d748a05da8ed866dc92ed0b5477..51bbf77d9b43e138c8fea8b5b0a210c7900e6fd7 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 5e78c0b92c758954ca13accbb74eb6779152555a..f312941f4d6aec8a7c67da16d2235ccb02c5137b 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::isEquivalentTo() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index a387b8cbd0d035dd3bc40847e6bcf32464e0771e..33e5d415ce05e47fbede63513703af4879ca53b0 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index b4e499cbb3df400932dc3ba10c08c7c01c48eaa0..35e1d848bf8a6168d02a8b1c8a66109e40f1841d 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 39f0026e639095f5a744a671ce1b43b190c84de7..fa4af38dc49cb6b149f47c61e1e4b85bb2a4d23c 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::isSet() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index f7d3c3960113c3006ab8250d68f98b2d3edc8e56..f1e3f67a2e1c06ff0c3f367995980d54e3914b60 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index 943bd9a29ae9ee1f5a8cf15bb562903946ef17ac..be0dac90ff9aef8c5d68ea27080e8ea883f1718e 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 72e4708c88b867fda3d8da91da329f4231d6feef..7e2b8e044e6776d1085ab766d7e75b9d666fba00 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index b7e2be42931f0b8a7461487ddc977659613a5cc3..bb3d706dd311e69cdfd187ac559877af4f32aee4 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::isLenient(), ::setLenient() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 14db357c00eb47eac5644c8cc1edeef212f3f2e1..beed750d72258666131f8bf39c3a71498718ab53 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 1cad8c7e6284760af9d618c0a5992cb8efb702d1..fccf0ec8f54927dba06d5b24428fba68be451869 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index 54f584d3eb70d3bf18c17dee7088d3f528fa14c6..0e16ca72980685738db8d162826b9918e5f16c1a 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 5ca4afc918f45d6dc339ec620492990077cc82a1..17d2d72f824acf001405c9d9d5768cfd73a6d5f5 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::setFirstDayOfWeek() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 5aae101c335f7ec5d4591866502b284fd4a8e5dc..a7efe5ad98d3d417a97ce64667e35d173f0a1c7b 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index 63051c86a97636ce2ac723ea4536fb81299cee0d..a43fee9113df3a560b26eb843a3ca7e528aa68ed 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index e2566085310ced3252710e0408bbb7cb49d76a0f..69577e701f9e95e1fb802ee7571c9d0f48739b0a 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::setMinimalDaysInFirstWeek() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 05c6cb8e904da7912386cafd02fedf47d5f12be1..8d4cf161eac1286d21426d20f3fb853cdc341ec3 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index 45f34911a1d3326f459b359b2a8af65a5c38e33c..40224bed152f40f18a138c8f1594f51e4e0e1753 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 7e52589b81b3ef8d13b520b826360f1d84b065bb..dadd6187de8d4af7270391144accf7a3d191948c 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::setTimeZone() basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 0890d160c813a91cb8273c4ea2969893ca6069a5..3327787801638def933893e2c644fc91dcd5181a 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 5474161e65b25e3cddce4656ac787dfd8f7c7983..216310618cb6bde44b5834b46943c49f3065a99b 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::setTimeZone(): valid time zones for DateTime but not ICU
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3c3dd3bdd86c5e8ef85cabefa2182df8b5dab391..dc9dd2091b1afbc80554e28e3d895d5b919dd621 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::setTimeZone() variation with NULL arg
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3789f032e21397c10f1909ce7306f3b28e6d95cc..52e38391149004076ade741c038673a4df8b1531 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::setTimeZone(): different ways to specify time zone
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 075ecaabb52902992b792d5ba19538a7557aa4b0..850022683e4b00273a9b2ee91d17a66de4fa6116 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 64a2cdfb82163200c08406f31efe26b7e6a301af..4d7287fd0ad5803f190cafe8678f2d18c94fba20 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 93378a7b3fc3e2785d60b031e850bc3237a0791e..8cf3246e2425827bb762acc19756cff4c7f889fc 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 1ebd40164b9ada9126d28c5e85a1bec0bc26ec39..228b38f86eeee86f60b0f7a31d192e3b499581d6 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 6a78cf213c03bc74727aa3c9351d90c26929d380..15943cb26384544fed99b36cae242d9c4f562c0d 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index ad9b7c9eb6e6969f6156c449353963bbe73e1913..4e591330050ba06724ebfb621359c61dec37363f 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::toDateTime(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 8a707b45075ff99ed6fc8238685104738d8a3a77..37f27a66cbb0adb2e6f9b5905bdc9ca7af4f4412 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::toDateTime(): bad arguments
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 66cd96bbb93fe536ff020279476b4b1aebb9cbae..458046ae7d58ebf3e7b94784652798daafcaaaf2 100644 (file)
@@ -3,7 +3,7 @@ IntlCodePointBreakIterator: clone and equality
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index a1c33cf230ef15eb40d50b3dcc27ff78f70a7f0c..049eaea6f9e2d44d42045836fb5ca91650ba5ec7 100644 (file)
@@ -3,7 +3,7 @@ IntlCodepointBreakIterator::getLastCodePoint(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 329c88c8b9eb79da198afdd5405bc8da918c4578..5708a6d4f97c308df4fe0dc2cc59248ffc729a28 100644 (file)
@@ -3,7 +3,7 @@ IntlCodepointBreakIterator's part iterator
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 928c30b9222b89273588e22dee96b7ca79dce4b2..2a51b6f42d6dccc8f0976cc65b1c3c58357df3ef 100644 (file)
@@ -3,7 +3,7 @@ IntlDateFormatter::__construct(): bad timezone or calendar
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 69788fb96ef7e9d55371046a7909bdda1efed5c9..29a8798e799edc47049b3893a689c9d6f1055498 100644 (file)
@@ -3,7 +3,7 @@ IntlDateFormatter::formatObject(): error conditions
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 72e78af5f3f0c38d30298f3dc98470bef6399646..a1b7716a314e7d594792e5da69fd514ca3d6e4d1 100644 (file)
@@ -3,7 +3,7 @@ IntlDateFormatter::setTimeZone() bad args
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index dc8eedc43541a4e7ec8d7030e4d361257c3dc93b..757603f632086c96158af713392b7fc07b5398f0 100644 (file)
@@ -3,7 +3,7 @@ IntlGregorianCalendar::__construct(): basic
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 92a7e5c30436c93f4a5a55c22f1bf709276a6bf2..2bc87c723d89b158af18ae8ce2df59a9cf8f1966 100644 (file)
@@ -3,7 +3,7 @@ IntlGregorianCalendar::__construct(): bad arguments
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 86274c34bfdb58cc5fb3090763e06c086b590ccf..22dae52d77d28e9f6b49d7f4e577fb37db6ec7e6 100644 (file)
@@ -3,7 +3,7 @@ IntlGregorianCalendar::__construct(): argument variants
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3fe4faf46417eeb3446fc9f0c0ecf0a7ed7c7b66..0f1106c635a369c128db50868e452db89ea5b18b 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 98c11e41b1fedc4ee311fecbfbb86129783ea746..671278ec968e699f0de80c45b8dc78d695aafa5f 100644 (file)
@@ -3,7 +3,7 @@ IntlGregorianCalendar::get/setGregorianChange(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 31c80247860e81dbca3f4b7eb8f25a8b78e9cd31..5df80c4b674fab06cb519312e7ea166bb721f1c8 100644 (file)
@@ -3,7 +3,7 @@ IntlGregorianCalendar::isLeapYear(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 9cee3881f3f181d92db6cfe50f5b66f967d30717..e00944ab99c4c8805a1e8f513e7bb29384e651c7 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 492dbec7ed29153e0bade645041e04d91137196b..17edfb6d3a3df10215fcf74cef8963b426c1d2c7 100644 (file)
@@ -2,10 +2,10 @@
 IDN UTS #46 API basic tests
 --SKIPIF--
 <?php
-       if (!extension_loaded('intl'))
-               die('skip');
-       if (!defined('INTL_IDNA_VARIANT_UTS46'))
-               die('skip no UTS #46 API');
+    if (!extension_loaded('intl'))
+        die('skip');
+    if (!defined('INTL_IDNA_VARIANT_UTS46'))
+        die('skip no UTS #46 API');
 --FILE--
 <?php
 $utf8dn = "www.fußball.com";
index 35aa1cb07386969012d3d9b007f7e8aa49c3c8c4..f766f60d885c8955937caad33eec0efe3e24bd88 100644 (file)
@@ -2,10 +2,10 @@
 IDN UTS #46 API error tests
 --SKIPIF--
 <?php
-       if (!extension_loaded('intl'))
-               die('skip');
-       if (!defined('INTL_IDNA_VARIANT_UTS46'))
-               die('skip no UTS #46 API');
+    if (!extension_loaded('intl'))
+        die('skip');
+    if (!defined('INTL_IDNA_VARIANT_UTS46'))
+        die('skip no UTS #46 API');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 660fc92f3b229847ea0667eee7794a5923092b26..8a407f3d4e3e7e24c5b554f1c47a983ca5057bde 100644 (file)
@@ -3,7 +3,7 @@ Bug #70484 selectordinal doesn't work with named parameters
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index e110ff0e96f79ed57db549da6d12054f1f9aff31..5514a9466cf7f376bb028046f88aaa1834689573 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 4523613c777f85dbf16b27cf9b6cfec77a943ea4..712758e70f8b6e65bda663d1232c52605b9d50e1 100644 (file)
@@ -3,7 +3,7 @@ MessageFormatter::format() insufficient numeric arguments
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 487f760b528f36b457d4cdc6fad31a646322b93e..5985c67dc6c987dfa8764333883dd925aa60f64d 100644 (file)
@@ -3,7 +3,7 @@ MessageFormatter::format() inconsistent types in named argument
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 2df598ce5b268eb3c7cf5b0277e3b26fb1283a7d..d1e11d11a2e88a13c1eda62849ff5a6ba10dc3b5 100644 (file)
@@ -3,7 +3,7 @@ MessageFormatter::format() given negative arg key
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 96b1f39b0b7edc552e4f25bc16f0844680bdef2a..fc7b27f5517ff652bb2c2e95c556c88dfca520d5 100644 (file)
@@ -3,7 +3,7 @@ MessageFormatter::format() invalid UTF-8 for arg key or value
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 5ec5ddf18996a74a029a6c7339d0019b3463fddb..e3ba570824c2bb1a200d3db84b883ee2601e651b 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 968701b7114c2b85ed2553787e3184103d938d82..0df279f5c5c73f2bb5f4bc2828507bb06c97ab81 100644 (file)
@@ -3,7 +3,7 @@ MessageFormatter::format() invalid type for key not in pattern
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index f891e973c04e15a4f53908e553c05adf51ed1873..8b7812e5768a236e8da639c34749421d37fc41f5 100644 (file)
@@ -3,7 +3,7 @@ MessageFormatter::format(): mixed named and numeric parameters
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index b24ae829bcc1ca24b58a9d5085da441026c88aca..669d2def437b2c357427b12495894dd960886f07 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 50970f0b9e3f8a73f433d7ef38826ae10a4dedec..901ba30fe0f9eed960359f10608abe82ebe618e9 100644 (file)
@@ -3,7 +3,7 @@ msgfmt_format() with subpatterns
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index 7b56ccb4cc7a08473ee2dd6b34f6fdef1c471e07..242c6f76f235944182addaf5130537c91bfd950a 100644 (file)
@@ -3,7 +3,7 @@ msgfmt_format() with named subpatterns
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 
index 2a5723f2e0f923718b3b831f69ea888d002347bf..c9aefbc7d68a0a8198771183b876055b065379b5 100644 (file)
@@ -3,7 +3,7 @@ MessageFrormatter parses and formats dates with millisecond precision
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 86fda51d412436e9d88cff84462b2198b4dd7db7..a5d1061b7797aed5c81037480c4b653545c9bcb9 100644 (file)
@@ -3,7 +3,7 @@ MessageFormatter::setPattern() invalidates arg types cache
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index def14d25da907a3446763b4bc4a2b24aacf61800..b94c7c7b5b0d8ffa67ba6bd0282b5ed0460f3d26 100644 (file)
@@ -3,7 +3,7 @@ IntlRuleBasedBreakIterator::__construct: basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.default_locale", "pt_PT");
index 4592a62eb9c65e1e72382d53d2141ce566186b07..986c8f840ec6ca561858f704b0e457e23397279e 100644 (file)
@@ -3,7 +3,7 @@ IntlRuleBasedBreakIterator::getRuleStatusVec(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 44da7652926693900b0985a198a0447d80e8681a..e7a624009586439ba469ff956d8015da0f28937f 100644 (file)
@@ -3,7 +3,7 @@ IntlRuleBasedBreakIterator::getRuleStatus(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 0514fe1b321dd33bab5e779918f0dd326e9bfb04..d9ea4529a701b945b8f89f520ca810d19fff8b11 100644 (file)
@@ -3,10 +3,10 @@ spoofchecker with restriction level
 --SKIPIF--
 <?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
 <?php
-       $r = new ReflectionClass("SpoofChecker");
-       if (false === $r->getConstant("SINGLE_SCRIPT_RESTRICTIVE")) {
-               die("skip Incompatible ICU version");
-       }
+    $r = new ReflectionClass("SpoofChecker");
+    if (false === $r->getConstant("SINGLE_SCRIPT_RESTRICTIVE")) {
+        die("skip Incompatible ICU version");
+    }
 ?>
 --FILE--
 <?php
index ccf923f42ab7e2d9780ab5c40d6e4dd6ceb7e247..72808c4b471bda1ed4a97999b29ccb715824cd42 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getIDForWindowsID basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled'); ?>
+    die('skip intl extension not enabled'); ?>
 <?php if (version_compare(INTL_ICU_VERSION, '52') < 0)die('skip for ICU >= 52'); ?>
 <?php if (version_compare(INTL_ICU_VERSION, '58.1') >= 0) die('skip for ICU <= 57.1'); ?>
 --FILE--
index 5008c2b66ab959330bf8f45e59f06e9ec51b4ec0..064c5826d874321c187c574881b04bea04909fdc 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getIDForWindowsID basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled'); ?>
+    die('skip intl extension not enabled'); ?>
 <?php if (version_compare(INTL_ICU_VERSION, '58.1') < 0) die('skip for ICU >= 58.1'); ?>
 --FILE--
 <?php
index 4a5a58f7182f599b3ca1e8271641ec7d77095c5a..49025c839173c49f2e7af1175effe218354cc7af 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone clone handler: basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 8df6a8ffe368f98d86b621e80c090151f775e9d5..728b7443054bdbbfa4710bb914037a2f7a7ef359 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone clone handler: error test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 7a7eef0a72f1e791edcaecd79e155291b44786f2..66dbb35c6efb200bb8a8a72ef28186ba9a171528 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::countEquivalentIDs(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 6629f74ba68097c096cefedcda6858cb71ba835e..94498db012d3f7f53efc6f583d8b2fa34364a491 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::countEquivalentIDs(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 0a188df11eff910417887eb0a0aab8e24905edcc..042bd541c4539f943c59227ef6083fa261c5a2fd 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createDefault(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 4500aef976117982cca600b843bc94539e23f4e4..7321e93bd29a7a8685bc7ab80f84611a39eb98d8 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createEnumeration(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 4e190129d47a02c5281936cfe892f094c4b13e68..2aff323ce3a303ab6c003cc0884fc472f6fc4711 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createEnumeration(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 19a5521a68e8d5ad88b1076dc0c532443177209e..fa58d029eb38052fe226344e6e69ed278842e81e 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createEnumeration(): variant with offset
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index c0355213223c79c9f9d3a1ace58e82afcf30615a..488f6cb428c20a3d4cdb1dc98192662f3c8606b8 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createEnumeration(): variant with country
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 985957d3ca3a9a0306b1eae8bae4c5adeeeb8d2a..070ee1a6316122c6facdebc6d60f827b336d803f 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createTimeZoneIDEnumeration(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3bf7c9a670ff8043ed8d0b38be40dd9083a5e067..3395f845d29ed9bd6438cba8cda4012cd63bcee8 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createTimeZoneIDEnumeration(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 84711ff57f8458e007b71fb99f5e2e9266f46352..b6a74ce741cf6543d7363093d0e53c6897fb4534 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createTimeZoneIDEnumeration(): variant without offset
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 4d37fe3e64321f2a5a9e4fef93d41e119b02f779..ea37fafb261b289d634f5a612ffdf4dcaec90185 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createTimeZoneIDEnumeration(): variant without region
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index e58d7749d97d8e7c3a8cb07f54b5eb56bf2bfce5..9195ed496c5dc69a5b71e8efda6b2c8347b54cfa 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createTimeZone(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index a06f26b12824192a95696ee81cccce9fde8bee6b..a17e2d1ee38fae177778a91848b6f0e06d8f76fb 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::createTimeZone(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 20703f5494b1499bb6e0f3565688d7c53b4dd6ba..4b79655c816b0c641bc47f421be8f8328c21e9f9 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone equals handler: basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3d489d14a6f9a423420b2f6147ed8c5c29d76c56..ced7a3386bee3280d70b4d7faa11cea8fdfed54f 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone equals handler: error test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index b15edc030d8bdfd30f6ea817f1fa8f808668b0e8..e17147060d99c2bcdc6a23e7d2913e1e31a164ef 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::fromDateTimeZone(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 54a70d1f17b846407a28bd22d605e8402c62e7f2..dbb4543b9b0e07e7f6c0b6cc55839fc57957d690 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 1ed775ac52a87f805263fdf1a57e6c3ec0d28090..c2d393ff80b3219d3aef6b9cb8c9c16d82f76bd1 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getCanonicalID: basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index c1f7b6927a0efa20a3f3b32efc6e557a79e07632..706ddb6dbf26a532d8f04a241f328ccbd3eeefde 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getCanonicalID(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 6828d9bc083bd8a3980d20a792d43b133d814ddf..c659dd97b3f957efe3ffbb1107b7f384f6534895 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getDSTSavings(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index fe59f3cae44351c6bc97809e6ae57ff0cdcc44c7..d6879597c3e2566c259e0428bafc141d49540bb4 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getDSTSavings(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 57fab259663a9dee0e0d7c02e8ca15cc6a2da6e2..d6d032f8d11fbc5751768fbcea0b9d786cc82a10 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getDisplayName(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 41131e0fe32a4e23d920524ef2d2e87567fc9f4e..b38e305e6d3ea26a55fc8bcc037c45677d260444 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getDisplayName(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index ebfb32cee4f89232ea19aeae2626122508662935..684afcf109e7a9bdc2ce94a1736933e11ae8448b 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getDisplayName(): daylight parameter effect
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 45e0783a0630ee00d577561f44143bd876215dcc..0230c3632f6a359b2a1e1aecb65ee574ff741f2e 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getEquivalentID(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 12afaee2fab447168c8283879c901939ac20255f..34da68842ec3bbd94c42bd9299dbe70dd765d361 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getEquivalentID(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index f7f7a473112283575a66f3b4e27509da4692a1d0..65f369ab3a2e85ab8ac7eeec4018813492423da0 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getErrorCode/Message(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 /* INF being an invalid offset depends on UB in float->int cast behavior. */
 $arch = php_uname('m');
 if ($arch != 'x86_64' && $arch != 'i386')
index c20e3c666a02052ba2f821126c1dd4d7517a1ae1..c44a9107261fd31b65ca9e6b5f190aba6cc1c827 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getErrorCode(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 9cd26d4f4545baf6fe9870f2fffe6a8a8c665ebe..fb252415c848fc127e06a49dd3e3b09fb9b26122 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getErrorMessage(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 7004b2dd6049fcf2d76f04e1862be40098d092ee..8eecf720c9aef564c6823a04410ae2b50a4e9bca 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getGMT(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index da79d7c1bb7ea3e4798bc1064d78fc7150173eed..5ec090159c6b468cc44e62486924d4a522021728 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getID(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 3dbf5b1ce4b36065000bfc15bd48cdf2ef3c642a..3c37ff30ef34c7ea4bdc98dc2e1af02dad5f0e01 100644 (file)
@@ -5,7 +5,7 @@ date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 639b690595e7186f3567832950a54b8a64484ca4..d236c151704207a437e464bd63895b09bc9bd70f 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getOffset(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 
 /* INF being an invalid offset depends on UB in float->int cast behavior. */
 $arch = php_uname('m');
index bfbf2710cac3424fb4f2d98cf244d94f8db10aa6..6f85e9fc9c6f24a60101069a1f610c6e112fc1ef 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getRawOffset(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 612fa9b39d58d33d43f1e5826b4315051d711a7b..3c9c463ec757f62490f9f2088550a89109360a69 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getRawOffset(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 7d23b7f96db409a73dab020cfa4fc63a410e323e..7aa88d655a5f6d44b9da18b89212eedd4831f131 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getRegion(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 28fd73c1a7015ef37fc8c90359a874e95717effd..be8e40d2226e02f675dbed49d2cfd1f057787626 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getRegion(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index e3b8e71122256e679aafdaa5ce652c537aa76079..d1670a0eab63d51b7fa9be81cd1b4e93c1922d5e 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getTZDataVersion: basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 9277f39911ded61d8fad74d169de119b97cd072e..d2efa466ada6104399206d064a19c4deaaf2126d 100644 (file)
@@ -3,7 +3,7 @@ IntlCalendar::getUnknown(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 89650245543d1d77d29d84708a153a86322c75db..b112c507f0822923cb306a070c5ba32c743a82ec 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::hasSameRules(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index c087e1ac5bf886b18d417d76b3ca3a63caaebcf4..a3f59f73ea246d159bf37b426f54533925426f68 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::hasSameRules(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index f27ee72097ef8b242190705e7547a4dc8f136d6b..20f3b620aa7e2d5422cf99a489c3057f0a2315fe 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::toDateTimeZone(): basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index fc2552e690015afb2a63702d22842415259274c2..83c422a1436230615dd0226bbe5b5e8c172a4f46 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::toDateTimeZone(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 7db7f80fdee8613ae6a67dc4a5c50a09cd09cc48..f8c325cd335a83e19ddd69ebc15f29fd33d9ace1 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::useDaylightTime: basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index 6f702848a94eee51c088edb7b2f5b3d169c1a904..72cebfe7e59f3d287312d97fe1fb01a84f8dcd35 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::useDaylightTime(): errors
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled');
+    die('skip intl extension not enabled');
 --FILE--
 <?php
 ini_set("intl.error_level", E_WARNING);
index edf2fd5a47eb868f30583bc34547c4a704d726c3..4acd4c92d3dcebb55cbd76a3c5c9c00ab8cd4a5a 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getWindowsID basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled'); ?>
+    die('skip intl extension not enabled'); ?>
 <?php if (version_compare(INTL_ICU_VERSION, '52') < 0)die('skip for ICU >= 52'); ?>
 <?php if (version_compare(INTL_ICU_VERSION, '58.1') >= 0) die('skip for ICU <= 57.1'); ?>
 --FILE--
index 7c00b646b64848f8ec4624904f272ea24665a668..32f80596c4bfe3ae3d9f9154ccfb6380d1b30239 100644 (file)
@@ -3,7 +3,7 @@ IntlTimeZone::getWindowsID basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
-       die('skip intl extension not enabled'); ?>
+    die('skip intl extension not enabled'); ?>
 <?php if (version_compare(INTL_ICU_VERSION, '58.1') < 0) die('skip for ICU >= 58.1'); ?>
 --FILE--
 <?php
index 23a5124a7739c175479996f5c283b4643a7d8160..4ce7faa352e583039a3a0aa6d041b3e873baea51 100644 (file)
@@ -3,7 +3,7 @@ Bug #41403 (json_decode cannot decode floats if localeconv decimal_point is not
 --SKIPIF--
 <?php
 if (setlocale(LC_NUMERIC, "de_DE") === false) {
-       die("skip no de_DE locale");
+    die("skip no de_DE locale");
 }
 ?>
 --INI--
index 7c39f4c8e2992e70fda6d5d3f0f058f2ad02a700..698f193a708815f7190566d88e82db8c5e89f2ed 100644 (file)
@@ -5,7 +5,7 @@ serialize_precision=-1
 --SKIPIF--
 <?php
 if (!setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1", "ISO8859-1")) {
-       die("skip locale needed for this test is not supported on this platform");
+    die("skip locale needed for this test is not supported on this platform");
 }
 ?>
 --FILE--
index b90a92bc00a65e0cb05c4f99d081fc5126dd8b27..b7e7835f384ccd0d5fcc5bd79c369f59711a8f1d 100644 (file)
@@ -6,12 +6,12 @@ Emmanuel Dreyfus <manu@netbsd.org>
 <?php require_once('skipif.inc'); ?>
 <?php require_once('skipifbindfailure.inc'); ?>
 <?php
-       $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
-       $r = ldap_read($link, '', 'objectClass=*', array('dynamicsubtrees'));
-       $info = ldap_get_entries($link, $r)[0];
-       if (!isset($info['dynamicsubtrees'])) {
-               die("skip Overlay DDS not available");
-       }
+    $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
+    $r = ldap_read($link, '', 'objectClass=*', array('dynamicsubtrees'));
+    $info = ldap_get_entries($link, $r)[0];
+    if (!isset($info['dynamicsubtrees'])) {
+        die("skip Overlay DDS not available");
+    }
 ?>
 --FILE--
 <?php
index e774a0e03f898cdd2a7b260504a49528f889133a..56f77f920e490c5edee0c7694bb984174f47f4d7 100644 (file)
@@ -4,8 +4,8 @@ ldap_option_reqcert_basic() - Basic test to check if PHP can connect to a LDAP s
 Edwin Hoksberg <edwin@edwinhoksberg.nl>
 --SKIPIF--
 <?php
-       require_once __DIR__ .'/skipif.inc';
-       require_once __DIR__ .'/skipifbindfailure.inc';
+    require_once __DIR__ .'/skipif.inc';
+    require_once __DIR__ .'/skipifbindfailure.inc';
 ?>
 --FILE--
 <?php
index 50e542a08032d11f38df0a49a84a87e3bfba7521..17fba4bc23c50d307aa0579509b5d1cf99fb50d2 100644 (file)
@@ -4,8 +4,8 @@ ldap_option_reqcert_error() - A test to check if ldap can't connect to a LDAP se
 Edwin Hoksberg <edwin@edwinhoksberg.nl>
 --SKIPIF--
 <?php
-       require_once __DIR__ .'/skipif.inc';
-       require_once __DIR__ .'/skipifbindfailure.inc';
+    require_once __DIR__ .'/skipif.inc';
+    require_once __DIR__ .'/skipifbindfailure.inc';
 ?>
 --FILE--
 <?php
index 3ab977b8543e2d16353a53e1850a9f4aad61a1c3..3c4eb1b137917cfe591c28725602fa31e9c50f8c 100644 (file)
@@ -7,11 +7,11 @@ Patrick Allaert <patrickallaert@php.net>
 <?php require_once('skipif.inc'); ?>
 <?php if (!function_exists("ldap_sasl_bind")) die("skip LDAP extension not compiled with SASL support"); ?>
 <?php
-       require "connect.inc";
-       $link = @fsockopen($host, $port);
-       if (!$link) {
-               die("skip no server listening");
-       }
+    require "connect.inc";
+    $link = @fsockopen($host, $port);
+    if (!$link) {
+        die("skip no server listening");
+    }
 ?>
 --FILE--
 <?php
index eff51c785eb54d1bf582944348e57a0b323ef321..646a7f2ed89500341fc5441b25aca73c4e391670 100644 (file)
@@ -5,12 +5,12 @@ Chad Sikorra <Chad.Sikorra@gmail.com>
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
 <?php
-       require "connect.inc";
-       $link = ldap_connect($host, $port);
-       ldap_get_option($link, LDAP_OPT_X_TLS_PACKAGE, $package);
-       if ($package != 'OpenSSL') {
-               die("skip OpenSSL required for CRL check options, got: $package");
-       }
+    require "connect.inc";
+    $link = ldap_connect($host, $port);
+    ldap_get_option($link, LDAP_OPT_X_TLS_PACKAGE, $package);
+    if ($package != 'OpenSSL') {
+        die("skip OpenSSL required for CRL check options, got: $package");
+    }
 ?>
 --FILE--
 <?php
index 9027a4628f5e649548fa138cd43494767cd6954b..6344637d33e69656be5d22691713f90d9807322f 100644 (file)
@@ -6,14 +6,14 @@ Patrick Allaert <patrickallaert@php.net>
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
 <?php
-       if (!function_exists("ldap_set_rebind_proc")) {
-               die("skip ldap_set_rebind_proc() does not exist");
-       }
-       require "connect.inc";
-       $link = @fsockopen($host, $port);
-       if (!$link) {
-               die("skip no server listening");
-       }
+    if (!function_exists("ldap_set_rebind_proc")) {
+        die("skip ldap_set_rebind_proc() does not exist");
+    }
+    require "connect.inc";
+    $link = @fsockopen($host, $port);
+    if (!$link) {
+        die("skip no server listening");
+    }
 ?>
 --FILE--
 <?php
index dc1914d11876516bf6d071ff709707ec2c69488b..c2f9abad7622691ff15d9cfeedf50eb9f599e12b 100644 (file)
@@ -3,10 +3,10 @@ Bug #52681 (mb_send_mail() appends an extra MIME-Version header)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!function_exists("mb_send_mail") || !mb_language("neutral")) {
-       die("skip mb_send_mail() not available");
+    die("skip mb_send_mail() not available");
 }
 ?>
 --INI--
index eb251efd7bf81e330061c2b7896198275ba0064b..cecd1c35393be74dce86c81d869e15d57316f344 100644 (file)
@@ -2,8 +2,8 @@
 HTML input/output
 --SKIPIF--
 <?php
-       ini_set('include_path', __DIR__);
-       extension_loaded('mbstring') or die('skip mbstring not available');
+    ini_set('include_path', __DIR__);
+    extension_loaded('mbstring') or die('skip mbstring not available');
 ?>
 --INI--
 output_buffering=4096
index 283ff11d6baab3b1fe9ee891268c799adb470008..96eecbb6256019bfac56f988c7986f998b3a2a6d 100644 (file)
@@ -3,10 +3,10 @@ mb_send_mail() test 1 (lang=neutral)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!function_exists("mb_send_mail") || !mb_language("neutral")) {
-       die("skip mb_send_mail() not available");
+    die("skip mb_send_mail() not available");
 }
 ?>
 --INI--
index 06b85c691f5bd0ba56349066f0abbf1f4c0b420e..026d794e40e057ff9486946058f1cbe8b1ae2df1 100644 (file)
@@ -3,10 +3,10 @@ mb_send_mail() test 2 (lang=Japanese)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!function_exists("mb_send_mail") || !mb_language("japanese")) {
-       die("skip mb_send_mail() not available");
+    die("skip mb_send_mail() not available");
 }
 ?>
 --INI--
index 3d5ffd565953527df6cb95db27300f135ef761ff..acc152f720363a82514133b254f76dede1b6b8e1 100644 (file)
@@ -3,10 +3,10 @@ mb_send_mail() test 3 (lang=English)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!function_exists("mb_send_mail") || !mb_language("english")) {
-       die("skip mb_send_mail() not available");
+    die("skip mb_send_mail() not available");
 }
 ?>
 --INI--
index 2eccb87189aaa2623ef280aca3ed598876cfd9c9..9e681281407315cf6a19cabe3b0dffc7d22f05b9 100644 (file)
@@ -3,10 +3,10 @@ mb_send_mail() test 4 (lang=German)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!function_exists("mb_send_mail") || !mb_language("german")) {
-       die("skip mb_send_mail() not available");
+    die("skip mb_send_mail() not available");
 }
 ?>
 --INI--
index 53d97ef3d18b20bee9bbbbe50cfd0fe7b8dbac0e..f4c07e26f8b2ba821563bca57c25b839fa15d14b 100644 (file)
@@ -3,13 +3,13 @@ mb_send_mail() test 5 (lang=Simplified Chinese)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!function_exists("mb_send_mail") || !mb_language("Simplified Chinese")) {
-       die("skip mb_send_mail() not available");
+    die("skip mb_send_mail() not available");
 }
 if (!@mb_internal_encoding('GB2312')) {
-       die("skip GB2312 encoding is not available on this platform");
+    die("skip GB2312 encoding is not available on this platform");
 }
 ?>
 --INI--
index 44a877aaee52875f582a57674a016cab599bfd2f..521a976ca39c584c54c054ea359252ebf14e0dd5 100644 (file)
@@ -3,13 +3,13 @@ mb_send_mail() test 6 (lang=Traditional Chinese)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!function_exists("mb_send_mail") || !mb_language("Traditional Chinese")) {
-       die("skip mb_send_mail() not available");
+    die("skip mb_send_mail() not available");
 }
 if (!@mb_internal_encoding('BIG5')) {
-       die("skip BIG5 encoding is not available on this platform");
+    die("skip BIG5 encoding is not available on this platform");
 }
 ?>
 --INI--
index 9640abc1e88a0b7f83cb579c0fca0187b160f735..eb702b690ae4eddd6a1c9fb186d2e228ed60a3ea 100644 (file)
@@ -3,13 +3,13 @@ mb_send_mail() test 7 (lang=Korean)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!function_exists("mb_send_mail") || !mb_language("Korean")) {
-       die("skip mb_send_mail() not available");
+    die("skip mb_send_mail() not available");
 }
 if (!@mb_internal_encoding('ISO-2022-KR')) {
-       die("skip ISO-2022-KR encoding is not available on this platform");
+    die("skip ISO-2022-KR encoding is not available on this platform");
 }
 ?>
 --INI--
index 0960da7a98c11f4ea9e8574dc2eaa64200e73da5..322cbb2ee3d010391f3d3f4f84a7745eec2fa5ac 100644 (file)
@@ -53,7 +53,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_fetch_null"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index faf3407bd7364ff39a563e29fcdf2af92a853fc8..56a26602dfc03a46847e6c630a282f2e0d28b15a 100644 (file)
@@ -79,7 +79,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 0c246e0b2b28b63290efd98d1bf3fa198f0ccc52..22a7712dbac3a88b9da0adc4cecb3f6f141dc644 100644 (file)
@@ -57,7 +57,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 2dffee80c202221ae23d8d96b7aba98455cc9d6c..ce0a9a886071e1431aad9b4a5e208a0f50e2784d 100644 (file)
@@ -47,7 +47,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 5e0443a9fb7411d8a8eed854556920f03ad9a6b3..534ef4261fc476720c7ab4750a64574aeb40f673 100644 (file)
@@ -52,7 +52,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index b510d8d8a32d8e5cc2a19f26646083ffb9180d1a..7e71476a3a96943771762e5497dd24c6c571ad9b 100644 (file)
@@ -52,7 +52,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 412c3641e5a8aedc9b7dab38f74bc32d17cefa23..37b75bb5b98357646f2597dddc2d55b0a390ef63 100644 (file)
@@ -52,7 +52,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 187ac3f9a35ec7efc4979347083f8edb3bb27ff4..f245c71f5dcdb6b70d5bce1643629e9dca08ae00 100644 (file)
@@ -2,12 +2,12 @@
 mysqli fetch bigint values (ok to fail with 4.1.x)
 --SKIPIF--
 <?php
-       if (PHP_INT_SIZE == 8) {
-               echo 'skip test valid only for 32bit systems';
-               exit;
-       }
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    if (PHP_INT_SIZE == 8) {
+        echo 'skip test valid only for 32bit systems';
+        exit;
+    }
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 ?>
 --FILE--
 <?php
@@ -85,10 +85,10 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch_uint"))
-       printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 4da24b680add6ac5a48f7b476c467bdaa7820887..9ddac0931fce658e7899c7ffb4de28b602fa96eb 100644 (file)
@@ -55,7 +55,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 4be6fe62c59d7d9cd7a0881fcfe348e8e9590315..db327e2d32782dd055f8b13ea0a7d5593a80ad56 100644 (file)
@@ -52,7 +52,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index c2981a206cfa65c6cf781e7bcb20cdd77574cbfb..89303e57891cc587d3bb94d2d5200543e16e24d9 100644 (file)
@@ -51,7 +51,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 21cb6a949e873b20a8d4041074ab944ad91f7b61..c8aaa73d8427b93e765f7c995f17963716a33f28 100644 (file)
@@ -60,7 +60,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index cb100001c54982d9d2bbf1d7cd0515311075dc86..bc5d906d934ad1e3b98510a9d21050cc1eafc1aa 100644 (file)
@@ -2,16 +2,16 @@
 mysqli autocommit/commit/rollback
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
-       require_once("connect.inc");
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
+    require_once("connect.inc");
 
-       $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
-       if (!$link)
-               die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
+    if (!$link)
+        die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
-       if (!have_innodb($link))
-               die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    if (!have_innodb($link))
+        die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -78,7 +78,7 @@ mysqli autocommit/commit/rollback
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 Num_of_rows=1
index 099fcff24eca34fe0d0097cd7d77c9165566dad6..a179e8ec5a4d9df90e2d3ab249a9b92d22cbc913 100644 (file)
@@ -2,15 +2,15 @@
 mysqli autocommit/commit/rollback with innodb
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       require_once('connect.inc');
-       if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    require_once('connect.inc');
+    if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
+        die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
-       if (!have_innodb($link))
-               die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    if (!have_innodb($link))
+        die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -76,7 +76,7 @@ mysqli autocommit/commit/rollback with innodb
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 array(2) {
index d35b162cd714ff4d3bb47db1d5fee10edd65e281..6d64a17601477f98e7b7d233272caa32cfc60407 100644 (file)
@@ -62,7 +62,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS insert_read"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index f1409248c2901db453531840eb3fa834370cd6c2..a2a8782f0fd5e844155c9c8bffaad5d9b153bc55 100644 (file)
@@ -74,7 +74,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 3fa3b9a5cc967f57e6bbe0107228195ca60bfeca..fd2d4f0e2b68d47ec1a37474c7f5e118244b79a2 100644 (file)
@@ -45,7 +45,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index d12ba4aff9ecfae36ef538425655dc9935fd4bc4..d591e5bae1349e4e48c2176237758725b4b11e04 100644 (file)
@@ -50,7 +50,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 7c22704d441d744e34721d4badfa0b5cf2b46840..a23e6e15ecfb1512faeddf6fd8d95aef88f5b657 100644 (file)
@@ -59,7 +59,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 5be231c27d0f321e64e30745a43e9beba2b74b3b..dec1e284be43bbb5791fc3ae710385a0ef6f672c 100644 (file)
@@ -59,7 +59,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 6e300890d7df3f4117b5220d5e8112a6833113d1..62b1590d29b67a1d6e337ba55534d2ba52836072 100644 (file)
@@ -64,7 +64,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 1db5f5af844965db45da46d981a407944e445ead..7f9a9bd4b8c53a28806b9922149ec098451fe93d 100644 (file)
@@ -51,7 +51,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 0ed2517227df225f340d27112f1f4f6e93b7f3f2..769f3753f4066e9144d7b69f3bc978dce7f7e10f 100644 (file)
@@ -33,7 +33,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS general_test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 660950d6f1e9df1838297aca44ed2f2c4c717ef8..ea7d13bc9bf9a0ae6a08e12984310aaa7ef795a1 100644 (file)
@@ -33,7 +33,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS general_test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index af6d81d64e1b9c9c11d2abb338f02d8e9184c2a2..04fa7023bef317b2d994f9066ade614d4264df75 100644 (file)
@@ -2,12 +2,12 @@
 function test: mysqli_insert_id()
 --SKIPIF--
 <?php
-       if (PHP_INT_SIZE == 8) {
-               echo 'skip test valid only for 32bit systems';
-               exit;
-       }
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    if (PHP_INT_SIZE == 8) {
+        echo 'skip test valid only for 32bit systems';
+        exit;
+    }
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 ?>
 --FILE--
 <?php
@@ -49,7 +49,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS t036"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 7c6f72cb69a7bc78a5775fdd48d85abfc1c1bd55..93b2ceace61d770506914a1a6614a3dfdc017bc0 100644 (file)
@@ -39,7 +39,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 63d7e3ee326d3e32e00d85487649002db38ceec8..9719d93049d7409ff1932972ae9d7299c8d9c73c 100644 (file)
@@ -39,7 +39,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 782cbe57ade5f7f3b9edb8d17c70693129eb3d6d..04d839408e707888e37d9efc487e402cf8233478 100644 (file)
@@ -38,7 +38,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 645a82e4196917198beb74c28df1a23546708fb5..d64739d79ed8b7d26700f3dcd03872c06a2bfe3a 100644 (file)
@@ -29,7 +29,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_warnings"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 8b46049cb8f1d216ca9e3c10870cdadd48465f06..3545ed06c1a76c87b24f7e438e13641046088f5b 100644 (file)
@@ -55,7 +55,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 2e265d7c51772daba17ad0b49ac952aba51a256b..adcf502dc72ee54bad42781e29fb404c1bccc7ab 100644 (file)
@@ -47,7 +47,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_update"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index af38b6786dea5aae11a44e2956eb1cb43e410a37..8486f1003e665fc7a33745190e5567213613781b 100644 (file)
@@ -2,20 +2,20 @@
 mysqli_stmt_bind_result (SHOW)
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       require_once("connect.inc");
-       $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
+    require_once("connect.inc");
+    $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
 
-       $stmt = mysqli_prepare($link, "SHOW VARIABLES LIKE 'port'");
-       mysqli_stmt_execute($stmt);
+    $stmt = mysqli_prepare($link, "SHOW VARIABLES LIKE 'port'");
+    mysqli_stmt_execute($stmt);
 
-       if (!$stmt->field_count) {
-               printf("skip SHOW command is not supported in prepared statements.");
-       }
-       $stmt->close();
-       mysqli_close($link);
+    if (!$stmt->field_count) {
+        printf("skip SHOW command is not supported in prepared statements.");
+    }
+    $stmt->close();
+    mysqli_close($link);
 ?>
 --FILE--
 <?php
index 0a64386db2573c9333980d6eb3040a51b8fdd290..998136dee143a765fc63c05dcd73372cd4128aa1 100644 (file)
@@ -41,7 +41,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_affected"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 4a2c9590cfd6bb79ccd4acaece45112a49f66698..376bcb59c5078276768a562398d2144ab0c6263c 100644 (file)
@@ -52,7 +52,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_affected"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 20271e43fb828e4299832f272c297a8bde4436fc..be5f5a79f18098b312ae25e1f7fdbf26cb4fa0e3 100644 (file)
@@ -47,7 +47,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_fetch_null"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 7c4f149c4870cb0d10c9b4cb6d05fade4e64ce16..7d968a18b2ec30afcdcbb39ca68bc42d1581d2e3 100644 (file)
@@ -68,7 +68,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_store_result"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 596b28569ec3e00c5eefce0c91f76b54d48c11ef..541be1ede402c51a3cafae486913c521d23f6908 100644 (file)
@@ -55,7 +55,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS mbind"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index c7f3877201185114e2a3f39d3692f5c69e76c950..7168f6f8fafd381b65280081face19d14a6119c4 100644 (file)
@@ -48,7 +48,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS mbind"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 22732f4ef1973598e301bbab7234c2a0a3ec6c52..c5a77ec16d37ab60184792e6e0d7d42b4a8df29a 100644 (file)
@@ -49,7 +49,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 0b15b2ea856d78e75f63fb94ff8ccf940ee06627..76a40c704e2bd6c6d8cb278480141f2caa678166 100644 (file)
@@ -5,15 +5,15 @@ local infile handler
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_set_local_infile_handler'))
-       die("skip - function not available.");
+    die("skip - function not available.");
 
 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
 if (!$link)
-       die(sprintf("skip Can't connect [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Can't connect [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 include_once("local_infile_tools.inc");
 if ($msg = check_local_infile_support($link, $engine))
-       die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
+    die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
 
 mysqli_close($link);
 ?>
index 2733cdafb0273435a4a91a2fd990d76bb0f2e8d8..9b18d33459fea9a9399b80fbc358f974ee310a59 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_set_charset')) {
-       die('skip mysqli_set_charset() not available');
+    die('skip mysqli_set_charset() not available');
 }
 ?>
 --FILE--
index 678457e93430dfb341c453d93c63c453d9b3ebbc..535d01d22434bdf8093c9ce393b9758c9a2c4b4b 100644 (file)
@@ -37,7 +37,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_warnings"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 1560f76522bfed1b001e8f33602a4244472e9b44..a8874ffef44178f3c0e76e807816925c90744517 100644 (file)
@@ -2,19 +2,19 @@
 function test: nested selects (cursors)
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
-       require_once("connect.inc");
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
+    require_once("connect.inc");
 
-       if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die("skip Cannot connect to check required version");
+    if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
+        die("skip Cannot connect to check required version");
 
-       /* skip cursor test for server versions < 50009 */
-       if (mysqli_get_server_version($link) < 50009) {
-                       die(sprintf("skip Server doesn't support cursors (%s)",
-                                       mysqli_get_server_version($link)));
-       }
-       mysqli_close($link);
+    /* skip cursor test for server versions < 50009 */
+    if (mysqli_get_server_version($link) < 50009) {
+            die(sprintf("skip Server doesn't support cursors (%s)",
+                    mysqli_get_server_version($link)));
+    }
+    mysqli_close($link);
 ?>
 --FILE--
 <?php
@@ -69,8 +69,8 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 for ($i =0; $i < 3; $i++) {
-       if (!mysqli_query($link, sprintf("DROP TABLE IF EXISTS cursor%d", $i)))
-               printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    if (!mysqli_query($link, sprintf("DROP TABLE IF EXISTS cursor%d", $i)))
+        printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 }
 
 mysqli_close($link);
index 974ad87b78dac571e7c53a59c8a41d5ec48d5e70..af41924c3735fc7b42281e9b326c40aaf2c7862e 100644 (file)
@@ -38,7 +38,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_users"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 60ed3f8d1ad83bb0af632fe8696a220456fd1721..9157a13b9ab32a89ad3fc223a12e338b30700583 100644 (file)
@@ -54,7 +54,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_warnings"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 7a990eacbf64858277cd25b32c98e1e381f599bb..95f65320f9e032ea986638e119442f7fa6b955a0 100644 (file)
@@ -58,7 +58,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bint") || !mysqli_query($link, "DROP TABLE IF EXISTS test_buint"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index a7221798968137db85f67d04521a4ea5c05acc67..578f905f352c78a02252c44c3cad39e913b58dec 100644 (file)
@@ -41,7 +41,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS temp"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 5805a6510004db7a935803985bcd91c9698858de..7033eef23cc9edeb4a3ec1efa53ef28b5b11f4fb 100644 (file)
@@ -54,7 +54,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS my_time"))
-       printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 13d939608d5229ff09a6f1730606c25f025ecc88..8345b4b82f881842fd58f62dd464e9fbd100b34d 100644 (file)
@@ -5,7 +5,7 @@ Bug #37090 (mysqli_set_charset return code)
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_set_charset')) {
-       die('skip mysqli_set_charset() not available');
+    die('skip mysqli_set_charset() not available');
 }
 ?>
 --FILE--
index 6f4de58a6673ab3f2bd2193a5b5a68da5da6bc51..e188d83666c1a605aa9b3f4a5caf5e3f1f77eda7 100644 (file)
@@ -6,10 +6,10 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) <= 50000) {
-       die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
 }
 ?>
 --FILE--
index ba7d0ca49d938052765f4fabb0b4023a3d86bf33..430a32856e1b220c55d5f321e337bfe6384d963f 100644 (file)
@@ -5,16 +5,16 @@ Bug #44879 (failed to prepare statement)
 require_once('skipif.inc');
 
 if (!stristr(mysqli_get_client_info(), 'mysqlnd'))
-       die("skip: only available in mysqlnd");
+    die("skip: only available in mysqlnd");
 
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) <= 50000) {
-       die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
 }
 ?>
 --FILE--
@@ -78,7 +78,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_query($link, "DROP PROCEDURE IF EXISTS p");
 
index 65b7ebd707c7105f297f32818ded2d0db3fb6b3c..8604fc72609c75e1ca0c8f1aab90d07cafd51f38 100644 (file)
@@ -34,7 +34,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 [004] [%s
index 2cdefbf4a316b3e9e5c9d363685181c6656c41ec..e451abda9ed90f074cdbb7b4e1ab3f47ab85555b 100644 (file)
@@ -5,7 +5,7 @@ Bug #46614 (Extended MySQLi class gives incorrect empty() result)
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!defined("MYSQLI_ASYNC")) {
-       die("skip mysqlnd only");
+    die("skip mysqlnd only");
 }
 ?>
 --FILE--
index ac305b07d252440080eb6367c162282118ddee98..1dd8f73a699ef53962ba70e62acc8d1b9cee0f30 100644 (file)
@@ -5,7 +5,7 @@ Bug #47050 (mysqli_poll() modifies improper variables)
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!defined("MYSQLI_ASYNC")) {
-       die("skip mysqlnd only");
+    die("skip mysqlnd only");
 }
 ?>
 --FILE--
index 3c7e09f17e389678a06d1bc2a86254e8bfcf064d..2d994f559e5e70ce89c870aabe0d7a063c4ba07a 100644 (file)
@@ -40,7 +40,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done
index 4aa546cd2630e43f310b71622e7be73ce167f7d8..6a459ed4acb3777b0e26af808e9aae9b14c6e62f 100644 (file)
@@ -48,7 +48,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 array(1) {
index 22ff7552b7ebadad55e6c5effd007273e1fc1211..13ddf7b72154d521004781cf4df9e403667930b0 100644 (file)
@@ -7,12 +7,12 @@ require_once('skipifconnectfailure.inc');
 
 $link = mysqli_init();
 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
 }
 
 include_once("local_infile_tools.inc");
 if ($msg = check_local_infile_support($link, $engine))
-       die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
+    die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
 
 mysqli_close($link);
 ?>
index ecae650c1ba288a2ddeb6c1243b2d99cd7df8a28..8cc15e325e1ea6b0898890fb5da06972c1af8e7f 100644 (file)
@@ -10,33 +10,33 @@ if (!defined('MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT'))
     die("skip Requires MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT");
 
 if ($IS_MYSQLND && !extension_loaded("openssl"))
-       die("skip PHP streams lack support for SSL. mysqli is compiled to use mysqlnd which uses PHP streams in turn.");
+    die("skip PHP streams lack support for SSL. mysqli is compiled to use mysqlnd which uses PHP streams in turn.");
 
 if (!($link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)))
-       die(sprintf("skip Connect failed, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Connect failed, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (false === strpos($link->host_info, 'TCP/IP'))
-       die(sprintf("skip SSL only supported on TCP/IP"));
+    die(sprintf("skip SSL only supported on TCP/IP"));
 
 $row = NULL;
 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) {
-       $row = $res->fetch_row();
+    $row = $res->fetch_row();
 } else {
-       if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
-               while ($row = $res->fetch_row())
-                       if ($row[0] == 'have_ssl')
-                               break;
-       } else {
-               die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
-       }
+    if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
+        while ($row = $res->fetch_row())
+            if ($row[0] == 'have_ssl')
+                break;
+    } else {
+        die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
+    }
 }
 
 
 if (empty($row))
-       die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
 
 if (($row[1] == 'NO') || ($row[1] == 'DISABLED'))
-       die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error));
 
 $link->close();
 ?>
index f0692556399f6cc72f7161a484560c151b10634a..2c4e19ca4c21b006b4b9d285e5b2b0e805e98915 100644 (file)
@@ -5,7 +5,7 @@ Bug #52891 (Wrong data inserted with mysqli/mysqlnd when using bind_param,value
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!$IS_MYSQLND) {
-       die("skip: test applies only to mysqlnd");
+    die("skip: test applies only to mysqlnd");
 }
 ?>
 --FILE--
@@ -100,16 +100,16 @@ if (!$IS_MYSQLND) {
 require_once('connect.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-               $host, $user, $db, $port, $socket);
+    printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+        $host, $user, $db, $port, $socket);
 }
 
 if (!mysqli_query($link, 'DROP TABLE IF EXISTS tuint')) {
-       printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 }
 
 if (!mysqli_query($link, 'DROP TABLE IF EXISTS tsint')) {
-       printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 }
 
 mysqli_close($link);
index b71afe28c7e3c187d549bde1aeb0ee5e17fd7227..0b187102f7550436f5c02f8322f25e39b6aa3a5d 100644 (file)
@@ -6,11 +6,11 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die("skip Cannot connect to MySQL");
+    die("skip Cannot connect to MySQL");
 
 include_once("local_infile_tools.inc");
 if ($msg = check_local_infile_support($link, $engine))
-       die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
+    die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
 
 mysqli_close($link);
 
index 023b9f424d022829b84e9fd96bfd1afef4aa84b3..379cab0db31f8022de9d00c999f63600a01ac500 100644 (file)
@@ -10,33 +10,33 @@ if (!defined('MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT'))
     die("skip Requires MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT");
 
 if ($IS_MYSQLND && !extension_loaded("openssl"))
-       die("skip PHP streams lack support for SSL. mysqli is compiled to use mysqlnd which uses PHP streams in turn.");
+    die("skip PHP streams lack support for SSL. mysqli is compiled to use mysqlnd which uses PHP streams in turn.");
 
 if (!($link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)))
-       die(sprintf("skip Connect failed, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Connect failed, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (false === strpos($link->host_info, 'TCP/IP'))
-       die(sprintf("skip SSL only supported on TCP/IP"));
+    die(sprintf("skip SSL only supported on TCP/IP"));
 
 $row = NULL;
 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) {
-       $row = $res->fetch_row();
+    $row = $res->fetch_row();
 } else {
-       if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
-               while ($row = $res->fetch_row())
-                       if ($row[0] == 'have_ssl')
-                               break;
-       } else {
-               die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
-       }
+    if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
+        while ($row = $res->fetch_row())
+            if ($row[0] == 'have_ssl')
+                break;
+    } else {
+        die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
+    }
 }
 
 
 if (empty($row))
-       die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
 
 if (($row[1] == 'NO') || ($row[1] == 'DISABLED'))
-       die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error));
 
 $link->close();
 ?>
index b4e92d839f03d3806f3db63487b62f15e19e3f19..4391d74add2ef2d21801aab3e0995af44fc4a17a 100644 (file)
@@ -2,8 +2,8 @@
 mysqli_float_handling - ensure 4 byte float is handled correctly
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 ?>
 --INI--
 precision=5
index 8e5ccfb410e65bca0286fcab0c1e20a86edf3d5f..2be4fe97aa84a9e8a6fc471dd6535ef882e0b613 100644 (file)
@@ -5,14 +5,14 @@ Bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!$IS_MYSQLND) {
-       die("skip: test applies only to mysqlnd");
+    die("skip: test applies only to mysqlnd");
 }
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die("skip Cannot connect to MySQL");
+    die("skip Cannot connect to MySQL");
 
 include_once("local_infile_tools.inc");
 if ($msg = check_local_infile_support($link, $engine))
-       die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
+    die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
 
 mysqli_close($link);
 ?>
index da69e3c629f04af3b953f04dd846dbb223bbc523..13c0c953818d5767734c7755d337c3d9bb82beb8 100644 (file)
@@ -12,7 +12,7 @@ require_once __DIR__ . '/skipif.inc';
 require_once __DIR__ . '/skipifconnectfailure.inc';
 require_once __DIR__ . '/connect.inc';
 if (!$IS_MYSQLND) {
-       die('skip mysqlnd only');
+    die('skip mysqlnd only');
 }
 ?>
 --FILE--
index 5489905a0a67bf2a3b7ed3dcb15ff1b780c2aefb..1bc0e7a97f76de8c572a2e05fa936c93a1f38e9d 100644 (file)
@@ -2,19 +2,19 @@
 mysqli_float_handling - ensure 4 byte float is handled correctly
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
-       if (@$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-               if ($link->server_version < 50709) {
-                       die("skip MySQL 5.7.9+ needed. Found [".
-                               intval(substr($link->server_version."", -5, 1)).
-                               ".".
-                               intval(substr($link->server_version."", -4, 2)).
-                               ".".
-                               intval(substr($link->server_version."", -2, 2)).
-                               "]");
-               }
-       }
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
+    if (@$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
+        if ($link->server_version < 50709) {
+            die("skip MySQL 5.7.9+ needed. Found [".
+                intval(substr($link->server_version."", -5, 1)).
+                ".".
+                intval(substr($link->server_version."", -4, 2)).
+                ".".
+                intval(substr($link->server_version."", -2, 2)).
+                "]");
+        }
+    }
 ?>
 --FILE--
 <?php
@@ -55,7 +55,7 @@ mysqli_float_handling - ensure 4 byte float is handled correctly
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 OK
index b9ad29b6b82efc30f633c5a2e09942db63f664f1..24c729c670ae45c3dfd2b9a7278e4d75bee8a5f0 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once("connect.inc");
 if (!$IS_MYSQLND) {
-       die("skip mysqlnd only test");
+    die("skip mysqlnd only test");
 }
 ?>
 --FILE--
@@ -51,7 +51,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS bug70949"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 18465e996b92b76271d9f72015c48abaa9b11a38..1490f9fe9691f1e1fd6f415cec9968c2e21d4b4d 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once("connect.inc");
 if (!$IS_MYSQLND) {
-       die("skip mysqlnd only test");
+    die("skip mysqlnd only test");
 }
 ?>
 --FILE--
index 2145de9b48da10e4108abefc1057890d4dbd1f56..b2944f02039d7d19984412b0c9398d0b12f9e7ac 100644 (file)
@@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc');
 require_once("connect.inc");
 
 if ("127.0.0.1" != $host && "localhost" != $host) {
-       die("skip require 127.0.0.1 connection");
+    die("skip require 127.0.0.1 connection");
 }
 
 ?>
index 6173ebad8cd6cdc73f79e6e7d45dee19e9f3d5dd..f6fe13c9171514ffe986bb1846762be887110401 100644 (file)
@@ -7,11 +7,11 @@ require_once('skipifconnectfailure.inc');
 require_once("connect.inc");
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die("skip Cannot connect to check required version");
+    die("skip Cannot connect to check required version");
 
 /* Fractional seconds are supported with servers >= 5.6.4. */
 if (mysqli_get_server_version($link) < 50604) {
-       die(sprintf("skip Server doesn't support fractional seconds in timestamp (%s)", mysqli_get_server_version($link)));
+    die(sprintf("skip Server doesn't support fractional seconds in timestamp (%s)", mysqli_get_server_version($link)));
 }
 mysqli_close($link);
 ?>
index d4bc06f93be52ac3406e9ccf9d627f7fe4de8498..c76e1021e1586a98821f4e87c6a5b208bb8f85fb 100644 (file)
@@ -7,12 +7,12 @@ require_once('skipifconnectfailure.inc');
 
 $link = mysqli_init();
 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Connect failed, [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
 }
 
 require_once('local_infile_tools.inc');
 if ($msg = check_local_infile_support($link, $engine))
-       die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
+    die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
 
 ?>
 --INI--
index 9c94aa6dfb97ea4d87072f0d6c4d286b94050d3a..452cb7d8f730e28e71b6d67eddcb43fefd30b4e1 100644 (file)
@@ -26,7 +26,7 @@ require_once('skipifconnectfailure.inc');
 ?>\r
 --CLEAN--\r
 <?php\r
-       require_once("clean_table.inc");\r
+    require_once("clean_table.inc");\r
 ?>\r
 --EXPECT--\r
 bool(false)\r
index b3f6580baea013e296c5638e94e15efa4dbb1616..3205e7cb2b8e2222f5526dbab3fa6a92edc89e20 100644 (file)
@@ -2,8 +2,8 @@
 mysqli_affected_rows()
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 ?>
 --FILE--
 <?php
@@ -119,7 +119,7 @@ mysqli_affected_rows()
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index 384ecd5e62d033752157f5b30cdbb6173bf594e9..5e2e0bba8a09ed1af5395238d3deaf473f7cc298 100644 (file)
@@ -2,8 +2,8 @@
 mysqli->affected_rows
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 ?>
 --FILE--
 <?php
@@ -113,7 +113,7 @@ mysqli->affected_rows
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 Property access is not allowed yet
index a20851a4db7f9cb7fadbed0180d9163cd1137aa5..7d23ee57825714f0820f99d3ec84ff654107a2e9 100644 (file)
@@ -6,22 +6,22 @@ require_once('skipif.inc');
 require_once('connect.inc');
 
 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-               $host, $user, $db, $port, $socket));
+    die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+        $host, $user, $db, $port, $socket));
 }
 
 if ($link->server_version < 50500)
-       die(sprintf("SKIP Needs MySQL 5.5 or newer, found MySQL %s\n", $link->server_info));
+    die(sprintf("SKIP Needs MySQL 5.5 or newer, found MySQL %s\n", $link->server_info));
 
 if (!$res = $link->query("SHOW PLUGINS"))
-       die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
 
 $have_pam = false;
 while ($row = $res->fetch_assoc()) {
-       if (isset($row['Name']) && ('mysql_clear_password' == $row['Name'])) {
-               $have_pam = true;
-               break;
-       }
+    if (isset($row['Name']) && ('mysql_clear_password' == $row['Name'])) {
+        $have_pam = true;
+        break;
+    }
 }
 $res->close();
 
@@ -33,22 +33,22 @@ mysqli_query($link, 'DROP USER pamtest');
 mysqli_query($link, 'DROP USER pamtest@localhost');
 
 if (!mysqli_query($link, 'CREATE USER pamtest@"%" IDENTIFIED WITH mysql_clear_password') ||
-       !mysqli_query($link, 'CREATE USER pamtest@"localhost" IDENTIFIED WITH mysql_clear_password')) {
-       printf("skip Cannot create second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
-       mysqli_close($link);
-       die("skip CREATE USER failed");
+    !mysqli_query($link, 'CREATE USER pamtest@"localhost" IDENTIFIED WITH mysql_clear_password')) {
+    printf("skip Cannot create second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
+    mysqli_close($link);
+    die("skip CREATE USER failed");
 }
 
 if (!$link->query("CREATE TABLE test (id INT)") || !$link->query("INSERT INTO test(id) VALUES (1)"))
-       die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
 
 
 
 if (!mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pamtest@'%%'", $db)) ||
-       !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pamtest@'localhost'", $db))) {
-       printf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link));
-       mysqli_close($link);
-       die("skip GRANT failed");
+    !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pamtest@'localhost'", $db))) {
+    printf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link));
+    mysqli_close($link);
+    die("skip GRANT failed");
 }
 ?>
 --INI--
index af3142ea44ad2583ef9cc86fed550b52a27cba68..9bfec89b27095893cb2bc31bb8108c456614115e 100644 (file)
@@ -2,17 +2,17 @@
 mysqli_autocommit()
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('connect.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('connect.inc');
+    require_once('skipifconnectfailure.inc');
 
-       if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-               die(sprintf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-                       $host, $user, $db, $port, $socket));
-       }
+    if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
+        die(sprintf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+            $host, $user, $db, $port, $socket));
+    }
 
-       if (!have_innodb($link))
-               die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    if (!have_innodb($link))
+        die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -130,7 +130,7 @@ mysqli_autocommit()
     print "done!";
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index 13e8fb0744c540fd16d50d747250ba6682902d1b..1030bedbb3777ce73bbf951353cf089b45910b89 100644 (file)
@@ -2,18 +2,18 @@
 mysqli->autocommit()
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
-       require_once('connect.inc');
-
-       if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) {
-               printf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-                       $host, $user, $db, $port, $socket);
-               exit(1);
-       }
-
-       if (!have_innodb($link))
-               die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
+    require_once('connect.inc');
+
+    if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) {
+        printf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+            $host, $user, $db, $port, $socket);
+        exit(1);
+    }
+
+    if (!have_innodb($link))
+        die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -133,7 +133,7 @@ mysqli->autocommit()
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 my_mysqli object is already closed
index e4c87ed9db75ae1ef5c1ecc5d6fdf74d8639dccd..fa8d88908cc4b06436fd6f8fdcfd1606ccf1c0fd 100644 (file)
@@ -7,10 +7,10 @@ require_once('skipifconnectfailure.inc');
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!have_innodb($link))
-       die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -96,7 +96,7 @@ if (!have_innodb($link))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 NULL
index 8fe529236b54b253e8636d54278bf2861659a8a0..383a7a1cf869bcaac1a28889699c20c137f302ad 100644 (file)
@@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$IS_MYSQLND) {
-       die("skip Might hit known and open bugs http://bugs.mysql.com/bug.php?id=30472, http://bugs.mysql.com/bug.php?id=45184");
+    die("skip Might hit known and open bugs http://bugs.mysql.com/bug.php?id=30472, http://bugs.mysql.com/bug.php?id=45184");
 }
 ?>
 --FILE--
@@ -58,7 +58,7 @@ if (!$IS_MYSQLND) {
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index c6bc2e9ee9561432c2869ed21289def027080ec9..70c119b554c2504af20a8e2596b428ac801a9813 100644 (file)
@@ -100,7 +100,7 @@ die("skip - is the server still buggy?");
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index a9744ce98044c41e27cdfd111bb6b9f0aa06b02a..bff89fb8ddd961c5e756feebe5c5bb041a8b0362 100644 (file)
@@ -6,11 +6,11 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-               $host, $user, $db, $port, $socket));
+    die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+        $host, $user, $db, $port, $socket));
 
 if (mysqli_get_server_version($link) < 50600)
-       die("SKIP For MySQL >= 5.6.0");
+    die("SKIP For MySQL >= 5.6.0");
 ?>
 --FILE--
 <?php
index 550ff18a2b850c2863fb0e701499a62fdcd83ffd..bc7dec03e69941ecd368b5d2cf3957315c4a9120 100644 (file)
@@ -6,11 +6,11 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-               $host, $user, $db, $port, $socket));
+    die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+        $host, $user, $db, $port, $socket));
 
 if (mysqli_get_server_version($link) >= 50600)
-       die("SKIP For MySQL < 5.6.0");
+    die("SKIP For MySQL < 5.6.0");
 ?>
 --FILE--
 <?php
index bae4f8c858115111c622a872013fa8ae3c353197..c0b4cb93681a66de960d26598598bc71ff1beeea 100644 (file)
@@ -7,11 +7,11 @@ require_once('skipifconnectfailure.inc');
 
 require_once('table.inc');
 if (!$IS_MYSQLND && (mysqli_get_server_version($link) < 50118 && mysqli_get_server_version($link) > 50100)) {
-       die("skip Your MySQL Server version has a known bug that will cause a crash");
+    die("skip Your MySQL Server version has a known bug that will cause a crash");
 }
 
 if (mysqli_get_server_version($link) >= 50600)
-       die("SKIP For MySQL < 5.6.0");
+    die("SKIP For MySQL < 5.6.0");
 ?>
 --FILE--
 <?php
index 184dd23aa6573e39523da605266bd4df39ed5949..d420e060d9c436306664ca89f10c51eefeafd777 100644 (file)
@@ -6,10 +6,10 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!have_innodb($link))
-       die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -63,7 +63,7 @@ if (!have_innodb($link))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 2a1d726fb4c986def4e3ad0da7375cf33f1999d7..f818dea7dab9842413e463ce7a4ebb209817f042 100644 (file)
@@ -6,19 +6,19 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!$res = mysqli_query($link, 'SELECT version() AS server_version'))
-       die(sprintf("skip [%d] %s\n", mysqli_errno($link), mysqli_error($link)));
+    die(sprintf("skip [%d] %s\n", mysqli_errno($link), mysqli_error($link)));
 
 $tmp = mysqli_fetch_assoc($res);
 mysqli_free_result($res);
 $version = explode('.', $tmp['server_version']);
 if (empty($version))
-       die(sprintf("skip Cannot determine server version, we need MySQL Server 4.1+ for the test!"));
+    die(sprintf("skip Cannot determine server version, we need MySQL Server 4.1+ for the test!"));
 
 if ($version[0] <= 4 && $version[1] < 1)
-       die(sprintf("skip We need MySQL Server 4.1+ for the test!"));
+    die(sprintf("skip We need MySQL Server 4.1+ for the test!"));
 ?>
 --FILE--
 <?php
index a0d9c19928d5d7702bc84c1b6ec6de19537e6954..65be8a0408afd5e18fec4850564049bdb6f9efab 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_set_charset')) {
-       die('skip mysqli_set_charset() not available');
+    die('skip mysqli_set_charset() not available');
 }
 ?>
 --FILE--
@@ -100,7 +100,7 @@ if (!function_exists('mysqli_set_charset')) {
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index fc5253a8074c9b4eeb6af1bc50e046fd5c80476d..2a61af45edb67739c93bd9704f77a35b47a69006 100644 (file)
@@ -2,8 +2,8 @@
 mysqli_chararcter_set_name(), mysql_client_encoding() [alias]
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 ?>
 --FILE--
 <?php
index 40666a65bede58c1cef0bd481c960675b603c122..393e06ebaad2b3d6d6f2dc754a68acca981be644 100644 (file)
@@ -2,8 +2,8 @@
 Interface of the class mysqli_stmt
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 ?>
 --FILE--
 <?php
index 0aedb50bb22720035a340a029927d96dee1c801c..045d2b18c3de9f0ceb6b07fc7b47ea97cf84d38f 100644 (file)
@@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$TEST_EXPERIMENTAL)
-       die("skip - experimental (= unsupported) feature");
+    die("skip - experimental (= unsupported) feature");
 ?>
 --FILE--
 <?php
@@ -90,7 +90,7 @@ if (!$TEST_EXPERIMENTAL)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Warning: Wrong parameter count for mysqli_warning::mysqli_warning() in %s on line %d
index a85b96229864bc30d407c4a2afadc96a0b508c92..273412de0bb4f650cbd785fc2b4e536ffe982342 100644 (file)
@@ -7,10 +7,10 @@ require_once('skipifconnectfailure.inc');
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!have_innodb($link))
-       die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -61,7 +61,7 @@ if (!have_innodb($link))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index e2b8a25fd33ca3fa375836d2cfd9d56d8ee9d0f7..6377fdf5a91c8efd64053d6cc467742c680a5e61 100644 (file)
@@ -7,10 +7,10 @@ require_once('skipifconnectfailure.inc');
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!have_innodb($link))
-       die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -100,7 +100,7 @@ if (!have_innodb($link))
     print "done!";
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli object is not fully initialized
index 694dc72dab548f7126d9362ed9c01289ec8d21a7..7d586a694d9aaeafe03d272f6d9f46a68e4f23f8 100644 (file)
@@ -6,10 +6,10 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$IS_MYSQLND)
-       die("skip: test applies only to mysqlnd");
+    die("skip: test applies only to mysqlnd");
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die("skip Cannot connect to the server");
+    die("skip Cannot connect to the server");
 
 /* skip test if the server version does not have session_connect_attrs table yet*/
 if (!$res = mysqli_query($link, "select count(*) as count from information_schema.tables where table_schema='performance_schema' and table_name='session_connect_attrs';"))
index 8b5886bba28cf05ef45235269a8a93e4ba43854d..9387dd2c489427d1f76b2b261cbd6468ef56b1bd 100644 (file)
@@ -2,12 +2,12 @@
 new mysqli()
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
-       if (!get_current_user())
-               die('skip: get_current_user() not supported');
-       if (stristr(mysqli_get_client_info(), 'mysqlnd'))
-               die("skip: test for libmysql (different error output when using php streams");
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
+    if (!get_current_user())
+        die('skip: get_current_user() not supported');
+    if (stristr(mysqli_get_client_info(), 'mysqlnd'))
+        die("skip: test for libmysql (different error output when using php streams");
 ?>
 --FILE--
 <?php
index d0fd7699283db58d15de848a323b6a18f6bbeb4d..5334999cac190997f54e9184fd17ee2f845e6271 100644 (file)
@@ -61,7 +61,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_data_seek(): Argument #2 ($offset) must be greater than or equal to 0
index 1a60d64a9833333d44d3caef22f566ebc041721c..d1939bafa285853d4b93dfc5158bf94fe556d2fc 100644 (file)
@@ -72,7 +72,7 @@ require_once('skipifconnectfailure.inc');
     print "done!";
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_result object is already closed
index 14c95c2de35be1d84b6d5bc172619041ce05448c..1646dd9f3aa3af325980fc94a09e5ec3e170a9d0 100644 (file)
@@ -6,13 +6,13 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_debug'))
-       die("skip: mysqli_debug() not available");
+    die("skip: mysqli_debug() not available");
 
 if (!defined('MYSQLI_DEBUG_TRACE_ENABLED'))
-       die("skip: can't say for sure if mysqli_debug works");
+    die("skip: can't say for sure if mysqli_debug works");
 
 if (defined('MYSQLI_DEBUG_TRACE_ENABLED') && !MYSQLI_DEBUG_TRACE_ENABLED)
-       die("skip: debug functionality not enabled");
+    die("skip: debug functionality not enabled");
 ?>
 --FILE--
 <?php
@@ -59,7 +59,7 @@ if (defined('MYSQLI_DEBUG_TRACE_ENABLED') && !MYSQLI_DEBUG_TRACE_ENABLED)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 done%s
index b246fed9e25b8aba877b88408fa576cd5f42c624..65496fdf6e99cb631981013e3d241a5b736ad4b9 100644 (file)
@@ -6,16 +6,16 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_debug'))
-       die("skip: mysqli_debug() not available");
+    die("skip: mysqli_debug() not available");
 
 if (!defined('MYSQLI_DEBUG_TRACE_ENABLED'))
-       die("skip: can't say for sure if mysqli_debug works");
+    die("skip: can't say for sure if mysqli_debug works");
 
 if (defined('MYSQLI_DEBUG_TRACE_ENABLED') && !MYSQLI_DEBUG_TRACE_ENABLED)
-       die("skip: debug functionality not enabled");
+    die("skip: debug functionality not enabled");
 
 if (!$IS_MYSQLND)
-       die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
+    die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
 
 if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test is not for Windows platforms");
 ?>
@@ -88,7 +88,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') die("skip this test is not for Windows platfo
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 done%s
index 7a59c7b4e00f08410209b01800071458aad42117..bd17e138795afff0607fed9edab2688662c7d35d 100644 (file)
@@ -6,16 +6,16 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_debug'))
-       die("skip: mysqli_debug() not available");
+    die("skip: mysqli_debug() not available");
 
 if (!defined('MYSQLI_DEBUG_TRACE_ENABLED'))
-       die("skip: can't say for sure if mysqli_debug works");
+    die("skip: can't say for sure if mysqli_debug works");
 
 if (defined('MYSQLI_DEBUG_TRACE_ENABLED') && !MYSQLI_DEBUG_TRACE_ENABLED)
-       die("skip: debug functionality not enabled");
+    die("skip: debug functionality not enabled");
 
 if (!$IS_MYSQLND)
-       die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
+    die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
 ?>
 --FILE--
 <?php
index 6afea2f8666749f9dc524f847d09538f0fc95fa8..6df6e0aef34a77f18207806e394a4d8456eaa01a 100644 (file)
@@ -6,22 +6,22 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_debug'))
-       die("skip mysqli_debug() not available");
+    die("skip mysqli_debug() not available");
 
 if (!defined('MYSQLI_DEBUG_TRACE_ENABLED'))
-       die("skip: can't say for sure if mysqli_debug works");
+    die("skip: can't say for sure if mysqli_debug works");
 
 if (defined('MYSQLI_DEBUG_TRACE_ENABLED') && !MYSQLI_DEBUG_TRACE_ENABLED)
-       die("skip: debug functionality not enabled");
+    die("skip: debug functionality not enabled");
 
 require_once('connect.inc');
 if (!$IS_MYSQLND)
-       die("skip needs mysqlnd");
+    die("skip needs mysqlnd");
 
 if (!$fp = @fopen('/tmp/mysqli_debug_phpt.trace', 'w'))
-       die("skip PHP cannot create a file in /tmp/mysqli_debug_phpt");
+    die("skip PHP cannot create a file in /tmp/mysqli_debug_phpt");
 else
-       fclose($fp);
+    fclose($fp);
 @unlink("/tmp/mysqli_debug_phpt.trace");
 ?>
 --INI--
index 5e2be2ac5dea420a08527f45513413b8b205353d..54026193169baf3dce2168f2cf82c4c4630389f6 100644 (file)
@@ -6,16 +6,16 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_debug'))
-       die("skip: mysqli_debug() not available");
+    die("skip: mysqli_debug() not available");
 
 if (!defined('MYSQLI_DEBUG_TRACE_ENABLED'))
-       die("skip: can't say for sure if mysqli_debug works");
+    die("skip: can't say for sure if mysqli_debug works");
 
 if (defined('MYSQLI_DEBUG_TRACE_ENABLED') && !MYSQLI_DEBUG_TRACE_ENABLED)
-       die("skip: debug functionality not enabled");
+    die("skip: debug functionality not enabled");
 
 if (!$IS_MYSQLND)
-       die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
+    die("SKIP Libmysql feature not sufficiently spec'd in MySQL C API documentation");
 ?>
 --FILE--
 <?php
@@ -222,7 +222,7 @@ if (!$IS_MYSQLND)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 [083][control string 'n:O,%smysqli_debug_phpt.trace'] Trace file has not been written.
index a99df69359116d14747e51b5e5d6a914152e4c96..0d963d2370188486c09ff3c05d07f43f5219a21f 100644 (file)
@@ -7,16 +7,16 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!function_exists('mysqli_debug'))
-       die("skip mysqli_debug() not available");
+    die("skip mysqli_debug() not available");
 
 if (!defined('MYSQLI_DEBUG_TRACE_ENABLED'))
-       die("skip: can't say for sure if mysqli_debug works");
+    die("skip: can't say for sure if mysqli_debug works");
 
 if (defined('MYSQLI_DEBUG_TRACE_ENABLED') && !MYSQLI_DEBUG_TRACE_ENABLED)
-       die("skip: debug functionality not enabled");
+    die("skip: debug functionality not enabled");
 
 if (!$IS_MYSQLND)
-       die("skip mysqlnd only test");
+    die("skip mysqlnd only test");
 ?>
 --FILE--
 <?php
@@ -125,7 +125,7 @@ if (!$IS_MYSQLND)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index fe51b6141d8d66186fe6c1d9bdb0c51c7ed09630..54edb67a073556cb0463f5008cdd0f5a9beb45b6 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_disable_reads_from_master')) {
-       die("skip mysqli_disable_reads_from_master() not available");
+    die("skip mysqli_disable_reads_from_master() not available");
 }
 ?>
 --FILE--
@@ -39,7 +39,7 @@ if (!function_exists('mysqli_disable_reads_from_master')) {
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Warning: mysqli_disable_reads_from_master(): mysqli object is already closed in %s on line %d
index d6e3088bc2d57fe466d039e0559fa157fb3241d1..9c74b9592c21c891626968b9107d5bd44c1a4eba 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_enable_reads_from_master')) {
-       die("skip function mysqli_enable_reads_from_master() not available\n");
+    die("skip function mysqli_enable_reads_from_master() not available\n");
 }
 ?>
 --FILE--
index 788a3571c5e28dfe325ea200753dde373be4b764..b11856d60dfca1d834297d6f53b0be6dd5fdd788 100644 (file)
@@ -6,45 +6,45 @@ require_once('skipif.inc');
 require_once('connect.inc');
 
 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-               $host, $user, $db, $port, $socket));
+    die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+        $host, $user, $db, $port, $socket));
 }
 
 if ($link->server_version < 50610)
-       die(sprintf("SKIP Needs MySQL 5.6.10 or newer, found MySQL %s\n", $link->server_info));
+    die(sprintf("SKIP Needs MySQL 5.6.10 or newer, found MySQL %s\n", $link->server_info));
 
 if  (!$IS_MYSQLND && (mysqli_get_client_version() < 50610)) {
-       die(sprintf("SKIP Needs libmysql 5.6.10 or newer, found  %s\n", mysqli_get_client_version()));
+    die(sprintf("SKIP Needs libmysql 5.6.10 or newer, found  %s\n", mysqli_get_client_version()));
 }
 
 mysqli_query($link, 'DROP USER expiretest');
 mysqli_query($link, 'DROP USER expiretest@localhost');
 
 if (!mysqli_query($link, 'CREATE USER expiretest@"%"') ||
-       !mysqli_query($link, 'CREATE USER expiretest@"localhost"')) {
-       printf("skip Cannot create second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
-       mysqli_close($link);
-       die("skip CREATE USER failed");
+    !mysqli_query($link, 'CREATE USER expiretest@"localhost"')) {
+    printf("skip Cannot create second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
+    mysqli_close($link);
+    die("skip CREATE USER failed");
 }
 
 if (!mysqli_query($link, 'ALTER USER expiretest@"%" PASSWORD EXPIRE') ||
-       !mysqli_query($link, 'ALTER USER expiretest@"localhost" PASSWORD EXPIRE')) {
-       printf("skip Cannot modify second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
-       mysqli_close($link);
-       die("skip ALTER USER failed");
+    !mysqli_query($link, 'ALTER USER expiretest@"localhost" PASSWORD EXPIRE')) {
+    printf("skip Cannot modify second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
+    mysqli_close($link);
+    die("skip ALTER USER failed");
 }
 
 if (!$link->query("DROP TABLE IF EXISTS test") ||
-       !$link->query("CREATE TABLE test (id INT)") || !$link->query("INSERT INTO test(id) VALUES (1)"))
-       die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
+    !$link->query("CREATE TABLE test (id INT)") || !$link->query("INSERT INTO test(id) VALUES (1)"))
+    die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
 
 
 
 if (!mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'%%'", $db)) ||
-       !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'localhost'", $db))) {
-       printf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link));
-       mysqli_close($link);
-       die("skip GRANT failed");
+    !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'localhost'", $db))) {
+    printf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link));
+    mysqli_close($link);
+    die("skip GRANT failed");
 }
 ?>
 --FILE--
@@ -117,9 +117,9 @@ if (!mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'%
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
-       mysqli_query($link, 'DROP USER expiretest');
-       mysqli_query($link, 'DROP USER expiretest@localhost');
+    require_once("clean_table.inc");
+    mysqli_query($link, 'DROP USER expiretest');
+    mysqli_query($link, 'DROP USER expiretest@localhost');
 ?>
 --EXPECTF--
 Warning: mysqli%sconnect(): (HY000/1862): %s in %s on line %d
index 45a567dd9f0c27eeec021e40e1a1bd74e15e15fe..ade3e93fa7ba4b619f69b6c4eaf7bab06dac41d0 100644 (file)
@@ -156,7 +156,7 @@ if (!$IS_MYSQLND)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 7c962790c6f86c4e8ac9047e64ff6d2918ea68a2..ae99c2ca875712b63c303bd5f948f3e92e6fac83 100644 (file)
@@ -5,7 +5,7 @@ mysqli_fetch_all()
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_fetch_all'))
-       die("skip: function only available with mysqlnd");
+    die("skip: function only available with mysqlnd");
 ?>
 --FILE--
 <?php
@@ -312,7 +312,7 @@ if (!function_exists('mysqli_fetch_all'))
 ?>
 --CLEAN--
 <?php
-       // require_once("clean_table.inc");
+    // require_once("clean_table.inc");
 ?>
 --EXPECT--
 [005]
index ff56ad1a9e98abdaf09b8786e3ee2b4b2c8eadbf..358dc2ae8b1aa11111865a1bd54f936e699ab386 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_fetch_all'))
-       die("skip: function only available with mysqlnd");
+    die("skip: function only available with mysqlnd");
 ?>
 --FILE--
 <?php
@@ -307,7 +307,7 @@ if (!function_exists('mysqli_fetch_all'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 [005]
index defa5a541efe3c9fa451490c4f450414c7e903c1..cbb3367dd0a1e32dbd7b155a958a54017322a80a 100644 (file)
@@ -28,7 +28,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 [002]
index 33330074df11bd55bbb9635450236d1e32719d20..d3e8c138b0ced6feb79d95c3fffca8d14071683e 100644 (file)
@@ -108,7 +108,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index e4e39b9dc760180d4d93b267ff258b6533d7d0c7..6bf2b0f4c02df98b0cc165a690b3fb40d00c2217 100644 (file)
@@ -278,7 +278,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 [005]
index 62f2bf05e4662fb7c402d1e4701b5b70a2f9c3ff..de19f9a878ae6e2d124cb3372845191d31e1fc97 100644 (file)
@@ -62,7 +62,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 [005]
index cc60a01b83a66a9f8686a2044ae7947f3ecd5624..d59cd82128e02ad024c0e6c8fd85dc927c815025 100644 (file)
@@ -2,14 +2,14 @@
 mysqli_fetch_assoc() - BIT
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       require_once('connect.inc');
-       require_once('table.inc');
-       if (mysqli_get_server_version($link) < 50003)
-               // b'001' syntax not supported before 5.0.3
-               die("skip Syntax used for test not supported with MySQL Server before 5.0.3");
+    require_once('connect.inc');
+    require_once('table.inc');
+    if (mysqli_get_server_version($link) < 50003)
+        // b'001' syntax not supported before 5.0.3
+        die("skip Syntax used for test not supported with MySQL Server before 5.0.3");
 ?>
 --FILE--
 <?php
@@ -107,7 +107,7 @@ mysqli_fetch_assoc() - BIT
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index d74fb4827010dafc05acfdd3be3a83c6bd44dfd0..225a5c03d82e5c58ffec26da2337780e9f874cb1 100644 (file)
@@ -2,35 +2,35 @@
 mysqli_fetch_assoc() - utf8
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
-       require_once("connect.inc");
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
+    require_once("connect.inc");
 
-       if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die("skip Cannot connect to server to check charsets");
+    if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
+        die("skip Cannot connect to server to check charsets");
 
-       if (!$res = mysqli_query($link, "SHOW CHARACTER SET LIKE 'UTF8'"))
-               die("skip Cannot run SHOW CHARACTER SET to check charsets");
+    if (!$res = mysqli_query($link, "SHOW CHARACTER SET LIKE 'UTF8'"))
+        die("skip Cannot run SHOW CHARACTER SET to check charsets");
 
-       if (!$tmp = mysqli_fetch_assoc($res))
-               die("skip Looks like UTF8 is not available on the server");
+    if (!$tmp = mysqli_fetch_assoc($res))
+        die("skip Looks like UTF8 is not available on the server");
 
-       if (strtolower($tmp['Charset']) !== 'utf8')
-               die("skip Not sure if UTF8 is available, canceling the test");
+    if (strtolower($tmp['Charset']) !== 'utf8')
+        die("skip Not sure if UTF8 is available, canceling the test");
 
-       mysqli_free_result($res);
+    mysqli_free_result($res);
 
-       if (!$res = mysqli_query($link, "SHOW CHARACTER SET LIKE 'UCS2'"))
-               die("skip Cannot run SHOW CHARACTER SET to check charsets");
+    if (!$res = mysqli_query($link, "SHOW CHARACTER SET LIKE 'UCS2'"))
+        die("skip Cannot run SHOW CHARACTER SET to check charsets");
 
-       if (!$tmp = mysqli_fetch_assoc($res))
-               die("skip Looks like UCS2 is not available on the server");
+    if (!$tmp = mysqli_fetch_assoc($res))
+        die("skip Looks like UCS2 is not available on the server");
 
-       if (strtolower($tmp['Charset']) !== 'ucs2')
-               die("skip Not sure if UCS2 is available, canceling the test");
+    if (strtolower($tmp['Charset']) !== 'ucs2')
+        die("skip Not sure if UCS2 is available, canceling the test");
 
-       mysqli_free_result($res);
-       mysqli_close($link);
+    mysqli_free_result($res);
+    mysqli_close($link);
 ?>
 --FILE--
 <?php
index b3c218b2808ee5a5a47154d1ac12bf4da40ff487..11c1928545c99a2bc8903ab7d4517c271feac40a 100644 (file)
@@ -57,7 +57,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is not fully initialized
index b6968ccbaead632daf9261a1b5fcf8c16f99895b..6d53211697d469258cd7427c29c683608dc28326 100644 (file)
@@ -71,7 +71,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index f70f422534aad59d5fd2c5ab1c54ddd43128b107..2018d757550513be1bc3cb2b236a096e9aeb8028 100644 (file)
@@ -78,7 +78,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 object(stdClass)#%d (13) {
index b8544d87f40bf2b7733fcbe5b4652ff7c3c3a67b..4a4d240be37216b056e63cfd9c2cf831faabfe17 100644 (file)
@@ -41,7 +41,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli_fetch_field_direct(): Argument #2 ($offset) must be greater than or equal to 0
index 9c7992570184f7dbf8407271b9876879c6fb8c16..1f94eefd388d595a505a32a880859b461c7af1d1 100644 (file)
@@ -53,7 +53,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli object is not fully initialized
index 14ca304aa42b85e7ecc1da32489714327984384c..7dff325623ddb2a8c43b8e802ca6b3e11d24c22c 100644 (file)
@@ -7,10 +7,10 @@ require_once('skipifconnectfailure.inc');
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
+        die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (mysqli_get_server_version($link) < 50041)
-       die("skip: Due to many MySQL Server differences, the test requires 5.0.41+");
+    die("skip: Due to many MySQL Server differences, the test requires 5.0.41+");
 
 mysqli_close($link);
 ?>
@@ -219,7 +219,7 @@ mysqli_close($link);
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index c5aa09c10927a0236afce58ecfc1c369c73926df..d655e05a9c1da0b833b541a8b07099186a928933 100644 (file)
@@ -66,7 +66,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli object is not fully initialized
index 074d9ccd1c0d7f955e854350929bed149c7ae505..dcfbbaaace4b0281f78fe092306fcb1b6d9ebdf5 100644 (file)
@@ -109,7 +109,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 114029ac101cacb9b74961299608d3031f70645d..7cfad35f87389af9dbe2a6195b8676aed80a3022 100644 (file)
@@ -57,7 +57,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 object(stdClass)#%d (13) {
index 371b300b1711032def3b3daff2dc2473090f3781..a1e4f50dbdfb921570a0f3249ef41ea1ecee54a2 100644 (file)
@@ -37,7 +37,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 bool(false)
index 1de60e03630614a1a94b99f9de497fa7875f6c53..6c117afc59371f5964f0a88f5a234f354dde4118 100644 (file)
@@ -33,10 +33,10 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 NULL
index 443b2663c744735ea0f14a9e9756dc7a27eff628..a234aee4c8a5c375e6a945f1a3b9c9a277b9c384 100644 (file)
@@ -139,7 +139,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 0 passed and exactly 2 expected
index 9aac03195ba015703b9c850bf9ad3b7b92d0c913..979c523199716698dcb52cf7791043b8d5acf7d0 100644 (file)
@@ -45,7 +45,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 No exception with PHP:
index 75e62fd9406f8c193667f8f73e6f9e2044067164..5a89d6d3f1253b36ab2144b688689f30015e0f32 100644 (file)
@@ -19,7 +19,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 %s(6) "object"
index 674c68a4fd8061b040d1dcaffb17e6463f3cdd2c..b00c4859500040d1ff25d06e35b2dc8900c5d493 100644 (file)
@@ -128,7 +128,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli object is not fully initialized
index a1a891d7029e6503e03dd98d5a442567dc6111af..09ae78aba6b1d25cac575c4816d28598a6ec6d41 100644 (file)
@@ -33,7 +33,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 [004]
index 26d1b8b1089f4c677904048a4544d03dbc95ac0e..ca40616547a344149b4e030e3f32f66e59195a27 100644 (file)
@@ -42,7 +42,7 @@ require_once('skipifconnectfailure.inc');
     print "done!";
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 int(0)
index 1f5a6ee8fba745c84324a16ecacec0fdc7afd58a..0a0b02273efc8dd9b298e631bcb93bf4e08528e0 100644 (file)
@@ -119,7 +119,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli_field_seek(): Argument #2 ($field_nr) must be greater than or equal to 0
index 3575d17d8b5a5727d46e84671b2c1a6c17fbde73..79cfc04885191af1828263f9eb93f8328cf013cb 100644 (file)
@@ -53,7 +53,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 int(0)
index 594e30178e969e0f63840d61b8f20cede25be797..ca5eb6230facfe0a9496c69c20b33e0b3a4312b2 100644 (file)
@@ -6,17 +6,17 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('pcntl_fork'))
-       die("skip Process Control Functions not available");
+    die("skip Process Control Functions not available");
 
 if (!function_exists('posix_getpid'))
-       die("skip POSIX functions not available");
+    die("skip POSIX functions not available");
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!have_innodb($link))
-       die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -228,10 +228,10 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS messages"))
-       printf("[c003] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c003] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 39560216150845e8bd71052b3bd72dd0384e6a02..8f81fffab4d5797f4131f8aad2b95961230268ff 100644 (file)
@@ -49,7 +49,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 a
index 88aa0e471d3b9c4bceaf6361f617b6c6ada736f6..68ee608028e5ac76b62fa2796c83ff9e017d5d77 100644 (file)
@@ -5,7 +5,7 @@ mysqli_get_charset()
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_get_charset'))
-       die("skip: function not available");
+    die("skip: function not available");
 ?>
 --FILE--
 <?php
@@ -98,7 +98,7 @@ if (!function_exists('mysqli_get_charset'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index 9ef1cc444898c512d890db216a364ad9422bf586..78f3d05b39c27d7e4726047c6929efdd5d2d657a 100644 (file)
@@ -5,7 +5,7 @@ mysqli_get_client_stats()
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_get_client_stats')) {
-       die("skip only available with mysqlnd");
+    die("skip only available with mysqlnd");
 }
 ?>
 --INI--
index ec4ebe7cfbc6ea834f5fb1097c52a041810f2c31..92a779b31f483d63cae9d6004c6cfea608ae2119 100644 (file)
@@ -5,7 +5,7 @@ mysqli_get_client_stats() - implicit_free_result
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_get_client_stats')) {
-       die("skip only available with mysqlnd");
+    die("skip only available with mysqlnd");
 }
 ?>
 --INI--
index 6cd49a2c1514b7ece9948f72de1e61ddd2cb4f3f..e648d6695d6a607d0fac166c0dc9dc61681d3c89 100644 (file)
@@ -5,7 +5,7 @@ mysqli_get_client_stats() - php_ini setting
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_get_client_stats')) {
-       die("skip only available with mysqlnd");
+    die("skip only available with mysqlnd");
 }
 ?>
 --INI--
index c9107115d3eadaee6150145b359a2b474a73cc71..ce7a5e3267a13ddbc7415347485489b1a2688a79 100644 (file)
@@ -5,7 +5,7 @@ mysqli_get_client_stats() - PS
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_get_client_stats')) {
-       die("skip only available with mysqlnd");
+    die("skip only available with mysqlnd");
 }
 ?>
 --INI--
index 0e7f57bab1119e7cd2f225370dd7bbb0a4e951c5..ef1ea86e50d1d776d3fc528f18ba496aa91a0ffa 100644 (file)
@@ -8,7 +8,7 @@ mysqlnd.collect_memory_statistics="1"
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_get_client_stats')) {
-       die("skip only available with mysqlnd");
+    die("skip only available with mysqlnd");
 }
 ?>
 --FILE--
index 24e871bf143e034eb3f96f367897d2e30448ae1d..8c14ff2f1543be035e31bc24cfe643d36800f28d 100644 (file)
@@ -8,7 +8,7 @@ mysqlnd.collect_memory_statistics="1"
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_get_connection_stats')) {
-       die("skip only available with mysqlnd");
+    die("skip only available with mysqlnd");
 }
 ?>
 --FILE--
@@ -73,7 +73,7 @@ if (!function_exists('mysqli_get_connection_stats')) {
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 8002c045bfa7bd9beb10a282a24be4192818ace0..d2b087ce9aa5728977690ca39fb316ae443dff9b 100644 (file)
@@ -8,7 +8,7 @@ mysqlnd.collect_memory_statistics="0"
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_get_connection_stats')) {
-       die("skip only available with mysqlnd");
+    die("skip only available with mysqlnd");
 }
 ?>
 --FILE--
index a26daa9ce1ca25b14944d2776e94ecff09547afe..4d9087860fb210f90a4b5436aea5cb221e962af8 100644 (file)
@@ -22,7 +22,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 33e816f2e8a8435a2f375e6fe5ecd4d516fbeca0..88cfd47ee19e8e362059e9371cab52e3fab351c6 100644 (file)
@@ -17,7 +17,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 23356db4e6bfe28b552f9a1e87965f359512fe2b..f81baa4177cca11b34eabc609e1fe40a7aaa67c1 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$TEST_EXPERIMENTAL)
-       die("skip - experimental (= unsupported) feature");
+    die("skip - experimental (= unsupported) feature");
 ?>
 --FILE--
 <?php
index 431be0d2932492089d0802df9a4bf84e796a3060..0c45a4a67699bf4e22ac3ddbf1a2ca842fb82fff 100644 (file)
@@ -126,7 +126,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index 16797aa94b370b9ed125ad0bf34341a5c8d8a993..b3f36d4cb0ccc7e775836ddf12e4d8b8924194f3 100644 (file)
@@ -95,7 +95,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_insert_id_var"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index 69f781f48a10b49e2a47d84d0224bc4fe71973e2..105b3276d3bb4f83163325e313e8208b10ccac10 100644 (file)
@@ -6,14 +6,14 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("SKIP [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("SKIP [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
 
 $max_len = pow(2, 24);
 if (!$res = mysqli_query($link, "SHOW GLOBAL VARIABLES LIKE 'max_allowed_packet'"))
-       die(sprintf("SKIP [%d] %s\n", mysqli_errno($link), mysqli_error($link)));
+    die(sprintf("SKIP [%d] %s\n", mysqli_errno($link), mysqli_error($link)));
 
 if (!mysqli_query($link, "SET NAMES 'latin1'"))
-       die(sprintf("SKIP [%d] %s\n", mysqli_errno($link), mysqli_error($link)));
+    die(sprintf("SKIP [%d] %s\n", mysqli_errno($link), mysqli_error($link)));
 
 mysqli_close($link);
 ?>
index 563a6ba19c64ffb85c5a1fdd5c1af66069ccf13a..d1301ac550fa684ead7400562a0d487f6b31516e 100644 (file)
@@ -77,7 +77,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli_kill(): Argument #2 ($connection_id) must be greater than 0
index b0c453d08e794f9c7830bb1f952eec1c99280b52..0598f29b740d97c830a4142990b92fc02b5a3016 100644 (file)
@@ -176,7 +176,7 @@ API vs. SQL LAST_INSERT_ID()
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 API: %d, SQL: %d
index 36a477fcf3de6346490d4236f47b19678edd8a97..aaa4f65f288563c6e29cf97decd8feaa27ec8cdc 100644 (file)
@@ -59,7 +59,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 [004]
index 843298140ba7035cf91e238d1f0bc496f3e7eb4e..0cc260a55793584e3865b7bc8c910ffef78b40ca 100644 (file)
@@ -111,7 +111,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 [006] 3
index 159d7d9853d42fe7214326022d64e68c89002724..ec424e44bda98bfa5679a476184082f5a6add6b3 100644 (file)
@@ -6,8 +6,8 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$IS_MYSQLND)
-       /* The libmysql read_timeout limit default is 365 * 24 * 3600 seconds. It cannot be altered through PHP API calls */
-       die("skip mysqlnd only test");
+    /* The libmysql read_timeout limit default is 365 * 24 * 3600 seconds. It cannot be altered through PHP API calls */
+    die("skip mysqlnd only test");
 ?>
 --INI--
 default_socket_timeout=60
index 403662829a7113904186957767b21bd30643cbb9..a4459992d887dad6f619a23b775689c66126308c 100644 (file)
@@ -6,14 +6,14 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$IS_MYSQLND) {
-       die("skip: test applies only to mysqlnd");
+    die("skip: test applies only to mysqlnd");
 }
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) <= 50011) {
-       die(sprintf('skip Needs MySQL 5.0.12+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 5.0.12+, found version %d.', mysqli_get_server_version($link)));
 }
 ?>
 --INI--
index 011df0e7628af78e200c924a3a6dc2538f615649..5ba35270281c53c9f69219b86876fee8afc2e866 100644 (file)
@@ -6,14 +6,14 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$IS_MYSQLND) {
-       die("skip: test applies only to mysqlnd");
+    die("skip: test applies only to mysqlnd");
 }
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) <= 50011) {
-       die(sprintf('skip Needs MySQL 5.0.12+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 5.0.12+, found version %d.', mysqli_get_server_version($link)));
 }
 ?>
 --INI--
index 62b743014f3d0439dd80161d2bf7144fa01126f1..425260b92657de1a33c77796dd77e5fba196ef56 100644 (file)
@@ -64,7 +64,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index e1d61cf7853d4975e31afd5872bbe2fac140714e..083ccef4bfb90f4ff72fc2245c2ed529f07b97d5 100644 (file)
@@ -43,7 +43,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_result object is already closed
index 04a5dec59aadca0138df4cc1e3abd0e50b59adc7..f617757d3782042e0e50a2f7230298c007fac72f 100644 (file)
@@ -71,7 +71,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_result object is already closed
index 089f230538d0152bba6685b697b1c7bdf6cbf34b..fe591c2fe72d92d5b04ee4e0b9cf7b5ca67b1233 100644 (file)
@@ -69,7 +69,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Warning: mysqli_real_connect(): (%s/%d): %s in %s on line %d
index 91bd38553c24ccdb4a0abb07a6668acf89dfb95f..0b7f8df703fae50e98faef3d2845f278e7834150 100644 (file)
@@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc');
 
 require_once('connect.inc');
 if (!$IS_MYSQLND)
-       die("skip mysqlnd only test");
+    die("skip mysqlnd only test");
 ?>
 --FILE--
 <?php
@@ -102,7 +102,7 @@ if (!$IS_MYSQLND)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 5d9591e0dc4eb3e2fa889257d0b74e22a75feb31..8866409efeb5f6f43c06aaff8c3bcb5a9b9812f4 100644 (file)
@@ -10,43 +10,43 @@ phpinfo(INFO_MODULES);
 $tmp = ob_get_contents();
 ob_end_clean();
 if (!stristr($tmp, "auth_plugin_sha256_password"))
-       die("skip SHA256 auth plugin not built-in to mysqlnd");
+    die("skip SHA256 auth plugin not built-in to mysqlnd");
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
+        die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (mysqli_get_server_version($link) < 50606)
-       die("skip: SHA-256 requires MySQL 5.6.6+");
+    die("skip: SHA-256 requires MySQL 5.6.6+");
 
 if (!($res = $link->query("SHOW PLUGINS"))) {
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 }
 
 $found = false;
 while ($row = $res->fetch_assoc()) {
-       if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
-               $found = true;
-               break;
-       }
+    if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
+        $found = true;
+        break;
+    }
 }
 if (!$found)
-       die("skip SHA-256 server plugin unavailable");
+    die("skip SHA-256 server plugin unavailable");
 
 if (!($res = $link->query("SHOW STATUS LIKE 'Rsa_public_key'"))) {
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 }
 
 if (!($row = $res->fetch_assoc())) {
-       die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
 }
 
 if (strlen($row['Value']) < 100) {
-       die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $link->error));
 }
 
 if (!$link->query("SET @@session.old_passwords=2")) {
-       die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error));
 }
 
 $link->query('DROP USER shatest');
@@ -54,24 +54,24 @@ $link->query("DROP USER shatest@localhost");
 
 
 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
-       !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
-       die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
+    !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
+    die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
 }
 
 if (!$link->query('SET PASSWORD FOR shatest@"%" = PASSWORD("shatest")') ||
-       !$link->query('SET PASSWORD FOR shatest@"localhost" = PASSWORD("shatest")')) {
-       die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
+    !$link->query('SET PASSWORD FOR shatest@"localhost" = PASSWORD("shatest")')) {
+    die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
 }
 
 if (!$link->query("DROP TABLE IF EXISTS test") ||
-       !$link->query("CREATE TABLE test (id INT)") ||
-       !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)"))
-       die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
+    !$link->query("CREATE TABLE test (id INT)") ||
+    !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)"))
+    die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
 
 
 if (!$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'%%'", $db)) ||
-       !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) {
-       die(sprintf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link)));
+    !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) {
+    die(sprintf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link)));
 }
 
 $link->close();
@@ -104,9 +104,9 @@ $link->close();
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
-       $link->query('DROP USER shatest');
-       $link->query('DROP USER shatest@localhost');
+    require_once("clean_table.inc");
+    $link->query('DROP USER shatest');
+    $link->query('DROP USER shatest@localhost');
 ?>
 --EXPECT--
 done!
index 7799effe229e05661517a308f6f9511a8225f5a3..86e27fbaff7d9a5fc7f5771eb87a55dc2c805557 100644 (file)
@@ -10,56 +10,56 @@ phpinfo(INFO_MODULES);
 $tmp = ob_get_contents();
 ob_end_clean();
 if (!stristr($tmp, "auth_plugin_sha256_password"))
-       die("skip SHA256 auth plugin not built-in to mysqlnd");
+    die("skip SHA256 auth plugin not built-in to mysqlnd");
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
+        die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (mysqli_get_server_version($link) < 50606)
-       die("skip: SHA-256 requires MySQL 5.6.6+");
+    die("skip: SHA-256 requires MySQL 5.6.6+");
 
 if (!($res = $link->query("SHOW PLUGINS"))) {
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 }
 
 $found = false;
 while ($row = $res->fetch_assoc()) {
-       if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
-               $found = true;
-               break;
-       }
+    if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
+        $found = true;
+        break;
+    }
 }
 if (!$found)
-       die("skip SHA-256 server plugin unavailable");
+    die("skip SHA-256 server plugin unavailable");
 
 if (!($res = $link->query("SHOW STATUS LIKE 'Rsa_public_key'"))) {
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 }
 
 if (!($row = $res->fetch_assoc())) {
-       die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
 }
 
 $key = $row['Value'];
 if (strlen($key) < 100) {
-       die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $link->error));
 }
 
 /* date changes may give false positive */
 $file = "test_sha256_ini";
 if ((file_exists($file) && !unlink($file)) || !($fp = @fopen($file, "w"))) {
-       die(sprintf("skip Cannot create RSA pub key file '%s'", $file));
+    die(sprintf("skip Cannot create RSA pub key file '%s'", $file));
 }
 $key = str_replace("A", "a", $key);
 $key = str_replace("M", "m", $key);
 if (strlen($key) != fwrite($fp, $key)) {
-       die(sprintf("skip Failed to create pub key file"));
+    die(sprintf("skip Failed to create pub key file"));
 }
 
 
 if (!$link->query("SET @@session.old_passwords=2")) {
-       die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error));
 }
 
 $link->query('DROP USER shatest');
@@ -67,24 +67,24 @@ $link->query("DROP USER shatest@localhost");
 
 
 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
-       !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
-       die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
+    !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
+    die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
 }
 
 if (!$link->query('SET PASSWORD FOR shatest@"%" = PASSWORD("shatest")') ||
-       !$link->query('SET PASSWORD FOR shatest@"localhost" = PASSWORD("shatest")')) {
-       die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
+    !$link->query('SET PASSWORD FOR shatest@"localhost" = PASSWORD("shatest")')) {
+    die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
 }
 
 if (!$link->query("DROP TABLE IF EXISTS test") ||
-       !$link->query("CREATE TABLE test (id INT)") ||
-       !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)"))
-       die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
+    !$link->query("CREATE TABLE test (id INT)") ||
+    !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)"))
+    die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
 
 
 if (!$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'%%'", $db)) ||
-       !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) {
-       die(sprintf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link)));
+    !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) {
+    die(sprintf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link)));
 }
 
 $link->close();
index e6c65bef9d2b286cde91a4a316f67964a2466226..9b5639ff9a7adf19c468f835e7b136472f59286f 100644 (file)
@@ -10,53 +10,53 @@ phpinfo(INFO_MODULES);
 $tmp = ob_get_contents();
 ob_end_clean();
 if (!stristr($tmp, "auth_plugin_sha256_password"))
-       die("skip SHA256 auth plugin not built-in to mysqlnd");
+    die("skip SHA256 auth plugin not built-in to mysqlnd");
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
+        die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (mysqli_get_server_version($link) < 50606)
-       die("skip: SHA-256 requires MySQL 5.6.6+");
+    die("skip: SHA-256 requires MySQL 5.6.6+");
 
 if (!($res = $link->query("SHOW PLUGINS"))) {
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 }
 
 $found = false;
 while ($row = $res->fetch_assoc()) {
-       if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
-               $found = true;
-               break;
-       }
+    if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
+        $found = true;
+        break;
+    }
 }
 if (!$found)
-       die("skip SHA-256 server plugin unavailable");
+    die("skip SHA-256 server plugin unavailable");
 
 if (!($res = $link->query("SHOW STATUS LIKE 'Rsa_public_key'"))) {
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 }
 
 if (!($row = $res->fetch_assoc())) {
-       die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
 }
 
 if (strlen($row['Value']) < 100) {
-       die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $link->error));
 }
 
 /* date changes may give false positive */
 $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"));
 if ((file_exists($file) && !unlink($file)) || !($fp = @fopen($file, "w"))) {
-       die(sprintf("skip Cannot create RSA pub key file '%s'", $file));
+    die(sprintf("skip Cannot create RSA pub key file '%s'", $file));
 }
 if (strlen($row['Value']) != fwrite($fp, $row['Value'])) {
-       die(sprintf("skip Failed to create pub key file"));
+    die(sprintf("skip Failed to create pub key file"));
 }
 
 
 if (!$link->query("SET @@session.old_passwords=2")) {
-       die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error));
 }
 
 $link->query('DROP USER shatest');
@@ -64,24 +64,24 @@ $link->query("DROP USER shatest@localhost");
 
 
 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
-       !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
-       die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
+    !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
+    die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
 }
 
 if (!$link->query('SET PASSWORD FOR shatest@"%" = PASSWORD("shatest")') ||
-       !$link->query('SET PASSWORD FOR shatest@"localhost" = PASSWORD("shatest")')) {
-       die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
+    !$link->query('SET PASSWORD FOR shatest@"localhost" = PASSWORD("shatest")')) {
+    die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
 }
 
 if (!$link->query("DROP TABLE IF EXISTS test") ||
-       !$link->query("CREATE TABLE test (id INT)") ||
-       !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)"))
-       die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
+    !$link->query("CREATE TABLE test (id INT)") ||
+    !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)"))
+    die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
 
 
 if (!$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'%%'", $db)) ||
-       !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) {
-       die(sprintf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link)));
+    !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) {
+    die(sprintf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link)));
 }
 
 $link->close();
@@ -121,11 +121,11 @@ $link->close();
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
-       $link->query('DROP USER shatest');
-       $link->query('DROP USER shatest@localhost');
-       $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"));
-       @unlink($file);
+    require_once("clean_table.inc");
+    $link->query('DROP USER shatest');
+    $link->query('DROP USER shatest@localhost');
+    $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"));
+    @unlink($file);
 ?>
 --EXPECT--
 done!
index 2397c82cac9cdf022a05bb9117e55080e222e69d..b664179265fdd405dc193f2a7fc6c8a576bb68bb 100644 (file)
@@ -10,53 +10,53 @@ phpinfo(INFO_MODULES);
 $tmp = ob_get_contents();
 ob_end_clean();
 if (!stristr($tmp, "auth_plugin_sha256_password"))
-       die("skip SHA256 auth plugin not built-in to mysqlnd");
+    die("skip SHA256 auth plugin not built-in to mysqlnd");
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
+        die(printf("skip: [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (mysqli_get_server_version($link) < 50606)
-       die("skip: SHA-256 requires MySQL 5.6.6+");
+    die("skip: SHA-256 requires MySQL 5.6.6+");
 
 if (!($res = $link->query("SHOW PLUGINS"))) {
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 }
 
 $found = false;
 while ($row = $res->fetch_assoc()) {
-       if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
-               $found = true;
-               break;
-       }
+    if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
+        $found = true;
+        break;
+    }
 }
 if (!$found)
-       die("skip SHA-256 server plugin unavailable");
+    die("skip SHA-256 server plugin unavailable");
 
 if (!($res = $link->query("SHOW STATUS LIKE 'Rsa_public_key'"))) {
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 }
 
 if (!($row = $res->fetch_assoc())) {
-       die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
 }
 
 if (strlen($row['Value']) < 100) {
-       die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $link->error));
+    die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $link->error));
 }
 
 /* date changes may give false positive */
 $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"));
 if ((file_exists($file) && !unlink($file)) || !($fp = @fopen($file, "w"))) {
-       die(sprintf("skip Cannot create RSA pub key file '%s'", $file));
+    die(sprintf("skip Cannot create RSA pub key file '%s'", $file));
 }
 if (strlen($row['Value']) != fwrite($fp, $row['Value'])) {
-       die(sprintf("skip Failed to create pub key file"));
+    die(sprintf("skip Failed to create pub key file"));
 }
 
 
 if (!$link->query("SET @@session.old_passwords=2")) {
-       die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Cannot set @@session.old_passwords=2 [%d] %s", $link->errno, $link->error));
 }
 
 $link->query('DROP USER shatest');
@@ -64,24 +64,24 @@ $link->query("DROP USER shatest@localhost");
 
 
 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
-       !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
-       die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
+    !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
+    die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
 }
 
 if (!$link->query('SET PASSWORD FOR shatest@"%" = PASSWORD("shatest")') ||
-       !$link->query('SET PASSWORD FOR shatest@"localhost" = PASSWORD("shatest")')) {
-       die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
+    !$link->query('SET PASSWORD FOR shatest@"localhost" = PASSWORD("shatest")')) {
+    die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
 }
 
 if (!$link->query("DROP TABLE IF EXISTS test") ||
-       !$link->query("CREATE TABLE test (id INT)") ||
-       !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)"))
-       die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
+    !$link->query("CREATE TABLE test (id INT)") ||
+    !$link->query("INSERT INTO test(id) VALUES (1), (2), (3)"))
+    die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
 
 
 if (!$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'%%'", $db)) ||
-       !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) {
-       die(sprintf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link)));
+    !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) {
+    die(sprintf("skip Cannot grant SELECT to user [%d] %s", mysqli_errno($link), mysqli_error($link)));
 }
 
 $link->close();
@@ -165,13 +165,13 @@ $link->close();
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
-       $link->query('DROP USER shatest');
-       $link->query('DROP USER shatest@localhost');
-       $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"));
-       @unlink($file);
-       $file_wrong = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_wrong" , @date("Ymd"));
-       @unlink($file_wrong);
+    require_once("clean_table.inc");
+    $link->query('DROP USER shatest');
+    $link->query('DROP USER shatest@localhost');
+    $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"));
+    @unlink($file);
+    $file_wrong = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_wrong" , @date("Ymd"));
+    @unlink($file_wrong);
 ?>
 --EXPECTF--
 Warning: mysqli::real_connect(): (HY000/1045): %s in %s on line %d
index f6ee6aa5a07aae4cce748907e72abdf371525673..f48222c425336a4550f5e2e22bec0fe0261e588f 100644 (file)
@@ -2,41 +2,41 @@
 Persistent connections and mysqli.max_links
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
-       require_once('table.inc');
-
-       mysqli_query($link, 'DROP USER pcontest');
-       mysqli_query($link, 'DROP USER pcontest@localhost');
-
-       if (!mysqli_query($link, 'CREATE USER pcontest@"%" IDENTIFIED BY "pcontest"') ||
-               !mysqli_query($link, 'CREATE USER pcontest@localhost IDENTIFIED BY "pcontest"')) {
-               printf("skip Cannot create second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
-               mysqli_close($link);
-               die("skip CREATE USER failed");
-       }
-
-       // we might be able to specify the host using CURRENT_USER(), but...
-       if (!mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pcontest@'%%'", $db)) ||
-               !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pcontest@'localhost'", $db))) {
-               printf("skip Cannot GRANT SELECT to second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
-               mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest');
-               mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@localhost');
-               mysqli_query($link, 'DROP USER pcontest@localhost');
-               mysqli_query($link, 'DROP USER pcontest');
-               mysqli_close($link);
-               die("skip GRANT failed");
-       }
-
-       if (!($link_pcontest = @my_mysqli_connect($host, 'pcontest', 'pcontest', $db, $port, $socket))) {
-               mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest');
-               mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@localhost');
-               mysqli_query($link, 'DROP USER pcontest@localhost');
-               mysqli_query($link, 'DROP USER pcontest');
-               mysqli_close($link);
-               die("skip CONNECT using new user failed");
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
+    require_once('table.inc');
+
+    mysqli_query($link, 'DROP USER pcontest');
+    mysqli_query($link, 'DROP USER pcontest@localhost');
+
+    if (!mysqli_query($link, 'CREATE USER pcontest@"%" IDENTIFIED BY "pcontest"') ||
+        !mysqli_query($link, 'CREATE USER pcontest@localhost IDENTIFIED BY "pcontest"')) {
+        printf("skip Cannot create second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
+        mysqli_close($link);
+        die("skip CREATE USER failed");
+    }
+
+    // we might be able to specify the host using CURRENT_USER(), but...
+    if (!mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pcontest@'%%'", $db)) ||
+        !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pcontest@'localhost'", $db))) {
+        printf("skip Cannot GRANT SELECT to second DB user [%d] %s", mysqli_errno($link), mysqli_error($link));
+        mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest');
+        mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@localhost');
+        mysqli_query($link, 'DROP USER pcontest@localhost');
+        mysqli_query($link, 'DROP USER pcontest');
+        mysqli_close($link);
+        die("skip GRANT failed");
     }
-       mysqli_close($link);
+
+    if (!($link_pcontest = @my_mysqli_connect($host, 'pcontest', 'pcontest', $db, $port, $socket))) {
+        mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest');
+        mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@localhost');
+        mysqli_query($link, 'DROP USER pcontest@localhost');
+        mysqli_query($link, 'DROP USER pcontest');
+        mysqli_close($link);
+        die("skip CONNECT using new user failed");
+    }
+    mysqli_close($link);
 ?>
 --INI--
 mysqli.allow_persistent=1
index d5527fcf02c06a1d2313992a100918a5ebdd3ee7..c786a8166b30546c9c01a46cc18ed656840676d3 100644 (file)
@@ -7,7 +7,7 @@ require_once('connect.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$IS_MYSQLND)
-       die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
+    die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
 ?>
 --FILE--
 <?php
index 8ac3dc2bd1857a4cbb6339573729d7c590dd5566..1cd18cc45ca81d4068de10f33d96111ac70b5cb7 100644 (file)
@@ -7,7 +7,7 @@ require_once('connect.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$IS_MYSQLND)
-       die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
+    die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
 ?>
 --FILE--
 <?php
index 1813a72a27237b97b66b1c1d9d259396f6fc6d1f..44397ca37c19024dd25c1974d7253350b7d55234 100644 (file)
@@ -7,7 +7,7 @@ require_once('connect.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$IS_MYSQLND)
-       die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
+    die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
 ?>
 --FILE--
 <?php
@@ -165,10 +165,10 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS bogus"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_query($link, "DROP PROCEDURE IF EXISTS p");
 
index bf79c13a27b68ac9138b7d70cfa4a6c26bb48bc8..ca084aa63c64b8e2062c8cab5f15d4cc67298e42 100644 (file)
@@ -7,13 +7,13 @@ require_once('connect.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$IS_MYSQLND)
-       die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
+    die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die("skip cannot connect");
+    die("skip cannot connect");
 
 if (mysqli_get_server_version($link) < 50012)
-       die("skip Test needs SQL function SLEEP() available as of MySQL 5.0.12");
+    die("skip Test needs SQL function SLEEP() available as of MySQL 5.0.12");
 
 ?>
 --FILE--
index 16d208efcca8be2b6dfaca1b792a1c1056410a52..f6676396e53a1ea5b024918dd1182ae95d2cd50c 100644 (file)
@@ -106,10 +106,10 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test2"))
-       printf("[c003] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c003] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index b3269689c1b195da1a45260076f360ae5d0c42c6..90fc24cf9c852963d041ac7abdc10203b7310a5e 100644 (file)
@@ -107,7 +107,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 @mysqli_query($link, "DROP FUNCTION IF EXISTS f");
 @mysqli_query($link, 'DROP PROCEDURE IF EXISTS p');
index cb567affc2878fac0fe45069a8ec0d32f0c955c7..3ad35363b9c4034761ab6735e741ac52a69be3f1 100644 (file)
@@ -69,7 +69,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 --- Testing default ---
index 4a77ac91c8ef387b4589f2b133b622c0bfc6b148..566dc9dc272398f7f43158a3e7948e7e0e454d46 100644 (file)
@@ -6,10 +6,10 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) <= 50000) {
-       die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
 }
 ?>
 --FILE--
@@ -157,7 +157,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 @mysqli_query($link, "DROP PROCEDURE IS EXISTS p");
 
index 6959346107bde366defca819c0adc09767498800..b62418508f10630f1371a2881bb00aa1d4080856 100644 (file)
@@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 require_once('table.inc');
 if (!$res = mysqli_query($link, "SHOW CHARACTER SET LIKE 'utf8'"))
-       die("skip UTF8 chatset seems not available");
+    die("skip UTF8 chatset seems not available");
 mysqli_free_result($res);
 mysqli_close($link);
 ?>
index a7245e384e1ce00df4be1f6ca0c985dc7f9d9909..d49c01d3b7aefa429c346c6b3d9af28b11d81052 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$IS_MYSQLND)
-       die("skip mysqlnd only test");
+    die("skip mysqlnd only test");
 ?>
 --INI--
 mysqli.allow_local_infile=1
index e6b60997c9a03e95c16517b3febb39c76fbff43f..2dec713db2bb9c328eb0ebf17255f89ec9c6d96a 100644 (file)
@@ -8,11 +8,11 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
-               mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
+        mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (!mysqli_set_charset($link, 'big5'))
-       die(sprintf("skip Cannot set charset 'big5'"));
+    die(sprintf("skip Cannot set charset 'big5'"));
 mysqli_close($link);
 ?>
 --FILE--
@@ -71,7 +71,7 @@ mysqli_error($link));
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 bool(true)
index 34c4faa98a87d56a8624848bc6efd5e2afb40f94..9af4ade58944289e5144ea39e75a51aabbf412c3 100644 (file)
@@ -8,11 +8,11 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
-               mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
+        mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (!mysqli_set_charset($link, 'eucjpms'))
-       die(sprintf("skip Cannot set charset 'eucjpms'"));
+    die(sprintf("skip Cannot set charset 'eucjpms'"));
 mysqli_close($link);
 ?>
 --FILE--
@@ -64,7 +64,7 @@ mysqli_error($link));
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 bool(true)
index c9482cc6e1ed9ed5326f54b7db0b141d47362e91..c79302d4027b89109d5bc9493f1054b5bed38d8c 100644 (file)
@@ -8,11 +8,11 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
-               mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
+        mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (!mysqli_set_charset($link, 'euckr'))
-       die(sprintf("skip Cannot set charset 'euckr'"));
+    die(sprintf("skip Cannot set charset 'euckr'"));
 mysqli_close($link);
 ?>
 --FILE--
@@ -63,7 +63,7 @@ mysqli_error($link));
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 bool(true)
index d85649757e8d5b643f86a1c34dea522335755f87..d84944b4bd21b1e379385f00e80557da46186641 100644 (file)
@@ -8,11 +8,11 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
-               mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
+        mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (!mysqli_set_charset($link, 'gb2312'))
-       die(sprintf("skip Cannot set charset 'gb2312'"));
+    die(sprintf("skip Cannot set charset 'gb2312'"));
 mysqli_close($link);
 ?>
 --FILE--
@@ -64,7 +64,7 @@ mysqli_error($link));
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 bool(true)
index 2f08d5c37fac8fe7f45961242b5d7ae31b18492c..4da0d8a2329149460279924fae08c36867de5098 100644 (file)
@@ -7,11 +7,11 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
-               mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
+        mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (!mysqli_set_charset($link, 'gbk'))
-       die(sprintf("skip Cannot set charset 'gbk'"));
+    die(sprintf("skip Cannot set charset 'gbk'"));
 
 mysqli_close($link);
 ?>
@@ -64,7 +64,7 @@ mysqli_error($link));
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 bool(true)
index c577215357e31df32ff6541fe04fba4e93faeea6..034a3bd607bab4aa9f6e8a6f32cd85d2a4386ff6 100644 (file)
@@ -7,11 +7,11 @@ require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 
 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
-               mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
+        mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (!mysqli_set_charset($link, 'sjis'))
-       die(sprintf("skip Cannot set charset 'sjis'"));
+    die(sprintf("skip Cannot set charset 'sjis'"));
 mysqli_close($link);
 ?>
 --FILE--
index 78a3ece11b15f8467c1a28afd3a6c54a772a0598..4bb5ef79690f517d3979823b3060d6207ffdfe56 100644 (file)
@@ -71,7 +71,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index 45df8a9edcd9cc79fe6dd1c3dcbfeb3df32117ca..4b429940d7d0b1f68f75db3356cfca54b3cb0dcf 100644 (file)
@@ -87,7 +87,7 @@ if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 @mysqli_query($link, "DROP PROCEDURE IF EXISTS p");
 @mysqli_query($link, "DROP FUNCTION IF EXISTS f");
index 223befe9bc8fc80593c6d5d2214a36199cf08e42..b93996ef38b649626b57fcfb77a6ff84614ec1b2 100644 (file)
@@ -7,7 +7,7 @@ require_once('connect.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$IS_MYSQLND)
-       die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
+    die("skip mysqlnd only feature, compile PHP using --with-mysqli=mysqlnd");
 ?>
 --FILE--
 <?php
index dde2d7c261a511253b2fae15c69804b9e0a0e9c5..d473211b58c55e5026942afa9e7451658017ffdf 100644 (file)
@@ -5,7 +5,7 @@ Trying implicit reconnect after wait_timeout and KILL using mysqli_ping()
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (stristr(mysqli_get_client_info(), 'mysqlnd'))
-       die("skip: test for libmysql");
+    die("skip: test for libmysql");
 ?>
 --INI--
 mysqli.reconnect=1
index cbadb8a95cea0bd56144f3b95a573de2b2485574..44c33b39c2283ae0eaf9291e1b427300bb6a07a5 100644 (file)
@@ -7,10 +7,10 @@ require_once('skipifconnectfailure.inc');
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!have_innodb($link))
-       die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -61,7 +61,7 @@ if (!have_innodb($link))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_release_savepoint(): Argument #2 ($name) cannot be empty
index 4ad70a4eb9d8df0fc817720cf3a1dc6cbf0e7bf2..5aa695f8f2ae1e6e280c876669d49ebcd09b571d 100644 (file)
@@ -281,7 +281,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Warning: mysqli_multi_query(): (%d/%d): You have an error in your SQL syntax; check the manual that corresponds to your %s server version for the right syntax to use near 'BAR; FOO' at line 1 in %s on line %d
index af951739c24b99e59fedd72b47d1ff789acc1e0a..305d70108379c80fb5eb6e6726fe01695379efa7 100644 (file)
@@ -6,11 +6,11 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-               $host, $user, $db, $port, $socket));
+    die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+        $host, $user, $db, $port, $socket));
 
 if (mysqli_get_server_version($link) < 50600)
-       die("SKIP For MySQL >= 5.6.0");
+    die("SKIP For MySQL >= 5.6.0");
 
 ?>
 --FILE--
@@ -41,7 +41,7 @@ if (mysqli_get_server_version($link) < 50600)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Warning: mysqli_change_user(): (%d/%d): Access denied for user '%s'@'%s' (using password: %s) in %s on line %d
index 7103adfdb2a5f180e0244cf3920118e3ad5d70cc..7f0295dd44c71345523ab7f6083bcbbcc5018c04 100644 (file)
@@ -6,11 +6,11 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-               $host, $user, $db, $port, $socket));
+    die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+        $host, $user, $db, $port, $socket));
 
 if (mysqli_get_server_version($link) >= 50600)
-       die("SKIP For MySQL < 5.6.0");
+    die("SKIP For MySQL < 5.6.0");
 ?>
 --FILE--
 <?php
@@ -105,7 +105,7 @@ if (mysqli_get_server_version($link) >= 50600)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Warning: mysqli_multi_query(): (%d/%d): You have an error in your SQL syntax; check the manual that corresponds to your %s server version for the right syntax to use near 'BAR; FOO' at line 1 in %s on line %d
index 938f6e65dc38ff629379adf1cabc40b1a875aff6..6be779f33134b22903bae58a4bff83b905ccf627 100644 (file)
@@ -22,7 +22,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_result::__construct(): Argument #2 ($result_mode) must be either MYSQLI_STORE_RESULT or MYSQLI_USE_RESULT
index f917d00ed3bd6f1a6d5c9445b36c04a478ad6759..2e97cd45d795a57db14b6cf54a9c2cd9292a9074 100644 (file)
@@ -78,7 +78,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 array(7) refcount(2){
index a5c68ca73f049c6e969db1f42029f5f0cd5e4264..8c3c65f6091820e1b59108441994bfda677fb3be 100644 (file)
@@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc');
 
 require_once('connect.inc');
 if (!$IS_MYSQLND)
-       die("skip Test for mysqlnd only");
+    die("skip Test for mysqlnd only");
 require_once('skipifemb.inc'); ?>
 --FILE--
 <?php
index 51060d6287a907a8505079926dbb0c60678a9424..17f7aed05e9b4f11e46a37646b07c6cdda7e18a3 100644 (file)
@@ -2,15 +2,15 @@
 mysqli_rollback()
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       require_once('connect.inc');
-       if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-               die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    require_once('connect.inc');
+    if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
+        die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
-       if (!have_innodb($link))
-               die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    if (!have_innodb($link))
+        die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -58,7 +58,7 @@ mysqli_rollback()
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index b3b616a70ee690240a0772728471c99139c3431d..ebe27686aca87e4b1a52d2c1bbd41d8ce7ce21cd 100644 (file)
@@ -7,10 +7,10 @@ require_once('skipifconnectfailure.inc');
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!have_innodb($link))
-       die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
+    die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
 ?>
 --FILE--
 <?php
@@ -50,7 +50,7 @@ if (!have_innodb($link))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_savepoint(): Argument #2 ($name) cannot be empty
index 4e257bd0a11d8ab87dbad84d74f7cad086b72c65..0289e7733e5cccf528c4301c81c5c98d7c79cd44 100644 (file)
@@ -5,11 +5,11 @@ mysqli_send_query()
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_send_query')) {
-       die("skip mysqli_send_query() not available");
+    die("skip mysqli_send_query() not available");
 }
 require_once('connect.inc');
 if (!$TEST_EXPERIMENTAL)
-       die("skip - experimental (= unsupported) feature");
+    die("skip - experimental (= unsupported) feature");
 ?>
 --FILE--
 <?php
index cd30913661f5201fd2e65023be105e8a18e47df4..30bbb1410f6ca865d2aabadcf060a8a5ca8843d0 100644 (file)
@@ -6,41 +6,41 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_set_charset'))
-       die("skip Function not available");
+    die("skip Function not available");
 
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
-       die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
 
 if (!($res = mysqli_query($link, 'SELECT version() AS server_version')) ||
-               !($tmp = mysqli_fetch_assoc($res))) {
-       mysqli_close($link);
-       die(sprintf("skip Cannot check server version, [%d] %s\n",
-       mysqli_errno($link), mysqli_error($link)));
+        !($tmp = mysqli_fetch_assoc($res))) {
+    mysqli_close($link);
+    die(sprintf("skip Cannot check server version, [%d] %s\n",
+    mysqli_errno($link), mysqli_error($link)));
 }
 mysqli_free_result($res);
 $version = explode('.', $tmp['server_version']);
 if (empty($version)) {
-       mysqli_close($link);
-       die(sprintf("skip Cannot check server version, based on '%s'",
-               $tmp['server_version']));
+    mysqli_close($link);
+    die(sprintf("skip Cannot check server version, based on '%s'",
+        $tmp['server_version']));
 }
 
 if ($version[0] <= 4 && $version[1] < 1) {
-       mysqli_close($link);
-       die(sprintf("skip Requires MySQL Server 4.1+\n"));
+    mysqli_close($link);
+    die(sprintf("skip Requires MySQL Server 4.1+\n"));
 }
 
 if ((($res = mysqli_query($link, 'SHOW CHARACTER SET LIKE "latin1"', MYSQLI_STORE_RESULT)) &&
-               (mysqli_num_rows($res) == 1)) ||
-               (($res = mysqli_query($link, 'SHOW CHARACTER SET LIKE "latin2"', MYSQLI_STORE_RESULT)) &&
-               (mysqli_num_rows($res) == 1))
-               ) {
-       // ok, required latin1 or latin2 are available
-       mysqli_close($link);
+        (mysqli_num_rows($res) == 1)) ||
+        (($res = mysqli_query($link, 'SHOW CHARACTER SET LIKE "latin2"', MYSQLI_STORE_RESULT)) &&
+        (mysqli_num_rows($res) == 1))
+        ) {
+    // ok, required latin1 or latin2 are available
+    mysqli_close($link);
 } else {
-       die(sprintf("skip Requires character set latin1 or latin2\n"));
-       mysqli_close($link);
+    die(sprintf("skip Requires character set latin1 or latin2\n"));
+    mysqli_close($link);
 }
 ?>
 --FILE--
@@ -113,7 +113,7 @@ if ((($res = mysqli_query($link, 'SHOW CHARACTER SET LIKE "latin1"', MYSQLI_STOR
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index d8272828097b4406817b5dc3c059cdc0809fdee6..e871d0ff3e593ee16f40ba3aa21d994b69b4c7b4 100644 (file)
@@ -29,7 +29,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 %s(5) "00000"
index 6ccfb4359df3daa1924b341e22c6563aa08459bf..2ad705bda45bfbaf0006181c5fba0a5babbe1109 100644 (file)
@@ -5,7 +5,7 @@ mysqli_ssl_set() - test is a stub!
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_ssl_set'))
-       die("skip function not available");
+    die("skip function not available");
 ?>
 --FILE--
 <?php
index e3cf5dcbbc52c60e650f87c7d784899fe3b14cf8..de4f73bc18ce6af35c67f33959f77d49bea8c83b 100644 (file)
@@ -236,7 +236,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 [009] [%d] (error message varies with the MySQL Server version, check the error code)
index 5c246aaff8195ef31a12998ded2476f94b2b3e08..aea6c91ad00de1e5548b73e0a91a8dae373238bc 100644 (file)
@@ -49,7 +49,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt_attr_get(): Argument #2 ($attr) must be one of MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH, MYSQLI_STMT_ATTR_PREFETCH_ROWS, or STMT_ATTR_CURSOR_TYPE
index 80956e854f61e5f883a35b04a3487383e8644bcf..9ef46151f90c72833aeb85d8c724138abdf32532 100644 (file)
@@ -22,7 +22,7 @@ die("SKIP: prefetch isn't supported at the moment");
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index a22704af509bbadc160226ddd0e24669024c4491..16d789f37f7fd0352bfc206d0000bea9cd720430 100644 (file)
@@ -238,7 +238,7 @@ require_once("connect.inc");
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 Error: mysqli_stmt object is not fully initialized
index 9479d233a950c7943d53469f77d560ad576a754c..75351b0983c8e44a3fb904b57f6fed844af70562 100644 (file)
@@ -43,7 +43,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 9345bb5a0e619f9af639c565d0ec52bc58423f2b..237b72264675075a949709cb7d02515d243171e8 100644 (file)
@@ -412,7 +412,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 The number of variables must match the number of parameters in the prepared statement
index e1e600229ca01036bf8ede6d364a153bc447270f..4db8db655ea32d2716ff3966e0f851efae91d8d5 100644 (file)
@@ -325,7 +325,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 Regular, procedural, using variables
index 9b70f23639192cef5c69ad9a3bd357d9a4419abd..b3a4bfe223625ebf7c317efa1891979a4d687f00 100644 (file)
@@ -63,7 +63,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Test 1:
index 38f25336250c7014c9ef4d66837f29ac01297877..b622f254d1ed526bb6c3958a603d12916b6cd29d 100644 (file)
@@ -200,7 +200,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index b69dfe686e73d114e452ec845854921add6d7678..617e6e2cb0badb32690b859e15961c6793596979 100644 (file)
@@ -120,7 +120,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 99f2c8ef77122a7171961df4dc0be85238e61e66..5c4d43375de0d811eef554bb2c6e0052dca9d0ea 100644 (file)
@@ -308,7 +308,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli_stmt object is not fully initialized
index ecad1393531f501579fdd393442e857b3c12fd79..f24c5856ed04e37956147192f93bcef3f24a0edf 100644 (file)
@@ -152,7 +152,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 05e75f7e23498921ea0ae2cb10a582c948ca4bae..8ac3a049a16b8da97426bca2cc46d29e4fef39ef 100644 (file)
@@ -242,7 +242,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 plain vanilla...
index a49d0d0ed994fa2876132f559d000424a26f0da5..00dcae479cc1acd3709d0a654b4fd76f28b605ac 100644 (file)
@@ -90,7 +90,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index dd27da85ab18884478d08ee008bad066d2354671..ba0dcd7140d5a40ea6d1d002d8feb3476b952d4c 100644 (file)
@@ -77,7 +77,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index ffd5960c06bfa4537298f5793a34ea536cdf5ded..a16aa631e4a6e9cc0e507e11c620bb4238d08a6a 100644 (file)
@@ -82,7 +82,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli_stmt object is not fully initialized
index 2f18c6371fd731f28000f659c37bd032e8bfa76d..14f1ebbe506edeecf9fc3cc8714ef4aa8e440ff1 100644 (file)
@@ -60,7 +60,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS type_change"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 mysqli_close($link);
 ?>
index b5d741cd6e0625fc0a518b17792e9dc9f3dcc798..b65770c444c631dbde16aaa06def11b280bd62ab 100644 (file)
@@ -54,7 +54,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is already closed
index c8012b3434b545b62555d4e8d66d6d1b903ae10f..0bf93edaa972fa6263313979c319880a146406bd 100644 (file)
@@ -54,7 +54,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is already closed
index 1d1307e4b9551be547e8fd32d85ef662d1753bce..a939a93d31e254cfe9d4e3f6b1a53f47a40013c2 100644 (file)
@@ -5,10 +5,10 @@ mysqli_stmt_execute()
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) <= 40100) {
-       die(sprintf('skip Needs MySQL 4.1+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 4.1+, found version %d.', mysqli_get_server_version($link)));
 }
 ?>
 --FILE--
@@ -133,7 +133,7 @@ if (mysqli_get_server_version($link) <= 40100) {
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index 33e6cd1c8b02111c94e5db79fc95404c1b751f88..b26c16f98ae7c8e525efb6fef7c905dc5257bea5 100644 (file)
@@ -6,10 +6,10 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) <= 50000) {
-       die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link)));
 }
 ?>
 --FILE--
@@ -188,7 +188,7 @@ if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
    printf("[c001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error());
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bind_fetch"))
-       printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
+    printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
 
 @mysqli_query($link, 'DROP PROCEDURE IF EXISTS p');
 
index f322a1a76c36f9138627916d10015add997af913..86a703c6412b90575a3a002589651540ca3f7d57 100644 (file)
@@ -6,10 +6,10 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) < 50503) {
-       die(sprintf('skip Needs MySQL 5.5.3+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 5.5.3+, found version %d.', mysqli_get_server_version($link)));
 }
 ?>
 --FILE--
index 7cbbc74988e9b2aadda7cc1022bbd415968db503..667268b3aa1eff1f030a84407b34e4b0ef2153cc 100644 (file)
@@ -6,14 +6,14 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
+    die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error()));
 }
 if (mysqli_get_server_version($link) < 50503) {
-       die(sprintf('skip Needs MySQL 5.5.3+, found version %d.', mysqli_get_server_version($link)));
+    die(sprintf('skip Needs MySQL 5.5.3+, found version %d.', mysqli_get_server_version($link)));
 }
 /*
 if ($IS_MYSQLND) {
-       die(sprintf("skip WHY ?!"));
+    die(sprintf("skip WHY ?!"));
 }
 */
 ?>
index b99a326323bd64b3731ac007d927b0eede0cc945..64b4862653ad3102b215e5d35395df924994eb44 100644 (file)
@@ -78,7 +78,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli_stmt object is not fully initialized
index 87757dcaa9ab494107bb0eed9fcb71ecbff87c98..1e25a77a6b6436240c6644c0ae2d62d91bbe71ea 100644 (file)
@@ -2,13 +2,13 @@
 Fetching BIT column values using the PS API
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
-       require_once('connect.inc');
-       require_once('table.inc');
-       if (mysqli_get_server_version($link) < 50003)
-               // b'001' syntax not supported before 5.0.3
-               die("skip Syntax used for test not supported with MySQL Server before 5.0.3");
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
+    require_once('connect.inc');
+    require_once('table.inc');
+    if (mysqli_get_server_version($link) < 50003)
+        // b'001' syntax not supported before 5.0.3
+        die("skip Syntax used for test not supported with MySQL Server before 5.0.3");
 ?>
 --FILE--
 <?php
@@ -66,7 +66,7 @@ Fetching BIT column values using the PS API
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 086f4e08d8f181884293e5e4a13171e8c8beb7b9..073a48c228cc56ea7433c56f142be1ace395de16 100644 (file)
@@ -47,7 +47,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 OK: 1
index 3d177d903ded43fafc33ca156460f7d016811f4b..432d72fe545b12a9ce7c0ae85701b46cbb796153 100644 (file)
@@ -2,11 +2,11 @@
 mysqli_stmt_fetch - geometry / spatial types
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       if (!defined("MYSQLI_TYPE_GEOMETRY"))
-               die("skip MYSQLI_TYPE_GEOMETRY not defined");
+    if (!defined("MYSQLI_TYPE_GEOMETRY"))
+        die("skip MYSQLI_TYPE_GEOMETRY not defined");
 ?>
 --FILE--
 <?php
@@ -135,7 +135,7 @@ mysqli_stmt_fetch - geometry / spatial types
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 939b3fcf5dc1a3970fb19ac0328ac3953009b79d..4424248c48f2a6de57f0476d2b84728612913984 100644 (file)
@@ -92,7 +92,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index 833970a8b5a23a0a02bcd04ed3182754e4b4d5ac..867a8193d41608207e94f387ea9ccf23b783d03f 100644 (file)
@@ -72,7 +72,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index ca0b1ed03682c95778f7d4a5ff410c1a71e309b5..2dee92d9ae9d35040e5366763dd606aba9c75ae6 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_stmt_get_result'))
-       die('skip mysqli_stmt_get_result not available');
+    die('skip mysqli_stmt_get_result not available');
 ?>
 --FILE--
 <?php
@@ -159,7 +159,7 @@ if (!function_exists('mysqli_stmt_get_result'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli_stmt object is not fully initialized
index 2daa325b757623b7ff193fc70ee6e421512251ec..99fabb89d8fdfb5e05a8ff2ff760c090a168852c 100644 (file)
@@ -5,7 +5,7 @@ mysqli_stmt_get_result()
 require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 if (!function_exists('mysqli_stmt_get_result'))
-       die('skip mysqli_stmt_get_result not available');
+    die('skip mysqli_stmt_get_result not available');
 ?>
 --FILE--
 <?php
@@ -141,7 +141,7 @@ if (!function_exists('mysqli_stmt_get_result'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 array(2) {
index c9e00a793d8ecb2aa4d978467ba18a1767aaef06..dace91f4c89e9325c64d256f64da25ac508366a5 100644 (file)
@@ -2,17 +2,17 @@
 Fetching BIT column values using the PS API
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       if (!function_exists('mysqli_stmt_get_result'))
-               die("skip mysqli_stmt_get_result() not available");
+    if (!function_exists('mysqli_stmt_get_result'))
+        die("skip mysqli_stmt_get_result() not available");
 
-       require_once('connect.inc');
-       require_once('table.inc');
-       if (mysqli_get_server_version($link) < 50003)
-               // b'001' syntax not supported before 5.0.3
-               die("skip Syntax used for test not supported with MySQL Server before 5.0.3");
+    require_once('connect.inc');
+    require_once('table.inc');
+    if (mysqli_get_server_version($link) < 50003)
+        // b'001' syntax not supported before 5.0.3
+        die("skip Syntax used for test not supported with MySQL Server before 5.0.3");
 ?>
 --FILE--
 <?php
@@ -123,7 +123,7 @@ Fetching BIT column values using the PS API
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index ec313f06aa479b5e24148ba780a8f702ece81e78..300a1e3397ceb51985d70c1f1ea73b057896b21f 100644 (file)
@@ -2,11 +2,11 @@
 mysqli_stmt_get_result() - meta data, field_count()
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       if (!function_exists('mysqli_stmt_get_result'))
-               die('skip mysqli_stmt_get_result not available');
+    if (!function_exists('mysqli_stmt_get_result'))
+        die('skip mysqli_stmt_get_result not available');
 ?>
 --FILE--
 <?php
@@ -42,7 +42,7 @@ mysqli_stmt_get_result() - meta data, field_count()
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 2 2
index 51d2875c96476f63aa1fce9fe9325e73ba31b63a..2105a590d436c7138a3eb9fbb0efbb2f573a018d 100644 (file)
@@ -2,14 +2,14 @@
 mysqli_stmt_get_result - geometry / spatial types
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       if (!function_exists('mysqli_stmt_get_result'))
-               die("skip mysqli_stmt_get_result() not available");
+    if (!function_exists('mysqli_stmt_get_result'))
+        die("skip mysqli_stmt_get_result() not available");
 
-       if (!defined("MYSQLI_TYPE_GEOMETRY"))
-               die("skip MYSQLI_TYPE_GEOMETRY not defined");
+    if (!defined("MYSQLI_TYPE_GEOMETRY"))
+        die("skip MYSQLI_TYPE_GEOMETRY not defined");
 ?>
 --FILE--
 <?php
@@ -137,7 +137,7 @@ mysqli_stmt_get_result - geometry / spatial types
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index f3810019c4ce0a38116e2d150ad81d238d56ffca..2fe305ed21ceb282bde326badfd8970752d749f7 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_stmt_get_result'))
-       die('skip mysqli_stmt_get_result not available');
+    die('skip mysqli_stmt_get_result not available');
 ?>
 --FILE--
 <?php
@@ -226,7 +226,7 @@ if (!function_exists('mysqli_stmt_get_result'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 array(2) {
index 0db422c03082c602882f84f432142718015e1c2e..0c9f0dfe23e7ac95f0a3e38ab29870a1efc591af 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_stmt_get_result'))
-       die('skip mysqli_stmt_get_result not available');
+    die('skip mysqli_stmt_get_result not available');
 ?>
 --FILE--
 <?php
@@ -62,7 +62,7 @@ if (!function_exists('mysqli_stmt_get_result'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 object(stdClass)#%d (13) {
index f86b7c6b79cde80b6c56747018072a71028969f9..f2428aeb92785fe3d332c04e5c2c17c6ac7957ef 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_stmt_get_result'))
-       die('skip mysqli_stmt_get_result not available');
+    die('skip mysqli_stmt_get_result not available');
 ?>
 --FILE--
 <?php
@@ -88,7 +88,7 @@ if (!function_exists('mysqli_stmt_get_result'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 8dacc30ce96c8a89eea9ccdde17832969fa72d9f..8c3d6e1e35d60757eda828d7d8d2f93f338aee13 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!function_exists('mysqli_stmt_get_result'))
-       die('skip mysqli_stmt_get_result not available');
+    die('skip mysqli_stmt_get_result not available');
 ?>
 --FILE--
 <?php
@@ -128,7 +128,7 @@ if (!function_exists('mysqli_stmt_get_result'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_result::data_seek(): Argument #1 ($offset) must be greater than or equal to 0
index 1c2e857775e21d1081b39d685962158fa33aa94b..b188ed1d844b1e2ce3c02fbb415a68bcd25ced8e 100644 (file)
@@ -2,11 +2,11 @@
 mysqli_stmt_get_result - data types
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       require_once('skipifconnectfailure.inc');
+    require_once('skipif.inc');
+    require_once('skipifconnectfailure.inc');
 
-       if (!function_exists('mysqli_stmt_get_result'))
-               die("skip mysqli_stmt_get_result() not available");
+    if (!function_exists('mysqli_stmt_get_result'))
+        die("skip mysqli_stmt_get_result() not available");
 ?>
 --FILE--
 <?php
@@ -250,7 +250,7 @@ mysqli_stmt_get_result - data types
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 7e6fe07a14c2c4cccba9968fc2b72ed82ba20376..3787a13386c07ebf2bf751a9eeece7ed9d134916 100644 (file)
@@ -8,16 +8,16 @@ require_once('skipifconnectfailure.inc');
 require_once("connect.inc");
 
 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
-       die(sprintf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
-               $host, $user, $db, $port, $socket));
+    die(sprintf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
+        $host, $user, $db, $port, $socket));
 }
 
 if (!mysqli_query($link, "DROP TABLE IF EXISTS test") ||
-       !mysqli_query($link, "CREATE TABLE test(id SMALLINT)"))
-       die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
+    !mysqli_query($link, "CREATE TABLE test(id SMALLINT)"))
+    die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
 
 if (!@mysqli_query($link, "SET sql_mode=''") || !@mysqli_query($link, "INSERT INTO test(id) VALUES (100001)"))
-       die("skip Strict sql mode seems to be active. We won't get a warning to check for.");
+    die("skip Strict sql mode seems to be active. We won't get a warning to check for.");
 
 mysqli_query($link, "DROP TABLE IF EXISTS test");
 ?>
@@ -96,7 +96,7 @@ mysqli_query($link, "DROP TABLE IF EXISTS test");
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index 639c95944c3c53c74b829d1abb3acb2ee231bca6..22a21a64d27c136d30ec1416f7595f1822581396 100644 (file)
@@ -40,7 +40,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index 092c90c2a92a426648254918f3db2fd883b0e4de..d49bd1b094324b4699f917c2f976074588b00336 100644 (file)
@@ -66,7 +66,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index abb9ecbfb27976363e169c8ef8185a6b9393eefb..73af79e2b166e62cd7feea1dd5aa9c7357af5b19 100644 (file)
@@ -94,10 +94,10 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("connect.inc");
-       if (!$link->query('DROP PROCEDURE IF EXISTS p123')) {
-               printf("[001] [%d] %s\n", $link->error, $link->errno);
-       }
+    require_once("connect.inc");
+    if (!$link->query('DROP PROCEDURE IF EXISTS p123')) {
+        printf("[001] [%d] %s\n", $link->error, $link->errno);
+    }
 ?>
 --EXPECT--
 string(4) "pre:"
index f006b974eb53af9e20a302c3e80cc99b5cd3e06a..8b932dc053469c8385cc6dcd44c6a1aed2cfac6b 100644 (file)
@@ -102,7 +102,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 run_tests.php don't fool me with your 'ungreedy' expression '.+?'!
index 0d1fa5ca5560dbe3b976073c89f11ca542650d72..50886949359fe9a9d9e80aafd18c69effcf766a8 100644 (file)
@@ -53,7 +53,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index 14929a9051b6865de8a86e84029cd3fe390b1ff7..36ce473f3da1da04292897198b451cacda96f42c 100644 (file)
@@ -39,7 +39,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is already closed
index 081a5f0855db6ac7886e6e300858ed214c08d790..933f0774bf0d70efff6804be6052ec8defc6bc47 100644 (file)
@@ -97,7 +97,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index 0c77186efc9a32b076e0fb713e0850c5a587694e..250e93ed001ca446e7098c42d8467e47b20540aa 100644 (file)
@@ -86,7 +86,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 mysqli_stmt object is not fully initialized
index 877bd0c713769800bf43c3e78c2f39cf6f035cc8..929e9df645d01c98934567fe56ffb314ccea8a07 100644 (file)
@@ -225,7 +225,7 @@ die("skip Check again when the Klingons visit earth - http://bugs.mysql.com/bug.
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index b45098d298af06fb8db7557ba2d56c6e704a0c20..b9139cb6e1979a6ff8fd6aa77f961afaf9505930 100644 (file)
@@ -105,7 +105,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt_send_long_data(): Argument #2 ($param_nr) must be greater than or equal to 0
index c81e0c5d1a2d81b44f3fe7f91e05958404e67ffb..b191df602254ba3165e477c000ba5e9eeb48dcdf 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (stristr(mysqli_get_client_info(), 'mysqlnd'))
-       die("skip: test for libmysql");
+    die("skip: test for libmysql");
 ?>
 --FILE--
 <?php
@@ -91,7 +91,7 @@ if (stristr(mysqli_get_client_info(), 'mysqlnd'))
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 64643d52f30085e146aebfe30a8cfd7d4ae9ed67..c7376afdd3051ac3589d61390cf2f4d06aeb2425 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 
 if (!stristr(mysqli_get_client_info(), 'mysqlnd'))
-       die("skip: warnings only available in mysqlnd");
+    die("skip: warnings only available in mysqlnd");
 ?>
 --FILE--
 <?php
@@ -96,7 +96,7 @@ Warning: mysqli_stmt_send_long_data(): There was an error while sending long dat
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 done!
index 959a5f715410e0e39bad369751146a5d9822cf05..edad2b9c3f90c167ebe3faea9f31c54ef8544ee0 100644 (file)
@@ -46,7 +46,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index e798ce8a3c4339dcbb7f1799c55b5f7b52170f76..d8f4c4769f78d1721b06d5eb5007ac44e9a8af1b 100644 (file)
@@ -77,7 +77,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_stmt object is not fully initialized
index 7a0157106d0572640e8af9d58894346c1edebd7e..8d4e72bdf9be27383c1e1f6efc177e69dad46930 100644 (file)
@@ -50,7 +50,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index 8e6cd1e6af8056c2a3696b31ec40c17cc9295395..f72d33cf25ec34b5fbb134aa18fa9066b137ee3e 100644 (file)
@@ -30,7 +30,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index ddbd734153eb009de187f0e2c84313fbd5bff93f..a333891bba2119a49d388e193970a8dde8d45b01 100644 (file)
@@ -52,7 +52,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli_data_seek() cannot be used in MYSQLI_USE_RESULT mode
index 1c1df0ccdfe58b28ce6e402967aa593026d35888..5ad0e1033491754a80bbed76a7a1658ba14a4323 100644 (file)
@@ -35,7 +35,7 @@ require_once('skipifconnectfailure.inc');
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECT--
 mysqli object is already closed
index 5e3758be961c1dc5f0748e19042600924c7c04f3..e33bdb7d3a3388afad41432b60aec24f847880db 100644 (file)
@@ -6,7 +6,7 @@ require_once('skipif.inc');
 require_once('skipifconnectfailure.inc');
 require_once('connect.inc');
 if (!$TEST_EXPERIMENTAL)
-       die("skip - experimental (= unsupported) feature");
+    die("skip - experimental (= unsupported) feature");
 ?>
 --FILE--
 <?php
@@ -34,7 +34,7 @@ if (!$TEST_EXPERIMENTAL)
 ?>
 --CLEAN--
 <?php
-       require_once("clean_table.inc");
+    require_once("clean_table.inc");
 ?>
 --EXPECTF--
 Fatal error: Trying to clone an uncloneable object of class mysqli_warning in %s on line %d
index ce23b2b5aace576397dc80d1e430f732df56897e..bcfb1e8515a561c04dc94245c02a5320fdba2963 100644 (file)
@@ -11,7 +11,7 @@ if ($test_drcp) die("skip output might vary with DRCP");
 
 preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
 if (!(isset($matches[0]) && $matches[1] >= 10)) {
-       die("skip expected output only valid when using Oracle 10g or greater database server");
+    die("skip expected output only valid when using Oracle 10g or greater database server");
 }
 ?>
 --FILE--
index 61d59093b150a8f935944ae103356121982f6d33..0005faa9a35f5140ff21b289822e493e3c2d1c1c 100644 (file)
@@ -10,7 +10,7 @@ if ($test_drcp) die("skip output might vary with DRCP");
 
 preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
 if (!(isset($matches[0]) && $matches[1] >= 10)) {
-       die("skip expected output only valid when using Oracle 10g or greater database server");
+    die("skip expected output only valid when using Oracle 10g or greater database server");
 }
 ?>
 --INI--
index a116be0fab2899eac495e55c2a77cea868910619..bcab76b80c2e459cc8d7bbeb707aa9a1090a4244 100644 (file)
@@ -10,7 +10,7 @@ if ($test_drcp) die("skip output might vary with DRCP");
 
 preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
 if (!(isset($matches[0]) && $matches[1] >= 10)) {
-       die("skip expected output only valid when using Oracle 10g or greater database server");
+    die("skip expected output only valid when using Oracle 10g or greater database server");
 }
 ?>
 --FILE--
index 4a58f917d33931a5089895a219a9d4592350f727..006b49ab1e3410ebb289e618071802848d375b7b 100644 (file)
@@ -10,7 +10,7 @@ if ($test_drcp) die("skip output might vary with DRCP");
 
 preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
 if (!(isset($matches[0]) && $matches[1] >= 10)) {
-       die("skip expected output only valid when using Oracle 10g or greater database server");
+    die("skip expected output only valid when using Oracle 10g or greater database server");
 }
 ?>
 --FILE--
index 203fd57e92350065e4b60f42728506c1d51da0d9..57d348082bd9574678411424a10d7613b61a5fc7 100644 (file)
@@ -8,7 +8,7 @@ phpinfo(INFO_MODULES);
 $phpinfo = ob_get_clean();
 $ov = preg_match('/Compile-time ORACLE_HOME/', $phpinfo);
 if ($ov !== 1) {
-       die ("skip Test only valid when OCI8 is built with an ORACLE_HOME");
+    die ("skip Test only valid when OCI8 is built with an ORACLE_HOME");
 }
 preg_match('/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
 if (!isset($matches[0]) || !($matches[1] == 10 && $matches[2] == 2)) {
index 85ac993877088f68ae4e32912bd63b9d63504227..51e5ef38ac54af1c232dad71d75fcf4b55ed215e 100644 (file)
@@ -8,7 +8,7 @@ phpinfo(INFO_MODULES);
 $phpinfo = ob_get_clean();
 $ov = preg_match('/Compile-time ORACLE_HOME/', $phpinfo);
 if ($ov != 1) {
-       die ("skip Test only valid when OCI8 is built with an ORACLE_HOME");
+    die ("skip Test only valid when OCI8 is built with an ORACLE_HOME");
 }
 preg_match('/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
 if (!(isset($matches[0]) &&
index b75dfe4350f086717a2faec4395bd45fe29bd092..c013a687eb73af688eb631da2e323fe383c2b711 100644 (file)
@@ -15,7 +15,7 @@ if (!(isset($matches[0]) &&
       (($matches[1] == 11 && $matches[2] >= 2) ||
        ($matches[1] >= 12)
        ))) {
-               die("skip expected output only valid when using Oracle 11gR2 or greater database server");
+        die("skip expected output only valid when using Oracle 11gR2 or greater database server");
 }
 preg_match('/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
 if (!(isset($matches[0]) &&
index a556fb4a17d8b7348345bafde8462338ffa5a92f..4aab1c36bca012851ac268b225d0f38fbc7b4c6a 100644 (file)
@@ -13,7 +13,7 @@ if (!(isset($matches[0]) &&
       (($matches[1] == 11 && $matches[2] >= 2) ||
        ($matches[1] >= 12)
        ))) {
-               die("skip expected output only valid when using Oracle 11gR2 or greater database server");
+        die("skip expected output only valid when using Oracle 11gR2 or greater database server");
 }
 preg_match('/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
 if (!(isset($matches[0]) &&
index 8c7acd471feaa32c76a2e602cca735b997b4089f..cdc79b1057bf3ffc0559742d60970d77046626e0 100644 (file)
@@ -16,7 +16,7 @@ if (!(isset($matches_sv[0]) && isset($matches[0])
        && $matches_sv[3] == $matches[3]
        && $matches_sv[4] == $matches[4])) {
            // Avoid diffs due to cross version protocol changes (e.g. like 11.2.0.2-11.2.0.3) and bugs like Oracle bug: 6277160
-                  die ("skip test only runs when database client libraries and database server are the same version");
+           die ("skip test only runs when database client libraries and database server are the same version");
 }
 
 // This test in Oracle 12c needs a non-CDB or the root container
index 2fdef268317ed4e617b3a630367426bdd4e6a5a1..37e725a9b7d037e0cbb01e206e591cb3450b7b04 100644 (file)
@@ -8,7 +8,7 @@ phpinfo(INFO_MODULES);
 $phpinfo = ob_get_clean();
 $ov = preg_match('/Compile-time ORACLE_HOME/', $phpinfo);
 if ($ov !== 1) {
-       die ("skip Test only valid when OCI8 is built with an ORACLE_HOME");
+    die ("skip Test only valid when OCI8 is built with an ORACLE_HOME");
 }
 ?>
 --ENV--
index 0297401f995dc6af33df5cd52553e30367dad5f3..5f8fe821d40a6b0240a6820843a9de4e488b7af2 100644 (file)
@@ -7,7 +7,7 @@ require(__DIR__."/connect.inc");
 preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
 if (!(isset($matches[0]) &&
       ($matches[1] >= 10))) {
-               die("skip expected output only valid when using Oracle 10g or greater database server");
+        die("skip expected output only valid when using Oracle 10g or greater database server");
 }
 preg_match('/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
 if (!(isset($matches[0]) &&
index 69146914a4bf7b5f4d90db6aa41ea1363fad142a..de8197a5cb5492e9e4cea8dbfad7bb1df3ece976 100644 (file)
@@ -7,7 +7,7 @@ require(__DIR__."/connect.inc");
 preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
 if (!(isset($matches[0]) &&
       ($matches[1] >= 10))) {
-               die("skip expected output only valid when using Oracle 10g or greater database server");
+        die("skip expected output only valid when using Oracle 10g or greater database server");
 }
 preg_match('/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
 if (!(isset($matches[0]) &&
index bfc2faf5bf0970fc079c1a856de0d6ffd14115be..719f765b4f440f0191fc2c3d942409cd94381375 100644 (file)
@@ -11,7 +11,7 @@ if (!(isset($matches[0]) &&
       (($matches[1] == 11 && $matches[2] >= 2) ||
        ($matches[1] >= 12)
        ))) {
-               die("skip expected output only valid when using Oracle 11gR2 or greater database server");
+        die("skip expected output only valid when using Oracle 11gR2 or greater database server");
 }
 preg_match('/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
 if (!(isset($matches[0]) &&
index 6c0b1b26d077e131695791d50ebad57749847640..64ccfbe1660280e6b246cdc79c8c88ffe5a28ff8 100644 (file)
@@ -7,7 +7,7 @@ require(__DIR__."/connect.inc");
 preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
 if (!(isset($matches[0]) &&
       ($matches[1] >= 10))) {
-               die("skip expected output only valid when using Oracle 10g or greater database server");
+        die("skip expected output only valid when using Oracle 10g or greater database server");
 }
 preg_match('/^([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
 if (!(isset($matches[0]) &&
index 9d98d46b08c59ca9ebfcab0df7165f8b45fab0d8..d453efb010bbdb4d87d1309b02c3ce2322809355 100644 (file)
@@ -3,9 +3,9 @@ odbc_exec(): Getting accurate unicode data from query
 --SKIPIF--
 <?php include 'skipif.inc'; ?>
 <?php
-       if ("unixODBC" != ODBC_TYPE) {
-               die("skip ODBC_TYPE != unixODBC");
-       }
+    if ("unixODBC" != ODBC_TYPE) {
+        die("skip ODBC_TYPE != unixODBC");
+    }
 ?>
 --FILE--
 <?php
index 0d7de96f12a60f452ef60893047944193c323085..d92a44252b6f4e11944605d413d17d747c2ebbc9 100644 (file)
@@ -2,10 +2,10 @@
 odbc_data_source(): Basic test
 --SKIPIF--
 <?php
-       include 'skipif.inc';
-       if (odbc_data_source($conn, SQL_FETCH_FIRST) === NULL) {
-               die("skip no data sources defined on this system");
-       }
+    include 'skipif.inc';
+    if (odbc_data_source($conn, SQL_FETCH_FIRST) === NULL) {
+        die("skip no data sources defined on this system");
+    }
 ?>
 --FILE--
 <?php
index b288bcd2d0e4a82fbbdac7e508861f18d6c4bffb..95a2f56f80f6a1100884205cd2058aeeb94b7e52 100644 (file)
@@ -3,9 +3,9 @@ odbc_exec(): Basic test
 --SKIPIF--
 <?php include 'skipif.inc'; ?>
 <?php
-       if ("unixODBC" != ODBC_TYPE) {
-               die("skip ODBC_TYPE != unixODBC");
-       }
+    if ("unixODBC" != ODBC_TYPE) {
+        die("skip ODBC_TYPE != unixODBC");
+    }
 ?>
 --FILE--
 <?php
index 120f2b61090b84b2a3c06ee4298ac78b14d540d4..56c0ae5586f3bef502872ffc4e84e1cc14d2b2ef 100644 (file)
@@ -22,17 +22,17 @@ foreach (glob($pattern) as $p) {
 --CLEAN--
 <?php
 if (substr(PHP_OS, 0, 3) !== 'WIN') {
-       $pattern = __DIR__ . '/*/' . __DIR__ . '/*78185.php.bin';
+    $pattern = __DIR__ . '/*/' . __DIR__ . '/*78185.php.bin';
 } else {
-       $pattern = __DIR__ . '/*/*/' . str_replace(':', '', __DIR__) . '/*78185.php.bin';
+    $pattern = __DIR__ . '/*/*/' . str_replace(':', '', __DIR__) . '/*78185.php.bin';
 }
 foreach (glob($pattern) as $p) {
-       unlink($p);
-       $p = dirname($p);
-       while(strlen($p) > strlen(__DIR__)) {
-               rmdir($p);
-               $p = dirname($p);
-       }
+    unlink($p);
+    $p = dirname($p);
+    while(strlen($p) > strlen(__DIR__)) {
+        rmdir($p);
+        $p = dirname($p);
+    }
 }
 ?>
 --EXPECTF--
index 87b6d4b26465fca7dd51afd74868a8b51f79e602..067cde083bf2180d505ecaab34326ea79f46882f 100644 (file)
@@ -3,9 +3,9 @@ openssl_decrypt() with CCM cipher algorithm tests
 --SKIPIF--
 <?php
 if (!extension_loaded("openssl"))
-       die("skip");
+    die("skip");
 if (!in_array('aes-256-ccm', openssl_get_cipher_methods()))
-       die("skip: aes-256-ccm not available");
+    die("skip: aes-256-ccm not available");
 ?>
 --FILE--
 <?php
index 5c243a8fad3432c2b43582106ee516a207791a81..223c9e72c4df9d5d93f217576061bbed8f962f26 100644 (file)
@@ -3,9 +3,9 @@ openssl_decrypt() with GCM cipher algorithm tests
 --SKIPIF--
 <?php
 if (!extension_loaded("openssl"))
-       die("skip");
+    die("skip");
 if (!in_array('aes-128-gcm', openssl_get_cipher_methods()))
-       die("skip: aes-128-gcm not available");
+    die("skip: aes-128-gcm not available");
 ?>
 --FILE--
 <?php
index e2be5109807684b7d29ed66c53bbee74180a1bab..2b4a31b0f4cffbbd6b8873ed45effc058532addf 100644 (file)
@@ -3,9 +3,9 @@ openssl_encrypt() with GCM cipher algorithm tests
 --SKIPIF--
 <?php
 if (!extension_loaded("openssl"))
-       die("skip");
+    die("skip");
 if (!in_array('aes-128-gcm', openssl_get_cipher_methods()))
-       die("skip: aes-128-gcm not available");
+    die("skip: aes-128-gcm not available");
 ?>
 --FILE--
 <?php
index 12875392f40a3fe1d6ee22e85ff713fbdf83e513..b55b7ced44919eeb70fbb15fad509873e1f8e174 100644 (file)
@@ -154,7 +154,7 @@ expect_openssl_errors('openssl_csr_get_subjec pem', [$err_pem_no_start_line]);
 <?php
 $output_file =  __DIR__ . "/openssl_error_string_basic_output.tmp";
 if (is_file($output_file)) {
-       unlink($output_file);
+    unlink($output_file);
 }
 ?>
 --EXPECT--
index 43d51753a01a29db5ee8710e81c37511b00c4070..e7ee13caf6da62d39c32b731304187570a4dfa9a 100644 (file)
@@ -40,7 +40,7 @@ try {
 <?php
 $pkcsfile = __DIR__ . "/openssl_pkcs12_export_to_file__pkcsfile.tmp";
 if (file_exists($pkcsfile)) {
-       unlink($pkcsfile);
+    unlink($pkcsfile);
 }
 ?>
 --EXPECTF--
index 92d7f2789ebc77132ac8754fccaa50e2c80c320f..f65822e535d39ae24847075bcb6eed792ca3519c 100644 (file)
@@ -23,7 +23,7 @@ var_dump(openssl_pkcs12_export_to_file($cert, '.', $priv, $pass));
 <?php
 $pkcsfile = __DIR__ . "/openssl_pkcs12_export_to_file__pkcsfile.tmp";
 if (file_exists($pkcsfile)) {
-       unlink($pkcsfile);
+    unlink($pkcsfile);
 }
 ?>
 --EXPECTF--
index cdfdb0733f9e932f774afe8a544188376ec82971..16601cdb51c1fe851d3480ca07225df52b21852c 100644 (file)
@@ -2,8 +2,8 @@
 Test pcntl wait functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded("pcntl")) print "skip";
-       elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
+    if (!extension_loaded("pcntl")) print "skip";
+    elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
     if (PHP_OS == "Darwin") {
         die("skip do not run on darwin");
     }
index f93039f41220a55a44a53e16924e09a61a7c5bf3..68b264309268ae9e3c088fdbb8de17caaca13411 100644 (file)
@@ -2,11 +2,11 @@
 pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait()
 --SKIPIF--
 <?php
-       if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
-       elseif (!extension_loaded('posix')) die('skip posix extension not available');
-       elseif (!function_exists('pcntl_sigwaitinfo') or !function_exists('pcntl_sigtimedwait')) die('skip required functionality is not available');
-       elseif (!defined('CLD_EXITED')) die('skip CLD_EXITED not defined');
-       elseif (getenv('SKIP_ASAN')) die('skip Fails intermittently under asan/msan');
+    if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
+    elseif (!extension_loaded('posix')) die('skip posix extension not available');
+    elseif (!function_exists('pcntl_sigwaitinfo') or !function_exists('pcntl_sigtimedwait')) die('skip required functionality is not available');
+    elseif (!defined('CLD_EXITED')) die('skip CLD_EXITED not defined');
+    elseif (getenv('SKIP_ASAN')) die('skip Fails intermittently under asan/msan');
 ?>
 --FILE--
 <?php
index 012277d25578e28dde8d95a1ba9394e8395f4a48..ebc0bc88e296e1e48f0fdde50faf5c7f40b51e68 100644 (file)
@@ -2,9 +2,9 @@
 pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK
 --SKIPIF--
 <?php
-       if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
-       elseif (!extension_loaded('posix')) die('skip posix extension not available');
-       elseif (!function_exists('pcntl_sigwaitinfo') or !function_exists('pcntl_sigtimedwait')) die('skip required functionality is not available');
+    if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
+    elseif (!extension_loaded('posix')) die('skip posix extension not available');
+    elseif (!function_exists('pcntl_sigwaitinfo') or !function_exists('pcntl_sigtimedwait')) die('skip required functionality is not available');
 ?>
 --FILE--
 <?php
index 8e30204ab43d3a64c4b903d545a4b00eb7f20df3..1b27bfdb6c1c1a8d0ce4ad64aaa8aee7703383df 100644 (file)
@@ -2,10 +2,10 @@
 Asynchronous signal handling through VM interrupts
 --SKIPIF--
 <?php
-       if (!extension_loaded("pcntl")) print "skip";
-       elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available";
-       elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
-       elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
+    if (!extension_loaded("pcntl")) print "skip";
+    elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available";
+    elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
+    elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
 ?>
 --FILE--
 <?php
index cf28868086ec019ca2cb1bb615eb3fb6ebfea771..ada3ba1e1c2f79da79a3057e023b1c9dc05a536e 100644 (file)
@@ -2,8 +2,8 @@
 Bug #73783: (SIG_IGN needs to be set to prevent syscals from returning early)
 --SKIPIF--
 <?php
-       if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
-       elseif (!extension_loaded('posix')) die('skip posix extension not available');
+    if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
+    elseif (!extension_loaded('posix')) die('skip posix extension not available');
 ?>
 --FILE--
 <?php
index 3509e14a7fa2be47a44032e280344fb9306783fd..41c9e4d5ae59dfbf2da798851035829cf0bab4b3 100644 (file)
@@ -6,8 +6,8 @@ Francesco Fullone ff@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
-       elseif (!extension_loaded('posix')) die('skip posix extension not available');
+    if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
+    elseif (!extension_loaded('posix')) die('skip posix extension not available');
 ?>
 --FILE--
 <?php
index 4a839665334176354cf2cc042fe5e810a9d4d290..4a00d18b1c2c6d315ab27be638d1e3835e31fa5c 100644 (file)
@@ -6,8 +6,8 @@ Francesco Fullone ff@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
 --SKIPIF--
 <?php
-       if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
-       elseif (!extension_loaded('posix')) die('skip posix extension not available');
+    if (!extension_loaded('pcntl')) die('skip pcntl extension not available');
+    elseif (!extension_loaded('posix')) die('skip posix extension not available');
 ?>
 --FILE--
 <?php
index f1a517051c4b3149aeb5663f707b4e03fe677f7e..e2c9c9543bffdc4851538c4d6c8ab5655d05c2c0 100644 (file)
@@ -2,7 +2,7 @@
 Test pcntl_get_last_error()
 --SKIPIF--
 <?php
-       if (!extension_loaded("pcntl")) print "skip";
+    if (!extension_loaded("pcntl")) print "skip";
 ?>
 --FILE--
 <?php
index c64910fb36850b5ff7af4a5953c357a1af1552a5..b3cbe3ace942b209f727a2509f3ed06528ca37a5 100644 (file)
@@ -2,11 +2,11 @@
 pcnt_signal_dispatch()
 --SKIPIF--
 <?php
-       if (!extension_loaded("pcntl")) print "skip";
-       elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available";
-       elseif (!function_exists("pcntl_signal_dispatch")) print "skip pcntl_signal_dispatch() not available";
-       elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
-       elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
+    if (!extension_loaded("pcntl")) print "skip";
+    elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available";
+    elseif (!function_exists("pcntl_signal_dispatch")) print "skip pcntl_signal_dispatch() not available";
+    elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
+    elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
 ?>
 --FILE--
 <?php
index 0df0061caa575a0c7b491d81cb6ddf7163830573..ebaf84b5521d4e32521ed711c6f529eb919e52b6 100644 (file)
@@ -2,10 +2,10 @@
 Closures as a signal handler
 --SKIPIF--
 <?php
-       if (!extension_loaded("pcntl")) print "skip";
-       elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available";
-       elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
-       elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
+    if (!extension_loaded("pcntl")) print "skip";
+    elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available";
+    elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
+    elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
 ?>
 --FILE--
 <?php
index bc213ad0e09ebe6b77f72f50820aac12e115e900..d2bfb7ee6fadaf526d9432624a4bd1aaaeb1667c 100644 (file)
@@ -3,7 +3,7 @@ preg_replace_callback() with callback that modifies subject string
 --SKIPIF--
 <?php
 if (@preg_match('/./u', '') === false) {
-       die('skip no utf8 support in PCRE library');
+    die('skip no utf8 support in PCRE library');
 }
 ?>
 --FILE--
index 3f0d8e64468a0696c2cf38c6b92b3c5de7528ad6..3b6f7786a2c50c11b4cb95686a85e27a2a7dd140 100644 (file)
@@ -3,7 +3,7 @@ Backtracking limit
 --SKIPIF--
 <?php
 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
-       die("skip no support for \p support PCRE library");
+    die("skip no support for \p support PCRE library");
 }
 ?>
 --INI--
index 0b706010a04f23203909f70522f256d33eb41b0e..9ba70f7a64428855613ebcd444bcb3bf33a710c3 100644 (file)
@@ -3,7 +3,7 @@ Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets)
 --SKIPIF--
 <?php
 if (@preg_match('/./u', '') === false) {
-       die('skip no utf8 support in PCRE library');
+    die('skip no utf8 support in PCRE library');
 }
 ?>
 --FILE--
index b40a7219983987d1c29e04d202db189fee868b52..156b692ab0f846fdb8e39e99f7fb95db27ae693d 100644 (file)
@@ -3,7 +3,7 @@ Bug #72463 mail fails with invalid argument
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) == "WIN") {
-       die('skip not for windows');
+    die('skip not for windows');
 }
 ?>
 --INI--
index 1baeb0f2a1154f8e29b3826615d859bfeccb4daa..3cc87b47ac5a4da837a91127d8dfde3df9d3ba8a 100644 (file)
@@ -3,7 +3,7 @@ Bug #72463 mail fails with invalid argument
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != "WIN") {
-       die('skip windows only');
+    die('skip windows only');
 }
 ?>
 --INI--
index 50c62ad1b335cfebd2261e3bf9b1b99bd4182463..acceb2da7185b06b7caad440b9af53848c005f02 100644 (file)
@@ -2,10 +2,10 @@
 Bug #76850 Exit code mangled by set locale/preg_match
 --SKIPIF--
 <?php
-       $l = setlocale(LC_CTYPE, 0);
-       if ("C" == $l) {
-               die("skip need the current locale to be other than C");
-       }
+    $l = setlocale(LC_CTYPE, 0);
+    if ("C" == $l) {
+        die("skip need the current locale to be other than C");
+    }
 ?>
 --FILE--
 <?php
index 5109bed3a705a559ecfa9c20e1839844828337bd..b2f22381c5228fe987f9e9c12ca2b2f1dc68c320 100644 (file)
@@ -3,7 +3,7 @@ Bug #76909 preg_match difference between 7.3 and < 7.3
 --SKIPIF--
 <?php
 if(!ini_get("pcre.jit")) {
-       echo "skip JIT is disabled";
+    echo "skip JIT is disabled";
 }
 ?>
 --FILE--
index 4fdb603b8591aa335ee666d558c33129df989239..ddceb6141fefd34dec5b73d3796038171352e8d0 100644 (file)
@@ -2,9 +2,9 @@
 Bug #77193 Infinite loop in preg_replace_callback
 --SKIPIF--
 <?php
-       if (!extension_loaded("filter")) {
-               die("skip need filter extension");
-       }
+    if (!extension_loaded("filter")) {
+        die("skip need filter extension");
+    }
 ?>
 --FILE--
 <?php
index de6e263e7018a852aeefa334ba54ef7c41b90724..9cd249ea924f5050df9ff9e438de89aa1fadbb5b 100644 (file)
@@ -3,7 +3,7 @@ Check for JIT enablement status
 --SKIPIF--
 <?php
 if (ini_get("pcre.jit") === FALSE) {
-       die("skip no jit built");
+    die("skip no jit built");
 }
 --FILE--
 <?php
index 340b08409872d19b0f0143b82b8e4d21e1c27137..9e784deee802d60832cd76eef6b66182fc64a560 100644 (file)
@@ -3,7 +3,7 @@ Test preg_match_all() function : error conditions - Backtracking limit
 --SKIPIF--
 <?php
 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
-       die("skip no support for \p support PCRE library");
+    die("skip no support for \p support PCRE library");
 }
 ?>
 --INI--
index 13fabc4f30f4c76208c1ab8b34d794fa9aff4db3..dc60c24938e51b4d63f93102dc56cc93b4dc5883 100644 (file)
@@ -3,7 +3,7 @@ Test preg_match() function : error conditions - jit stacklimit exhausted
 --SKIPIF--
 <?php
 if (ini_get('pcre.jit') === false) {
-       die("skip no jit built");
+    die("skip no jit built");
 }
 ?>
 --INI--
index f24042a3bdf12fea2ee9a576420c5902df8b106a..1a5124daaac3b7d4e0dfcf75ea5b1ee1f1b56c23 100644 (file)
@@ -3,7 +3,7 @@ preg_replace() and invalid UTF8
 --SKIPIF--
 <?php
 if (@preg_match('/./u', '') === false) {
-       die('skip no utf8 support in PCRE library');
+    die('skip no utf8 support in PCRE library');
 }
 ?>
 --FILE--
index 2b9e7fa239b16d0f390b9a6ae50e517eaa5718b2..311a6d73d6682f29816bd0305c01136f1ffa2d3e 100644 (file)
@@ -3,7 +3,7 @@ preg_replace() and invalid UTF8 offset
 --SKIPIF--
 <?php
 if (@preg_match('/./u', '') === false) {
-       die('skip no utf8 support in PCRE library');
+    die('skip no utf8 support in PCRE library');
 }
 ?>
 --FILE--
index c03d13501a7e40caf1c558f6e09890d175427697..7852cd6d62ff70dee41a879b5b4696961fe4314e 100644 (file)
@@ -3,7 +3,7 @@ A (PCRE_ANCHORED) modifier
 --SKIPIF--
 <?php
 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
-       die("skip no support for \p support PCRE library");
+    die("skip no support for \p support PCRE library");
 }
 ?>
 --FILE--
index 8b9d59fc58bd747fb2bf6af60a84eed40ed78444..cf9c29a112cec570543b96bbdc00298ed30d320a 100644 (file)
@@ -3,7 +3,7 @@ Test preg_match() function : error conditions - jit stacklimit exhausted
 --SKIPIF--
 <?php
 if (ini_get("pcre.jit") === FALSE) {
-       die("skip no jit built");
+    die("skip no jit built");
 }
 ?>
 --INI--
index ac88e876e698c91bf19b627aa0b5e6cef9e48a96..e38c4788cb997e112f2a2a5715115f7826d4bc05 100644 (file)
@@ -3,7 +3,7 @@ preg_replace()
 --SKIPIF--
 <?php
 if (@preg_match('/./u', '') === false) {
-       die('skip no utf8 support in PCRE library');
+    die('skip no utf8 support in PCRE library');
 }
 ?>
 --FILE--
index 294931388d6fcf31ae3c492ac76b9c2a81b17bf0..5d08f1771bc27189979d733ed89db234e11d9e4a 100644 (file)
@@ -3,7 +3,7 @@ PCRE Recursion limit
 --SKIPIF--
 <?php
 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
-       die("skip no support for \p support PCRE library");
+    die("skip no support for \p support PCRE library");
 }
 ?>
 --INI--
index 5f23f910eb6ecc2601a0a78f9cd104709fdd61d1..0e1116d58863ebebdb40d123b01ebd9214666125 100644 (file)
@@ -4,9 +4,9 @@ PDO Common: Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NUL
 <?php
 if (!extension_loaded('pdo')) die('skip PDO not available');
 try {
-       $pdo = new PDO("sqlite:".__DIR__."/foo.db");
+    $pdo = new PDO("sqlite:".__DIR__."/foo.db");
 } catch (Exception $e) {
-       die("skip PDP_SQLITE not available");
+    die("skip PDP_SQLITE not available");
 }
 ?>
 --FILE--
index 6ca5b175636b62f749fbf710d9f9a2b79c6338b8..73c2675c1a3335ff91139dc462d247d04aa3849a 100644 (file)
@@ -8,12 +8,12 @@ if (false == $dir) die('skip no driver');
 $allowed = array('oci', 'pgsql');
 $ok = false;
 foreach ($allowed as $driver) {
-       if (!strncasecmp(getenv('PDOTEST_DSN'), $driver, strlen($driver))) {
-               $ok = true;
-       }
+    if (!strncasecmp(getenv('PDOTEST_DSN'), $driver, strlen($driver))) {
+        $ok = true;
+    }
 }
 if (!$ok) {
-       die("skip Scrollable cursors not supported");
+    die("skip Scrollable cursors not supported");
 }
 require_once $dir . 'pdo_test.inc';
 PDOTest::skip();
index 2c308d9113213de407f4b6085d089c94a52daa61..daac15574a85da352dfda258efa3413af8721566 100644 (file)
@@ -3,7 +3,7 @@ PDO Common: Bug #47769 (Strange extends PDO)
 --SKIPIF--
 <?php
 if (!extension_loaded("pdo_sqlite"))
-       die("skip: PDO_SQLite not available");
+    die("skip: PDO_SQLite not available");
 ?>
 --FILE--
 <?php
index f06ebbdc435fdfe4ec46ce62cad6a9e2400ca535..cdbcf6a22a565081b267d64c4a5491f31d7dc212 100644 (file)
@@ -16,10 +16,10 @@ try {
 }
 
 if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
-       require_once(__DIR__ . DIRECTORY_SEPARATOR . '../../pdo_mysql/tests/mysql_pdo_test.inc');
-       if (false === MySQLPDOTest::detect_transactional_mysql_engine($db)) {
-               die('skip your mysql configuration does not support working transactions');
-       }
+    require_once(__DIR__ . DIRECTORY_SEPARATOR . '../../pdo_mysql/tests/mysql_pdo_test.inc');
+    if (false === MySQLPDOTest::detect_transactional_mysql_engine($db)) {
+        die('skip your mysql configuration does not support working transactions');
+    }
 }
 ?>
 --FILE--
index 7c67bc32273a4b83ae5e5e9240e77e805fcf1e50..e3d530ba49ee5afef70ef67bee0d4af5d8a743d4 100644 (file)
@@ -8,7 +8,7 @@ if (false == $dir) die('skip no driver');
 
 $driver = substr(getenv('PDOTEST_DSN'), 0, strpos(getenv('PDOTEST_DSN'), ':'));
 if (!in_array($driver, array('mssql','sybase','dblib','firebird','mysql','oci')))
-       die('skip not supported');
+    die('skip not supported');
 
 require_once $dir . 'pdo_test.inc';
 PDOTest::skip();
index 9328c0f20d22e7e3215c6ee618880449184516e5..e33415eb675a9acf2f58b6e9ca1d5b51f1cc3227 100644 (file)
@@ -11,12 +11,12 @@ $db = MySQLPDOTest::factory();
 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 50000)
-       die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 ?>
 --XFAIL--
 nextRowset() problem with stored proc & emulation mode & mysqlnd
index c86cad2b510638ebd64e3fa73ed351c325801721..e7db01c8e321897aece5594c246ef50b51e75080 100644 (file)
@@ -10,13 +10,13 @@ $db = MySQLPDOTest::factory();
 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 die("skip $version");
 if ($version < 40100)
-       die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 ?>
 --FILE--
 <?php
index def3d4406dc2c593c2e29c0f7d956b1e8da1aec0..7ce2e810d43eee84d329bfd328d9f440e598a50e 100644 (file)
@@ -12,12 +12,12 @@ $db = MySQLPDOTest::factory();
 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 50000)
-       die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 ?>
 --FILE--
 <?php
index 4ad38eeca28ceec25300a0b69edf6670267b8a68..7824448c072547ea551d4d651e10aa3484048f10 100644 (file)
@@ -13,12 +13,12 @@ $stmt = $db->query('SELECT VERSION() as _version');
 $row = $stmt->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 41000)
-       die(sprintf("skip Need MySQL Server 4.1.0+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 4.1.0+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 --FILE--
 <?php
 require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
index 6bd7114431977d61f3e1b58b5e2d6d0038a41d1e..8767cee2616f36d06eb6f71fb95ba2237ed57194 100644 (file)
@@ -13,12 +13,12 @@ $stmt = $db->query('SELECT VERSION() as _version');
 $row = $stmt->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 41000)
-       die(sprintf("skip Will work different with MySQL Server < 4.1.0, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Will work different with MySQL Server < 4.1.0, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 ?>
 --FILE--
 <?php
index 920dc4e06718becee8194543add46358f2f8ace5..9390e2abffb986c6f0ba19eda6e4e336ff7cb256 100644 (file)
@@ -11,12 +11,12 @@ $db = MySQLPDOTest::factory();
 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 40106)
-       die(sprintf("skip Need MySQL Server 4.1.6+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 4.1.6+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 ?>
 --FILE--
 <?php
index 00446edc470ba306bcf9bcd99ff350d28f9e70ce..13d4d1b519263139044cee523204c43ecbce14a1 100644 (file)
@@ -11,12 +11,12 @@ $db = MySQLPDOTest::factory();
 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 50000)
-       die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 ?>
 --FILE--
 <?php
index 985179b84c54dc484ccfae36485aec0ba6dc71dc..3c3b41ad286a9078f658beb79e1536c486fd78a9 100644 (file)
@@ -7,7 +7,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 /* TODO - fix this limitation */
 if (getenv('PDO_MYSQL_TEST_DSN') !== "mysql:dbname=phptest;unix_socket=/tmp/mysql.sock")
-       die("skip Fix test to run in other environments as well!");
+    die("skip Fix test to run in other environments as well!");
 ?>
 --INI--
 pdo.dsn.mysql="mysql:dbname=phptest;socket=/tmp/mysql.sock"
index 99754c905830727d04013d523e6c29fdbfe85d94..1838336050a36a4abb7643e9ee86780107a2b7cc 100644 (file)
@@ -6,7 +6,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
 require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 if (MySQLPDOTest::isPDOMySQLnd())
-       die("skip libmysql only options")
+    die("skip libmysql only options")
 ?>
 --FILE--
 <?php
index 1337c1ac95df9f2a91d3922f9c8311935c599d1b..73e657fff922b0ae31344e1aba667a1bc8e7bab2 100644 (file)
@@ -6,7 +6,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
 require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 if (MySQLPDOTest::isPDOMySQLnd())
-       die("skip PDO::MYSQL_ATTR_MAX_BUFFER_SIZE not supported with mysqlnd");
+    die("skip PDO::MYSQL_ATTR_MAX_BUFFER_SIZE not supported with mysqlnd");
 ?>
 --FILE--
 <?php
index 2fc60f9fc2f6b33bdc607497b9792b543bfa39cd..fb550b1aa2d33a9249365cc410e02104f7844756 100644 (file)
@@ -7,7 +7,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 $db = MySQLPDOTest::factory();
 if (false == MySQLPDOTest::detect_transactional_mysql_engine($db))
-       die("skip Transactional engine not found");
+    die("skip Transactional engine not found");
 ?>
 --FILE--
 <?php
index 9e53f18154bcf955c2e178bba8c0bcf112037c6e..1ff37cc3cc7370e74523b9bba28369ca9cb461f6 100644 (file)
@@ -6,7 +6,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
 require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 if (MySQLPDOTest::isPDOMySQLnd())
-       die("skip Known bug - mysqlnd handles BIT incorrectly!");
+    die("skip Known bug - mysqlnd handles BIT incorrectly!");
 ?>
 --FILE--
 <?php
index 7ab189fedf8e3ea333243c41290fc4b7c1f0323a..8fcce4cc8454f2428c2794a8e8f67b69c88c099d 100644 (file)
@@ -4,9 +4,9 @@ PDO MySQL specific class constants
 <?php
 require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
 if (!extension_loaded('mysqli') && !extension_loaded('mysqlnd')) {
-       /* Need connection to detect library version */
-       require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
-       MySQLPDOTest::skip();
+    /* Need connection to detect library version */
+    require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
+    MySQLPDOTest::skip();
 }
 ?>
 --FILE--
index 9dec5700b6dd399a74f687b4ed81cf739e3ac814..506be6475f35c5c742c48a12393c61edf31892f0 100644 (file)
@@ -7,7 +7,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 $db = MySQLPDOTest::factory();
 if (false == MySQLPDOTest::detect_transactional_mysql_engine($db))
-       die("skip Transactional engine not found");
+    die("skip Transactional engine not found");
 ?>
 --FILE--
 <?php
index 4e3f40d36976946ee701f4b7d079a1336b5345e1..b3069eaf008f345abe7a4801474fbcda34ea7029 100644 (file)
@@ -12,19 +12,19 @@ $stmt = $db->query('SELECT USER() as _user');
 $row = $stmt->fetch(PDO::FETCH_ASSOC);
 $tmp = explode('@', $row['_user']);
 if (count($tmp) < 2)
-       die("skip Cannot detect if test is run against local or remote database server");
+    die("skip Cannot detect if test is run against local or remote database server");
 if (($tmp[1] !== 'localhost') && ($tmp[1] !== '127.0.0.1'))
-       die("skip Test cannot be run against remote database server");
+    die("skip Test cannot be run against remote database server");
 
 $stmt = $db->query("SHOW VARIABLES LIKE 'secure_file_priv'");
 if (($row = $stmt->fetch(PDO::FETCH_ASSOC)) && ($row['value'] != '')) {
-       if (!is_writable($row['value']))
-               die("skip secure_file_priv directory not writable: {$row['value']}");
+    if (!is_writable($row['value']))
+        die("skip secure_file_priv directory not writable: {$row['value']}");
 
-       $filename = $row['value'] . DIRECTORY_SEPARATOR  . "pdo_mysql_exec_load_data.csv";
+    $filename = $row['value'] . DIRECTORY_SEPARATOR  . "pdo_mysql_exec_load_data.csv";
 
-       if (file_exists($filename) && !is_writable($filename))
-               die("skip {$filename} not writable");
+    if (file_exists($filename) && !is_writable($filename))
+        die("skip {$filename} not writable");
 }
 
 ?>
index 386dfb1e1eb443a28d38702b9ab2fd1bd67c0fe9..80c6a23db82393f144d5eeb2b2b3451a3d69011e 100644 (file)
@@ -7,7 +7,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 $db = MySQLPDOTest::factory();
 if (false == MySQLPDOTest::detect_transactional_mysql_engine($db))
-       die("skip Transactional engine not found");
+    die("skip Transactional engine not found");
 ?>
 --FILE--
 <?php
index 4ba236f2a4d3aca934d9edcdfbe702f7a1d9d15b..e3ca7caa1b6b636ab20056aa07db9566bb03ff14 100644 (file)
@@ -7,7 +7,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 $db = MySQLPDOTest::factory();
 if (false == MySQLPDOTest::detect_transactional_mysql_engine($db))
-       die("skip Transactional engine not found");
+    die("skip Transactional engine not found");
 ?>
 --FILE--
 <?php
index 1f1e6d9668c1532e2895c99b146b054992878b15..4c9f60ea1190d5fc3c9d05f6dc6e3d17f1ca8a17 100644 (file)
@@ -6,7 +6,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
 require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 if (!MYSQLPDOTest::isPDOMySQLnd())
-       die("skip mysqlnd only test");
+    die("skip mysqlnd only test");
 ?>
 --FILE--
 <?php
index 13df9024a230d3949dc92cbb9f2c265f6e015d78..06da4a5ed77970901b2ff36d859ec14381629051 100644 (file)
@@ -6,7 +6,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
 require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 if (!MYSQLPDOTest::isPDOMySQLnd())
-       die("skip mysqlnd only test");
+    die("skip mysqlnd only test");
 ?>
 --FILE--
 <?php
index 368f588cfde0b5135e518739e36a9101495f0966..a1f1644cf368797d8bdc07f5aedafff0a1b3a249 100644 (file)
@@ -9,15 +9,15 @@ $db = MySQLPDOTest::factory();
 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 50000)
-       die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 
 if (!MySQLPDOTest::isPDOMySQLnd())
-       die("skip This will not work with libmysql");
+    die("skip This will not work with libmysql");
 ?>
 --FILE--
 <?php
index c76a7460c9ce2cc685798437060b6bfc7fcf15a5..62214541d71fc795be3aa696f35de94920e84490 100644 (file)
@@ -12,9 +12,9 @@ $stmt = $db->query('SELECT USER() as _user');
 $row = $stmt->fetch(PDO::FETCH_ASSOC);
 $tmp = explode('@', $row['_user']);
 if (count($tmp) < 2)
-       die("skip Cannot detect if test is run against local or remote database server");
+    die("skip Cannot detect if test is run against local or remote database server");
 if (($tmp[1] !== 'localhost') && ($tmp[1] !== '127.0.0.1'))
-       die("skip Test cannot be run against remote database server");
+    die("skip Test cannot be run against remote database server");
 
 $stmt = $db->query("SHOW VARIABLES LIKE 'secure_file_priv'");
 if (($row = $stmt->fetch(PDO::FETCH_ASSOC)) && ($row['value'] != '')) {
index 96e77a1326af6f6e0b03f8ad1f20c23f7e713ca4..d27aefc6be46a291b9f83d501a7e3489654b3014 100644 (file)
@@ -7,7 +7,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 $db = MySQLPDOTest::factory();
 if (false == MySQLPDOTest::detect_transactional_mysql_engine($db))
-       die("skip Transactional engine not found");
+    die("skip Transactional engine not found");
 ?>
 --FILE--
 <?php
index 9d6ee3d9b8d998ce2b6875e74bfc17484d3592ec..7556bf7e6fb339d0297f97d3525d013f61b3c267 100644 (file)
@@ -8,21 +8,21 @@ MySQLPDOTest::skip();
 
 $tmp = MySQLPDOTest::getTempDir();
 if (!$tmp)
-       die("skip Can't create temporary file");
+    die("skip Can't create temporary file");
 
 $file = $tmp . DIRECTORY_SEPARATOR . 'pdoblob.tst';
 $fp = fopen($file, 'w');
 if (!$fp)
-       die("skip Can't create temporary file");
+    die("skip Can't create temporary file");
 
 if (4 != fwrite($fp, 'test')) {
-       die("skip Can't create temporary file");
+    die("skip Can't create temporary file");
 }
 fclose($fp);
 clearstatcache();
 
 if (!file_exists($file))
-       die("skip Can't create temporary file");
+    die("skip Can't create temporary file");
 
 unlink($file);
 ?>
index 31ee2a3e073412e3ea851bab7219a66b5b8039ac..8e9e60b99e3a645a55afb5e5d945bc9398af57ca 100644 (file)
@@ -8,14 +8,14 @@ MySQLPDOTest::skip();
 $db = MySQLPDOTest::factory();
 
 try {
-       $query = "SELECT '', NULL, \"\" FROM DUAL";
-       $stmt = $db->prepare($query);
-       $ok = @$stmt->execute();
+    $query = "SELECT '', NULL, \"\" FROM DUAL";
+    $stmt = $db->prepare($query);
+    $ok = @$stmt->execute();
 } catch (PDOException $e) {
-       die("skip: Test cannot be run with SQL mode ANSI");
+    die("skip: Test cannot be run with SQL mode ANSI");
 }
 if (!$ok)
-       die("skip: Test cannot be run with SQL mode ANSI");
+    die("skip: Test cannot be run with SQL mode ANSI");
 ?>
 --FILE--
 <?php
index 3526b35c24611a5fbc1d271c8cb03b917eb8a3ec..44f0a0ebb18d28d0ffeec2bbf575c30375ed3362 100644 (file)
@@ -11,7 +11,7 @@ $stmt = $db->query('SELECT VERSION() as _version');
 $row = $stmt->fetch(PDO::FETCH_ASSOC);
 $version = ((int)substr($row['_version'], 0, 1) * 10) + (int)substr($row['_version'], 2, 1);
 if ($version < 51)
-       die("skip Test needs MySQL 5.1+");
+    die("skip Test needs MySQL 5.1+");
 ?>
 --FILE--
 <?php
index e473d6716ec5685e66a939f53f9cbbefb7b5c269..c8f188a7389086bd22341bf643c6d8957639c25a 100644 (file)
@@ -11,15 +11,15 @@ $db = MySQLPDOTest::factory();
 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 50000)
-       die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 
 if (!MySQLPDOTest::isPDOMySQLnd())
-       die("skip This will not work with libmysql");
+    die("skip This will not work with libmysql");
 ?>
 --FILE--
 <?php
index 13f4f5769a2b8809ff3b73421e1af29620b930bb..683c6e0bbee0710dbc8d4811d65b790e7f53013c 100644 (file)
@@ -7,7 +7,7 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
 MySQLPDOTest::skip();
 $db = MySQLPDOTest::factory();
 if (MYSQLPDOTest::isPDOMySQLnd())
-       die("skip libmysql only test");
+    die("skip libmysql only test");
 ?>
 --FILE--
 <?php
index 21fd83f57d7792635e0205ce36db08094bc3a813..1c492dfc061cc95c538d37e89c04f1d449e41975 100644 (file)
@@ -12,12 +12,12 @@ $db = MySQLPDOTest::factory();
 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
 $matches = array();
 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
-       die(sprintf("skip Cannot determine MySQL Server version\n"));
+    die(sprintf("skip Cannot determine MySQL Server version\n"));
 
 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
 if ($version < 50000)
-       die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
-               $matches[1], $matches[2], $matches[3], $version));
+    die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
+        $matches[1], $matches[2], $matches[3], $version));
 ?>
 --FILE--
 <?php
index 5606ad4b86bc931398c47a77bca11c6a642e6739..d3be88d3aad3033ee80ec3af8d7fbbb7569108da 100644 (file)
@@ -4,10 +4,10 @@ ODBC
 <?php
 if (!extension_loaded('pdo_odbc')) print 'skip';
 if (substr(PHP_OS, 0, 3) == 'WIN' &&
-       false === getenv('PDOTEST_DSN') &&
-       false === getenv('PDO_ODBC_TEST_DSN') &&
-       !extension_loaded('com_dotnet')) {
-       die('skip - either PDOTEST_DSN or com_dotnet extension is needed to setup the connection');
+    false === getenv('PDOTEST_DSN') &&
+    false === getenv('PDO_ODBC_TEST_DSN') &&
+    !extension_loaded('com_dotnet')) {
+    die('skip - either PDOTEST_DSN or com_dotnet extension is needed to setup the connection');
 }
 --REDIRECTTEST--
 # magic auto-configuration
index 3e78098d0c8a99745df1f5e7ea8911a21634df02..afe8978ec34b201a28a54323d03fca3a4fac0a04 100644 (file)
@@ -19,17 +19,17 @@ $pass = 'testpass';
 
 // Assume that if we can't create or drop a user, this test needs to be skipped
 try {
-       $db->exec("DROP USER IF EXISTS $user");
-       $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
+    $db->exec("DROP USER IF EXISTS $user");
+    $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
 } catch (PDOException $e) {
-       die("skip You need CREATEUSER permissions to run the test");
+    die("skip You need CREATEUSER permissions to run the test");
 }
 
 // Peer authentication might prevent the test from properly running
 try {
-       $testConn = new PDO($dsn, $user, $pass);
+    $testConn = new PDO($dsn, $user, $pass);
 } catch (PDOException $e) {
-       echo "skip ".$e->getMessage();
+    echo "skip ".$e->getMessage();
 }
 
 $db->exec("DROP USER $user");
index 0c79faeeb963a56f77e4a4baccf95bc1e64c1994..25a200365a1a41b596999c1c0c6446bc274a8284 100644 (file)
@@ -9,7 +9,7 @@ PDOTest::skip();
 
 $db = PDOTest::factory();
 if (version_compare($db->getAttribute(PDO::ATTR_SERVER_VERSION), '9.0.0') < 0) {
-       die("skip Requires 9.0+");
+    die("skip Requires 9.0+");
 }
 
 ?>
index 1fd4e80e7d6695baeaf85e1ab87fd370930da438..c1ed7e615f4853b656f08308513f7d989a4a66f8 100644 (file)
@@ -19,17 +19,17 @@ $pass = 'testpass';
 
 // Assume that if we can't create or drop a user, this test needs to be skipped
 try {
-       $db->exec("DROP USER IF EXISTS $user");
-       $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
+    $db->exec("DROP USER IF EXISTS $user");
+    $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
 } catch (PDOException $e) {
-       die("skip You need CREATEUSER permissions to run the test");
+    die("skip You need CREATEUSER permissions to run the test");
 }
 
 // Peer authentication might prevent the test from properly running
 try {
-       $testConn = new PDO($dsn, $user, $pass);
+    $testConn = new PDO($dsn, $user, $pass);
 } catch (PDOException $e) {
-       echo "skip ".$e->getMessage();
+    echo "skip ".$e->getMessage();
 }
 
 $db->exec("DROP USER $user");
index 0023f9103158c1b557de705c567317a1c16b5c1b..aca253f7b717a2f2cff935800d9ad345c19f1005 100644 (file)
@@ -20,7 +20,7 @@ var_dump($db->exec('CREATE TABLE test2 (id INT);'));
 <?php
 $filename = __DIR__ . DIRECTORY_SEPARATOR . "pdo_sqlite_open_flags.db";
 if (file_exists($filename)) {
-       unlink($filename);
+    unlink($filename);
 }
 ?>
 --EXPECTF--
index b9d80929cc8b08a6971b3bfa2d87697a5102933d..7887a24072325adf0c9b9e6cef9dd4b96807afc5 100644 (file)
@@ -5,8 +5,8 @@ Phar: phar:// include with Opcache
 <?php if (!extension_loaded("phar")) die("skip"); ?>
 <?php if (!extension_loaded('Zend OPcache')) die('skip Zend OPcache extension not available'); ?>
 <?php
-       $cache_dir = dirname(__FILE__) . "/024-file_cache";
-       if (!is_dir($cache_dir) && !mkdir($cache_dir)) die("skip unable to create file_cache dir");
+    $cache_dir = dirname(__FILE__) . "/024-file_cache";
+    if (!is_dir($cache_dir) && !mkdir($cache_dir)) die("skip unable to create file_cache dir");
 ?>
 --INI--
 phar.require_hash=0
index c287bb339f09be2d38cbf156df497c38fca47920..40d908f1eeb01ac5302f8a9f7a5519a6f359eea6 100644 (file)
@@ -1,8 +1,8 @@
 --TEST--
 Phar: Bug #77022: PharData always creates new files with mode 0666
 --SKIPIF--
-<?php 
-if (!extension_loaded("phar")) die("skip"); 
+<?php
+if (!extension_loaded("phar")) die("skip");
 if (defined("PHP_WINDOWS_VERSION_MAJOR")) die("skip not for Windows")
 ?>
 --FILE--
index 9ced140b28f91f2e05290930a324a10b3a5794fb..512c4fb95c48c2621faaf83a20ca79ff76b8dc20 100644 (file)
@@ -1,8 +1,8 @@
 --TEST--
 Phar: Bug #79082: Files added to tar with Phar::buildFromIterator have all-access permissions
 --SKIPIF--
-<?php 
-if (!extension_loaded("phar")) die("skip"); 
+<?php
+if (!extension_loaded("phar")) die("skip");
 if (defined("PHP_WINDOWS_VERSION_MAJOR")) die("skip not for Windows")
 ?>
 --FILE--
index e67d03638805ea87df00c3975dbf6269811e9cb6..99d1ee7a060b3f912ce15c06fb4b06487e8dcffb 100644 (file)
@@ -2,8 +2,8 @@
 Phar::buildFromDirectory() - non-directory passed as first parameter
 --SKIPIF--
 <?php
-       if (!extension_loaded("phar")) die("skip");
-       if (substr(PHP_OS, 0, 3) != "WIN") die("skip Windows only test");
+    if (!extension_loaded("phar")) die("skip");
+    if (substr(PHP_OS, 0, 3) != "WIN") die("skip Windows only test");
 ?>
 --INI--
 phar.require_hash=0
index d02d6146d64cbe0ddb9fa1ec78759d2413b8e986..0d25a60afad5e11585134fae26cb12093e487759 100644 (file)
@@ -2,8 +2,8 @@
 Phar::buildFromDirectory() - non-directory passed as first parameter
 --SKIPIF--
 <?php
-       if (!extension_loaded("phar")) die("skip");
-       if (substr(PHP_OS, 0, 3) == "WIN") die("skip not for Windows");
+    if (!extension_loaded("phar")) die("skip");
+    if (substr(PHP_OS, 0, 3) == "WIN") die("skip not for Windows");
 ?>
 --INI--
 phar.require_hash=0
index 1d277659c49ecb1999eef0e8c8c68d66463823b6..b6e064801439f05f3a403c6953deced753b5d323 100644 (file)
@@ -8,7 +8,7 @@ Falko Menge, mail at falko-menge dot de
 PHP Testfest Berlin 2009-05-10
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) {
+    if (!extension_loaded('posix')) {
         die('SKIP - POSIX extension not available');
     }
     // needed because of #ifdef HAVE_CTERMID in posix.c
index e630ea852e946f680dedd0f4ac5717d91aacc5fc..ec8222832f3e7b7a7f792eee7495d782987999a7 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getgrgid() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index bac9f4f6100bad97607134ead88a4cd4793dbcc7..46314f9aa43f246c776a56f7d1b0814bac365b37 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getgrgid() function : error conditions
 --SKIPIF--
 <?php
-       if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+    if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
 ?>
 --FILE--
 <?php
index 2408c62850c0c46d5fc41998256bc8c5e0ed27f5..c75a24c4ebb8290858106f4e86770ad09a242800 100644 (file)
@@ -2,8 +2,8 @@
 Test posix_getgrnam() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
-       if (!posix_getgroups()) die('skip - groups unavailable (ci)');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!posix_getgroups()) die('skip - groups unavailable (ci)');
 ?>
 --FILE--
 <?php
index 7a877d7663ba39e133df2bb11813703566466a1d..e6e00fd6b17dc2ca4e3113a35a233e6b78c68267 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getgroups() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index 57efab7c3fbd8fa39327d85aaddfcead7699212f..ec4e59052fb13b2e020ba044714f267c29ebcf61 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getpgid() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index d6f0512ab40def9eda45e528afc2b42afb5ecb74..e7e3ec4207375e8b3a0c5ffdc7f3c7e4c245c696 100644 (file)
@@ -3,7 +3,7 @@ Test posix_getpgid() function : error conditions
 --SKIPIF--
 <?php
 if((!extension_loaded("posix")) || (!function_exists("posix_getpgid"))) {
-        print "skip - POSIX extension not loaded or posix_getpgid() does not exist";
+     print "skip - POSIX extension not loaded or posix_getpgid() does not exist";
 }
 ?>
 --FILE--
index ceb78bb700bfcfc1f2ffdc6846d33f30fa6d5531..84da54d56307dd27fcc22352da57daeb5d656ddc 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getpgrp() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index a52895946dda256ecdef6f55734346510ebb354b..1a49e948768ab1883525793531e14b9e957a24d3 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getpid() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index 2fc4ff43ae611cfce222d32cfadc7e56ecfab958..96790ed77ecac343c0db9019665c6b4dd8e509a3 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getppid() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index e45b6fa95dfdd6daddc8299b6e48c83d45a5e212..9a7b473eccb653e078baca5adfb6f576d1b32c35 100644 (file)
@@ -5,7 +5,7 @@ Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
 User Group: PHPSP #phptestfestbrasil
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index a604ce36cf8e9d8ddaaf711238fabfc04c7df591..76aa2989cc2a97fb02f42da8ef765684f1ec1a69 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getpwuid() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index b45b32ccac06aa5f9c2ed54abdbf43f3e71939b6..15bd93b80d2221d972d894bbf92eabb084167e43 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getpwuid() function : error conditions
 --SKIPIF--
 <?php
-       if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+    if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
 ?>
 --FILE--
 <?php
index c538f61d7e395fa29bd52758fdf39c19e268f6b8..0f99daf49e51635d7569dc5dc53b24c86fd1fb5e 100644 (file)
@@ -8,7 +8,7 @@ Moritz Neuhaeuser, info@xcompile.net
 PHP Testfest Berlin 2009-05-10
 --SKIPIF--
 <?php
-       if(!extension_loaded("posix")) print "SKIP - POSIX extension not loaded";
+    if(!extension_loaded("posix")) print "SKIP - POSIX extension not loaded";
 ?>
 --FILE--
 <?php
index 758ec6055dab8582759b4370987d430c06f67971..8726adbb27bc17f281a021897fce52e4766e607f 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_getsid() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index 08080230aa549f45f039714f601e506cb879a987..afd4eb844b18993f9dcc4c6e8918df6804ea1328 100644 (file)
@@ -7,7 +7,7 @@ Moritz Neuhaeuser, info@xcompile.net
 PHP Testfest Berlin 2009-05-10
 --SKIPIF--
 <?php
-       if(!extension_loaded("posix")) {
+    if(!extension_loaded("posix")) {
         die("SKIP - POSIX extension not loaded");
     }
 ?>
index e378fa241f8ffc4236e1d17742682ea63305005d..9f0ca0b158a5093cea0c18730d0ef797e53350bd 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_kill() function : error conditions
 --SKIPIF--
 <?php
-       if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+    if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
 ?>
 --FILE--
 <?php
index 1c3775a3238f41685f4c8dfeeab05f1ab6a9e691..bdbe867b9f101b4efebc129f0672ca818e74388a 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_strerror() function : error conditions
 --SKIPIF--
 <?php
-       if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+    if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
 ?>
 --FILE--
 <?php
index 4f069b2d8d5406178f57d9c75f5c9c23155f6fa1..a6bf93dba85395f2f0ceab9ee272a189ce4440ba 100644 (file)
@@ -8,7 +8,7 @@ Falko Menge, mail at falko-menge dot de
 PHP Testfest Berlin 2009-05-10
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) {
+    if (!extension_loaded('posix')) {
         die('SKIP - POSIX extension not available');
     }
 ?>
index 49da6b8aebd05b6daef94b208203206f68321d46..fd06320b0c2b4257b38358a2144edab1c73b1e4f 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_times() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index c63fe27ec975e65fa0a73bc8720d63520408d16f..874077897c6781112cc4880ac25ea21b1b821969 100644 (file)
@@ -8,7 +8,7 @@ Falko Menge, mail at falko-menge dot de
 PHP Testfest Berlin 2009-05-10
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) {
+    if (!extension_loaded('posix')) {
         die('SKIP - POSIX extension not available');
     }
 ?>
index 98488f68d19fce5008437b710b9a0deeed3a16a6..9d070d8ec313d86be8060d6b051dbdc3bfe62f19 100644 (file)
@@ -9,10 +9,10 @@ Falko Menge, mail at falko-menge dot de
 PHP Testfest Berlin 2009-05-10
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) {
+    if (!extension_loaded('posix')) {
         die('SKIP - POSIX extension not available');
     }
-       if (!extension_loaded('standard')) {
+    if (!extension_loaded('standard')) {
         die('SKIP - Standard extension not available');
     }
 ?>
index 49c2cf56091847d465b739639f6b918201c19ffd..4133b745a44937ecf9f677968becd08e933385d6 100644 (file)
@@ -2,7 +2,7 @@
 Test posix_uname() function : basic functionality
 --SKIPIF--
 <?php
-       if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
 ?>
 --FILE--
 <?php
index 000671cf8fb1d8b17617055e0921d8f8a22d30ee..64d97fff88c7cb403082c2e2f7780c33038d9d06 100644 (file)
@@ -4,7 +4,7 @@ pspell basic tests (warning: may fail with pspell/aspell < GNU Aspell 0.50.3)
 <?php
 if (!extension_loaded("pspell")) die("skip");
 if (!@pspell_new ("en", "", "", "", (PSPELL_FAST|PSPELL_RUN_TOGETHER))) {
-       die("skip English dictionary is not available");
+    die("skip English dictionary is not available");
 }
 ?>
 --FILE--
index d14c7a2f46265cb222d796f867b1aa16ef7eb1b1..3a558b11eb662e7791f9324670dd722336772f36 100644 (file)
@@ -4,7 +4,7 @@ readline_info(): Basic test
 <?php if (!extension_loaded("readline")) die("skip");
 if (READLINE_LIB != "libedit") die("skip libedit only");
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-       die('skip windows only test');
+    die('skip windows only test');
 }
 ?>
 --FILE--
index 4c77e7a97c0c3b97feaf583d6a36717a20990c34..46618120fba8a21f8d19cbd51f5d470fc13e288d 100644 (file)
@@ -4,7 +4,7 @@ readline_info(): Basic test
 <?php if (!extension_loaded("readline")) die("skip");
 if (READLINE_LIB != "libedit") die("skip libedit only");
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
-       die('skip not for windows');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index 28af4cbfddc531e06f19e2a9b0aa324250534169..6cc94bd1294f5de8a817431c7481fdf6545a6479 100644 (file)
@@ -4,7 +4,7 @@ readline_write_history(): Basic test
 <?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip");
 if (READLINE_LIB != "libedit") die("skip libedit only");
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-       die('skip windows only test');
+    die('skip windows only test');
 }
 ?>
 --FILE--
index 14c3282e6d1738a570b84d0431f0bf0052f7c372..96424e232f6b932db03ca44f9a19a1c9f55ab8cb 100644 (file)
@@ -4,7 +4,7 @@ readline_write_history(): Basic test
 <?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip");
 if (READLINE_LIB != "libedit") die("skip libedit only");
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
-       die('skip not for windows');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index 8a1951062ff2905dacf8f3f4ab9cc967c1275d1f..e4546bdb78fbee69f1c9573ab5361e9cdc064b0a 100644 (file)
@@ -33,14 +33,14 @@ var_dump($rcB->getStaticPropertyValue("publicOverridden"));
 
 echo "\nRetrieving non-existent values from A with no default value:\n";
 try {
-       var_dump($rcA->getStaticPropertyValue("protectedDoesNotExist"));
+    var_dump($rcA->getStaticPropertyValue("protectedDoesNotExist"));
     echo "you should not see this";
 } catch (Exception $e) {
     echo $e->getMessage() . "\n";
 }
 
 try {
-       var_dump($rcA->getStaticPropertyValue("privateDoesNotExist"));
+    var_dump($rcA->getStaticPropertyValue("privateDoesNotExist"));
     echo "you should not see this";
 } catch (Exception $e) {
     echo $e->getMessage() . "\n";
index 1414cfadb7a3a9882f5f656cf44d08c7840e3480..2c855a0436747ebf32e6abd1f7d942e45dca8c88 100644 (file)
@@ -35,14 +35,14 @@ print_r($rcB->getStaticProperties());
 
 echo "\nSet non-existent values from A with no default value:\n";
 try {
-       var_dump($rcA->setStaticPropertyValue("protectedDoesNotExist", "new value 8"));
+    var_dump($rcA->setStaticPropertyValue("protectedDoesNotExist", "new value 8"));
     echo "you should not see this";
 } catch (Exception $e) {
     echo $e->getMessage() . "\n";
 }
 
 try {
-       var_dump($rcA->setStaticPropertyValue("privateDoesNotExist", "new value 9"));
+    var_dump($rcA->setStaticPropertyValue("privateDoesNotExist", "new value 9"));
     echo "you should not see this";
 } catch (Exception $e) {
     echo $e->getMessage() . "\n";
index 094bd31bcfd597e4622de601477b89d79e2c8f4d..f27e86387e4fa5890085bff5ee75ac5c2c23e417 100644 (file)
@@ -2,8 +2,8 @@
 Bug #42596 (session.save_path MODE option will not set "write" bit for group or world)
 --SKIPIF--
 <?php
-       if(substr(PHP_OS, 0, 3) == "WIN") die("skip not for Windows");
-       include('skipif.inc');
+    if(substr(PHP_OS, 0, 3) == "WIN") die("skip not for Windows");
+    include('skipif.inc');
 ?>
 --INI--
 session.use_cookies=0
index 5388f82f45b7a7e6982498dd928ad645b7bf2791..446a472ab46908520acb30badb23f6c6299bae09 100644 (file)
@@ -3,7 +3,7 @@ Test session_save_path() function : variation
 --SKIPIF--
 <?php include('skipif.inc');
 if(substr(PHP_OS, 0, 3) == "WIN")
-       die("skip Not for Windows");
+    die("skip Not for Windows");
 ?>
 --INI--
 session.save_handler=files
index 4cac82d2f0c8bc23f1f53f4be516f11f3884af82..a0f85922eef8de2abf6cb9a4fc188b45f1343d08 100644 (file)
@@ -2,9 +2,9 @@
 shmop extension test
 --SKIPIF--
 <?php
-       if (!extension_loaded("shmop")) {
-               die("skip shmop() extension not available");
-       }
+    if (!extension_loaded("shmop")) {
+        die("skip shmop() extension not available");
+    }
 ?>
 --FILE--
 <?php
index 6b82fc27c05825cf097e3c3183f34582d17842cb..40bbdbff23f840ceeed119ebcadd0b242a9b131e 100644 (file)
@@ -4,9 +4,9 @@ shmop extension error messages
 edgarsandi - <edgar.r.sandi@gmail.com>
 --SKIPIF--
 <?php
-       if (!extension_loaded("shmop")) {
-               die("skip shmop() extension not available");
-       }
+    if (!extension_loaded("shmop")) {
+        die("skip shmop() extension not available");
+    }
 ?>
 --FILE--
 <?php
index 06f3e791c3cb9ab4ef17c45b3aee9a66c366ad16..b283fc741364f9a11288860185efbc90ac965e74 100644 (file)
@@ -2,7 +2,7 @@
 SimpleXML: echo/print
 --SKIPIF--
 <?php
-       if (!extension_loaded('simplexml')) print 'skip';
+    if (!extension_loaded('simplexml')) print 'skip';
 ?>
 --FILE--
 <?php
index 307f8219cd70e35a4b80159cf419b8387e8a3fc0..f1a3e1a9428d3339cd5440052053aa14853bc4b7 100644 (file)
@@ -2,7 +2,7 @@
 SimpleXML: Attribute creation
 --SKIPIF--
 <?php
-       if (!extension_loaded('simplexml')) print 'skip';
+    if (!extension_loaded('simplexml')) print 'skip';
 ?>
 --FILE--
 <?php
index 59e6672a1f9c3025e2c22695344bb8bc4fc6b5c7..509ed7fb68f1f7a1ecc1f56579b7146867910a3e 100644 (file)
@@ -2,7 +2,7 @@
 SimpleXML: Split text content
 --SKIPIF--
 <?php
-       if (!extension_loaded('simplexml')) print 'skip';
+    if (!extension_loaded('simplexml')) print 'skip';
 ?>
 --FILE--
 <?php
index f03f8a01be35a78b3ee1ac53151bbb2722703bda..db06b6e09ae92cb05756cb4dc577000e4a45557a 100644 (file)
@@ -3,7 +3,7 @@ Check if %EXTNAME% is loaded
 --SKIPIF--
 <?php
 if (!extension_loaded('%EXTNAME%')) {
-       echo 'skip';
+    echo 'skip';
 }
 ?>
 --FILE--
index dcbdd8f2b28b1c113ad2a38fb1b6092f2fa960bd..6b42a28db3d6e7b6b71cd127c9018c6281e0e2f8 100644 (file)
@@ -3,7 +3,7 @@ test1() Basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('%EXTNAME%')) {
-       echo 'skip';
+    echo 'skip';
 }
 ?>
 --FILE--
index 84c9fe160204a186857695968961fe31ac414522..0aca2155b5548284a6a01648df717e0ca681aa17 100644 (file)
@@ -3,7 +3,7 @@
 --SKIPIF--
 <?php
 if (!extension_loaded('%EXTNAME%')) {
-       echo 'skip';
+    echo 'skip';
 }
 ?>
 --FILE--
index 9dac2c9e1bba4a2c61e28aca485545853b9b1a9a..5ad75353db86b6d1eeeb89c8307ba521cb577518 100644 (file)
@@ -8,7 +8,7 @@ require_once(__DIR__.'/skipif.inc');
 
 $packed = str_repeat(chr(0), 15) . chr(1);
 if (@inet_ntop($packed) === false) {
-       die("skip no IPv6 support");
+    die("skip no IPv6 support");
 }
 ?>
 --FILE--
index 38bf7ffcb60c42ca4af255b5248f2fbd8e00edd2..a4ae028e42e9b79309d5fb97b035c0781de89dea 100644 (file)
@@ -8,7 +8,7 @@ require_once(__DIR__.'/skipif.inc');
 
 $packed = str_repeat(chr(0), 15) . chr(1);
 if (@inet_ntop($packed) === false) {
-       die("skip no IPv6 support");
+    die("skip no IPv6 support");
 }
 ?>
 --FILE--
index d835f2a2805f7a5b28ca7cbef14ee82c7d94f49b..4e7293286244e7690df4b8570a72fa063eb57589 100644 (file)
@@ -4,14 +4,14 @@ Bug #73037 SoapServer reports Bad Request when gzipped, var 0
 server
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       if (!extension_loaded("zlib")) {
-               echo "skip zlib is required for this test";
-       }
-
-       if (!file_exists(__DIR__ . "/../../../sapi/cli/tests/php_cli_server.inc")) {
-               echo "skip sapi/cli/tests/php_cli_server.inc required but not found";
-       }
+    require_once('skipif.inc');
+    if (!extension_loaded("zlib")) {
+        echo "skip zlib is required for this test";
+    }
+
+    if (!file_exists(__DIR__ . "/../../../sapi/cli/tests/php_cli_server.inc")) {
+        echo "skip sapi/cli/tests/php_cli_server.inc required but not found";
+    }
 ?>
 --FILE--
 <?php
index 46d2e1d9870745680abc77af7e6c8bcdc2c933d6..b402ef889669c7b998f290870c985e40917c49ca 100644 (file)
@@ -2,7 +2,7 @@
 Bug #77088 (Segfault when using SoapClient with null options)
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
+    require_once('skipif.inc');
 ?>
 --FILE--
 <?php
index 7a92a766079db5690ec820c9235f3ac1f3ac3827..17a074f102425a269ac6499e13bc425fa634d0b6 100644 (file)
@@ -2,11 +2,11 @@
 SOAP customized Content-Type, eg. SwA use case
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
+    require_once('skipif.inc');
 
-       if (!file_exists(__DIR__ . "/../../../sapi/cli/tests/php_cli_server.inc")) {
-               echo "skip sapi/cli/tests/php_cli_server.inc required but not found";
-       }
+    if (!file_exists(__DIR__ . "/../../../sapi/cli/tests/php_cli_server.inc")) {
+        echo "skip sapi/cli/tests/php_cli_server.inc required but not found";
+    }
 ?>
 --CONFLICTS--
 server
index 88f58cf8cec357c8ac4d46c139af805f4beb6de1..b52a0519f6374203cb00287b67e1dda57ac51f13 100644 (file)
@@ -3,7 +3,7 @@ SOAP XML Schema 64: standard date/time types
 --SKIPIF--
 <?php
 if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
-       die('skip, windows has different TZ format');
+    die('skip, windows has different TZ format');
 }
 require_once('skipif.inc'); ?>
 --FILE--
index 28d195a3ce4010ad99d01e1e290ef5b00f53dfc4..c8367f1b624fbf5190c011ec112a835172dd4d0e 100644 (file)
@@ -2,10 +2,10 @@
 SOAP Server 9: setclass and setpersistence(SOAP_PERSISTENCE_SESSION)
 --SKIPIF--
 <?php
-       require_once('skipif.inc');
-       if (!extension_loaded('session')) {
-               die('skip this test needs session extension');
-       }
+    require_once('skipif.inc');
+    if (!extension_loaded('session')) {
+        die('skip this test needs session extension');
+    }
 ?>
 --INI--
 session.auto_start=1
index 132b4dc1a5044187b8781eda8050db9bc145633a..7838a824bc3255f519882261bbd4ff8a573e9afc 100644 (file)
@@ -2,9 +2,9 @@
 SOAP Server 19: compressed request (gzip)
 --SKIPIF--
 <?php
-       if (php_sapi_name()=='cli') echo 'skip';
-       require_once('skipif.inc');
-       if (!extension_loaded('zlib')) die('skip zlib extension not available');
+    if (php_sapi_name()=='cli') echo 'skip';
+    require_once('skipif.inc');
+    if (!extension_loaded('zlib')) die('skip zlib extension not available');
 ?>
 --INI--
 precision=14
index 69eb4f097b57a7379485f616064144d96db2ec7b..c98517edeac5a40aef8330fefd4ce5d7cf9f5bf2 100644 (file)
@@ -2,9 +2,9 @@
 SOAP Server 20: compressed request (deflate)
 --SKIPIF--
 <?php
-       if (php_sapi_name()=='cli') echo 'skip';
-       require_once('skipif.inc');
-       if (!extension_loaded('zlib')) die('skip zlib extension not available');
+    if (php_sapi_name()=='cli') echo 'skip';
+    require_once('skipif.inc');
+    if (!extension_loaded('zlib')) die('skip zlib extension not available');
 ?>
 --INI--
 precision=14
index f5b28699a53dab8fa8fe03adfc7ee9d3fa158100..7a75a2fec3d5519b434ca6b2d4fc9d448addd52d 100644 (file)
@@ -14,8 +14,8 @@ SOAP Server 29-CGI: new/addfunction/handle
 </SOAP-ENV:Envelope>
 --SKIPIF--
 <?php
-       if (php_sapi_name()=='cli') echo 'skip';
-       require_once('skipif.inc');
+    if (php_sapi_name()=='cli') echo 'skip';
+    require_once('skipif.inc');
 ?>
 --FILE--
 <?php
index 975626634374fdd1d4d467a7c83fccd29e9029e9..8f47fad0f033544906d10c8352cecad459eb6a1b 100644 (file)
@@ -6,10 +6,10 @@ if (!extension_loaded('sockets')) {
     die('skip sockets extension not available.');
 }
 if (!defined('IPPROTO_IPV6')) {
-       die('skip IPv6 not available.');
+    die('skip IPv6 not available.');
 }
 if (PHP_OS != "WINNT")
-       die('skip test relies Winsock\'s error code for WSAEWOULDBLOCK/EAGAIN');
+    die('skip test relies Winsock\'s error code for WSAEWOULDBLOCK/EAGAIN');
 --FILE--
 <?php
 $listenfd = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP);
index 4e5d15453bc4afd807e3fa5b4bc33526f2a9f8e5..03147732914747a177b47366fa41d381334a5152 100644 (file)
@@ -2,9 +2,9 @@
 IPv4 Loopback test
 --SKIPIF--
 <?php
-       if (!extension_loaded('sockets')) {
-               die('skip sockets extension not available.');
-       }
+    if (!extension_loaded('sockets')) {
+        die('skip sockets extension not available.');
+    }
 ?>
 --FILE--
 <?php
index 109da5bc2db2861b93bdabd814ddfdbf1196a5f7..f6f141805d57e77effb2e2537b089911628d7de8 100644 (file)
@@ -2,10 +2,10 @@
 IPv6 Loopback test
 --SKIPIF--
 <?php
-       if (!extension_loaded('sockets')) {
-               die('skip sockets extension not available.');
-       }
-       require 'ipv6_skipif.inc';
+    if (!extension_loaded('sockets')) {
+        die('skip sockets extension not available.');
+    }
+    require 'ipv6_skipif.inc';
 ?>
 --FILE--
 <?php
index 0f17eb67c6f87c09ae8e4202a97397f8082bab4e..fded01e2e8fa97aa939be9f1484a9541d1b7b1f2 100644 (file)
@@ -9,8 +9,8 @@ if (getenv('SKIP_ONLINE_TESTS')) die('skip online test');
 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
 $br = socket_bind($s, '0.0.0.0', 3000);
 $so = @socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array(
-       "group" => '224.0.0.23',
-       "interface" => 'lo',
+    "group"    => '224.0.0.23',
+    "interface" => 'lo',
 ));
 if ($so === false) {
     die('skip interface \'lo\' is unavailable.');
index e1e88aca416fe29bd320fa6a7121fc30cdc47c7b..027c07f1b81588ce1dcb1a8bb3968bff25ad033f 100644 (file)
@@ -7,7 +7,7 @@ if (!extension_loaded('sockets')) {
 }
 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP) or die("err");
 if (socket_set_option($s, IPPROTO_IP, IP_MULTICAST_IF, 1) === false) {
-       die("skip interface 1 either doesn't exist or has no ipv4 address");
+    die("skip interface 1 either doesn't exist or has no ipv4 address");
 }
 --FILE--
 <?php
index 978b78938bba85a73efc51b922c1cb380753bc57..5e3ff394cf1b7d2001b2a1e475e188b8fd9ebc50 100644 (file)
@@ -9,10 +9,10 @@ $domain = AF_INET;
 $level = IPPROTO_IP;
 $s = socket_create($domain, SOCK_DGRAM, SOL_UDP);
 if ($s === false) {
-       die("skip unable to create socket");
+    die("skip unable to create socket");
 }
 if (socket_set_option($s, $level, IP_MULTICAST_IF, 1) === false) {
-       die("skip interface 1 either doesn't exist or has no ipv4 address");
+    die("skip interface 1 either doesn't exist or has no ipv4 address");
 }
 --FILE--
 <?php
index 757bf9889b8dbfca292ea318f8a0909887615cd4..127e9d17cfa42fbf8d131b511e0d78ef19fd70c9 100644 (file)
@@ -6,7 +6,7 @@ if (!extension_loaded('sockets')) {
     die('skip sockets extension not available.');
 }
 if (!defined('IPPROTO_IPV6')) {
-       die('skip IPv6 not available.');
+    die('skip IPv6 not available.');
 }
 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP);
 if ($s === false) {
@@ -17,28 +17,28 @@ $br = socket_bind($s, '::', 3000);
  * troublesome to send multicast traffic from lo, which we must since
  * we're dealing with interface-local traffic... */
 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array(
-       "group" => 'ff01::114',
-       "interface" => 0,
+    "group"    => 'ff01::114',
+    "interface" => 0,
 ));
 if ($so === false) {
     die('skip unable to join multicast group on any interface.');
 }
 $r = socket_sendto($s, $m = "testing packet", strlen($m), 0, 'ff01::114', 3000);
 if ($r === false) {
-       die('skip unable to send multicast packet.');
+    die('skip unable to send multicast packet.');
 }
 
 if (!defined("MCAST_JOIN_SOURCE_GROUP"))
     die('skip source operations are unavailable');
 
 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array(
-       "group" => 'ff01::114',
-       "interface" => 0,
+    "group"    => 'ff01::114',
+    "interface" => 0,
 ));
 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array(
-       "group" => 'ff01::114',
-       "interface" => 0,
-       "source" => '2001::dead:beef',
+    "group"    => 'ff01::114',
+    "interface" => 0,
+    "source" => '2001::dead:beef',
 ));
 if ($so === false) {
     die('skip protocol independent multicast API is unavailable.');
index 9bf0bbf91492a1f5fe2da0017e7e46fc98445163..247c41b19d577f693ae344f68bed20d7abb14d77 100644 (file)
@@ -6,7 +6,7 @@ if (!extension_loaded('sockets')) {
     die('skip sockets extension not available.');
 }
 if (!defined('IPPROTO_IPV6')) {
-       die('skip IPv6 not available.');
+    die('skip IPv6 not available.');
 }
 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP);
 $br = socket_bind($s, '::', 3000);
@@ -14,29 +14,29 @@ $br = socket_bind($s, '::', 3000);
  * troublesome to send multicast traffic from lo, which we must since
  * we're dealing with interface-local traffic... */
 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_GROUP, array(
-       "group" => 'ff01::114',
-       "interface" => 0,
+    "group"    => 'ff01::114',
+    "interface" => 0,
 ));
 if ($so === false) {
     die('skip unable to join multicast group on any interface.');
 }
 $r = socket_sendto($s, $m = "testing packet", strlen($m), 0, 'ff01::114', 3000);
 if ($r === false) {
-       die('skip unable to send multicast packet.');
+    die('skip unable to send multicast packet.');
 }
 $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_LEAVE_GROUP, array(
-       "group" => 'ff01::114',
-       "interface" => 0,
+    "group"    => 'ff01::114',
+    "interface" => 0,
 ));
 if (defined("MCAST_JOIN_SOURCE_GROUP")) {
-       $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array(
-               "group" => 'ff01::114',
-               "interface" => 0,
-               "source" => '2001::dead:beef',
-       ));
-       if ($so !== false) {
-           die('skip protocol independent multicast API is available.');
-       }
+    $so = @socket_set_option($s, IPPROTO_IPV6, MCAST_JOIN_SOURCE_GROUP, array(
+        "group"        => 'ff01::114',
+        "interface" => 0,
+        "source" => '2001::dead:beef',
+    ));
+    if ($so !== false) {
+        die('skip protocol independent multicast API is available.');
+    }
 }
 --FILE--
 <?php
index d9fec9e72bb230ba436eadb356d756df9f4d8970..ed8fe55ef5bb00b48f89901c78c587ab943714b4 100644 (file)
@@ -6,12 +6,12 @@ if (!extension_loaded('sockets')) {
     die('skip sockets extension not available.');
 }
 if (getenv('CI_NO_IPV6') || !defined('IPPROTO_IPV6')) {
-       die('skip IPv6 not available.');
+    die('skip IPv6 not available.');
 }
 $level = IPPROTO_IPV6;
 $s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP) or die("skip Can not create socket");
 if (socket_set_option($s, $level, IPV6_MULTICAST_IF, 1) === false) {
-       die("skip interface 1 either doesn't exist or has no ipv6 address");
+    die("skip interface 1 either doesn't exist or has no ipv6 address");
 }
 --FILE--
 <?php
index bbe4debeaa583d39f58c30d0da392f7316c4ddc5..686a487791cfe0d83e89026789e57360ca039585 100644 (file)
@@ -3,10 +3,10 @@ Support for paths in the abstract namespace (bind, connect)
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets'))
-       die('skip sockets extension not available.');
+    die('skip sockets extension not available.');
 
 if (PHP_OS != 'Linux') {
-       die('skip For Linux only');
+    die('skip For Linux only');
 }
 ?>
 --FILE--
index ca9ab3f5348b00eb6b6d2c9b3bd1c9abd6408a16..796b406e26e696d3c44db9f418c92bf717bec849 100644 (file)
@@ -3,10 +3,10 @@ Support for paths in the abstract namespace (bind, sendmsg, recvmsg)
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets'))
-       die('skip sockets extension not available.');
+    die('skip sockets extension not available.');
 
 if (PHP_OS != 'Linux') {
-       die('skip For Linux only');
+    die('skip For Linux only');
 }
 ?>
 --FILE--
index 3a0b1ea162a7af0d01597f339a1246768460f700..c875cfd2e80fa31f578577d4dd9dae1076acb54f 100644 (file)
@@ -8,7 +8,7 @@ if (!extension_loaded('sockets')) {
   die('SKIP sockets extension not available.');
 }
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-       die('skip windows only test');
+    die('skip windows only test');
 }
 ?>
 --FILE--
index 273f7a0ca8d4ef4a3159fbcab7f4ec35909efc09..9ea770954d539d48375c47cf64df4b3bf8a8bd3c 100644 (file)
@@ -8,7 +8,7 @@ if (!extension_loaded('sockets')) {
   die('SKIP sockets extension not available.');
 }
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
-       die('skip windows only test');
+    die('skip windows only test');
 }
 ?>
 --FILE--
index 89d8dde0b2b83ae958ad63a3934ca6c76f1f7549..73cc857617c9ef77f17f66b23d03a0a1b53177c6 100644 (file)
@@ -3,7 +3,7 @@ Test if socket binds on 31338
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) != 'WIN') {
-       die('skip.. Not valid for non Windows');
+    die('skip.. Not valid for non Windows');
 }
 if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
index 180b91368c4e79429c798face1202d0d75ee1c0f..131526bb0d213dbff10deb917ae00a0ebd946516 100644 (file)
@@ -3,7 +3,7 @@ Test if socket binds on 31338
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
index 5b6934d965205b64c30cdebab59be536b410d173..1abab2a1e775c3c18601b250a73228122b1ed892 100644 (file)
@@ -3,7 +3,7 @@ Test parameter handling in socket_create_pair()
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) != 'WIN') {
-       die('skip.. Not valid for non Windows');
+    die('skip.. Not valid for non Windows');
 }
 if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
index 7adbc91d8ad5a84ccab544e4a2bd6179e87d8904..8dc56d1e366ad3613407bd1a70bb3146810e6644 100644 (file)
@@ -3,7 +3,7 @@ Test parameter handling in socket_create_pair()
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
index a3788f8c724d8dd7914c649231c3b53a2b457df3..45ed57974c328cef703f6b745b4335ed0705b4f8 100644 (file)
@@ -3,7 +3,7 @@ socket_export_stream: Basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 --FILE--
 <?php
index 503db5b00404e4757617544849ec262a738cd843..00e7a61929f38934babaee90fbdc8b88048b5d29 100644 (file)
@@ -3,7 +3,7 @@ socket_export_stream: Bad arguments
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 --FILE--
 <?php
index a1bffdbad654ae161633866cf6cea637f4dfb892..560718b4577659c6d0874127de9a88fd3724ff52 100644 (file)
@@ -3,18 +3,18 @@ socket_export_stream: Test with multicasting
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
 $br = @socket_bind($s, '0.0.0.0', 58393);
 if ($br === false)
-       die("SKIP IPv4/port 58393 not available");
+    die("SKIP IPv4/port 58393 not available");
 $so = @socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array(
-       "group" => '224.0.0.23',
-       "interface" => "lo",
+    "group"    => '224.0.0.23',
+    "interface" => "lo",
 ));
 if ($so === false)
-       die("SKIP joining group 224.0.0.23 on interface lo failed");
+    die("SKIP joining group 224.0.0.23 on interface lo failed");
 --FILE--
 <?php
 
index 067e9fcc194f1c83d1622ac20e591f1d07863eba..fddd459a7df8a2fa967b58106acbb2836752b13f 100644 (file)
@@ -3,7 +3,7 @@ socket_export_stream: effects of closing
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
   die("skip Not Valid for Linux");
index 390689cce5110cc0e717328c693f5ef5c9482a22..a467b6d845f0cf4dfe3737fa00cb6c6e8caba474 100644 (file)
@@ -3,7 +3,7 @@ socket_export_stream: effects of closing
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
   die("skip Not Valid for Windows");
index 3ce2c2579c54ae0d5db4079f784598a837de373d..d5499222e2f2da96d945ce3179795e3f0a904cd1 100644 (file)
@@ -3,10 +3,10 @@ socket_export_stream: effects of leaked handles
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 if (!function_exists('zend_leak_variable'))
-       die('SKIP only for debug builds');
+    die('SKIP only for debug builds');
 ?>
 --INI--
 report_memleaks=0
index 3dab562bbbf6690d9429b70eb8bd8873235a8991..c5f61ec5470aa312733786967b6fbd32164b37a7 100644 (file)
@@ -6,7 +6,7 @@ Tatjana Andersen tatjana.andersen@redpill-linpro.com
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('skip sockets extension not available.');
+    die('skip sockets extension not available.');
 }
 require 'ipv6_skipif.inc';
 ?>
index 9931535721a336647c0de80456b2b22c16c17ac4..a89ccf807e27238fe27b68ec180a7322adbbd2e2 100644 (file)
@@ -3,7 +3,7 @@ socket_import_stream: Basic test
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 --FILE--
 <?php
index a16a3dc18a54aba06fef2556cac91ce5a22a6fab..ff2b9ee975a13394bbe3e38e463494f52b54a8ed 100644 (file)
@@ -3,7 +3,7 @@ socket_import_stream: Bad arguments
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 --FILE--
 <?php
index 972a3d6fcf90cd11c911a8dd706e6bb294b27537..635d43cdbd8056fe6192716de0b4ea1271520056 100644 (file)
@@ -3,18 +3,18 @@ socket_import_stream: Test with multicasting
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 $s = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
 $br = @socket_bind($s, '0.0.0.0', 58379);
 if ($br === false)
-       die("SKIP IPv4/port 58379 not available");
+    die("SKIP IPv4/port 58379 not available");
 $so = @socket_set_option($s, IPPROTO_IP, MCAST_JOIN_GROUP, array(
-       "group" => '224.0.0.23',
-       "interface" => "lo",
+    "group"    => '224.0.0.23',
+    "interface" => "lo",
 ));
 if ($so === false)
-       die("SKIP joining group 224.0.0.23 on interface lo failed");
+    die("SKIP joining group 224.0.0.23 on interface lo failed");
 --FILE--
 <?php
 
index 9b5863cf2b950d4cbb6ddbe29f0dbc9a5fa0d310..94af0ab5c1b9f8b382857c9d5416f4ecf355a4b9 100644 (file)
@@ -3,7 +3,7 @@ socket_import_stream: effects of closing
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
   die("skip Not Valid for Linux");
index 592dbd6c04a44fc37f9bf1fc6f0163b39a9d1b94..9c11611d03fb3c8de94e6cd766d2ead043f4c41b 100644 (file)
@@ -3,7 +3,7 @@ socket_import_stream: effects of closing
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
   die("skip Not Valid for Windows");
index ce10168650d2b7a8a943fa40cd0a5e34cf111330..c2acf94f363d1fa6dc6dd748b37255dda71fdc21 100644 (file)
@@ -3,10 +3,10 @@ socket_import_stream: effects of leaked handles
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets')) {
-       die('SKIP sockets extension not available.');
+    die('SKIP sockets extension not available.');
 }
 if (!function_exists('zend_leak_variable'))
-       die('SKIP only for debug builds');
+    die('SKIP only for debug builds');
 ?>
 --INI--
 report_memleaks=0
index 5262d5e4b33405410d52091bc143e504d6e997d8..c7c066b5edc0d2f495b80822bce53660adaef0d5 100644 (file)
@@ -3,7 +3,7 @@ Test parameter handling in socket_listen().
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
index 21c3c9e8d9a6be4d15c02cc6b004d729e1e2897e..40a9e118e427acb86661a5102eb93f57345ddc5a 100644 (file)
@@ -3,7 +3,7 @@ Test parameter handling in socket_select().
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) != 'WIN') {
-       die('skip.. Not valid for non Windows');
+    die('skip.. Not valid for non Windows');
 }
 if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
index 91286d13720456bd42f890718427e4f43212ffc3..695eb62d01260d78534e933ea2b5270a0373203e 100644 (file)
@@ -3,7 +3,7 @@ Test parameter handling in socket_select().
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
index a5aaea35a4cc0f104dcfcc74225f0e3146b2ea43..062ed094f2eaca4e713e48d04a5033ede9359b91 100644 (file)
@@ -3,14 +3,14 @@ sendmsg()/recvmsg(): test ability to receive multiple messages
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets'))
-       die('skip sockets extension not available.');
+    die('skip sockets extension not available.');
 
 require 'ipv6_skipif.inc';
 
 if (!defined('IPPROTO_IPV6'))
-       die('skip IPv6 not available.');
+    die('skip IPv6 not available.');
 if (substr(PHP_OS, 0, 3) == 'WIN')
-       die('skip Not for the Windows!');
+    die('skip Not for the Windows!');
 /* Windows supports IPV6_RECVTCLASS and is able to receive the tclass via
  * WSARecvMsg (though only the top 6 bits seem to reported), but WSASendMsg
  * does not accept IPV6_TCLASS messages */
index 9fe57a8258ed47ddbb8466ebdd206631a10595ea..abbd2a7aa85601909deeed45bbc29a0a53bc8a20 100644 (file)
@@ -3,12 +3,12 @@ sendmsg()/recvmsg(): test ability to receive multiple messages (WIN32)
 --SKIPIF--
 <?php
 if (!extension_loaded('sockets'))
-       die('skip sockets extension not available.');
+    die('skip sockets extension not available.');
 
 require 'ipv6_skipif.inc';
 
 if (!defined('IPPROTO_IPV6'))
-       die('skip IPv6 not available.');
+    die('skip IPv6 not available.');
 /* Windows supports IPV6_RECVTCLASS and is able to receive the tclass via
  * WSARecvMsg (though only the top 6 bits seem to reported), but WSASendMsg
  * does not accept IPV6_TCLASS messages. We still test that sendmsg() works
index 2aa5f7f115fe7d2f9653fb2eab2de9becb87ce6b..9a686539daa16b31870d626a56697a03c15288fc 100644 (file)
@@ -6,7 +6,7 @@ if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
 }
 if (substr(PHP_OS, 0, 3) != 'WIN') {
-       die('skip only for Windows');
+    die('skip only for Windows');
 }
 require 'ipv6_skipif.inc';
 --FILE--
index de16c5c580f5f5cfcd8b369c1d7ef9af478d4787..75a2f73e68ff9c59d172dc7c78d41cc5d011816e 100644 (file)
@@ -6,7 +6,7 @@ if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
 }
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip Not valid for Windows');
+    die('skip Not valid for Windows');
 }
 require 'ipv6_skipif.inc';
 ?>
index 6e063c5b52018442efdda2b9979edffa7ae3a77c..a355a2486411fa23f798bfeaf56758ae490a78c2 100644 (file)
@@ -3,7 +3,7 @@ Test if socket_recvfrom() receives data sent by socket_sendto() through a Unix d
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
 if (!extension_loaded('sockets')) {
     die('SKIP The sockets extension is not loaded.');
index acce4d832c4e5dee850b9746730b692661e76a3f..9bd608384f01f6c108b36b0ccbfa374578ffb8b2 100644 (file)
@@ -9,10 +9,10 @@ if (!extension_loaded('sockets')) {
         die('SKIP sockets extension not available.');
 }
 if (!defined("SO_BINDTODEVICE")) {
-       die('SKIP SO_BINDTODEVICE not supported on this platform.');
+    die('SKIP SO_BINDTODEVICE not supported on this platform.');
 }
 if (!function_exists("posix_getuid") || posix_getuid() != 0) {
-       die('SKIP SO_BINDTODEVICE requires root permissions.');
+    die('SKIP SO_BINDTODEVICE requires root permissions.');
 }
 ?>
 --FILE--
index aced74b7f8ec3eed8479b2c1b49ca83618768a73..cc16c3a2158715c85ca39c30fca58fc545a89564 100644 (file)
@@ -8,7 +8,7 @@ if (!extension_loaded('sockets')) {
   die('SKIP sockets extension not available.');
 }
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-       die('skip windows only test');
+    die('skip windows only test');
 }
 ?>
 --FILE--
index 3dc62bc270731ef25e85b1b0b9f938a206445722..7c12b616c1669697bc60edde58d20f404f9f002a 100644 (file)
@@ -9,7 +9,7 @@ if (!extension_loaded('sockets')) {
   die('SKIP sockets extension not available.');
 }
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
-       die('skip not for windows');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index 31740c97c66e66ab2a2d2c4b6148acf9bac00559..c3b80ff588e623c55e6337366245db85040d5951 100644 (file)
@@ -3,11 +3,11 @@ Unix domain socket Loopback test
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip.. Not valid for Windows');
+    die('skip.. Not valid for Windows');
 }
-       if (!extension_loaded('sockets')) {
-               die('skip sockets extension not available.');
-       }
+    if (!extension_loaded('sockets')) {
+        die('skip sockets extension not available.');
+    }
 ?>
 --FILE--
 <?php
index 7ea50d359fc5d14b6f54e7a8f6daf0f1e7a668f0..2d189d55bcd779793322a4c8d63e987477c0371d 100644 (file)
@@ -3,10 +3,10 @@ Winsock export/import socket, basic test
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) != 'WIN') {
-       die('skip.. Windows only test');
+    die('skip.. Windows only test');
 }
 if (!extension_loaded('sockets')) {
-       die('skip sockets extension not available.');
+    die('skip sockets extension not available.');
 }
 ?>
 --FILE--
index 1393936c5a1a7e02b3da2ea2455961bdd5823f38..954811a784898431f901d27e43451934f3e8fd47 100644 (file)
@@ -4,17 +4,17 @@ Bug #65006: spl_autoload_register fails with multiple callables using self, same
 <?php
 
 class first {
-       public static function init() {
-               spl_autoload_register(array('self','load'));
-       }
-       public static function load($class) {}
+    public static function init() {
+        spl_autoload_register(array('self','load'));
+    }
+    public static function load($class) {}
 }
 
 class second {
-       public static function init() {
-               spl_autoload_register(array('self','load'));
-       }
-       public static function load($class){}
+    public static function init() {
+        spl_autoload_register(array('self','load'));
+    }
+    public static function load($class){}
 }
 
 first::init();
index 49b8cd7cc7a98da3aa8cd8295cf42f9c6673c8fb..b6622dd25f2457ec965d70e954e12adfdbfa370b 100644 (file)
@@ -4,9 +4,9 @@ SQLite3::prepare number of rows
 <?php require_once(__DIR__ . '/skipif.inc');
 // Create an instance of the ReflectionMethod class
 try {
-       $method = new ReflectionMethod('sqlite3result', 'numRows');
+    $method = new ReflectionMethod('sqlite3result', 'numRows');
 } catch (ReflectionException $e) {
-       die("skip SQLite3Result::numRows method does not exist");
+    die("skip SQLite3Result::numRows method does not exist");
 }
 ?>
 --FILE--
index 4b75b3b28f02cf3e6144734c10f635aa8a392e83..4bdb9fade4b1510c5fa99843e928a2fcd5be5e14 100644 (file)
@@ -3,7 +3,7 @@ SQLite3::open error test
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-       die('skip windows only test');
+    die('skip windows only test');
 }
 require_once(__DIR__ . '/skipif.inc');
 ?>
index 817affa78461ab50aac340a5c0fc1af0fce2bd16..219cb6051a9543aead15c990b45acafb62bdf373 100644 (file)
@@ -3,7 +3,7 @@ SQLite3::open error test
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
-       die('skip non windows test');
+    die('skip non windows test');
 }
 require_once(__DIR__ . '/skipif.inc');
 if (!function_exists('posix_geteui')) {
index 52a533d542aa37867b0095dd897d4de197d6139b..d4750b5f5e0f168c6d00ebf2b7d53aac7190d00d 100644 (file)
@@ -5,7 +5,7 @@ SQLite3 load extension
 require_once(__DIR__ . '/skipif.inc');
 $r = new ReflectionClass("sqlite3");
 if (!$r->hasMethod("loadExtension")) {
-       die("skip - sqlite3 doesn't have loadExtension enabled");
+    die("skip - sqlite3 doesn't have loadExtension enabled");
 }
 ?>
 --INI--
index ab5d3fc99a8de1440950a70d5311e028c116f20c..d8f59a5edb1b959d1391228b1ce3d38fac1f0a56 100644 (file)
@@ -10,7 +10,7 @@ sqlite3.extension_dir="{TMP}"
 require_once(__DIR__ . '/skipif.inc');
 
 if (!method_exists('SQLite3', 'loadExtension')) {
-       die("skip if SQLITE_OMIT_LOAD_EXTENSION defined");
+    die("skip if SQLITE_OMIT_LOAD_EXTENSION defined");
 }
 ?>
 --FILE--
index f04df7750b2a419de10db19aca716d2cc71c81cb..7b0d5fea531fc4b960514ee53cf3cb66e941d138 100644 (file)
@@ -8,7 +8,7 @@ Jelle Lampaert
 require_once(__DIR__ . '/skipif.inc');
 
 if (!method_exists('SQLite3', 'loadExtension')) {
-       die("skip if SQLITE_OMIT_LOAD_EXTENSION defined");
+    die("skip if SQLITE_OMIT_LOAD_EXTENSION defined");
 }
 ?>
 --FILE--
index 064d87b50a054ed3da6a2b749d5617b794da05f0..c8826af24f1cb69ca8ef78821ac81a4d9fceaea1 100644 (file)
@@ -4,7 +4,7 @@ SQLite3 defensive mode ini setting
 <?php require_once(__DIR__ . '/skipif.inc');
 
 if (SQLite3::version()['versionNumber'] < 3026000) {
-       die("skip: sqlite3 library version < 3.26: no support for defensive mode");
+    die("skip: sqlite3 library version < 3.26: no support for defensive mode");
 }
 
 ?>
index 9a893c590d3a97e41205db2b2623ad57b378cd4b..0b677c737848718def1689d4e1666d64bbdc7436 100644 (file)
@@ -4,7 +4,7 @@ SQLite3Stmt::getSQL expanded test
 <?php require_once(__DIR__ . '/skipif.inc');
 
 if (SQLite3::version()['versionNumber'] < 3014000) {
-       die('skip SQLite < 3.14 installed, requires SQLite >= 3.14');
+    die('skip SQLite < 3.14 installed, requires SQLite >= 3.14');
 }
 ?>
 --FILE--
index 59c8f072fa50706d3f20c623a5d696e624b8f77d..f6b2934474b83c03961f8c3af17e8bc6cd4c3eed 100644 (file)
@@ -3,7 +3,7 @@ Test opendir() function : usage variations - directories with restricted permiss
 --SKIPIF--
 <?php
 if( substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip Not for Windows');
+    die('skip Not for Windows');
 }
 require __DIR__ . '/../skipif_root.inc';
 ?>
index da20b5289e6ae12df998dcf6e863eb7e52ff1196..7bee9f087a7f50c5cc52118346ff8676f92760e9 100644 (file)
@@ -3,7 +3,7 @@ Test scandir() function : usage variations - different directory permissions
 --SKIPIF--
 <?php
 if( substr(PHP_OS, 0, 3) == 'WIN') {
-       die('skip Not for Windows');
+    die('skip Not for Windows');
 }
 require __DIR__ . '/../skipif_root.inc';
 ?>
index ed14d87a6777c433b8c2227edbdfa29c0f78c4fc..b7be9d068a13be692df8359af5c97d3c6d1fe9d9 100644 (file)
@@ -5,7 +5,7 @@ Venkat Raman Don
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-               die('skip windows only test');
+        die('skip windows only test');
 }
 ?>
 --FILE--
index 012fc01a3d20686ef813c8b652735aa2ef3726e4..f08e22fb02fd26849ec075d73374c8ba272bc092 100644 (file)
@@ -5,7 +5,7 @@ Venkat Raman Don
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-               die('skip windows only test');
+        die('skip windows only test');
 }
 ?>
 --FILE--
index 01bd7dc60690f27bf498f1e6a9cf34ca29d6a9b3..6ecfb8f5d52a7201508a850d81dbfcb83a593c73 100644 (file)
@@ -5,7 +5,7 @@ Venkat Raman Don
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-               die('skip windows only test');
+        die('skip windows only test');
 }
 ?>
 --FILE--
index 4eaf9a132c67473b28cfe665d1d19ceb784a2eeb..22a2dc0c5f6a71aca6944ffdd6ae47db374f79e5 100644 (file)
@@ -7,7 +7,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
 }
 exec('net session 2>&1', $out, $status);
 if (!$status) {
-       die('skip test runs under an elevated user account');
+    die('skip test runs under an elevated user account');
 }
 ?>
 --FILE--
index a7c4f02e78f18b2acc5c201dce36f395000ea203..0ef3eb20919400e78bbfae67e7a008d0abd2e79d 100644 (file)
@@ -5,7 +5,7 @@ Venkat Raman Don
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-               die('skip windows only test');
+        die('skip windows only test');
 }
 include_once __DIR__ . '/windows_links/common.inc';
 skipIfSeCreateSymbolicLinkPrivilegeIsDisabled(__FILE__);
index 9d964e34cb79c910c09bb447246349a7274c527b..0236e9e1ea7c7ba9ac662e39a346565cd18e3de6 100644 (file)
@@ -4,7 +4,7 @@ Bug #60120 (proc_open hangs when data in stdin/out/err is getting larger or equa
 <?php
 $php = getenv('TEST_PHP_EXECUTABLE');
 if (!$php) {
-       die("skip No php executable defined\n");
+    die("skip No php executable defined\n");
 }
 ?>
 --FILE--
index 7fda0b3654bae070458f1cf76aff31b63d348cca..a8bca2e04bde729d90894eb6cefcd9a05a05f0b6 100644 (file)
@@ -4,11 +4,11 @@ chroot()
 <?php
 chdir("/");
 if (!@mkdir("testtmpskipifdir")) {
-       die("skip for root only");
+    die("skip for root only");
 }
 rmdir("testtmpskipifdir");
 if (!function_exists("chroot")) {
-       die("skip chroot() not available");
+    die("skip chroot() not available");
 }
 ?>
 --FILE--
index 0bbce038e6ba4f2473f5d613fefda93622d492de..f2803e9189ed6f3908b57004bf15db85fba3ec58 100644 (file)
@@ -7,7 +7,7 @@ file_get_contents() test using offset parameter out of range
 display_errors=false
 --SKIPIF--
 <?php
-       if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+    if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 ?>
 --FILE--
 <?php
index a754f6431fdf4aaba347231fd23b0d071c1d08eb..45ec3052cdcbc501bc7f7b8f06eef57cae015a17 100644 (file)
@@ -8,7 +8,7 @@ if(substr(PHP_OS, 0, 3) != "WIN")
   die("skip Run only on Windows");
 
 if (!is_writable('c:\\')) {
-       die('skip. C:\\ not writable.');
+    die('skip. C:\\ not writable.');
 }
 
 ?>
index e6201829b005a644bf21d5693c574e7ead5b4b65..22368812637bc4e3ebb6e7683035fe8ee630b154 100644 (file)
@@ -7,7 +7,7 @@ Dave Kelsey <d_kelsey@uk.ibm.com>
 if(substr(PHP_OS, 0, 3) != "WIN")
   die("skip Run only on Windows");
 if (!is_writable('c:\\')) {
-       die('skip. C:\\ not writable.');
+    die('skip. C:\\ not writable.');
 }
 
 ?>
index 5226dba55a9aaad8c669363b692cd6436fc180c0..ae197b6f96fce705aa885358ebdf3fa888eb30a5 100644 (file)
@@ -3,7 +3,7 @@ Test fscanf() function: usage variations - integer formats with float values
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-       die("skip this test is for 32bit platform only");
+    die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 1809a0d1e5d68a4d117938eecb93a9a6932025c8..c008c759c9b39d7b305ebc2247895e1c4315580a 100644 (file)
@@ -3,7 +3,7 @@ Test fscanf() function: usage variations - hexa formats with integer values
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-       die("skip this test is for 32bit platform only");
+    die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index ac202ab26e6cf9cc5192cb52a0396383f397a139..2dad3ace145fa0cbf81888a7f48371ee8dd8fe85 100644 (file)
@@ -3,7 +3,7 @@ Test fscanf() function: usage variations - hexa formats with float values
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-       die("skip this test is for 32bit platform only");
+    die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 25a0b38706c89422dfaba3156db267167c55f207..f04d3b7e3165c4ab75f1c8de4f01c155149888d4 100644 (file)
@@ -3,7 +3,7 @@ Test fscanf() function: usage variations - unsigned int formats with integer val
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-       die("skip this test is for 32bit platform only");
+    die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index f13af1a26a5f4f5b5f4f2b5ffc519bc16638c651..4b12a8cf0a1e94f2955e1c0a1dcf6aaac828de8e 100644 (file)
@@ -3,7 +3,7 @@ Test fscanf() function: usage variations - unsigned formats with float values
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-       die("skip this test is for 32bit platform only");
+    die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 3536d01b4200b7962929182e9ca0e55139bf155c..9b5eb967db75aa044037c3355a35da0f10a59966 100644 (file)
@@ -3,7 +3,7 @@ Test fscanf() function: usage variations - tracking file pointer while reading
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-       die("skip this test is for 32bit platform only");
+    die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index eafa78cefd1a8fc657aa9081758571d331b81edd..8b88a036f3baf885577a34beee0c3c057389849b 100644 (file)
@@ -3,7 +3,7 @@ Test fscanf() function: usage variations - float formats with integer values
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-       die("skip this test is for 32bit platform only");
+    die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 2bba5469c723a92ca712790aa45ea48f3fc6dc5c..5aa3ce04fd8ca62bc4927691aacc66f150527f37 100644 (file)
@@ -5,7 +5,7 @@ Venkat Raman Don
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-               die('skip windows only test');
+        die('skip windows only test');
 }
 ?>
 --FILE--
index 46db53108265a92532d338bb2d42b62f13422552..7de0e45894d433e17738cbb0e432776d3fb3df14 100644 (file)
@@ -4,7 +4,7 @@ recursive mkdir() tests
 <?php
 chdir("/");
 if (!@mkdir("testtmpskipifdir")) {
-       die("skip for root only");
+    die("skip for root only");
 }
 rmdir("testtmpskipifdir");
 ?>
index 621c9922e553ae765c1da4569c1b620f38953d6c..383f8b18e0527a965281e67c80887cda059be8d8 100644 (file)
@@ -4,7 +4,7 @@ recursive mkdir() tests
 <?php
 chdir("/");
 if (!@mkdir("testtmpskipifdir")) {
-       die("skip for root only");
+    die("skip for root only");
 }
 rmdir("testtmpskipifdir");
 ?>
index f47bb610c6cd6aded2d5048a7b9ce50f72d57025..86990f03416a4fd1aaf767cf71350f668030eeb5 100644 (file)
@@ -3,7 +3,7 @@ Test tempnam() function: usage variations - obscure prefixes
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != "WIN")
-       die("skip run only on Windows");
+    die("skip run only on Windows");
 ?>
 --CONFLICTS--
 obscure_filename
index 09875f32c8cc79a6b6856b3b19b0bf641c879a09..8150e2c551006415f18d658bf38d6b21edabea06 100644 (file)
@@ -5,12 +5,12 @@ Venkat Raman Don (don.raman@microsoft.com)
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) != 'WIN' ) {
-       die('skip windows only test');
+    die('skip windows only test');
 }
 include_once __DIR__ . '/common.inc';
 $ret = exec(get_junction().' /? 2>&1', $out);
 if (strpos($out[0], 'recognized')) {
-       die('skip. junction.exe not found in PATH.');
+    die('skip. junction.exe not found in PATH.');
 }
 
 ?>
index b4a09e00c220c98bdce0a2a6ac862b60c5369a74..c55aa5d01ad53a88253d63c665f778cbea3f5128 100644 (file)
@@ -21,10 +21,10 @@ function get_mountvol() {
 }
 
 function skipIfSeCreateSymbolicLinkPrivilegeIsDisabled(string $filename) {
-       $ln = "$filename.lnk";
-       $ret = exec("mklink $ln " . __FILE__ .' 2>&1', $out);
-       @unlink($ln);
-       if (strpos($ret, 'privilege') !== false) {
-               die('skip SeCreateSymbolicLinkPrivilege not enabled');
-       }
+    $ln = "$filename.lnk";
+    $ret = exec("mklink $ln " . __FILE__ .' 2>&1', $out);
+    @unlink($ln);
+    if (strpos($ret, 'privilege') !== false) {
+        die('skip SeCreateSymbolicLinkPrivilege not enabled');
+    }
 }
index b8235c88426919dcd2fd109d33c06e4104aa5f1f..5beb63f905c97336b2bc8982a77c04dc18f5f93a 100644 (file)
@@ -60,8 +60,8 @@ $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename;
 
 $obj = scandir($d0);
 foreach ($obj as $file) {
-       if ("." == $file || ".." == $file) continue;
-       unlink($d0 . DIRECTORY_SEPARATOR . $file);
+    if ("." == $file || ".." == $file) continue;
+    unlink($d0 . DIRECTORY_SEPARATOR . $file);
 }
 
 rmdir($d0);
index 1e3d7cd19cc061412f4ef49edf7053e236fad4af..1502d62e02286a7073b11d780945227e9a107d51 100644 (file)
@@ -8,7 +8,7 @@ skip_if_not_win();
 
 $start = realpath(__DIR__);
 if (strlen($start) > 260 || strlen($start) > 248) {
-       die("skip the starting path length is unsuitable for this test");
+    die("skip the starting path length is unsuitable for this test");
 }
 
 ?>
index 7e5d550e175b7cb33aed885f3d6f0e0775f1c731..703b6c0b87cff981badf8092487340633d2330db 100644 (file)
@@ -6,14 +6,14 @@ $stream = fopen('php://memory', 'w');
 stream_filter_append($stream, 'convert.quoted-printable-decode', STREAM_FILTER_WRITE, ['line-break-chars' => "\r\n"]);
 
 $lines = [
-       "\r\n",
-       " -=()\r\n",
-       " -=\r\n",
-       "\r\n"
-       ];
+    "\r\n",
+    " -=()\r\n",
+    " -=\r\n",
+    "\r\n"
+    ];
 
 foreach ($lines as $line) {
-       fwrite($stream, $line);
+    fwrite($stream, $line);
 }
 
 fclose($stream);
index 26e2413ce9a5ece7c31ea49af25b84bd4a095b95..3b5ad3a8336ada76b694cdf9b15d03f113b28400 100644 (file)
@@ -5,7 +5,7 @@ Bug #41518 (file_exists() warns of open_basedir restriction on non-existent file
 $tmp_dir = __DIR__ . '/bug41518';
 mkdir($tmp_dir);
 if (!is_dir($tmp_dir)) {
-       die("skip");
+    die("skip");
 }
 @unlink($tmp_dir);
 ?>
index 7559b8d905c905f35addaca368c210a755930a1a..e989df0fb5a0b2070a77ce05079a52a40fcb3afb 100644 (file)
@@ -7,7 +7,7 @@ User Group: PHP-WVL & PHPGent #PHPTestFest
 <?php
 $enabled_sapi = array('cgi-fcgi', 'cli', 'embed', 'fpm');
 if (!in_array(php_sapi_name(), $enabled_sapi)) {
-       die('skip dl() is not enabled for ' . php_sapi_name());
+    die('skip dl() is not enabled for ' . php_sapi_name());
 }
 ?>
 --INI--
index 0fe2a5814343ab8a9566fddde7d0260c8e494e07..effae83464ed5193dab963a6575f5947b0fcac27 100644 (file)
@@ -4,7 +4,7 @@ dl() filename length checks (CVE-2007-4887)
 <?php
 $enabled_sapi = array('cgi-fcgi', 'cli', 'embed', 'fpm');
 if (!in_array(php_sapi_name(), $enabled_sapi)) {
-       die('skip dl() is not enabled for ' . php_sapi_name());
+    die('skip dl() is not enabled for ' . php_sapi_name());
 }
 ?>
 --INI--
index 746162c7bfbac1de0b2a1dfa0e98d6384a33506f..aaf7d042e536a1f4010deabbef3305d7ec448ac0 100644 (file)
@@ -7,7 +7,7 @@ User Group: PHP-WVL & PHPGent #PHPTestFest
 <?php
 $enabled_sapi = array('cgi-fcgi', 'cli', 'embed', 'fpm');
 if (!in_array(php_sapi_name(), $enabled_sapi)) {
-       die('skip dl() is not enabled for ' . php_sapi_name());
+    die('skip dl() is not enabled for ' . php_sapi_name());
 }
 ?>
 --INI--
index 6bf3b2c0a66b5d6d38d1a275c739760faaede8a0..e79bcad3c11c7efd76a906d57aafb253fb57e0ba 100644 (file)
@@ -5,11 +5,11 @@ proc_nice() basic behaviour
 /* No function_exists() check, proc_nice() is always available on Windows */
 
 if (!defined('PHP_WINDOWS_VERSION_MAJOR')) {
-       die('skip: Only for Windows');
+    die('skip: Only for Windows');
 }
 
 if (getenv('SKIP_SLOW_TESTS')) {
-       doe('skip: Slow test');
+    doe('skip: Slow test');
 }
 ?>
 --FILE--
index 650b13c60c722395d681478f2ea468ac1eee3bf5..f4378a4d92b5339c4ab66a02fcd091cc38759e27 100644 (file)
@@ -7,9 +7,9 @@ Michele Orselli (mo@ideato.it)
 Simone Gentili (sensorario@gmail.com)
 --SKIPIF--
 <?php
-       if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
-       if(!function_exists('posix_geteuid')) die("skip. posix_geteuid not available ");
-       if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
+    if(!function_exists('proc_nice')) die("skip. proc_nice not available ");
+    if(!function_exists('posix_geteuid')) die("skip. posix_geteuid not available ");
+    if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
 ?>
 --FILE--
 <?php
index baecc44827bfea3d052cee23671a3ab537c66b79..acc8eee617fef619da0666b794f4edaacf2dbd7d 100644 (file)
@@ -4,47 +4,47 @@ proc_open() with output socketpairs
 <?php
 
 $cmd = [
-       getenv("TEST_PHP_EXECUTABLE"),
-       __DIR__ . '/proc_open_sockets1.inc'
+    getenv("TEST_PHP_EXECUTABLE"),
+    __DIR__ . '/proc_open_sockets1.inc'
 ];
 
 $spec = [
-       ['null'],
-       ['socket'],
-       ['socket']
+    ['null'],
+    ['socket'],
+    ['socket']
 ];
 
 $proc = proc_open($cmd, $spec, $pipes);
 
 foreach ($pipes as $pipe) {
-       var_dump(stream_set_blocking($pipe, false));
+    var_dump(stream_set_blocking($pipe, false));
 }
 
 while ($pipes) {
-       $r = $pipes;
-       $w = null;
-       $e = null;
-       
-       if (!stream_select($r, $w, $e, null, 0)) {
-               throw new Error("Select failed");
-       }
-       
-       foreach ($r as $i => $pipe) {
-               if (!is_resource($pipe) || feof($pipe)) {
-                       unset($pipes[$i]);
-                       continue;
-               }
-               
-               $chunk = @fread($pipe, 8192);
-               
-               if ($chunk === false) {
-                       throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
-               }
-               
-               if ($chunk !== '') {
-                       echo "PIPE {$i} << {$chunk}\n";
-               }
-       }
+    $r = $pipes;
+    $w = null;
+    $e = null;
+
+    if (!stream_select($r, $w, $e, null, 0)) {
+        throw new Error("Select failed");
+    }
+
+    foreach ($r as $i => $pipe) {
+        if (!is_resource($pipe) || feof($pipe)) {
+            unset($pipes[$i]);
+            continue;
+        }
+
+        $chunk = @fread($pipe, 8192);
+
+        if ($chunk === false) {
+            throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
+        }
+
+        if ($chunk !== '') {
+            echo "PIPE {$i} << {$chunk}\n";
+        }
+    }
 }
 
 ?>
index 25f3153ec487406d21c073291cb6096092e9b598..7f9e1a85c54f6c5bb3be3b52518872b1fa476be2 100644 (file)
@@ -5,49 +5,49 @@ proc_open() with IO socketpairs
 
 function poll($pipe, $read = true)
 {
-       $r = ($read == true) ? [$pipe] : null;
-       $w = ($read == false) ? [$pipe] : null;
-       $e = null;
-       
-       if (!stream_select($r, $w, $e, null, 0)) {
-               throw new \Error("Select failed");
-       }
+    $r = ($read == true) ? [$pipe] : null;
+    $w = ($read == false) ? [$pipe] : null;
+    $e = null;
+
+    if (!stream_select($r, $w, $e, null, 0)) {
+        throw new \Error("Select failed");
+    }
 }
 
 function read_pipe($pipe): string
 {
-       poll($pipe);
-       
-       if (false === ($chunk = @fread($pipe, 8192))) {
-               throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
-       }
-       
-       return $chunk;
+    poll($pipe);
+
+    if (false === ($chunk = @fread($pipe, 8192))) {
+        throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
+    }
+
+    return $chunk;
 }
 
 function write_pipe($pipe, $data)
 {
-       poll($pipe, false);
-       
-       if (false == @fwrite($pipe, $data)) {
-               throw new Error("Failed to write: " . (error_get_last()['message'] ?? 'N/A'));
-       }
+    poll($pipe, false);
+
+    if (false == @fwrite($pipe, $data)) {
+        throw new Error("Failed to write: " . (error_get_last()['message'] ?? 'N/A'));
+    }
 }
 
 $cmd = [
-       getenv("TEST_PHP_EXECUTABLE"),
-       __DIR__ . '/proc_open_sockets2.inc'
+    getenv("TEST_PHP_EXECUTABLE"),
+    __DIR__ . '/proc_open_sockets2.inc'
 ];
 
 $spec = [
-       ['socket'],
-       ['socket']
+    ['socket'],
+    ['socket']
 ];
 
 $proc = proc_open($cmd, $spec, $pipes);
 
 foreach ($pipes as $pipe) {
-       var_dump(stream_set_blocking($pipe, false));
+    var_dump(stream_set_blocking($pipe, false));
 }
 
 printf("STDOUT << %s\n", read_pipe($pipes[1]));
index 5ee9e53b56b475cf1d60bd02ffd2c018a0351e65..be2a3712382a338e5aab03ca27fa440aefaade64 100644 (file)
@@ -5,34 +5,34 @@ proc_open() with socket and pipe
 
 function poll($pipe, $read = true)
 {
-       $r = ($read == true) ? [$pipe] : null;
-       $w = ($read == false) ? [$pipe] : null;
-       $e = null;
-       
-       if (!stream_select($r, $w, $e, null, 0)) {
-               throw new \Error("Select failed");
-       }
+    $r = ($read == true) ? [$pipe] : null;
+    $w = ($read == false) ? [$pipe] : null;
+    $e = null;
+
+    if (!stream_select($r, $w, $e, null, 0)) {
+        throw new \Error("Select failed");
+    }
 }
 
 function read_pipe($pipe): string
 {
-       poll($pipe);
-       
-       if (false === ($chunk = @fread($pipe, 8192))) {
-               throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
-       }
-       
-       return $chunk;
+    poll($pipe);
+
+    if (false === ($chunk = @fread($pipe, 8192))) {
+        throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
+    }
+
+    return $chunk;
 }
 
 $cmd = [
-       getenv("TEST_PHP_EXECUTABLE"),
-       __DIR__ . '/proc_open_sockets2.inc'
+    getenv("TEST_PHP_EXECUTABLE"),
+    __DIR__ . '/proc_open_sockets2.inc'
 ];
 
 $spec = [
-       ['pipe', 'r'],
-       ['socket']
+    ['pipe', 'r'],
+    ['socket']
 ];
 
 $proc = proc_open($cmd, $spec, $pipes);
index 9a92bef7941358abb290a6aa0e6d4d574ec00f05..9e963dd1ce495b32be4cfdb318d5b6e76e9011b6 100644 (file)
@@ -7,7 +7,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
   die("skip Valid only on Windows");
 }
 if (!sapi_windows_cp_set(936)) {
-       die("skip Required CP 936 or compatible");
+    die("skip Required CP 936 or compatible");
 }
 
 ?>
index ed32ac7c0e914d2a89387e74b4b1de7cd3c7aa86..582959f3ae6ee9a6b03cc94cd21c3fffa1c693eb 100644 (file)
@@ -2,7 +2,7 @@
 GetImageSize()
 --SKIPIF--
 <?php
-       require_once('skipif_imagetype.inc');
+    require_once('skipif_imagetype.inc');
 ?>
 --FILE--
 <?php
index 0e1290fcf25d916a689c5c24d810e36fc617e511..c716ac3aebc085177768a1e9fa0b6e2cd04ab4e3 100644 (file)
@@ -2,7 +2,7 @@
 GetImageSize() with 246x247 pixels
 --SKIPIF--
 <?php
-       require_once('skipif_imagetype.inc');
+    require_once('skipif_imagetype.inc');
 ?>
 --FILE--
 <?php
index cef9d73b3fd0a876cac5a05ac0c310b08d8f0af5..57dc8a719215989cd3a15365e8f114f63a546bfd 100644 (file)
@@ -2,7 +2,7 @@
 GetImageSize() with 384x385 pixels
 --SKIPIF--
 <?php
-       require_once('skipif_imagetype.inc');
+    require_once('skipif_imagetype.inc');
 ?>
 --FILE--
 <?php
index bba67d4f0995f2c5c9d9655ab26de22e9d16bcbb..b5a0838eb655d43eb83b69bd4cf5e03527d3faea 100644 (file)
@@ -2,9 +2,9 @@
 GetImageSize() for compressed swf files
 --SKIPIF--
 <?php
-       if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {
-               die("skip zlib extension is not available");
-       }
+    if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {
+        die("skip zlib extension is not available");
+    }
 ?>
 --FILE--
 <?php
index fac3900417b8f1cd0859d689a4230cd408dd9695..8ed39fc2ff5b325a76bdd4c283f37305cb1bad21 100644 (file)
@@ -2,9 +2,9 @@
 Test getimagesize() function : variation - For shockwave-flash format
 --SKIPIF--
 <?php
-       if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {
-               die("skip zlib extension is not available");
-       }
+    if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {
+        die("skip zlib extension is not available");
+    }
 ?>
 --FILE--
 <?php
index 503ed7657c735fb59421feb86682b2de75bb6260..d0c48f5112ce9331e768f88a0002936c28ec203e 100644 (file)
@@ -2,9 +2,9 @@
 Test getimagesize() function : basic functionality for shockwave-flash
 --SKIPIF--
 <?php
-       if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {
-               die("skip zlib extension is not available or SWC not supported");
-       }
+    if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {
+        die("skip zlib extension is not available or SWC not supported");
+    }
 ?>
 --FILE--
 <?php
index aff49ae58f21d2c82f4adbb6006675cfb9f6fcef..b4f6d3c403fa1acb863ff49768bae98c5db37773 100644 (file)
@@ -2,7 +2,7 @@
 image_type_to_mime_type()
 --SKIPIF--
 <?php
-       require_once('skipif_imagetype.inc');
+    require_once('skipif_imagetype.inc');
 ?>
 --FILE--
 <?php
index ca487e00a2bebab96cfb6f8f9076c8f902adff84..ed70dada183bdd69e8538133f9d7a9e7ed32aa5c 100644 (file)
@@ -2,9 +2,9 @@
 Test image_type_to_mime_type() function : usage variations - Passing IMAGETYPE_ICO and IMAGETYPE_SWC
 --SKIPIF--
 <?php
-       if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {
-               die("skip zlib extension is not available or IMAGETYPE_SWC is not defined ");
-       }
+    if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {
+        die("skip zlib extension is not available or IMAGETYPE_SWC is not defined ");
+    }
 ?>
 --FILE--
 <?php
index 120604aff25150478850e85529c166e5e0cda71b..058562fffb64129f07f5754d45881d2965d7601b 100644 (file)
@@ -2,8 +2,8 @@
 Bug #25665 (var_dump () hangs on Nan and INF)
 --SKIPIF--
 <?php
-       $OS = strtoupper(PHP_OS);
-       if ($OS == 'SUNOS' || $OS == 'SOLARIS') die("SKIP Solaris acos() returns wrong value");
+    $OS = strtoupper(PHP_OS);
+    if ($OS == 'SUNOS' || $OS == 'SOLARIS') die("SKIP Solaris acos() returns wrong value");
 ?>
 --FILE--
 <?php
index f78d4be7cc983238a09b40348c017bb5482739c8..8e9c44431b9b5bedeb5069497aaf6ab90a9562ac 100644 (file)
@@ -7,7 +7,7 @@ if (!function_exists("inet_pton")) die("skip no inet_pton()");
 
 $packed = str_repeat(chr(0), 15) . chr(1);
 if (@inet_ntop($packed) === false) {
-       die("skip no IPv6 support");
+    die("skip no IPv6 support");
 }
 if (stristr(PHP_OS, "darwin") !== false) die("skip MacOS has broken inet_*() funcs");
 ?>
index b8655cc1f487bc72a9efebc379960e095475f64e..64373596a275658f2c8c0170ce15550b0e25a155 100644 (file)
@@ -2,7 +2,7 @@
 stream_socket_shutdown() test on IPv4 TCP Loopback
 --SKIPIF--
 <?php
-       function_exists('stream_socket_shutdown') or die('skip stream_socket_shutdown() is not supported.');
+    function_exists('stream_socket_shutdown') or die('skip stream_socket_shutdown() is not supported.');
 ?>
 --FILE--
 <?php
index 8322a0912de2aeef969c9d1e05ee8f644170b995..e832c1e9c0271e768e63475e21c94481fcca3b03 100644 (file)
@@ -2,13 +2,13 @@
 Streams Based IPv6 TCP Loopback test
 --SKIPIF--
 <?php
-       /* If IPv6 is supported on the platform this will error out with code 111 - Connection refused (or code 10049 on Windows).
-          If IPv6 is NOT supported, $errno will be set to something else (indicating parse/getaddrinfo error)
-          Note: Might be a good idea to export an IPv6 support indicator (such as AF_INET6 exported by ext/sockets) */
-       @stream_socket_client('tcp://[::1]:0', $errno);
-       if ((PHP_OS_FAMILY === 'Windows' && $errno !== 10049) || (PHP_OS_FAMILY !== 'Windows' && $errno !== 111)) {
-               die('skip IPv6 is not supported.');
-       }
+    /* If IPv6 is supported on the platform this will error out with code 111 - Connection refused (or code 10049 on Windows).
+       If IPv6 is NOT supported, $errno will be set to something else (indicating parse/getaddrinfo error)
+       Note: Might be a good idea to export an IPv6 support indicator (such as AF_INET6 exported by ext/sockets) */
+    @stream_socket_client('tcp://[::1]:0', $errno);
+    if ((PHP_OS_FAMILY === 'Windows' && $errno !== 10049) || (PHP_OS_FAMILY !== 'Windows' && $errno !== 111)) {
+        die('skip IPv6 is not supported.');
+    }
 ?>
 --FILE--
 <?php
index 3a7e1bf267af81a254998a8298c6ecdb7590969c..21f3d2554fc41cb5011047fcc3716c1c20aae51f 100644 (file)
@@ -2,8 +2,8 @@
 Streams Based Unix Domain Datagram Loopback test
 --SKIPIF--
 <?php
-       if (array_search("udg",stream_get_transports()) === false)
-               die('SKIP No support for UNIX domain sockets.');
+    if (array_search("udg",stream_get_transports()) === false)
+        die('SKIP No support for UNIX domain sockets.');
 ?>
 --FILE--
 <?php
index 533d9afb2ae4767422d2ca8e822f60531337ab30..5426d8b7e5ec165f6ed585a3e7c885079eb19710 100644 (file)
@@ -2,19 +2,19 @@
 Streams Based IPv6 UDP Loopback test
 --SKIPIF--
 <?php
-       /* If IPv6 is supported on the platform this will error out with code 111 -
-        * Connection refused (or code 10049 on Windows).  If IPv6 is NOT supported, $errno will be set to
-        * something else (indicating parse/getaddrinfo error)
-        * Note: Might be a good idea to export an IPv6 support indicator
-        * (such as AF_INET6 exported by ext/sockets), however, since we
-        * cannot tell for sure if IPv6 works until we probe it at run time,
-        * this isn't really practical.
-        */
+    /* If IPv6 is supported on the platform this will error out with code 111 -
+     * Connection refused (or code 10049 on Windows).  If IPv6 is NOT supported, $errno will be set to
+     * something else (indicating parse/getaddrinfo error)
+     * Note: Might be a good idea to export an IPv6 support indicator
+     * (such as AF_INET6 exported by ext/sockets), however, since we
+     * cannot tell for sure if IPv6 works until we probe it at run time,
+     * this isn't really practical.
+     */
 
-       @stream_socket_client('tcp://[::1]:0', $errno);
-       if ((PHP_OS_FAMILY === 'Windows' && $errno !== 10049) || (PHP_OS_FAMILY !== 'Windows' && $errno !== 111)) {
-               die('skip IPv6 is not supported.');
-       }
+    @stream_socket_client('tcp://[::1]:0', $errno);
+    if ((PHP_OS_FAMILY === 'Windows' && $errno !== 10049) || (PHP_OS_FAMILY !== 'Windows' && $errno !== 111)) {
+        die('skip IPv6 is not supported.');
+    }
 ?>
 --FILE--
 <?php
index 4b5bde2262feb98f3e3b8ccd1b808e1b33c001d6..1eaa64a87c8c7559218aa8b505c513f0fcceb10a 100644 (file)
@@ -2,8 +2,8 @@
 Streams Based Unix Domain Loopback test
 --SKIPIF--
 <?php
-       if (array_search("unix",stream_get_transports()) === false)
-               die('SKIP No support for UNIX domain sockets.');
+    if (array_search("unix",stream_get_transports()) === false)
+        die('SKIP No support for UNIX domain sockets.');
 ?>
 --FILE--
 <?php
index d4daf34464c5903ec21ff2af97f11a4f82809ac6..33b2276a6cb6995277d8a7ecb53a63b2a6f5c9e5 100644 (file)
@@ -2,7 +2,7 @@
 Bug #26762 (unserialize() produces lowercase classnames)
 --SKIPIF--
 <?php
-       if (class_exists('autoload_root')) die('skip Autoload test classes exist already');
+    if (class_exists('autoload_root')) die('skip Autoload test classes exist already');
 ?>
 --FILE--
 <?php
index 66e5aa3547fcc1a833b7a5113eaedbb7d6b26e36..c931ef189556fd8fe1ff7f7233ce98f385573175 100644 (file)
@@ -2,7 +2,7 @@
 Bug #30234 (__autoload() not invoked for interfaces)
 --SKIPIF--
 <?php
-       if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
+    if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
 ?>
 --FILE--
 <?php
index c4679db4f1ec3dab6004200dee8b7af85fd72754..05305319d357a310155c05d449066a68be7cec7c 100644 (file)
@@ -3,7 +3,7 @@ Default precision is sufficient to serialize all the information in floats
 --SKIPIF--
 <?php
 if (pack('s', 1) != "\x01\x00")
-       die("skip test for little-endian architectures");
+    die("skip test for little-endian architectures");
 --FILE--
 <?php
 
index 20361095f6a19820b2006cd7c05f6d4d1eac55a3..e196c028cc941cbc728c26e719b100b522d22b71 100644 (file)
@@ -3,7 +3,7 @@ Bug #61371: stream_context_create() causes memory leaks on use streams_socket_cr
 --SKIPIF--
 <?php
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
-       die('skip non windows test');
+    die('skip non windows test');
 }
 --FILE--
 <?php
index ae8330292143ae23a75eeedab8867794e2aa66c3..56af2418375a82cd8b2a281ebd5093e1f1a1afbf 100644 (file)
@@ -3,10 +3,10 @@ Bug #60180 ($_SERVER["PHP_SELF"] incorrect)
 --SKIPIF--
 <?php
 if(!file_exists(__DIR__."/../../../../sapi/cli/tests/php_cli_server.inc"))
-       die("skip could not found cli server script");
+    die("skip could not found cli server script");
 $res = @include __DIR__."/../../../../sapi/cli/tests/php_cli_server.inc";
 if(!$res) {
-       die("skip could not open cli server script");
+    die("skip could not open cli server script");
 }
 ?>
 --CONFLICTS--
index 7cf502edd8645ac9f85a6c23b2e17b7c6c6cd703..3ae96ca3dd1b6eeb7b1c8f6cb097e41f263f4d65 100644 (file)
@@ -2,10 +2,10 @@
 Bug #51800 proc_open on Windows hangs forever
 --SKIPIF--
 <?php
-       echo 'skip expected to fail or take too long';
-       if (getenv("SKIP_SLOW_TESTS")) {
-               die("skip slow test");
-       }
+    echo 'skip expected to fail or take too long';
+    if (getenv("SKIP_SLOW_TESTS")) {
+        die("skip slow test");
+    }
 ?>
 --XFAIL--
 pipes have to be read/written simultaneously
index 31656ee60fe4114c309c0fae8abb5c22ee7ebfad..aedc303681f995d236879db6560235b2aacd2482 100644 (file)
@@ -6,7 +6,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
     die('skip Windows only');
 }
 if (PHP_WINDOWS_VERSION_MAJOR < 10) {
-       die("skip for Windows 10 and above");
+    die("skip for Windows 10 and above");
 }
 ?>
 --FILE--
index fc8978439013ffa51ca3a6ed79114b0ec887a879..d0d7f810085977c5cdaabfa606c3a59cd56d9a9d 100644 (file)
@@ -3,7 +3,7 @@ Bug #72663: Create an Unexpected Object and Don't Invoke __wakeup() in Deseriali
 --SKIPIF--
 <?php
 if (!extension_loaded("session")) {
-       die("skip");
+    die("skip");
 }
 ?>
 --FILE--
index 9e6a96e06098532403884995041209131fa55f2e..e8d0b5b9f7459e09a4ab8289000d8d6971ecde63 100644 (file)
@@ -4,7 +4,7 @@ htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
 <?php
 $result = (bool)setlocale(LC_CTYPE, "fr_FR.ISO-8859-15", "fr_FR.ISO8859-15", 'fr_FR@euro');
 if (!$result) {
-       die("skip setlocale() failed\n");
+    die("skip setlocale() failed\n");
 }
 ?>
 --INI--
index 484065341496d9c06d41004e0ac622641c17cf5a..973bafedbd3b4eafe8fb8632a4d841736021f6f0 100644 (file)
@@ -4,7 +4,7 @@ htmlentities() test 3 (setlocale / de_DE.ISO-8859-1)
 <?php
 $result = (bool)setlocale(LC_CTYPE, "de_DE.ISO-8859-1", "de_DE.ISO8859-1");
 if (!$result || preg_match('/ISO/i', setlocale(LC_CTYPE, 0)) == 0) {
-       die("skip setlocale() failed\n");
+    die("skip setlocale() failed\n");
 }
 ?>
 --INI--
index 04bf4deb0019359ad330f3087c7c4be1d2d36a27..04dd756a3177ab7c69a12cd26c6475b8d1c2ffab 100644 (file)
@@ -5,7 +5,7 @@ output_handler=
 internal_encoding=cp1252
 --SKIPIF--
 <?php
-       extension_loaded("mbstring") or die("skip mbstring not available\n");
+    extension_loaded("mbstring") or die("skip mbstring not available\n");
 --FILE--
 <?php
     print mb_internal_encoding()."\n";
index 487b5d33fffcc8cfaf7643a9adfab8110da6c1ed..9ecfa3cf4dd5253ca2bb5289a70ad801d25180e5 100644 (file)
@@ -5,7 +5,7 @@ output_handler=
 internal_encoding=ISO-8859-15
 --SKIPIF--
 <?php
-       extension_loaded("mbstring") or die("skip mbstring not available\n");
+    extension_loaded("mbstring") or die("skip mbstring not available\n");
 --FILE--
 <?php
     mb_internal_encoding('ISO-8859-15');
index 04e138e0c79fb136b5a1261ab356b356fb0c4884..b69aeca861a151830fc5ee174a9b6d7b0fb9880e 100644 (file)
@@ -5,7 +5,7 @@ output_handler=
 internal_encoding=ISO-8859-1
 --SKIPIF--
 <?php
-       extension_loaded("mbstring") or die("skip mbstring not available\n");
+    extension_loaded("mbstring") or die("skip mbstring not available\n");
 --FILE--
 <?php
     mb_internal_encoding('ISO-8859-1');
index fdba4ede80dbf6740fc68f656f1f39f662d47f79..3ec74996d5e54cd32ede8c734050f2388fec6531 100644 (file)
@@ -5,7 +5,7 @@ output_handler=
 internal_encoding=EUC-JP
 --SKIPIF--
 <?php
-       extension_loaded("mbstring") or die("skip mbstring not available\n");
+    extension_loaded("mbstring") or die("skip mbstring not available\n");
 --FILE--
 <?php
     mb_internal_encoding('EUC-JP');
index 6ca0a1e39e67791404f4b67d84c81f1dc1002534..9d9576c5ea58addb4babcf14730a880d537d41dd 100644 (file)
@@ -5,7 +5,7 @@ output_handler=
 internal_encoding=Shift_JIS
 --SKIPIF--
 <?php
-       extension_loaded("mbstring") or die("skip mbstring not available\n");
+    extension_loaded("mbstring") or die("skip mbstring not available\n");
 --FILE--
 <?php
     mb_internal_encoding('Shift_JIS');
index 1971f8340d9312ecf254f15e030a3f54155634a8..6f2b2702427b94cb6d6995f515ec24efa8c43acf 100644 (file)
@@ -5,7 +5,7 @@ output_handler=
 internal_encoding=cp1251
 --SKIPIF--
 <?php
-       extension_loaded("mbstring") or die("skip mbstring not available\n");
+    extension_loaded("mbstring") or die("skip mbstring not available\n");
 ?>
 --FILE--
 <?php
index 7eef7ff35622058b884f48b362d3dbaac20cafd5..b7bfdfa1bf594f31718f597398b7e12cf39b5579 100644 (file)
@@ -6,7 +6,7 @@ internal_encoding=
 mbstring.internal_encoding=ISO-8859-1
 --SKIPIF--
 <?php
-       extension_loaded("mbstring") or die("skip mbstring not available\n");
+    extension_loaded("mbstring") or die("skip mbstring not available\n");
 ?>
 --FILE--
 <?php
index 97a6a687c56ee71fd22104c758675b3f21346648..af449266671da4eff8d9ddd18dff131c29d48a3d 100644 (file)
@@ -3,7 +3,7 @@ Generic pack()/unpack() tests
 --SKIPIF--
 <?php
 if (PHP_INT_MAX > 2147483647) {
-       die("skip 32bit test only");
+    die("skip 32bit test only");
 }
 ?>
 --FILE--
index cccdc1ba6e5f3357b9c343d3fac4c51726410712..753821f654299cdf4cbe04231c955fdbcbdfc457 100644 (file)
@@ -3,7 +3,7 @@
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE < 8) {
-       die("skip 64bit test only");
+    die("skip 64bit test only");
 }
 ?>
 --FILE--
index f52de63ca463d46744fe397b41ba14e052c5f666..978e04449de612eeb0afaf1f734f5e262978db01 100644 (file)
@@ -3,7 +3,7 @@
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE > 4) {
-       die("skip 32bit test only");
+    die("skip 32bit test only");
 }
 ?>
 --FILE--
index 19c1f42104782a764222bdc3738751a34d77a285..b7218cd7de062d3caa953fe6ae1bcdd1ea8ffa44 100644 (file)
@@ -3,7 +3,7 @@ Test printf() function : basic functionality - unsigned format
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-           die("skip this test is for 32bit platform only");
+        die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 800d6cc1e77aa101ec1485875d030d6ddbc260ec..395972ba96c233a8e585a83afa2e8ac2c18842e6 100644 (file)
@@ -3,7 +3,7 @@ Test printf() function : basic functionality - octal format
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-           die("skip this test is for 32bit platform only");
+        die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 63cf1975bb6868383cb357b856f89856f5d698c2..77765aaf52e8c534cf82d0dd95b7fc49b9f688b1 100644 (file)
@@ -3,7 +3,7 @@ Test sprintf() function : basic functionality - unsigned format
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-           die("skip this test is for 32bit platform only");
+        die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 5c8cdb5d5a0d4745c2ea5729ffa3b2655a14a28b..e9696db27b1616f942f7e828bbce488bbde94963 100644 (file)
@@ -3,7 +3,7 @@ Test sprintf() function : basic functionality - octal format
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-           die("skip this test is for 32bit platform only");
+        die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 53c6bd015f07fb037c4be6666ec4eead3dec985d..4903d3ed154e6c7a95b7ceac64da2eb2f071b4bf 100644 (file)
@@ -3,7 +3,7 @@ Test sprintf() function : usage variations - octal formats with integer values
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-           die("skip this test is for 32bit platform only");
+        die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index a02f5cda6e5ab068805c2a8d1faf78e03461016b..c7ff681f5750488ea82b0d29a84322b59e0517e8 100644 (file)
@@ -3,7 +3,7 @@ Test sprintf() function : usage variations - hexa formats with integer values
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-           die("skip this test is for 32bit platform only");
+        die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 9b3890f15df0e1968f9057933c5fa9aefa4bce7f..3bec553dd862a64249f1d98e86e4e7698f1bf955 100644 (file)
@@ -3,7 +3,7 @@ Test sprintf() function : usage variations - unsigned formats with integer value
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-           die("skip this test is for 32bit platform only");
+        die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index dad84c3e6331f4a1a31c4dc8216f05b4e2a21665..5aec9c094089fbee2ab3325f69948b58799f9ab1 100644 (file)
@@ -3,7 +3,7 @@ Test sscanf() function : basic functionality - unsigned format
 --SKIPIF--
 <?php
 if (PHP_INT_SIZE != 4) {
-       die("skip this test is for 32bit platform only");
+    die("skip this test is for 32bit platform only");
 }
 ?>
 --FILE--
index 34b87157f2243e764581afe2768a5e307842c155..afd32375bb828670704b2d71f3ccee3ca4ce4c55 100644 (file)
@@ -2,7 +2,7 @@
 microtime() function
 --SKIPIF--
 <?php
-       if (!function_exists('microtime'))  die('skip microtime() not available');
+    if (!function_exists('microtime'))  die('skip microtime() not available');
 ?>
 --FILE--
 <?php
index c71ee0b465dd004a902c4843beee30d752c8b9e0..adbb8922f51b753a6e086db885ee4236e5def81b 100644 (file)
@@ -3,7 +3,7 @@ Test localtime() function : error conditions
 --SKIPIF--
 <?php
 if (!function_exists('strptime')) {
-       echo "SKIP strptime function not available in build";
+    echo "SKIP strptime function not available in build";
 }
 ?>
 --FILE--
index b52d2d7e20f4fb5df278f598b0c93fc97459991f..ef2ba56cbb5b6fb2f163e507db0bd44534eba054 100644 (file)
@@ -3,7 +3,7 @@ Test sem_acquire with nowait option
 --SKIPIF--
 <?php
 if(!extension_loaded('sysvsem') || !extension_loaded('pcntl')) {
-       die("skip sysvsem and pcntl required");
+    die("skip sysvsem and pcntl required");
 }
 ?>
 --FILE--
index 14270ee608fa96b991688a3d5c8911a2cdd90ddc..0ed7b8a76853b6db38fc3445df993876611828ad 100644 (file)
@@ -3,7 +3,7 @@ General semaphore and shared memory test
 --SKIPIF--
 <?php
 if(!extension_loaded('sysvsem') || !extension_loaded('sysvshm')) {
-       die("skip Both sysvsem and sysvshm required");
+    die("skip Both sysvsem and sysvshm required");
 }
 ?>
 --FILE--
index 5ced12894020e1baea6dea68996c09bb773beee3..410a2f62ffec6842625a1270d2a3c5b40fbbec37 100644 (file)
@@ -5,7 +5,7 @@ Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect),
 require_once("skipif.inc");
 if (!extension_loaded('iconv')) die ("skip iconv extension not available");
 if (ICONV_IMPL == 'glibc' && version_compare(ICONV_VERSION, '2.12', '<='))
-       die("skip iconv of glibc <= 2.12 is buggy");
+    die("skip iconv of glibc <= 2.12 is buggy");
 ?>
 --FILE--
 <?php
index 5b76dfc848c12cf48292cae631f1033d5500191f..6389c7fa6e659e68f633ba8b0de1d1155cb80137 100644 (file)
@@ -5,7 +5,7 @@ xml_parse_into_struct/umlauts in tags
 include("skipif.inc");
 if(strtoupper("äöüß") != "ÄÖÜß")
 {
-       die("skip strtoupper on non-ascii not supported on this platform");
+    die("skip strtoupper on non-ascii not supported on this platform");
 }
 ?>
 --FILE--
index 3f980495676f723000bae75749a341d2d06ab9ca..a03b86ac8ae6b36533dbbd96c8e386a3709838ce 100644 (file)
@@ -3,7 +3,7 @@ Test xml_parse_into_struct() function : variation
 --SKIPIF--
 <?php
 if (!extension_loaded("xml")) {
-       print "skip - XML extension not loaded";
+    print "skip - XML extension not loaded";
 }
 ?>
 --FILE--
index 7d398dfd7014e3ed41d14e4a3dec7b4c1d455447..cae9ed71466f507599084003e8ccb3bca505d4cd 100644 (file)
@@ -3,7 +3,7 @@ Test xml_set_notation_decl_handler function : basic
 --SKIPIF--
 <?php
 if (!extension_loaded("xml")) {
-       print "skip - XML extension not loaded";
+    print "skip - XML extension not loaded";
 }
 ?>
 --FILE--
index 592c9f52e80bcd90d5d61f6ee5107686216d2dfe..d1163de356e0b6696efe6a0956ae62ddfa33123f 100644 (file)
@@ -3,7 +3,7 @@ Test xml_parser_set_option() function : usage variations
 --SKIPIF--
 <?php
 if (!extension_loaded("xml")) {
-       print "skip - XML extension not loaded";
+    print "skip - XML extension not loaded";
 }
 ?>
 --FILE--
index 6ceaea63d09145f5f2a1d0bf442b99cc94b1407f..aa37b84a5560c268e546e0bc4fc28f2f21d7cb0e 100644 (file)
@@ -3,7 +3,7 @@ Test xml_set_notation_decl_handler function : basic
 --SKIPIF--
 <?php
 if (!extension_loaded("xml")) {
-       print "skip - XML extension not loaded";
+    print "skip - XML extension not loaded";
 }
 ?>
 --FILE--
index 54a71fd48c7716221d8159172c17beb356b59da5..dc9efe278b969394310056bc73fbe0211cdcc3cc 100644 (file)
@@ -3,7 +3,7 @@ Test xml_set_processing_instruction_handler function : basic
 --SKIPIF--
 <?php
 if (!extension_loaded("xml")) {
-       print "skip - XML extension not loaded";
+    print "skip - XML extension not loaded";
 }
 ?>
 --FILE--
index 6a783f6cfcd71def47bdd99424a53ff24f29cd32..ba27eec9f5f94b9c32b5b10aa0a99bfc9b9228e5 100644 (file)
@@ -3,7 +3,7 @@ Test xml_set_start_namespace_decl_handler function: basic
 --SKIPIF--
 <?php
 if (!extension_loaded("xml")) {
-       print "skip - XML extension not loaded";
+    print "skip - XML extension not loaded";
 }
 ?>
 --FILE--
index b6b0c84b182d0e678855d5378a4f990262691a50..2e6f70dc0ab223e6a107b4f9a3fc01ac4b6db396 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 #79029 (Use After Free's in XMLReader / XMLWriter)
 --SKIPIF--
-<?php 
+<?php
 if (!extension_loaded("xmlwriter")) print "skip xmlwriter extension not available";
 if (!extension_loaded("xmlreader")) print "skip xmlreader extension not available";
 ?>
index 5f830356b7410bbfac2be766cb610a48c964049a..2119181a5b44d8d1fe25e21cb5656a59c25652e1 100644 (file)
@@ -2,9 +2,9 @@
 Test phpinfo() displays xsl info
 --SKIPIF--
 <?php
-       if (!extension_loaded("xsl")) {
-               die("SKIP extension gettext not loaded\n");
-       }
+    if (!extension_loaded("xsl")) {
+        die("SKIP extension gettext not loaded\n");
+    }
 ?>
 --FILE--
 <?php
index a10b13a5804329eebd3d721e6e38e61802b765ee..d9b072098dc753b421b6cfd2171615b621948543 100644 (file)
@@ -2,8 +2,8 @@
 Test 8: Stream Wrapper Includes
 --SKIPIF--
 <?php
-       require_once __DIR__ .'/skipif.inc';
-       if (!extension_loaded('zlib')) die('skip zlib extension not available');
+    require_once __DIR__ .'/skipif.inc';
+    if (!extension_loaded('zlib')) die('skip zlib extension not available');
 ?>
 --FILE--
 <?php
index 4446045198b468c4ad50406d25cf25371cdc5e3b..c2268312e1fadb1b9949ed881f85cb1e7987d46e 100644 (file)
@@ -2,8 +2,8 @@
 Test 8: Stream Wrapper Includes
 --SKIPIF--
 <?php
-       require_once __DIR__ .'/skipif.inc';
-       if (!extension_loaded('zlib')) die('skip zlib extension not available');
+    require_once __DIR__ .'/skipif.inc';
+    if (!extension_loaded('zlib')) die('skip zlib extension not available');
 ?>
 --FILE--
 <?php
index 25f8f6896f8ec56261887238fe7bc0f9a05f8712..05d5b5883ffb401e405a77d1c79de9c3a244004d 100644 (file)
@@ -2,8 +2,8 @@
 Test 9: Stream Wrapper XPath-Document()
 --SKIPIF--
 <?php
-       require_once __DIR__ .'/skipif.inc';
-       if (!extension_loaded('zlib')) die('skip zlib extension not available');
+    require_once __DIR__ .'/skipif.inc';
+    if (!extension_loaded('zlib')) die('skip zlib extension not available');
 ?>
 --FILE--
 <?php
index 6c2f18207783d191bb52691ea55e86cd538eee3e..bf6b4e6c6947b806899f6d3473de95f7ae0c1032 100644 (file)
@@ -18,7 +18,7 @@ function fooResults() {
 
 function doSomething() {
     $generator = fooResults();
-    
+
     while($generator->current() !== NULL) {
         echo $generator->current() . PHP_EOL;
         if ($generator->current() === 5) {
index ab021f4715944104a3e26e7eb094f3d111002ae9..3a4e74a07c8062d3073cdd2a92323fb3ebf1ec60 100644 (file)
@@ -46,7 +46,7 @@ unlink("$base_path/51353.zip");
 
 $a = glob("$base_path/51353_unpack/*.txt");
 foreach($a as $f) {
-       unlink($f);
+    unlink($f);
 }
 rmdir("$base_path/51353_unpack");
 ?>
index d187175cd9f98ba78afca24f3d79902c5af1d899..43f60f5d7c5666381234064743c69649cb1d335f 100644 (file)
@@ -2,7 +2,7 @@
 Bug #64342 ZipArchive::addFile() has to check file existence (variation 1)
 --SKIPIF--
 <?php
-       if(!extension_loaded('zip')) die('skip');
+    if(!extension_loaded('zip')) die('skip');
 ?>
 --FILE--
 <?php
index 3f9843fc45dc00c68e2c0628d8d3194720f5568f..9bbfef5f7fd4174c2cec65c3290ce5e952a3bbfa 100644 (file)
Binary files a/ext/zlib/tests/bug55544-win.phpt and b/ext/zlib/tests/bug55544-win.phpt differ
index e650fe6909f555d04834f4c08f7fd0d354b783e2..b5041cedc566fa9fdafa233baa3a84c6475ca6f6 100644 (file)
Binary files a/ext/zlib/tests/bug55544.phpt and b/ext/zlib/tests/bug55544.phpt differ
index ab7c74e9ccf7c22b4b46511f41f11e8c2ecebbbc..646396c04199dc0f71bdb54c765cc62d0b24bd70 100644 (file)
@@ -3,7 +3,7 @@ Bug #61139 (gzopen leaks when specifying invalid mode)
 --SKIPIF--
 <?php
 if (!extension_loaded('zlib')) {
-       die('skip - zlib extension not loaded');
+    die('skip - zlib extension not loaded');
 }
 ?>
 --FILE--
@@ -12,7 +12,7 @@ if (!extension_loaded('zlib')) {
 gzopen('someFile', 'c');
 --CLEAN--
 <?php
-       unlink('someFile');
+    unlink('someFile');
 ?>
 --EXPECTF--
 Warning: gzopen(): gzopen failed in %s on line %d
index f3387de09cee52db83ae175cfc74701d50ffa1ec..1f72fc1c884690df71c8915ca61912f2061bead1 100644 (file)
@@ -3,7 +3,7 @@ Test function gzclose() by calling it with its expected arguments
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 3a8ee949bc4a75ea5da046ef2c9acb053ed57e92..a5d27359274e3256fcf69e6c320fa7ef1578bbb9 100644 (file)
@@ -3,7 +3,7 @@ Test gzcompress() function : basic functionality
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index e559030151dc2bdb0effb7deed5aaba9da29ec3a..ff09d6568affc6c976ac7a149f3710943ed5e710 100644 (file)
@@ -3,7 +3,7 @@ Test gzcompress() function : error conditions
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index e3cc8e846beee604ff1988624141b4eeab268ce8..762aa3c870d63268ab9cab2813e14c9d93ac213b 100644 (file)
@@ -3,7 +3,7 @@ Test gzcompress() function : variation
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 5257e4db6c5374b358bff752b5c9c95d49d07191..7ace99a8a7e2f8300cd5658eacdbc7024acbb0f4 100644 (file)
@@ -3,7 +3,7 @@ Test gzdeflate() function : basic functionality
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index fbcb2d95f317cad9d54d4c12272be76416626ce1..fea4dfec002a7a12049ceb98a1b873395d084711 100644 (file)
@@ -3,7 +3,7 @@ Test gzdeflate() function : error conditions
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 3058b1d9008f41e45fb16c642d7e7428ee72c829..e881d77b5102c27ae8b901fe90c9f5cfa172b071 100644 (file)
@@ -3,7 +3,7 @@ Test gzdeflate() function : variation
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 927e0406db246371dce26876340fd969b986c0fe..b129399dfd7ae207a73376e0045bb020526b4656 100644 (file)
@@ -3,7 +3,7 @@ Test gzencode() function : basic functionality
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 5d850e5438af7fa7e905b9af5ac9c701dec79774..951437b98a085d758acf6729df7ac670f954cf15 100644 (file)
@@ -3,7 +3,7 @@ Test gzencode() function : error conditions
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 7272b4e7dc582ce4a17c5667e18d0b7808a17505..f7870e890fa55df05f90ff4240ba6d05e0155794 100644 (file)
@@ -8,7 +8,7 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) {
 }
 
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 625745629872cfa24feb27cbb801a8699fc671ec..b3987b9d205faa6288f0fd03bbb9c7112e6f530a 100644 (file)
@@ -8,7 +8,7 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
 }
 
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 
 if (PHP_OS == "Darwin") {
index 5ad5a1cdc424e857d30f126ec3ea02f205768412..727a079b61275d1ff1e75f4532f862979928881b 100644 (file)
@@ -8,12 +8,12 @@ if( substr(PHP_OS, 0, 3) != "WIN" ) {
 }
 
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 
 include 'func.inc';
 if (version_compare(get_zlib_version(), "1.2.11") < 0) {
-       die("skip - at least zlib 1.2.11 required, got " . get_zlib_version());
+    die("skip - at least zlib 1.2.11 required, got " . get_zlib_version());
 }
 ?>
 --FILE--
index d5c0844006908feea970d271d1f8641c2986851a..f1e3c0d2baba27cb7b85cd8cb472f8e23ebb81df 100644 (file)
@@ -8,7 +8,7 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
 }
 
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 
 if (PHP_OS == "Darwin") {
index c159819d76b4ef8c14c65209d0a3d7a930f43d10..f92450d22b98cb41ce74bd70d2dc95ca6b0ebbc1 100644 (file)
@@ -3,7 +3,7 @@ Test function feof() by calling it with its expected arguments
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 2dded2ca1a4ab6293f2c86268d1e617f8cff9768..3be013facfa04291092e59916badb878bf1b7a5a 100644 (file)
@@ -3,7 +3,7 @@ Test function gzeof while writing.
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 01958214bcb0047ef4b13b54fd241d2f60d7f7c8..7fb103b3ecc9f343a5aa563f6fed535b44377f50 100644 (file)
@@ -3,7 +3,7 @@ Test gzfile() function : variation: use include path (relative directories in pa
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index c9b7fcf6159be53d1303a9d1349c15d2aa6c2e5b..5eff9b6d5df8c6cb887968f81f825b31b551dc24 100644 (file)
@@ -3,11 +3,11 @@ Test function gzgetc() by calling it with its expected arguments zlib 1.2.5
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 include 'func.inc';
 if (version_compare(get_zlib_version(), '1.2.5') > 0) {
-       die('skip - only for zlib <= 1.2.5');
+    die('skip - only for zlib <= 1.2.5');
 }
 ?>
 --FILE--
index b2a1a056af68b54dc2c51bd0bcb279f6ac4cffef..49e4ab8f6becfb987b2436b703b740fe37b87963 100644 (file)
@@ -3,11 +3,11 @@ Test function gzgetc() by calling it with its expected arguments zlib 1.2.7
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 include 'func.inc';
 if (version_compare(get_zlib_version(), '1.2.7') < 0) {
-       die('skip - only for zlib >= 1.2.7');
+    die('skip - only for zlib >= 1.2.7');
 }
 ?>
 --FILE--
index 80ef741423142dfe25fadb9bd98b6e1c62bfc119..4f4e908645d6586a0febf7e7453b56089f0e7fe3 100644 (file)
@@ -3,7 +3,7 @@ Test function gzgets() by calling it with its expected arguments
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 2ddb3adb6b9fc07729b831f7c8bc7e3dedfa259b..67f2aa438bce74230b49e948450c1569fb1c7351 100644 (file)
@@ -3,7 +3,7 @@ Test gzinflate() function : error conditions
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index a1768e8e005840af3e0dcade1c3e3c5202fdf00b..cbb4174f9fe00514a787783e4b4249876da3bb6c 100644 (file)
@@ -3,7 +3,7 @@ Test gzopen() function : basic functionality
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 2b5a9c61d160474a9e55652d3ad17dff3744db86..5814b5168f3773a116f39c377fba6bbb5a9d0053 100644 (file)
@@ -3,7 +3,7 @@ Test gzopen() function : basic functionality for writing
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 3fe924a282fc05037b0a6fdb8a85f2685ce3b2ce..6505306c4534e704990c785f457cef959e3c6396 100644 (file)
@@ -3,7 +3,7 @@ Test gzopen() function : variation: use include path (relative directories in pa
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index a1cf48ba18ed066927e3c736cc783324a96d98e6..e06c358d80d90ff3f605e35679579b6bc5f3fbf4 100644 (file)
@@ -3,7 +3,7 @@ Test gzopen() function : variation: use include path and stream context create a
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 631314818fcddcabc0a6b83c4a59c604e3db2619..16b266db65a5e388396e4e2c336f2a2782c46c2d 100644 (file)
@@ -3,7 +3,7 @@ Test gzopen() function : variation: relative/absolute file
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index f3ba9a4fbc50e90efff969f32ca259308e52a645..7eef44a702bdc51963046a4cf5f2cd1d47d056a1 100644 (file)
@@ -3,7 +3,7 @@ Test function gzopen() by calling it twice on the same file and not closing one
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 1885a048d6807136965ed5b8d83065db893ace9a..b2b12276ebd25f09e50e2d0075a974046d189b34 100644 (file)
@@ -3,7 +3,7 @@ Test gzopen() function : variation: opening a plain file
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 91e2a4297657f6852389b118887fb8fc7413ced2..b8b895a92d524fd4fbecb4f0a7935624a81f0f85 100644 (file)
@@ -3,7 +3,7 @@ Test gzopen() function : variation: try opening with possibly invalid modes
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 5606114bc3d8ba6f42a3b309e2e2c26c3c3fecc8..4ca2780b41355c1b7258a6590c84252fefe9c7fa 100644 (file)
@@ -3,7 +3,7 @@ Test function gzpassthru() by calling it with its expected arguments
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index e1414d2504e55797510bb7f2ebceccabe51b30e1..6fd4d0748de63324ff2809a552b9701063c49866 100644 (file)
@@ -3,7 +3,7 @@ Test function gzputs() by calling it with its expected arguments
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 1b66d85fc10cc219be24ec5cef031c69d3df7b27..356eb2c8450498556743ed12a3cebbae99c8a836 100644 (file)
@@ -3,7 +3,7 @@ Test function gzread() by calling it with its expected arguments
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index ff0dfe80289feefea93eca7e60a7cd9d016e6d1e..0b4c4d13fcbc649ee0c496cdcca8061a86e7139f 100644 (file)
@@ -3,7 +3,7 @@ Test function gzread() by calling it invalid lengths
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index bc9eee4f946817d7b822df106b91790952fbd94c..f5968e28ad2331f97ada91b2d8fbb24467631424 100644 (file)
@@ -3,7 +3,7 @@ Test function gzread() by calling it while file open for writing
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 988e10a36622e80af4dcffdb50fc97ba823e1744..ffed16d4e91676b60324aaaea54b9d0bf991d28f 100644 (file)
@@ -3,7 +3,7 @@ Test function gzrewind() by calling it with its expected arguments when reading
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index d1a2d296fc33df02cb5068a5e8bf956e780a4cb4..1522750c5ba21a74a06a344b4ce1c33f372eaebd 100644 (file)
@@ -3,7 +3,7 @@ Test function gzrewind() by calling it with its expected arguments when reading
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 1704771679e77386c785adf383084de645b37414..0b2053993d96acfe7af95ad9575c5c4c864888c9 100644 (file)
@@ -3,7 +3,7 @@ Test function gzrewind() by calling it with its expected arguments when writing
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 2cc13595591eb7d17aeb2e3837b6661a11e7eac9..9a835f8df5b3c8da5314ff66d1ce16c54a6f020c 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by calling it with its expected arguments when reading
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index a463d607f181517dc23a29e7e080ed034c128a04..c9d60ebcfd3a798bc5b09d932bdc31c93bd2d1c9 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by calling it with its expected arguments when writing
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 81fe03598791590aaee4a1d279cfdd5cb0ed6a8a..e5dcefc9bb06532a5051b4e8376d4334fc40e4b1 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by seeking forward in write mode
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 56b4fa9ec132de278df961078eac46ee989c9f21..50ad28f36fea1b3c3b89378649430f0ef89337a0 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by calling it with SEEK_SET when reading
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 77e0e33e019d608c0af870b34ebbeb66dc280261..0ba9eb68eaf0d240e046e8416c674277f9678123 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by calling it with SEEK_CUR when reading
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 09e38cd33d6dadf0eeaf84f632af4b0980bacaf6..2850efa7d64c88e3ffa508c252db2fe953b1eb02 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by calling it with SEEK_SET when writing
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index e59a3fb88d7ba4264adadffca1b3bfbdf7cf19b0..41d5c777a6883af5daa7cc12eafded95ba8710f8 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by calling it with SEEK_CUR when writing
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index e7f49f5fd72f881a6171db9549adddcc02b3f3d6..1c2e6de562ba7249fab539fcbf1b863a0907375b 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by calling it with SEEK_END when reading
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 67c0ecf074db94034bfdb02ecd8565ef774f6cf7..1198e56ced57bc1915bbfeb9b4e15a72c89b90ca 100644 (file)
@@ -3,7 +3,7 @@ Test function gzseek() by calling it with SEEK_END when writing
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index acd0829360bb8f157ecb8d895a7c4716eff8f178..063bae63bb6a293ab444083c22c308456057520b 100644 (file)
@@ -3,7 +3,7 @@ Test function gztell() by calling it with its expected arguments when reading
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 13ac183d46519d2fefcd29f6129fcab76902b949..b9d9eb083738da29faf733be1005c9005c820425 100644 (file)
@@ -3,7 +3,7 @@ Test function gztell() by calling it with its expected arguments when writing
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index d82d7069e3a2d15f515e3918def3e2dd8a47e616..c46e8b35ebd996837268b87438fde3eba985733b 100644 (file)
@@ -3,7 +3,7 @@ Test gzuncompress() function : basic functionality
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 5390cce93832d8c61f0b037ad0b4a7a46a7c2bed..a93de5b054b189ebff16f295a500bcbac643e46d 100644 (file)
@@ -3,7 +3,7 @@ Test gzuncompress() function : error conditions
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index bdea57deff856df973ddfbb0ea6e22620a44a1dc..699b2f49937d252078c6dee8154acf7090bb3a0c 100644 (file)
@@ -3,7 +3,7 @@ Test function gzwrite() by calling it with its expected arguments
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index a4e4fa4958d6a7410afd675de7845fa8365b611f..009cb4d7d28d83e53a8179a625613e77952ec1a4 100644 (file)
@@ -3,7 +3,7 @@ Test function gzwrite() by calling it invalid lengths
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 563702e4bdcc5cf92bab50c99cbf7e83f44ca556..540a87985a109a3589d38e3f267767b9e903db7d 100644 (file)
@@ -3,7 +3,7 @@ Test function gzwrite() by calling it when file is opened for reading
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 1a96fdb42909065233fd43a48bf7f42dcf6c6b43..749087f6ce66e44c692416c6c21c0599aa0dfd32 100644 (file)
@@ -3,7 +3,7 @@ Test readgzfile() function : variation: use include path (relative directories i
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 5a35164cf1c9cbee39a17e6367d2c2bba1ade9cf..9c6becb4c75f976e6bd747efb6a586d5a06e3636 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the copy function: compressed to compressed
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index a5e145faa3fcc3d840d07c261dced8f82b3c3896..c96e2bee290be9aed4c6b33a27097661a4e62571 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the copy function: compressed to uncompressed
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 8492862892a27d4aa9a999c5710f3b09e59fa928..829351846bce542352905ab702250b372e03914d 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the copy function: uncompressed to compressed
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index f0e155e899366fffd0105e1264a8518831ea2dcf..014243d5749f2f248ce42f4f8af267b01c68779d 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the directory functions
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 5d73cf16c2944a0696e9ddf4b453938f6ea7c138..cb697f44f07180c7b4825ae8a7ff3219a4846815 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the file
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index b02a1bffe98c6559b0eeed1e1d65e7c50750e61e..615d3c5d25ecbf0c963e5fd7bddbfbb8b7767982 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the file_get_contents
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 51a52c9808efc8683c77be686ffe78301c101671..7ed77b36b3381ff902b802c347c4302406925883 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the file_get_contents
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 007a4a50229e2377306bc734ab5ea68cc3403606..73047310214e7c43338caf04339021d67c11ce86 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the file_get_contents
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index c6508deaa047bcab792079d8d3fd53dc728e36ff..e8c6492024f5f3c2acef83e305b37536b16f1362 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the fopen
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 8bed54ebaa7c69abdc01d21bd8447f2d94b727e4..093b137c6e7d13c9c39b1d3b63f14d28dd5d9805 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the fopen on a file scheme
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index b58a09f89e26bda482690d0db2825fbb731f3109..e67970d332cfd1db04e817e816b4234bf06ea601 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the unlink function
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 31d08866ba30741df53e9aae8118d54ce82a0ff2..fa48454db523cab5f0e00620a01dab27a62323e5 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the unlink function
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 23c59f8ff3ea43d0823b7ccebd771fbbe476a1f3..c2cfca723a91e70112f66315c353c4cc6e678aa0 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the unlink function
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index ca21637ed104a507f15599135730e3e45b95ea2e..c5c4eabb466ef5e7e166dbd893f9e6b5a741a93b 100644 (file)
@@ -3,7 +3,7 @@ Test compress.zlib:// scheme with the unlink function
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 6911aabe69e8d73b7833724ae4ea36ffc28718fa..54d0e37860d5d04ba1ff912007fad0d76034e39f 100644 (file)
@@ -3,7 +3,7 @@ Test function fflush() on a zlib stream wrapper
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 41c651c50f991632f35c6d091a6130c046f961ca..6d3f9d6237920d2a5537d7ab8a45ec8ba090bd25 100644 (file)
@@ -3,7 +3,7 @@ Test function stream_get_meta_data on a zlib stream
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 20af263e5a038fd9ea2dcbd827fba8ac68d48046..eaa9a124db483121e8cfdd5f11c827170e24d08b 100644 (file)
@@ -3,7 +3,7 @@ Test function fstat() on zlib wrapper
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 2ace80d21cd9a35b21729e1cfa06481b17b9fdc0..07b3917213d8b5977744c611c0641ff95af9e025 100644 (file)
@@ -3,7 +3,7 @@ Test function ftruncate() on zlib wrapper by calling it with its expected argume
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 8476b2923a0c2fdfd54bb818cbfe31e405c61b57..815854b21e1a5e01d49ea1864db13083a585ea66 100644 (file)
@@ -3,7 +3,7 @@ Test function stream_get_meta_data on a zlib stream
 --SKIPIF--
 <?php
 if (!extension_loaded("zlib")) {
-       print "skip - ZLIB extension not loaded";
+    print "skip - ZLIB extension not loaded";
 }
 ?>
 --FILE--
index 00c59c72784a0e7b52f85c811788f30a438c1cdb..ac3f6aa8e638605b9e7fe897dca4fd2dd4e476c8 100644 (file)
@@ -4,7 +4,7 @@ strip comments and whitespace with -w
 <?php
 
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 
 include "skipif.inc";
index 1674f16fb9ea6099f1f7c34a87b3f6fa05db77cd..cafec91d3dbbdc278d887ea1ae91dc0e332ccd60 100644 (file)
@@ -4,7 +4,7 @@ using invalid combinations of cmdline options
 <?php
 
 if (substr(PHP_OS, 0, 3) != 'WIN') {
-       die ("skip Windows only");
+    die ("skip Windows only");
 }
 
 include "skipif.inc";
index 6b41f7a99f9aa2176c5b22c6546b210c83a80e09..a46ac912c70639fd0cdcd5cfe627473655a5355c 100644 (file)
@@ -4,7 +4,7 @@ using invalid combinations of cmdline options
 <?php
 
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 
 include "skipif.inc";
index 2be668f18884c934763f0697f2a2c1834c7b35af..8eb4e47b6e1669c8e4872e3b14eba9ffd0b983ec 100644 (file)
@@ -4,7 +4,7 @@ running code with -r
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index 71ef7163bef39ef41929fc700959bc42c65f93b5..3a88b2a9a3aa1c3ff6ece75d914dbd179937b8b5 100644 (file)
@@ -4,7 +4,7 @@ defining INI options with -d (as 2nd arg)
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index 6584e2c7bef2124e36780b3d93b2f8eb858469b6..63e812d4a7cd7ace2268dfda20982f969de60e36 100644 (file)
@@ -4,7 +4,7 @@ defining INI options with -d
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index f3443b7475e64c54bb57f53d41eca48b8b202b70..77a5667bda82f09d0ffe7e5d2adb52ce805d0c67 100644 (file)
@@ -4,10 +4,10 @@ show information about extension
 <?php
 include "skipif.inc";
 if (!extension_loaded("session")) {
-       die("skip session extension required");
+    die("skip session extension required");
 }
 if (PCRE_JIT_SUPPORT == false) {
-       die ("skip not pcre jit support builtin");
+    die ("skip not pcre jit support builtin");
 }
 ?>
 --INI--
index 94ea6fd2474576b38ecc0e65998c57f1b560991b..73faa334237cf8c410eb2fe87da0fa18f063e0a1 100644 (file)
@@ -4,7 +4,7 @@ strip comments and whitespace with -w
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index c96170d4979b66262c4d0d13cf970d43c3ca9742..c3acf6b86330d7be08748a156234ffc408b1a354 100644 (file)
@@ -4,7 +4,7 @@ execute a file with -f
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index af998351bb76c2620e6ed2235997c444f045b317..1780c3ffd622653ae1472f12a556ab2f88d67458 100644 (file)
@@ -4,7 +4,7 @@ executing a code with -R
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index 01b35991369e1aa948870690a0254e159fad2628..d06007bd55e98c3c15bf142c57d76f52ff3c17c5 100644 (file)
@@ -4,7 +4,7 @@ executing a file with -F
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index 3ca2ba833caa967c04701f919f144781d9f28662..0684b8d0573cfa329b56687f0c7d56fc9228dbd3 100644 (file)
@@ -4,7 +4,7 @@ running PHP code before and after processing input lines with -B and -E
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index 5a5e6c5190d2581129adc1be71fd0ae128ad4cdb..b64a5f0d50fae5daca5baf31b2a448b7909f3a45 100644 (file)
@@ -4,7 +4,7 @@ CLI long options
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index bbba579ec2b247027ce4d3ed3d821998a63c3c41..bf23affe818e9b3fc8a27bdf2bceddfcdd32b97b 100644 (file)
@@ -4,7 +4,7 @@ CLI -a and readline
 <?php
 include "skipif.inc";
 if (!extension_loaded('readline') || readline_info('done') === NULL) {
-       die ("skip need readline support");
+    die ("skip need readline support");
 }
 ?>
 --FILE--
index 6c9a7924767378dc7b115b86fdd15c5131dd7479..344daa7408b5915b2fe26939948d8d7e8cef0777 100644 (file)
@@ -4,7 +4,7 @@ CLI -a and libedit
 <?php
 include "skipif.inc";
 if (!extension_loaded('readline') || readline_info('done') !== NULL) {
-       die ("skip need readline support using libedit");
+    die ("skip need readline support using libedit");
 }
 if(substr(PHP_OS, 0, 3) == 'WIN' ) {
     die('skip not for Windows');
index 9ebe4faa87f1e484dcc73927ede17753a36f9ccb..2aadfef62ae85063472b1be21e58990431477acc 100644 (file)
@@ -4,7 +4,7 @@ CLI php -m
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index 2b8c0f007ecbc453a1e98b732437751d0b1a19be..e8404d835e5e79d4421c96170ed09d481598eb80 100644 (file)
@@ -4,7 +4,7 @@ CLI php -i
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index 001cf62a3836de1d8ce38d91786507706fb284e0..fb7bcb4e7b5f6b727af61a7dfc5abca1e00c0cdd 100644 (file)
@@ -4,7 +4,7 @@ CLI php --ri
 <?php
 include "skipif.inc";
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 ?>
 --FILE--
index a5d97c326d563305619b3735e7bda0f60a64f335..837f64109d03d07e14c955aea846e0d92a76e967 100644 (file)
@@ -4,7 +4,7 @@ CLI shell shebang
 <?php
 include 'skipif.inc';
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-       die ("skip not for Windows");
+    die ("skip not for Windows");
 }
 
 if (strlen("#!".getenv('TEST_PHP_EXECUTABLE')) > 127) {
index a2bae24dc3ead335a4698990add9c00073360d81..0ed6204b89d79961c6d7a6123fdb2013357b8586 100644 (file)
@@ -5,12 +5,12 @@ Bug #77111 php-win.exe corrupts unicode symbols from cli parameters
 include "skipif.inc";
 
 if (strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
-       die("skip this test is for Windows platforms only");
+    die("skip this test is for Windows platforms only");
 }
 
 $php = dirname(getenv('TEST_PHP_EXECUTABLE')) . DIRECTORY_SEPARATOR . "php-win.exe";
 if (!file_exists($php)) {
-       die("skip php-win.exe doesn't exist");
+    die("skip php-win.exe doesn't exist");
 }
 
 ?>
index 7dca62a7e8e9f2d584ca534a1bca78f5f3005a3b..6ef5b9f9507f9a470badc8c4cf28278991990e1c 100644 (file)
@@ -3,7 +3,7 @@ Bug #44564 (escapeshellarg removes UTF-8 multi-byte characters)
 --SKIPIF--
 <?php
 if (false == setlocale(LC_CTYPE, "UTF8", "en_US.UTF-8")) {
-       die("skip setlocale() failed\n");
+    die("skip setlocale() failed\n");
 }
 ?>
 --FILE--
index ff3e3029e63db5481499d962d0959aea2090f126..7350cd2046169080c408df5fbe41f84f8005b9fa 100644 (file)
@@ -3,14 +3,14 @@ Bug #64529 (Ran out of opcode space)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == "WIN") {
-       die("skip non windows test");
+    die("skip non windows test");
 }
 if (!extension_loaded("readline") || !readline_info("done")) {
-       die("skip readline support required");
+    die("skip readline support required");
 }
 exec('which expect', $output, $ret);
 if ($ret) {
-       die("skip no expect installed");
+    die("skip no expect installed");
 }
 ?>
 --FILE--
index 33a6e16a10c8db8d08579cf89998f7d8b292af39..87e8eda64ae0f34a41e4e99b49b334cf528d881b 100644 (file)
@@ -3,7 +3,7 @@ Bug #64544 (Valgrind warnings after using putenv)
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == "WIN") {
-       die("skip non windows test");
+    die("skip non windows test");
 }
 ?>
 --FILE--
index 6b8a2ad948e562d84b2127cd87931e5b232ed3df..addc026322dc53a1051b9ca4bb8bd33f6823f66f 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 register_shutdown_function(function() {
-       die(111);
+    die(111);
 });
 
 die(222);
index 81258da1d38391592a98dd06f4fae70180792833..3d139ce6506fcd3470a92d274b217b44e4a371fb 100644 (file)
@@ -5,31 +5,31 @@ file upload greater than 2G
 include "skipif.inc";
 
 if (PHP_INT_SIZE < 8) {
-       die("skip need PHP_INT_SIZE>=8");
+    die("skip need PHP_INT_SIZE>=8");
 }
 
 if (disk_free_space(sys_get_temp_dir()) < 2300000000) {
-       die("skip need more than 2.15G of free disk space for the uploaded file");
+    die("skip need more than 2.15G of free disk space for the uploaded file");
 }
 
 if (!file_exists('/proc/meminfo')) {
-       die('skip Cannot check free RAM from /proc/meminfo on this platform');
+    die('skip Cannot check free RAM from /proc/meminfo on this platform');
 }
 
 $free_ram = 0;
 if ($f = fopen("/proc/meminfo","r")) {
-       while (!feof($f)) {
-               if (preg_match('/MemFree[^\d]*(\d+)/i', fgets($f), $m)) {
-                       $free_ram = max($free_ram, $m[1]/1024/1024);
-                       if ($free_ram > 3) {
-                               $enough_free_ram = true;
-                       }
-               }
-       }
+    while (!feof($f)) {
+        if (preg_match('/MemFree[^\d]*(\d+)/i', fgets($f), $m)) {
+            $free_ram = max($free_ram, $m[1]/1024/1024);
+            if ($free_ram > 3) {
+                $enough_free_ram = true;
+            }
+        }
+    }
 }
 
 if (empty($enough_free_ram)) {
-       die(sprintf("skip need +3G free RAM, but only %01.2f available", $free_ram));
+    die(sprintf("skip need +3G free RAM, but only %01.2f available", $free_ram));
 }
 
 if (getenv('TRAVIS')) {
index cdea16f689bb7abe284591ccc1c9b98594bed8af..7fe6757d6859eee0e779b9a3016b011c9a446025 100644 (file)
@@ -2,7 +2,7 @@
 ZE2 Autoload and class_exists
 --SKIPIF--
 <?php
-       if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
+    if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
 ?>
 --FILE--
 <?php
index 752a9928af7173532f6c5c6f4636f046060f4b16..32321b3bfe0eee0bc587ab5a16d43cdc611e0a8e 100644 (file)
@@ -2,7 +2,7 @@
 ZE2 Autoload and get_class_methods
 --SKIPIF--
 <?php
-       if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
+    if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
 ?>
 --FILE--
 <?php
index 05887433c363ccac87cf8f26601930545fa130b6..a81d56fe6c698512c8da643123b1da460d65713a 100644 (file)
@@ -2,7 +2,7 @@
 ZE2 Autoload and derived classes
 --SKIPIF--
 <?php
-       if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
+    if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
 ?>
 --FILE--
 <?php
index 8539e074333e10e63fbc93bb4009bb32075e10f0..a5dd5e393c50a8befe7a75f7857adc6691bf6b15 100644 (file)
@@ -2,7 +2,7 @@
 ZE2 Autoload and recursion
 --SKIPIF--
 <?php
-       if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
+    if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
 ?>
 --FILE--
 <?php
index 72d83b88f662965b537791afd9c626a0981b04de..16f55b9363926a0aabf01b624b47398698c67c3d 100644 (file)
@@ -2,7 +2,7 @@
 ZE2 Autoload from destructor
 --SKIPIF--
 <?php
-       if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
+    if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
 ?>
 --FILE--
 <?php
index f17011ca5e548ac898647ca13d1cfcb22d8b6006..fd3c85580f6006c521d872230602c3d58192b124 100644 (file)
@@ -2,7 +2,7 @@
 ZE2 Autoload from destructor
 --SKIPIF--
 <?php
-       if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
+    if (class_exists('autoload_root', false)) die('skip Autoload test classes exist already');
 ?>
 --FILE--
 <?php
index 2ed6bce9d7b8b54f25876e3782dbe1213fbf9ea3..439c87e13b4582475681b5e56b45d092b51d4672 100644 (file)
@@ -5,7 +5,7 @@ precision=14
 --SKIPIF--
 <?php  # try to activate a german locale
 if (setlocale(LC_NUMERIC, "de_DE.UTF-8", "de_DE", "de", "german", "ge", "de_DE.ISO-8859-1") === FALSE) {
-       print "skip Can't find german locale";
+    print "skip Can't find german locale";
 }
 ?>
 --FILE--
index 24e6609498c211b5ea829f60af16558ccf91e273..3eb2c35241442c0fe9efe5066e101711e284c412 100644 (file)
@@ -3,7 +3,7 @@ Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X
 --SKIPIF--
 <?php  # try to activate a german locale
 if (setlocale(LC_NUMERIC, "de_DE.UTF-8", "de_DE", "de", "german", "ge", "de_DE.ISO-8859-1") === FALSE) {
-       print "skip setlocale() failed";
+    print "skip setlocale() failed";
 } elseif (strtolower(php_uname('s')) == 'darwin') {
     print "skip ok to fail on MacOS X";
 }
index d609e4877014121b323faf01a18a31af4b60e744..21be3b76a9593a42f81306e811e484570d19f863 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on older Windows versions with redirected STDERR
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) >= 0) {
-       echo "skip Only for Windows systems < 10.0.10586";
+    echo "skip Only for Windows systems < 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index 86cf631110c2d4203d14bea43d542f0fa3cedf50..94e692d01f292364acb5610b3ded8ad7fdad9650 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on older Windows versions with redirected STDIN/
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) >= 0) {
-       echo "skip Only for Windows systems < 10.0.10586";
+    echo "skip Only for Windows systems < 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index 4c0f5f990993784c53eeb2bb7aaf721dbd00c6f1..11caa432d13e92f0c68cd875a326e3c11fc01dec 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on older Windows versions with redirected STDIN/
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) >= 0) {
-       echo "skip Only for Windows systems < 10.0.10586";
+    echo "skip Only for Windows systems < 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index 01efb3bb4e36f73f0d95befb9aecc28f9f585d00..fc0429c4b0505edf09b5b1ed686af2241ea30571 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on older Windows versions with redirected STDIN/
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) >= 0) {
-       echo "skip Only for Windows systems < 10.0.10586";
+    echo "skip Only for Windows systems < 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index 09d3d8f0be40eab9763514d087f6fff67a74e48b..ee34be988b0d9ae3bf78887b072e9fea31fefe9f 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on older Windows versions with redirected STDOUT
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) >= 0) {
-       echo "skip Only for Windows systems < 10.0.10586";
+    echo "skip Only for Windows systems < 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index 65958ae19c1f0f092c3b55c3df99764ce1059338..3241ba352abd9be993cb385f86463effff7a759b 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on older Windows versions with redirected STDOUT
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) >= 0) {
-       echo "skip Only for Windows systems < 10.0.10586";
+    echo "skip Only for Windows systems < 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index 01a31a6b927e1b722a03ee1d2737fe78c8ae85e4..4d7543fdda1ae1843fd20b266e1f303cfd51664f 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on newer Windows versions with redirected STDERR
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) < 0) {
-       echo "skip Only for Windows systems >= 10.0.10586";
+    echo "skip Only for Windows systems >= 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index d36d79c8dcbf36eaddcc8359993490f3e686cc5a..e08d558e25acde5c42854171f8a63ecc000742dc 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on newer Windows versions with redirected STDIN/
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) < 0) {
-       echo "skip Only for Windows systems >= 10.0.10586";
+    echo "skip Only for Windows systems >= 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index 16066046510bbfd0513193fac22d3a28bce087ad..285a72f936366e3fcb736eb0e2878358e4045e7b 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on newer Windows versions with redirected STDIN/
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) < 0) {
-       echo "skip Only for Windows systems >= 10.0.10586";
+    echo "skip Only for Windows systems >= 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index f67942f603f7a528081c67b0423683551323ff2f..a84b36534747defdb8aaecfa69c11c9f09476229 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on newer Windows versions with redirected STDIN/
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) < 0) {
-       echo "skip Only for Windows systems >= 10.0.10586";
+    echo "skip Only for Windows systems >= 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index ebc6bcb1205667af86c9754ef117953d7cdc130e..f3f49aa618f4685bb7c25bb1caba5ac6dcac2b71 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on newer Windows versions with redirected STDOUT
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) < 0) {
-       echo "skip Only for Windows systems >= 10.0.10586";
+    echo "skip Only for Windows systems >= 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index 94a5f20a1bfb95d4f619aa8a3ba3f1790758bd3d..7fc5ae142b6c3fe580fa2b7822496c2f72e7d516 100644 (file)
@@ -3,15 +3,15 @@ Test sapi_windows_vt100_support on newer Windows versions with redirected STDOUT
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 if(PHP_OS_FAMILY !== "Windows") {
     echo "skip Only for Windows systems";
 } elseif (version_compare(
     PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD,
-        '10.0.10586'
+     '10.0.10586'
 ) < 0) {
-       echo "skip Only for Windows systems >= 10.0.10586";
+    echo "skip Only for Windows systems >= 10.0.10586";
 }
 ?>
 --CAPTURE_STDIO--
index e7c10383506d3259d8d10f4a70748a01aa6b2d2e..c0487392810bd3c578f1cea55f641128543aa31f 100644 (file)
@@ -3,7 +3,7 @@ Test stream_isatty with redirected STDERR
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 ?>
 --CAPTURE_STDIO--
index 73514955d43c9e1423d436fd8c0f5832bedee796..8c10baae8039b2c98808bd11a53590745d468309 100644 (file)
@@ -3,7 +3,7 @@ Test stream_isatty with redirected STDIN/STDERR
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 ?>
 --CAPTURE_STDIO--
index 9b65e8861b86b8bb7b8a89a36d2cc9599295bbbd..851327ead80240ebe28a926f5597e96ceababbb2 100644 (file)
@@ -3,7 +3,7 @@ Test stream_isatty with redirected STDIN/STDOUT/STDERR
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 ?>
 --CAPTURE_STDIO--
index c2bb346854f4f44f7e3d3151841d9731855a4b07..19fa8552b8b0ab6cf09deca2e4a111beb6e06b3c 100644 (file)
@@ -3,7 +3,7 @@ Test stream_isatty with redirected STDIN/STDOUT
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 ?>
 --CAPTURE_STDIO--
index dc113a972060e6479a79a88c60afe6266869fc3f..e080810ae8af0d2c4f8cad478f5c0bfb287af9eb 100644 (file)
@@ -3,7 +3,7 @@ Test stream_isatty with redirected STDOUT/STDERR
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 ?>
 --CAPTURE_STDIO--
index f18c986c5abf6616192675c9753e63dfdecf6c1e..80db5095103dd91dcac742167d461fb90cb6e932 100644 (file)
@@ -3,7 +3,7 @@ Test stream_isatty with redirected STDOUT
 --SKIPIF--
 <?php
 if (getenv("SKIP_IO_CAPTURE_TESTS")) {
-       die("skip I/O capture test");
+    die("skip I/O capture test");
 }
 ?>
 --CAPTURE_STDIO--
index af3005372bbb7be5eb57f41c7ea5767f58ab8ad6..a7979d6b5ed6ecbfad848e3001f2af3385790f6b 100644 (file)
@@ -4,7 +4,7 @@ phpt EXTENSIONS directive with shared module
 <?php
 $php = getenv('TEST_PHP_EXECUTABLE');
 if (false !== stripos(`$php -n -m`, 'openssl')) {
-       die('skip openssl is built static');
+    die('skip openssl is built static');
 }
 $ext_module = ini_get('extension_dir') . DIRECTORY_SEPARATOR . (substr(PHP_OS, 0, 3) === "WIN" ? "php_openssl." : "openssl.") . PHP_SHLIB_SUFFIX;
 if( !file_exists($ext_module) ) die('skip openssl shared extension not found');
index e6068350a87baf1450627c6cf7a56a3d0bde1a86..a68e9ac5312184cb081cdd0e6ea924fba090abd3 100644 (file)
@@ -3,10 +3,10 @@ openbase_dir runtime tightning
 --SKIPIF--
 <?php
 if(PHP_OS_FAMILY === "Windows") {
-       die('skip.. only for unix');
+    die('skip.. only for unix');
 }
 if (!is_dir("/usr/local/bin")) {
-       die('skip.. no /usr/local/bin on this machine');
+    die('skip.. no /usr/local/bin on this machine');
 }
 --INI--
 open_basedir=/usr/local