]> granicus.if.org Git - php/commitdiff
Migrate skip checks to --EXTENSIONS--, p1
authorMax Semenik <maxsem.wiki@gmail.com>
Mon, 22 Mar 2021 13:10:15 +0000 (16:10 +0300)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 22 Mar 2021 16:51:02 +0000 (17:51 +0100)
For rationale, see https://github.com/php/php-src/pull/6787

Extensions migrated in this part:
* bcmath
* bz2
* calendar
* com_dotnet
* ctype

Closes GH-6797.

192 files changed:
ext/bcmath/tests/bcadd.phpt
ext/bcmath/tests/bcadd_error.phpt
ext/bcmath/tests/bcadd_variation001.phpt
ext/bcmath/tests/bccomp.phpt
ext/bcmath/tests/bccomp_error.phpt
ext/bcmath/tests/bccomp_variation001.phpt
ext/bcmath/tests/bccomp_variation002.phpt
ext/bcmath/tests/bcdiv.phpt
ext/bcmath/tests/bcdiv_error1.phpt
ext/bcmath/tests/bcdiv_error2.phpt
ext/bcmath/tests/bcmod.phpt
ext/bcmath/tests/bcmod_error2.phpt
ext/bcmath/tests/bcmod_error3.phpt
ext/bcmath/tests/bcmul.phpt
ext/bcmath/tests/bcmul_error.phpt
ext/bcmath/tests/bcpow.phpt
ext/bcmath/tests/bcpow_error1.phpt
ext/bcmath/tests/bcpow_error2.phpt
ext/bcmath/tests/bcpow_error3.phpt
ext/bcmath/tests/bcpow_variation001.phpt
ext/bcmath/tests/bcpowmod.phpt
ext/bcmath/tests/bcpowmod_error.phpt
ext/bcmath/tests/bcpowmod_negative_exponent.phpt
ext/bcmath/tests/bcpowmod_zero_modulus.phpt
ext/bcmath/tests/bcscale.phpt
ext/bcmath/tests/bcscale_variation001.phpt
ext/bcmath/tests/bcscale_variation002.phpt
ext/bcmath/tests/bcscale_variation003.phpt
ext/bcmath/tests/bcsqrt.phpt
ext/bcmath/tests/bcsqrt_error1.phpt
ext/bcmath/tests/bcsqrt_error2.phpt
ext/bcmath/tests/bcsqrt_variation001.phpt
ext/bcmath/tests/bcsub.phpt
ext/bcmath/tests/bcsub_error.phpt
ext/bcmath/tests/bug.66364.phpt
ext/bcmath/tests/bug44995.phpt
ext/bcmath/tests/bug46781.phpt
ext/bcmath/tests/bug54598.phpt
ext/bcmath/tests/bug60377.phpt
ext/bcmath/tests/bug72093.phpt
ext/bcmath/tests/bug75178.phpt
ext/bcmath/tests/bug78878.phpt
ext/bcmath/tests/bug80545.phpt
ext/bcmath/tests/negative_scale.phpt
ext/bcmath/tests/scale.phpt
ext/bcmath/tests/scale_ini.phpt
ext/bcmath/tests/str2num_formatting.phpt
ext/bz2/tests/001.phpt
ext/bz2/tests/002.phpt
ext/bz2/tests/003-mb.phpt
ext/bz2/tests/003.phpt
ext/bz2/tests/004.phpt
ext/bz2/tests/005.phpt
ext/bz2/tests/bug51997.phpt
ext/bz2/tests/bug71263.phpt
ext/bz2/tests/bug72447.phpt
ext/bz2/tests/bug72613.phpt
ext/bz2/tests/bug75776.phpt
ext/bz2/tests/bz2_filter_compress.phpt
ext/bz2/tests/bz2_filter_decompress.phpt
ext/bz2/tests/bzopen_string_filename_with_null_bytes.phpt
ext/bz2/tests/with_files.phpt
ext/bz2/tests/with_strings.phpt
ext/calendar/tests/bug52744.phpt
ext/calendar/tests/bug53574_1.phpt
ext/calendar/tests/bug53574_2.phpt
ext/calendar/tests/bug54254.phpt
ext/calendar/tests/bug55797_1.phpt
ext/calendar/tests/bug55797_2.phpt
ext/calendar/tests/bug67976.phpt
ext/calendar/tests/bug71894.phpt
ext/calendar/tests/bug80185.phpt
ext/calendar/tests/bug80185_32bit.phpt
ext/calendar/tests/cal_days_in_month.phpt
ext/calendar/tests/cal_days_in_month_error1.phpt
ext/calendar/tests/cal_from_jd.phpt
ext/calendar/tests/cal_from_jd_error1.phpt
ext/calendar/tests/cal_info.phpt
ext/calendar/tests/cal_to_jd.phpt
ext/calendar/tests/cal_to_jd_error1.phpt
ext/calendar/tests/easter_date.phpt
ext/calendar/tests/easter_days.phpt
ext/calendar/tests/frenchtojd.phpt
ext/calendar/tests/gregoriantojd.phpt
ext/calendar/tests/gregoriantojd_overflow.phpt
ext/calendar/tests/jddayofweek.phpt
ext/calendar/tests/jdmonthname.phpt
ext/calendar/tests/jdtofrench.phpt
ext/calendar/tests/jdtogregorian.phpt
ext/calendar/tests/jdtogregorian_overflow.phpt
ext/calendar/tests/jdtojewish.phpt
ext/calendar/tests/jdtojewish64.phpt
ext/calendar/tests/jdtojewish_hebrew.phpt
ext/calendar/tests/jdtojewish_overflow.phpt
ext/calendar/tests/jdtojulian.phpt
ext/calendar/tests/jdtomonthname.phpt
ext/calendar/tests/jdtounix.phpt
ext/calendar/tests/jdtounix_error1.phpt
ext/calendar/tests/jewishtojd.phpt
ext/calendar/tests/juliantojd.phpt
ext/calendar/tests/juliantojd_overflow.phpt
ext/calendar/tests/skipif.inc [deleted file]
ext/calendar/tests/unixtojd.phpt
ext/calendar/tests/unixtojd_error1.phpt
ext/com_dotnet/tests/27974.phpt
ext/com_dotnet/tests/bug33386.phpt
ext/com_dotnet/tests/bug34272.phpt
ext/com_dotnet/tests/bug39596.phpt
ext/com_dotnet/tests/bug39606.phpt
ext/com_dotnet/tests/bug45280.phpt
ext/com_dotnet/tests/bug49192.phpt
ext/com_dotnet/tests/bug62474.phpt
ext/com_dotnet/tests/bug63208.phpt
ext/com_dotnet/tests/bug64130.phpt
ext/com_dotnet/tests/bug66322.phpt
ext/com_dotnet/tests/bug66431_0.phpt
ext/com_dotnet/tests/bug66431_1.phpt
ext/com_dotnet/tests/bug69939.phpt
ext/com_dotnet/tests/bug72498.phpt
ext/com_dotnet/tests/bug73679.phpt
ext/com_dotnet/tests/bug77177.phpt
ext/com_dotnet/tests/bug77578.phpt
ext/com_dotnet/tests/bug77621.phpt
ext/com_dotnet/tests/bug78650.phpt
ext/com_dotnet/tests/bug78694.phpt
ext/com_dotnet/tests/bug79242.phpt
ext/com_dotnet/tests/bug79247.phpt
ext/com_dotnet/tests/bug79248.phpt
ext/com_dotnet/tests/bug79299.phpt
ext/com_dotnet/tests/bug79332.phpt
ext/com_dotnet/tests/variants.phpt
ext/com_dotnet/tests/variants_x64.phpt
ext/ctype/tests/001.phpt
ext/ctype/tests/002.phpt
ext/ctype/tests/bug25745.phpt
ext/ctype/tests/bug34645.phpt
ext/ctype/tests/ctype_alnum_basic.phpt
ext/ctype/tests/ctype_alnum_variation1.phpt
ext/ctype/tests/ctype_alnum_variation2.phpt
ext/ctype/tests/ctype_alnum_variation3.phpt
ext/ctype/tests/ctype_alnum_variation4.phpt
ext/ctype/tests/ctype_alpha_basic.phpt
ext/ctype/tests/ctype_alpha_variation1.phpt
ext/ctype/tests/ctype_alpha_variation2.phpt
ext/ctype/tests/ctype_alpha_variation3.phpt
ext/ctype/tests/ctype_alpha_variation4.phpt
ext/ctype/tests/ctype_cntrl_basic.phpt
ext/ctype/tests/ctype_cntrl_variation1.phpt
ext/ctype/tests/ctype_cntrl_variation2.phpt
ext/ctype/tests/ctype_cntrl_variation3.phpt
ext/ctype/tests/ctype_cntrl_variation4.phpt
ext/ctype/tests/ctype_digit_basic.phpt
ext/ctype/tests/ctype_digit_variation1.phpt
ext/ctype/tests/ctype_digit_variation2.phpt
ext/ctype/tests/ctype_digit_variation3.phpt
ext/ctype/tests/ctype_digit_variation4.phpt
ext/ctype/tests/ctype_graph_basic.phpt
ext/ctype/tests/ctype_graph_variation1.phpt
ext/ctype/tests/ctype_graph_variation2.phpt
ext/ctype/tests/ctype_graph_variation3.phpt
ext/ctype/tests/ctype_graph_variation4.phpt
ext/ctype/tests/ctype_lower_basic.phpt
ext/ctype/tests/ctype_lower_variation1.phpt
ext/ctype/tests/ctype_lower_variation2.phpt
ext/ctype/tests/ctype_lower_variation3.phpt
ext/ctype/tests/ctype_lower_variation4.phpt
ext/ctype/tests/ctype_print_basic.phpt
ext/ctype/tests/ctype_print_variation1.phpt
ext/ctype/tests/ctype_print_variation2.phpt
ext/ctype/tests/ctype_print_variation3.phpt
ext/ctype/tests/ctype_print_variation4.phpt
ext/ctype/tests/ctype_punct_basic.phpt
ext/ctype/tests/ctype_punct_variation1.phpt
ext/ctype/tests/ctype_punct_variation2.phpt
ext/ctype/tests/ctype_punct_variation3.phpt
ext/ctype/tests/ctype_punct_variation4.phpt
ext/ctype/tests/ctype_space_basic.phpt
ext/ctype/tests/ctype_space_variation1.phpt
ext/ctype/tests/ctype_space_variation2.phpt
ext/ctype/tests/ctype_space_variation3.phpt
ext/ctype/tests/ctype_space_variation4.phpt
ext/ctype/tests/ctype_upper_basic.phpt
ext/ctype/tests/ctype_upper_variation1.phpt
ext/ctype/tests/ctype_upper_variation2.phpt
ext/ctype/tests/ctype_upper_variation3.phpt
ext/ctype/tests/ctype_upper_variation4.phpt
ext/ctype/tests/ctype_xdigit_basic.phpt
ext/ctype/tests/ctype_xdigit_variation1.phpt
ext/ctype/tests/ctype_xdigit_variation2.phpt
ext/ctype/tests/ctype_xdigit_variation3.phpt
ext/ctype/tests/ctype_xdigit_variation4.phpt
ext/ctype/tests/skipif.inc [deleted file]

index 61552eecded0ec2f8b322cf858691ac1d51a1b69..b24ce8dbd7927b834d79d17f38b04f5f20d00cb8 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcadd() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index adb6c3cdc3936dda0fdfb93b1a99551ba8e1f8ef..320bf390680a35e871a51f91be0a15a2125d9d18 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcadd() requires well-formed values
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index 4bd828cda31d91faddc32edcbf5f67043d5aeae4..447958b4a2f0f294fc1c769e3ea61a027c0888dd 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcadd() with non-integers
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=5
 --FILE--
index b2bf9f4ac2b9ba74472a36fe90134ab802b8636f..ba2fc795325055679808c469ed23d3d08e04df20 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bccomp() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 364658dc7dd524d09b45094a74c3dddec5c9ac46..90645c52f7e54122ed968bb2bc23e00536457e7c 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bccomp() requires well-formed values
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index 9eff0dd33aac8c6ef03d4e786a9591628877d43a..1aa2387c7f5b34616916840740b713327e1c3721 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bccomp() with non-integers
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index cb65712f06b4e197be8734500cd9fc1e71c022dc..ae7ba7fafe819ed37ed03a33e38fbd412225033d 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bccomp() with negative value
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index cda19496d5569bb8d54f29b2592f9ae00335c755..0ae0069ce5f0952e5323a728cde07dba9430a1b6 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcdiv() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index a89ae98cfbbafedf9865ba34c0c0d21ad824cc65..7b5908f55561c38531ba36881e5d40453b02f43c 100644 (file)
@@ -4,8 +4,8 @@ bcdiv â€” Divide two arbitrary precision numbers
 TestFest2009
 Antoni Torrents
 antoni@solucionsinternet.com
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index d7ed546772f75a42cf0cc0433282f362d0df8a63..a4e1cae353547a8e26f8ac12addc1b94ae7c4364 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcdiv() requires well-formed values
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index 3e9ab25cb89154241a555a1f7fdf306538586da9..1cfc835456a00012b86637f396680f9ea6ffae42 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcmod() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index c4d49486b3c5ab864617625f0eb7614ab9bd1533..59939b3f0875759bb317a3950faf4c95c49d790b 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcmod() - mod by 0
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 71718d3be8b95f13b5950899a3c76a4124e91648..8df986fe7654259f2ddd989eb348987d240a4ea5 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcmod() requires well-formed values
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index 20893552dafae443a28bc768fc09b2bb3328b1a9..2e2a8a7a11c32f93abbc1daad0f08e0686c315f1 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcmul() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 301ef11812f34a9aa4aa8c558a093fb009b01e2c..361b46163ee63054d143e25ec1fa67eb733911e2 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcmul() requires well-formed values
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index ad642a57be2c8f624c4cd536c8af91f75ec89aee..1850e342799bd67364ceaf9397611f3bf0d445db 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcpow() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 38d9bda181bf0345659391e1ebed9bdb73537755..d2b1a10704e6d2c33424f52a2b3060b59a376336 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcpow() does not support non-integral exponents
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index d6271b18eb338d8fa32424558bee4c8598993845..733d628b41ae3feceaa0ff884035a9c134ae1b72 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcpow() does not support exponents >= 2**63
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index fb71e631e60eb95e5c67e7aae61db0c82c4b4d96..f47c85d4da867b709d99132a446472e65d82b0dd 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcpow() requires well-formed values
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index df55f15ae5ac6dedbd5ca54692aae97751770542..9bcea231fb249569fd4730a8bb87af9c9f73f15e 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcpow() with a negative exponent
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index c171e2d4a19d9ac07970e208291fd78ff8599f59..285648024f6598b4dcc5edfe503cec78400c08aa 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 9056f9e755a3144464cb33229f2138db05dd82ee..ff2862310cb22c23f1c0b5e529a49e06edd3dea9 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcpowmod() requires well-formed values
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index 518f9eb0a98a59f21415f7bde487967b7f5e2c5a..7814e2bd41d82038cdb3361438d9dd97dc99b09e 100644 (file)
@@ -2,8 +2,8 @@
 bc_raisemod's expo can't be negative
 --CREDITS--
 Gabriel Caruso (carusogabriel34@gmail.com)
---SKIPIF--
-<?php if(!extension_loaded('bcmath')) die('skip bcmath extension not loaded'); ?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index bc30dc0afdeb0a41afed157e133c8f17355394a3..8540a0d6df3c8ed1c6a6a964d169a0490c8fbf55 100644 (file)
@@ -2,8 +2,8 @@
 bc_raisemod's mod can't be zero
 --CREDITS--
 Gabriel Caruso (carusogabriel34@gmail.com)
---SKIPIF--
-<?php if(!extension_loaded('bcmath')) die('skip bcmath extension not loaded'); ?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index 4fc2f85eb92c13f2a029463a08492aef800746ed..e402c4836795b882dbfd8df85e22d4a1606a0346 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcscale() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 0718d724c2ae2bde7faf91e4f1d1c1afeb065ab1..8d9d32e064b87be1e48c5b6e9a9b24145a48af6a 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcscale() fails with negative argument
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 11df405beaa154c1264e60bdcfb7d7a448b659ba..205f39d4c884811acda9bbc906fced7f9bed664d 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcadd() incorrect argument count
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=-2
 --FILE--
index 0812aadab6c734c27844908672c51eaa88de3032..40d17db2c59a8fc88f77be55637f62736e5c1fef 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcscale() return value
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index b2a8d8adbc16a172e3d6f5c9638e1497e29f3571..92512dd0d0b81669abf909739d7406abb0978032 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcsqrt() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index bdc850f979627f1e6b5c1f51f77bcb8db0ca4210..78923f4a94801a0ef5f05bcc1b2a43d8b63a3c8d 100644 (file)
@@ -3,8 +3,8 @@ bcsqrt â€” Get the square root of an arbitrary precision number
 --CREDITS--
 Antoni Torrents
 antoni@solucionsinternet.com
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index 85cefa07620d169b0eec76d901d01219c3dda1b6..1ef934d3bcf1b36fc6804cecd7925ade2d361cf3 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcsqrt() requires a well-formed value
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index 1f3d284c13240d373a76f4d9b9d5c1e6547a4b03..dfa1944ab8d8d4aa006448d74750a00e7bf7b974 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcsqrt() with argument of 0
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 8d85d23233063ea16ca9666483593e6adf5e2759..3d0765bef372f6080a98233806bbdd6b68845259 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bcsub() function
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index 0a890eff037bec577b401ff8d9a9989f56a51fe4..4e1abd3fa95034678f41c2b0fa299ecbc4d23975 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 bcsub() requires well-formed values
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index 08777c5f59094df5690f868f12ac0147aabdc23f..c138176fb6a232c9a102b704c72aa90ee5e41897 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #66364 (BCMath bcmul ignores scale parameter)
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 var_dump(bcmul('0.3', '0.2', 4));
index 9758022225ffc10a36ef815ecefbca8fdaac1ff0..09b76722aa7c75e9f57d825dfb80958d43befffb 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #44995 (bcpowmod() fails if scale != 0)
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 var_dump(bcpowmod('4', '4', '3', 1));
index d9e4fe51116e8b3f82ed7958e5fade587ab94786..15e04e555a1c50af9b8da5f84cc98a0fa28f7d91 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #46781 (BC math handles minus zero incorrectly)
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 var_dump(bcadd('-0.0', '-0.0', 1));
index 5f3337fadca5103df4f2cdd0e6d442ff34c0ce8c..fa4d850c1066a220813b359372106212dd718224 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #54598 (bcpowmod() may return 1 if modulus is 1)
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 var_dump(bcpowmod(5, 0, 1));
index 73d3b2ac1b96a2deb3c9ee81c7e0821aad953d07..16d058441a35ae175dc3bfb045f79e6d43f29ebb 100644 (file)
@@ -1,7 +1,9 @@
 --TEST--
 bcscale related problem on 64bits platforms
+--EXTENSIONS--
+bcmath
 --SKIPIF--
-<?php if(!extension_loaded("bcmath")) die("skip");
+<?php
 if (PHP_INT_SIZE != 8) die("skip: 64-bit only"); ?>
 --FILE--
 <?php
index 3a6405d04a26c0411151f3319d3a71942aedbf51..a424a59e04704e36b53242cad01e63d8f91edf02 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug 72093: bcpowmod fails on negative scale and corrupts _one_ definition
---SKIPIF--
-<?php
-if(!extension_loaded("bcmath")) print "skip";
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index 9025e61c73bf7127ea58652c9d6612b1096665f9..940a3567de16fc0a6d9ab4783234a439e8235b78 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index 7edc666f752446e8eafc1fead7c89e4b616f16c1..9d9d0db48cf4e192222021a0d928080b81915bc1 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #78878 (Buffer underflow in bc_shift_addsub)
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 try {
index 680c4c063157044af5ceff2352142530bf6b307e..f1e256776d9391dcb6236b95c8f8a71899c698f0 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #80545 (bcadd('a', 'a') and bcadd('1', 'a') doesn't throw an exception)
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 
index 96d1e1b600ff05bdeecbb2c9682f32ad2a0e7241..3b9377559098a93fe60e70b1b77234fcee48b018 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 all errors on negative scale
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale=0
 --FILE--
index e2e65cab22d29289fdcf793b28049003ce55f8c6..ad3cb45ea7b8954c89eff0ea3380440c2021ba91 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 BCMath functions return result with requested scale
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 echo
index c75cf8eddad3fba321d67c4dfbe9c25c6c48e528..f5e5fe452646ca99b9b21a06ed2064adde8c4c80 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 BCMath functions return result with default scale
---SKIPIF--
-<?php
-if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
-?>
+--EXTENSIONS--
+bcmath
 --INI--
 bcmath.scale = 5
 --FILE--
index dd3499804e93efe5325de9b3ba5368b9af67ca7d..ee3f0ae4a85360d4edc3f151bead13b0dc235bec 100644 (file)
@@ -4,8 +4,8 @@ bcmath lib arguments formatting
 1 and 2 argument of bcadd/bcsub/bcmul/bcdiv/bcmod/bcpowmod/bcpow/bccomp (last one works different then others internally);
 1 argument of bcsqrt
 All of the name above must be well-formed
---SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+--EXTENSIONS--
+bcmath
 --FILE--
 <?php
 echo bcadd("1", "2"),"\n";
index 9561d5ac0f72d54ac8fb877e4ede1defa924e265..6b86bd6b0b6dbc839cc7049bf9a287b3947d050f 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzopen() and invalid parameters
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 3ff0aedeb5b827ac188677145484ae7c24a37836..00254776f79519dd9c40448fc61bc5a27dfd95c9 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzopen() using fd opened in wrong mode
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 75ec54ae4ded1d3cbed5b0a5f90ccd0ac7dc7fcb..3189b473a4ac80030a7c512bdb9c90870e48c68d 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzread() tests
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 229dd87058cbd45183fc4507e5721ed8fdef2f59..4b6ee820dd56d84a764467d8ed830999dbc390aa 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzread() tests
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 15eb90f89a97d134a2e46861c5020641abd089e2..e644bfa6ce9624cc4ed1ef44afcb7c5e2c98f533 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzread() tests with invalid files
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 5fc7ef0b7c2af2a3b4645b812cb97e3eb8b44cc0..769cace33fb7c175f0e3b26bd65a70aacebf07ae 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzcompress()/bzdecompress() tests
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 303e0b3b677a5a6fb012a2ed867bae7984c3cbe2..249c72a3f5408afea4bf5b4782660687a83fe4db 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #51997 (SEEK_CUR with 0 value, returns a warning)
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index b20bbd8ef1daa57f0e48a6852ba01fdff488bde3..594f1aeee1baea92039c1b3f8366a0f8c50c59fe 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #71263: fread() does not report bzip2.decompress errors
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip bz2 extension not loaded"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 15321042df92e9259adfde8c7608d73db8ecaf7a..7cbd43a443802e802277e1ac175a37e4053e1121 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #72447: Type Confusion in php_bz2_filter_create()
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 $input = "AAAAAAAA";
index d9463e212ab778fc1ac9c5f246aa196fdf0ec909..2dfc8c65d3c16b0cb45c43dbf2073c81f21cd6cf 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #72613 (Inadequate error handling in bzread())
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 $fp = bzopen(__DIR__.'/72613.bz2', 'r');
index 43cc6e07b56045134ebbd6ac0c1868d96d5fa03f..e3cf299f25f596dc97597786a9ba4f8d77a9e3d3 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #75776 (Flushing streams with compression filter is broken)
---SKIPIF--
-<?php
-if (!extension_loaded('bz2')) die('skip bz2 extension not available');
-?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 $text = str_repeat('0123456789abcdef', 1000);
index e735d8876cae701e4a59c348e9f86164cfa357bb..974f2599d5e0817f75d66492a05ab9ddf6658fc8 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzip2.compress (with convert.base64-encode)
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 $text = 'I am the very model of a modern major general, I\'ve information vegetable, animal, and mineral.';
index ca92f5593488449550491ab82969d8dee34b075b..0e1839f42bbe29b4b8fded62775e1e14664b40b0 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzip2.decompress (with convert.base64-decode)
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 $text = 'QlpoNDFBWSZTWRN6QG0AAAoVgECFACA395UgIABIintI1N6mpowIQ0E1MTTAQGYTNcRyMZm5kgW3ib7hVboE7Tmqj3ToGZ5G3q1ZauD2G58hibSck8KS95EEAbx1Cn+LuSKcKEgJvSA2gA==';
index 1261981c6bef9810b50591c9d3c650893d9d4723..b76515a178d95a9069c343af94b700ec7ee10c06 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 bzopen(): throw TypeError if filename contains null bytes
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index e24e28211f84f897c1f577d3ba2f44bff28d81cb..d06666e6650324f7fa63257fe1b22c02374cb877 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 BZ2 with files
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 6815c1dae46fca6e8aa3b492b3e4f488db65fc02..488a092c941961f4b94e91a12360e45493502292 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 BZ2 with strings
---SKIPIF--
-<?php if (!extension_loaded("bz2")) print "skip"; ?>
+--EXTENSIONS--
+bz2
 --FILE--
 <?php
 
index 886086a294d132b3af484531b6995bc201f33aed..99fd65f61bbace47d3f08e3dd2c35bbce292b68c 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #52744 (cal_days_in_month incorrect for December 1 BCE)
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 var_dump(cal_days_in_month(CAL_GREGORIAN, 12, -1));
index 6aba600619a2da6b8ba67504201a71a4d78d1f29..c4a265f8f0e2bcf9f94693450af2ac03d11d9238 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #53574 (Integer overflow in SdnToJulian; leads to segfault)
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php
-include 'skipif.inc';
 if (PHP_INT_SIZE != 4) {
         die("skip this test is for 32bit platform only");
 }
index 6e3154a916e753fd0c9a49505768b72aac1b037e..cbd4b7ad2cdd11e3c8f69e64239323f101707e61 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #53574 (Integer overflow in SdnToJulian; leads to segfault)
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php
-include 'skipif.inc';
 if (PHP_INT_SIZE == 4) {
         die("skip this test is for 64bit platform only");
 }
index f623fad809972e72533751eb8f23ad192547824f..8dced655bb1dd4b113bd1869a1687b93f862141c 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #54254 (cal_days_in_month incompatible with jdtojewish in non-leap-years)
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 var_dump(cal_days_in_month(CAL_JEWISH, 1, 5771));
index c9374c9d38a769d4d0c5b7c50865bc7b59a67259..05880803d251ee517788b7ebcb46bddbcba3567b 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #55797: Integer overflow in SdnToGregorian leads to segfault (in optimized builds)
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php
-include 'skipif.inc';
 if (PHP_INT_SIZE != 4) {
         die("skip this test is for 32bit platform only");
 }
index b60fd0eba4a835a4d0b964888a0bb092262ee5c2..7cbe88a139bfbc2ed1f430bd19be1be1a4b1ad8a 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #55797: Integer overflow in SdnToGregorian leads to segfault (in optimized builds)
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php
-include 'skipif.inc';
 if (PHP_INT_SIZE == 4) {
         die("skip this test is for 64bit platform only");
 }
index 74e0bc81b19489e66581c76eecee86e1b491e9bd..1c8e56ad6419fe858a64dffbe727dd0dff2e7fb8 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #67976 (cal_days_month() fails for final month of the French calendar)
---SKIPIF--
-<?php
-if (!extension_loaded('calendar')) die('skip ext/calendar required');
-?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 var_dump(cal_days_in_month(CAL_FRENCH, 13, 14));
index ea2d6004e727c793417e0a8407d4d31d3ba6745d..c98c5a780857c629198ae5b5d443168fbc9e4b42 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #71894 (AddressSanitizer: global-buffer-overflow in zif_cal_from_jd)
---SKIPIF--
-<?php
-if (!extension_loaded('calendar')) die('skip ext/calendar required');
-?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 var_dump(cal_from_jd(347997, CAL_JEWISH));
index eab5cf1c4bf9b455a0cd5dc8f9ab9070abd096d8..dfc843270ec82b196449fc600c6596c85be239b3 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #80185 (jdtounix() fails after 2037)
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php
-if (!extension_loaded('calendar')) die('skip ext/calendar required');
 if (PHP_INT_SIZE != 8) die("skip for 64bit platforms only");
 ?>
 --FILE--
index 98a1bea2a3d63d34441cc0e0fe1cb167ef41025f..a7fe96e0ff4a1256bbac8fc9180bf12e157b33f9 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #80185 (jdtounix() fails after 2037)
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php
-if (!extension_loaded('calendar')) die('skip ext/calendar required');
 if (PHP_INT_SIZE != 4) die("skip for 32bit platforms only");
 ?>
 --FILE--
index fbd6362b0f71f10b8dfa235785697058ab04142e..d94d39f2f61a0f2784cd57a3e498fb40f8efca59 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 cal_days_in_month()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 $num = cal_days_in_month(CAL_GREGORIAN, 8, 2003);
index 2b7ee0ea88ff02e1faced5ed2a446e032fb43076..f334888479f200fbb979156da4998d584d353369 100644 (file)
@@ -2,8 +2,8 @@
 Test cal_days_in_month() function : error conditions
 --CREDITS--
 edgarsandi - <edgar.r.sandi@gmail.com>
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 try {
index 9614522a05de56a2148695de40c6076a38dfa440..4b2e27e9ab9939d71e7f652a9c16e3592e0f3d41 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 cal_from_jd()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 print_r(cal_from_jd(1748326, CAL_GREGORIAN));
index feafe240b5aac1d753823616165e09b223a9db1a..3b4e11b8350d4c8a64ef099dce1ef1a72820f271 100644 (file)
@@ -2,8 +2,8 @@
 Test cal_from_jd() function : error conditions
 --CREDITS--
 edgarsandi - <edgar.r.sandi@gmail.com>
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 try {
index 0d4b823486977dc53b499549f64e7b77707f2582..18884917e534d6ae3bdc0624d55e9238dcf70819 100644 (file)
@@ -2,8 +2,8 @@
 cal_info()
 --INI--
 date.timezone=UTC
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
   print_r(cal_info());
index fde1e0b4556048407a2b2c44c05da305497121ea..cfcc5904b309b9669fcc9d6a1c9a3e28eff645b4 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 cal_to_jd()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo cal_to_jd(CAL_GREGORIAN, 8, 26, 74), "\n";
index b8585c7f0539854ac840059f825fe2cb88d19c2d..1cef36af69fe2d1b988767054bc889cc1275ba80 100644 (file)
@@ -2,8 +2,8 @@
 Test cal_to_jd() function : error conditions
 --CREDITS--
 edgarsandi - <edgar.r.sandi@gmail.com>
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 try {
index c784f02ebd1c557028a548f9f097809e7b2660e1..a41c310de9b89796afa98f95c35211f6421e0fcd 100644 (file)
@@ -4,8 +4,8 @@ easter_date()
 date.timezone=UTC
 --ENV--
 TZ=UTC
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 putenv('TZ=UTC');
index 04aa7ae11bed69488346f2d7ee4ecfb7a466ef82..56ca7eaeb56522c1e3e354514b1e9dcfbe84e6fb 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 easter_days()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo easter_days(1999), "\n";
index 73addb6b8005084b47b3df364ac8201145677f66..ca63789afe8c8dc44701ac2678c85226901998d1 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 frenchtojd()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo frenchtojd(-1,-1,-1), "\n";
index aeecb3af5145fc2c96abb601b3c21bcd6dd5b649..9210aab036c1c06e4785431e84d9a36faeb7e0ba 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 gregoriantojd()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo gregoriantojd( 0, 0,    0). "\n";
index 8cb4796e5ce95767215584268356b5d67fda3e2f..f75aec72220e03b2db9d39fbc387357601951b6e 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 gregoriantojd()
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
-<?php include 'skipif.inc'; ?>
 --FILE--
 <?php
 echo gregoriantojd(5, 5, 6000000) . "\n";
index 0f3ca8a3f8bfce0ccd3fd92c90b91a9839c1afe2..d3a5e907064099d1020ff8d8e69982bbf5a9fcef 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 jddayofweek()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 foreach (array(2440588, 2452162, 2453926, -1000) as $jd) {
index 07ed1161b1753cbfefc141781b950ec61c1f48ed..3405f4100abd98f941bb79f0197e808005aa4ab7 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 jdmonthname()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 foreach (array(2440588, 2452162, 2453926) as $jd) {
index 2601d14a0731aa76ae3b41f8bbfa628e96626c65..232f4ee97ee7141269193e9503b649b1987079d6 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 jdtofrench()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo jdtofrench(0). "\n";
index e8bf4a49aaa9d3b4b0727ed6f5151225e7e5c897..b04309219b079b172c60db337a054fece0dfc19b 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 jdtogregorian()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo jdtogregorian(0). "\n";
index 9d4a1d6b4dfc01556bd081d265dd78ef13dcb442..782e32797b4d9013558e1e5d24e206c18f99f958 100644 (file)
@@ -2,9 +2,10 @@
 jdtogregorian(): test overflow
 --CREDITS--
 neweracracker@gmail.com
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php
-if (!extension_loaded('calendar')) die('skip ext/calendar required');
 if (PHP_INT_SIZE != 4) die('skip this test is for 32bit platforms only');
 ?>
 --FILE--
index 4fd104c50c923f16f8f516edb6ff7dc798944100..6b1c2e3f775641c41d1227719aa86c519a17fd51 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 jdtojewish() function
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 
index da1e7f74c87c91558759ebec33bf94d5befc422f..5f36558ee1c20d313ca1751c4a5f76573a60bb2b 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #64895: Integer overflow in SndToJewish
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php
-include 'skipif.inc';
 if (PHP_INT_SIZE == 4) {
         die("skip this test is for 64bit platform only");
 }
index f7df0358f7c72d5fb256faec086e80973105f405..ceb53c219e71b62545d84e8a9d545b49dd0af317 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Test all hebrew month names
---SKIPIF--
-<?php
-if (!extension_loaded('calendar')) die('skip calendar extension not available');
-?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 for ($year = 5000; $year <= 5001; $year++) {
index 17a47e06e1e82ac65b7ade6e50ed4027301b8956..a3d8ba46f58807a4fb9a26afc8a388f1c0a2a525 100644 (file)
@@ -2,10 +2,8 @@
 jdtojewish(): test overflow
 --CREDITS--
 neweracracker@gmail.com
---SKIPIF--
-<?php
-if (!extension_loaded('calendar')) die('skip ext/calendar required');
-?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 for ($i=324542840; $i<324542850; $i++) {
index f4082e76ecf3e3acc83332558555f25af1a0be68..b13906b777f31cff5ca3aa20526a0bccf5674076 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 jdtojulian()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo jdtojulian(0). "\n";
index fb70067bbe824189c4b68b7e135577aeeb035475..23c970cfa765c9b74c7a0a91d80fb670a35dc7a5 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 jdtomonthname() test
---SKIPIF--
-<?php if (!extension_loaded("calendar")) print "skip"; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 
index 8d855433003d5f74368b9035a9d1b52e5753552f..f9da430c5409c6881d4ce98da6d8fb85fd70bf0a 100644 (file)
@@ -2,8 +2,8 @@
 jdtounix()
 --INI--
 date.timezone=UTC
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo date("Y-m-d",jdtounix(2440588)). "\n";
index ba85958ec857e1798ee543f4920c770f1d239dd6..0032e376db3cacb817d41082c2ae45e93e208967 100644 (file)
@@ -4,8 +4,8 @@ Test jdtounix() function : error conditions
 edgarsandi - <edgar.r.sandi@gmail.com>
 --INI--
 date.timezone=UTC
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 try {
index 2dd03816196c1fa4397a96020da385681496d813..174a860729b20e70c147e50176166175dddaeaab 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 jewishtojd()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo jewishtojd(-1,-1,-1). "\n";
index 2f65d84f36b49ba3417f79fbfc0220100b56a61d..19a6b270483d39cafadb73d85bcd667b3fb6d174 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 juliantojd()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --FILE--
 <?php
 echo juliantojd( 0, 0,    0). "\n";
index fb04c954951afc5e09c25fa28a3cbb3dc27c8220..cdf1b203d96c781cc8bc64bd05cb372c05bd8662 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 juliantojd()
+--EXTENSIONS--
+calendar
 --SKIPIF--
 <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
-<?php include 'skipif.inc'; ?>
 --FILE--
 <?php
 echo juliantojd(5, 5, 6000000000) . "\n";
diff --git a/ext/calendar/tests/skipif.inc b/ext/calendar/tests/skipif.inc
deleted file mode 100644 (file)
index e867faf..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-if(!extension_loaded("calendar"))
-    print "skip - CALENDAR extension not available";
-?>
index 28a05c0c6ff386372ef2818b05f852957d4ed672..3d0ffa3fea30e1b7136c8093dc3df3dc452144b9 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 unixtojd()
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --ENV--
 TZ=UTC
 --FILE--
index 000f047f0adbcd7ba48acd2bfdf22fa5c04ec82d..6b8fad05ebd83881938ad8a7a945ab3c4800f3b9 100644 (file)
@@ -2,8 +2,8 @@
 Test unixtojd() function : error conditions
 --CREDITS--
 edgarsandi - <edgar.r.sandi@gmail.com>
---SKIPIF--
-<?php include 'skipif.inc'; ?>
+--EXTENSIONS--
+calendar
 --INI--
 date.timezone=UTC
 --FILE--
index c76dda9ed56821e6da802f3fa767a34fc79648fd..ca7735a829f8aff84067f91df805000c24755f58 100644 (file)
@@ -1,8 +1,7 @@
 --TEST--
 COM: mapping a safearray
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 error_reporting(E_ALL);
index 7f305d2eb57f63f48200b458e3e6732260cddafe..10e9021a0bc57f112eecd3247c560258a9aa008c 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #33386 (ScriptControl only sees last function of class)
+--EXTENSIONS--
+com_dotnet
 --SKIPIF--
 <?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present";
 if (4 != PHP_INT_SIZE)  print "skip MSScriptControl isn't available under x64";
 ?>
 --FILE--
index ce8a552dfd91e213739f9f9c4f23021de8ab56b6..27dc5142d32200b12a3ecbf73c91fcb2165bfcd4 100644 (file)
@@ -1,8 +1,7 @@
 --TEST--
 Bug #34272 (empty array onto COM object blows up)
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 error_reporting(E_ALL);
index 1510db49cf45441a76f61a86c461ccd151e78ce0..d6215f059659139990a7f1a1b3b3866784f04faf 100644 (file)
@@ -1,8 +1,7 @@
 --TEST--
 Bug #39596 (Creating Variant of type VT_ARRAY)
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 error_reporting(E_ALL);
index f646c6a7c3adf444f1e8abef77d141897a485da6..6f01acd471f31b256bdf86f880fe142a0aed12b4 100644 (file)
@@ -1,8 +1,7 @@
 --TEST--
 COM: Loading typelib corrupts memory
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 error_reporting(E_ALL);
index 393799e37469f31b188445a4f3b23e9836d01811..a461871f2f3c847464acbb1c932a26900ddabdeb 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #45280 (Reflection of instantiated COM classes causes PHP to crash)
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")){ echo "skip COM/.Net support not present"; }
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 $dict = new COM("Scripting.Dictionary");
index cd85a9a64ccd9e00396de897f166f0e780fc85c8..519ac21180a774e53ee0906e8136b7c4ee9873f1 100644 (file)
@@ -1,8 +1,7 @@
 --TEST--
 Bug #49192 (PHP crashes when GC invoked on COM object)
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 
index cc8e252224a10c51399d7012c5e1f4dedc82f162..531ba9a640f379aa275314b4d135b137c5e4b21d 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #62474 (com_event_sink crashes on certain arguments)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 var_dump(com_event_sink(new variant, function() {}, array()));
index ae62dbba980c41636dd39d65c67a1bbb794aa97c..67ea9f50f9536ec67622974440f6117f459c48dd 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #63208 (BSTR to PHP string conversion not binary safe)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 $string = "\u{0905}b\0cd";
index 0f8e083295cc0c1840a34a980c55a89f64ff9901..ba47c853221535e275214007ba33ca9ac97a7c82 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #64130 (COM obj parameters passed by reference are not updated)
+--EXTENSIONS--
+com_dotnet
 --SKIPIF--
 <?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
 if (PHP_INT_SIZE != 4) die('skip for 32bit platforms only');
 try {
     $ie = new com('InternetExplorer.Application');
index de37e4fa75cd071434de01eb4ecca63a5d403bb9..56988a82ccb8344261a446acc97b484572e2f505 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #66322 (COMPersistHelper::SaveToFile can save to wrong location)
+--EXTENSIONS--
+com_dotnet
 --SKIPIF--
 <?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
 try {
     new COM('Word.Application');
 } catch (com_exception $ex) {
index 5f9bc5c0b0bb52cff251bd508b1f154e8953a8f1..ef4d63f44140ac7cd4c780b531c6819e67501ce0 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #66431 Special Character via COM Interface (CP_UTF8), Scripting.FileSystemObject
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")){ echo "skip COM/.Net support not present"; }
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 
index 7ebf16a10d1da49e21ec80f7478f3ac3200d7928..7f783dbf645d0420d7d907db33671107c7c24ec9 100644 (file)
@@ -1,9 +1,9 @@
 --TEST--
 Bug #66431 Special Character via COM Interface (CP_UTF8), Application.Word
+--EXTENSIONS--
+com_dotnet
 --SKIPIF--
 <?php
-if (!extension_loaded("com_dotnet")){ echo "skip COM/.Net support not present"; }
-
 try {
     new COM("word.application", NULL, CP_UTF8);
 } catch (Exception $e) {
index 49ad20787a31020a6d07eb8c70a54582b83029e3..d650382d9315b65b8746d07b00e123cc34c0dbc5 100644 (file)
@@ -1,8 +1,7 @@
 --TEST--
 Bug #69939 (Casting object to bool returns false)
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 var_dump((bool) new COM('WScript.Shell'));
index b9bd498af31a2f3a83d469e1847ddf5ec8aa879a..67285e85236c355618c06e6f76cbebc6829fcc65 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #72498 variant_date_from_timestamp null dereference
---SKIPIF--
-<?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present";
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 
index 235fd3e33e16b8f4ab64689ac6d020896aa3bd13..9815cdcaacd82ea1c8119c8cf577393202c79039 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #73679 DOTNET read access violation using invalid codepage
+--EXTENSIONS--
+com_dotnet
 --SKIPIF--
 <?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present";
 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
 ?>
 --FILE--
index 8fcfd5a378a0b8c19e2839d653386929600c91b9..19e4c11995c99690dfc09b42a57a4a433bedf0cb 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #77177 (Serializing or unserializing COM objects crashes)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 $com = new COM("WScript.Shell");
index 910f24909b3060085ae7650a02d4faa2c4cd15ad..2bf2cbf2c030383e000beb02e2d87db66ff9ad47 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #77578 (Crash when php unload)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 // To actually be able to verify the crash during shutdown on Windows, we have
index 32e879dcd0a33816bbf6170a2ac1f901c532a219..74972749e5312f8280ccad72c7534b1d9bb43ccb 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #77621 (Already defined constants are not properly reported)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --INI--
 com.autoregister_verbose=1
 --FILE--
index c362de95bbec2b64c4eed21d0457607e7c2441bb..ca2a235af24c9d37b3d159e6ada70cfb4b858056 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #78650 (new COM Crash)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 $fname = __DIR__ . '/bug78650/foo/bar';
index adf0c828cacb10289313a16d4a19110019a7df61..f44b00a4f4fdabf3eccecbaec533140d4d5654f1 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #78694 (Appending to a variant array causes segfault)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 foreach ([new com('WScript.Shell'), new variant([])] as $var) {
index 46c5d8af3b7a2da66b021d5d0ba4a360058c3547..cda4d58ff9264dda57e96052d140af21ac35008e 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #79242 (COM error constants don't match com_exception codes)
+--EXTENSIONS--
+com_dotnet
 --SKIPIF--
 <?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms only");
 ?>
 --FILE--
index 55e24b1796742647bc1fecbf3fd12ab1eafeaf03..2cda351d54f0b85009731085b4a95b87a3ccd5a2 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #79247 (Garbage collecting variant objects segfaults)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 $keep = new variant(null);
index fda67551a796343adb7587362cdc524f9c3ca522..c43c1f5338b51207f94b216e812dbba1460332ae 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #79248 (Traversing empty VT_ARRAY throws com_exception)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 $v = new variant([], VT_ARRAY);
index 99c1a997420de97476b35555f83328b7a22c0d3f..ac4a94cd7708fbb9c424d857d3c182cca1d3be0c 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #79299 (com_print_typeinfo prints duplicate variables)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 $dict = new COM("Scripting.Dictionary");
index 93add95d15b6ac1ae4e38ff3bab775488f68c880..28443478d95456dff8df28575dbee35d63115e25 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #79332 (php_istreams are never freed)
---SKIPIF--
-<?php
-if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
-?>
+--EXTENSIONS--
+com_dotnet
 --FILE--
 <?php
 $ph = new COMPersistHelper(null);
index e28823c3ad7f5797f4a1d7dc0fd0ca13f9fa7992..8547e65efb33af438614e88e6234287cf577a2d1 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 COM: General variant tests
+--EXTENSIONS--
+com_dotnet
 --SKIPIF--
 <?php
-if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present";
 if (4 != PHP_INT_SIZE) print "skip x86 only"; ?>
 --FILE--
 <?php
index 1ca93c57096225c01b73e0cad7d7aef9fd0274a4..0017ec64fd8ec1bc05fb2e094393a174b9ec605a 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 COM: General variant tests
+--EXTENSIONS--
+com_dotnet
 --SKIPIF--
 <?php
-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";
index 1351faed9433226488dd75f89f5a6c315a1a5b60..ba9fe48497d8f52383d983bd9877e15786dc9e26 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 ctype on integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
   setlocale(LC_ALL,"C");
index b1dd87f306c701a625911aa7c3d874d37d5dd408..8ceea190a235f21661ed78bcd87ea5e47cb4f2e3 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 ctype on strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 
index 3996dd8242cf82d147083d289b8630137d34a08b..8c8da4eb422e28ea9a43481471e007b1502174d3 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #25745 (ctype functions fail with non-ascii characters)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 $funcs = array(
index 7aa386235d3e95859e7c7393c88665fc697d8e9a..6d0ca825d1325f3d448fb37877899ecaffd42f2e 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #34645 (ctype corrupts memory when validating large numbers)
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 $id = 394829384;
index 7cc71a27b2a04b94e5941ada369fbc42d70415f9..bf8202d79f9caa4f80c17eb65342c9cf6f685096 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alnum() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_alnum() : basic functionality ***\n";
index 5af4f14e150a00b97803f0bed5e5cab945f0575e..0f9f5090c32e0a8593e1763141c02c28ef6b93af 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alnum() function : usage variations - Different data types as $c arg
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 1e6147c6e69360fffd598bc9fd84e965e1991694..9651bedb144047359c4001564e318d12c67619e9 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alnum() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index f7de0707d2906736511b9498a56b94560a6e8b97..82a862397dd99a84afdcd497dd4b2cafec006882 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alnum() function : usage variations - different string values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index d998190ac47037b0496254e9bdc185d6683fa350..67382986a873b7a9285f6e11f25bd42374200454 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alnum() function : usage variations  - octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index a17d4d92bf89e66e75180e2fd2ffde4403c84d75..641d29a1ebf49c545f52e575b48609f46eedd3ec 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alpha() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_alpha() : basic functionality ***\n";
index a372e926b987105e6047426a2ac896afed538fca..c49bc57043f17af253c54a3fe96360626cb38b37 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alpha() function : usage variations - different data types as $c arg
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index f36dbf2da81069d93b388e4e1e074f41657626ac..e8f55a8b975419445f6883c47704badff2e70b4c 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alpha() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 3f7402e52cda250f78839c3c2aab2f710ae659c2..d7184d3a7ab7275e000fe725ab708cdcf12bb746 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alpha() function : usage variations - different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index f5e96a19ff7c91d9d7ae3cb7ca8f1982179ad73a..829300ea8be44d11e687c4e3481e28f55d433e80 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_alpha() function : usage variations - Octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 4052663c0dc700a18806860ac6a04e0b1ae2f9b2..3822386f2993ec220fb44b546255b2ebe500683e 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_cntrl() : basic functionality ***\n";
index 7e8c6b19d7c1769e7fa602e89db7d443d8a94ce9..336b1f068ee1070d4a6cb8c72b995cf95872ec86 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : usage variations - Different data types as $c arg
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index c5b345182815c54ddfa78ef370c938ba79e1698e..c2d7e34f6421574309032a0bcfaea7ba366e1b43 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index f177c7bc276f492b105b41eeea686a5e764c6f59..3db325bb35cfc9b4cc90eb4252322347d5d15567 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : usage variations - Different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index ee568232431daf2bc68332c84bf7c127a3ad1044..e9202c3325ea333a20e0cad5a8b5bd43bda005c6 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : usage variations - Octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 7959b7ff1882b7c54ef3773f1eff43daf6e4c2f1..463a39a20b9bc07cde10f4f1a448a9ae2a788272 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_digit() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_digit() : basic functionality ***\n";
index 65126ffc58b7990564c021fdd6bb6014df9e85d3..190c075a7044a1d389f97fdbf29030a8473fac0c 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_digit() function : usage variations - different data types as $c arg
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index e7b79263dbd06678a92611a3103ed23caeeb31d3..76300585cdac14d3b9f5eb444baa384eaa895595 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_digit() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index bb42c2e0d8d93851dc8a38ffa587805872d29be6..47f2ca6528e06bcc87e250c5f8a16068c78f0913 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_digit() function : usage variations - different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 2bf78b4df4e6a5fbac821f97d08107f25bc8e85c..63fff0275ad184749120a1f85d3d6c32b24a8cf8 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_digit() function : usage variations - octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index c38529bbeaf8ca854884ab8eb70e02bc1b196bec..6a5df1a3a64512c0b4aa17ad730953fb4034c998 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_graph() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_graph() : basic functionality ***\n";
index 1d7bc182e8344b04a5fba1505409e84ba895521c..3a04e9c3f56fd27c74f9b4eda3e1d9c3635b08c5 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_graph() function : usage variations - different data types as $c arg
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 3304a162401fe2d2d42de5e7e615f8b8dab4f68d..3361798a054f92d938c889ac3af2fc6c27dab366 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_graph() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 733825bfde7663f20924c5f0d400a36d79be8930..cbce657e3718b5cfdb572b9a842ddfaac28bcd11 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_graph() function : usage variations - different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 8fbaab39d3f7c18a452e948b84af854402bd2663..de49393d02a75f7808298d3918b941a6732d221e 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_graph() function : usage variations - octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 79560917f51444d8187d00c8cec9f866b29b7eee..dce5e1813fb66b782268e7b7b7250bd564a321bf 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_lower() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_lower() : basic functionality ***\n";
index b236eed2b9a0d97c3731e20522c7af111ab5061a..4c606caad71126569a55f20904541fafd163b030 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_lower() function : usage variations - different data types as $c arg
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index b3ed8d03e5520860629225d26cb8181c58d80343..86feadd15ce44af7803e731e697d10fae14be2f0 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_lower() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index bba8be038b2637a0e186d304f6d1fcd5dbdb9873..5bb9fa91e1a588b637c4f68b6daad7ecf7aa7ddd 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_lower() function : usage variations - different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index f7cfc18b8658a2240c0d5b10002adee0aa7628a0..f1ad56580fe14267234fe538c460577911b3e5b1 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_lower() function : usage variations - octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index aa354e869ecf3c11967112b025852a935311419a..df3eeebaf10ea3e56907af00fb33eb9a919e1747 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_print() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_print() : basic functionality ***\n";
index 06ba0d82e0d2530872055f5fa3b13abdc06f2d8c..49f9e95ceee25a1e9dee8087e23a759b75437039 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_print() function : usage variations - different data types as $c arg
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 1178118020ffcab1ca85ed92cdbd23dd4cab314d..12617de81daa293fa704e1db01d7295dc0141599 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_print() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index f79cfa20acaec7ae229f978f0323448d3eb48119..dc7ac0d9ca40b77baa4e2549e34aede0280489e2 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_print() function : usage variations - different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index be0d148019139f5af4bade6d18fcaaf8b0420131..94e76ecaf0dbff4415b89b5686b72b7b8b1f5bd2 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_print() function : usage variations - octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 2110385646da69495afeaf2da0e75725f67ea942..32c7bd0da3fef91b637f02b0b8b79ef7e5d361f3 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_punct() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_punct() : basic functionality ***\n";
index 52f05f76e9f3e802ace81fb3fc0eae1a1c54daff..4fcf9bc61bfce6bd33ffd6518044c50e98e21768 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_punct() function : usage variations - different data types as $c argument
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index a1dc709e448e1824b581b5e1f8152233c1a6e99e..1a39cb499cf0276e6bddb3fa76488fc18db5320d 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_punct() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 18da4a117a935d2e021b613e51b28ec41bf2fd83..cd189eec38dd68dba71363209e4e74faa7f6605f 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_punct() function : usage variations - different punctuation
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index ea581f520fd02ec746dd09a4dfa65d9488248edc..29b112b19a3b515ff84fba63a6afb07750daaec4 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_punct() function : usage variations - Octal and Hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 7aabb25cf0b82ebde1e30d5e7754859eb784f17c..7061d8f949d72348a208ae3280598a9800d604d7 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_space() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_space() : basic functionality ***\n";
index 63cdd65f244a2c074460b37c5e5d3ac80a2f15fc..a2622fa5036435f2cc929e256fbb4f252d88cd5f 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_space() function : usage variations - different data types as $c argument
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 146c7137f06dc68919e5d7013a194abba900189a..22d5b6268847fe3b9753547567130fc7ca7dc916 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_space() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index cd321078635fecb3acc80cd353a389b34e5e7272..2022f3860a0c116c93a1a8340dbad7f9cd04c1a1 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_space() function : usage variations - different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index f1fa47cb1f65218303b31fdca75a516225618077..3ee6dbc1ef8a2d90d1d02ffcdc28a1d5babaf51a 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_space() function : usage variations - octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 65e13892dc5cb84891ca39f5a530a0ab9ca097d0..2db702ed7589a96266af0263c8e22b42af2109b1 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_upper() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_upper() : basic functionality ***\n";
index 719edceb6266332ab1139af4fdbad3f091a1aea6..faca6a6eb47adb32884e3719cff7aee383e16174 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_upper() function : usage variations - different data types
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index e9da4fd45f3b9b18c6065a2a7ed251227eebb36c..2b5b67801274c22ed44c888feb34e25256e9ae44 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_upper() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 7a1243f84fb6e7d52888e97aea27b9b2e526eff5..c4d064edb0f9e293e297a58b7914e25d0eb54cb4 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_upper() function : usage variations - different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 4f8b777528f78823527ff7ec3f0e589e3c796b36..d8dda95883a4b6a91133781488c088361b1eaa3c 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_upper() function : usage variations - octal and hexadecimal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 8c1527d9ddcead8e82ee5c437b5a31cb79821a8b..c3f8bac4f252fce2e8bc77fcb3ea0c600414e987 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : basic functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 echo "*** Testing ctype_xdigit() : basic functionality ***\n";
index 42a26f4ced08da54da695f99f531bfc105420280..f753ff681c20727cdd9cce80a0147082da8b2bb0 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : usage variations - different data typse as $c arg
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 106ce3370dd3866fb19ee8e85fc66f8e794ed397..e343f3ab3e2880d0f850616c46bb646fce791480 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : usage variations - different integers
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 5bad5edea066f727349fe6c3fefb85f6020efe31..205b8c71ad6e1629550125e727957a8980210a67 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : usage variations - Different strings
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
index 4d15c8a395381accae7fd7f26429ca177448d16d..def93e2250a7b85923db77402b7f059536d77df7 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : usage variations - heaxadecimal and octal values
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
+--EXTENSIONS--
+ctype
 --FILE--
 <?php
 /*
diff --git a/ext/ctype/tests/skipif.inc b/ext/ctype/tests/skipif.inc
deleted file mode 100644 (file)
index 55f6c11..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<?php  if (!extension_loaded('ctype')) die('skip ctype extension not available');?>