]> granicus.if.org Git - php/commitdiff
add missing SKIPIF sections
authorAntony Dovgal <tony2001@php.net>
Sun, 13 Jul 2008 21:34:15 +0000 (21:34 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 13 Jul 2008 21:34:15 +0000 (21:34 +0000)
71 files changed:
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_error.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_error.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_error.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_error.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_error.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_error.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_error.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_error.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_error.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_error.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_error.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 [new file with mode: 0644]

index b7beea786134fe8a7ef6f033884aa3e7f3da02e6..0c80aecba4fcb18542de2c49343de9d3d453731b 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 ctype on integers
 --SKIPIF--
-<?php if (!extension_loaded("ctype")) print "skip"; ?>
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php 
   setlocale(LC_ALL,"C"); 
index 598ff9be963e0dff30e118463a3a3dc0f3619a29..c20612cf44e106f61e13647c4fec0eda9461caff 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 ctype on strings
 --SKIPIF--
-<?php if (!extension_loaded("ctype")) print "skip"; ?>
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php 
 
index 74320a865c41a12a0440a3e1aa60ce23f0c22486..ecacebbed6dce1bf2e80fc60998f1b2620933102 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #25745 (ctype functions fail with non-ascii characters)
 --SKIPIF--
-<?php if (!extension_loaded("ctype")) print "skip"; ?>
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 $funcs = array(
index 8c8e260c2815c75eaad9da4c995d31af61f60e6e..7aa386235d3e95859e7c7393c88665fc697d8e9a 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 Bug #34645 (ctype corrupts memory when validating large numbers)
 --SKIPIF--
-<?php if (!extension_loaded("ctype")) print "skip"; ?>
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 $id = 394829384;
index 32da928c2590f83c687726708e69b420416445dc..2a18b82abdcc61255665dc36540cc4e6157efb15 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alnum() function : basic functionality
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alnum(mixed $c)
index 9ced2d7c788795aada9abc772df8699457290418..0b4a63632e2497360b55349e920318ab1fb2acba 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alnum() function : error conditions - Incorrect number of args
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alnum(mixed $c)
index 3f6730748331da6d881620c27d4aadb628ed0e23..2505428d21a687b88881edcd0c6fb75b5f3f76ec 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alnum() function : usage variations - Different data types as $c arg
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alnum(mixed $c)
index c360e676cf3e6238f62c6e0cb5cfd62507cb9f9f..94ae22da1ad366e2357a2b6f3593efd16ff5eff8 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alnum() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alnum(mixed $c)
index ee0a74836d6e6183e91b5b9da30a896af2b52f64..a9da6c932ad1f7d415c3e93245076ec6abc186dc 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alnum() function : usage variations - different string values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alnum(mixed $c)
index d56c925c7551ce0d096e9a804fb762d695580fba..49167eb34db77519f7e5c1b6c090bc677aa9320e 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alnum() function : usage variations  - octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alnum(mixed $c)
index c467bf8f6691af0e23699a64a73007a33de2c098..f0d8af8abc0acfc6bc7db0c75c46084282ce4c57 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alpha() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alpha(mixed $c)
index 18c2edb5259b17a850b17f9b4de888271c11c435..4cf8234e0d04487de3279bf56b802576e551f910 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alpha() function : error conditions - Incorrect number of arguments
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alpha(mixed $c)
index 98c64a16e38dd2dd1657559fb0f235be44a54cf2..baa75c8d4ead940b50ca6c4b5aa799bc56e0e868 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alpha() function : usage variations - different data types as $c arg
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alpha(mixed $c)
index ea3afc2be1b8c75b7e9466e73a8778a6d695a12b..866f37259979ea91772b06f0552ee06ed0173528 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alpha() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alpha(mixed $c)
index 3eed8979543607a3abdbca754942709a211b096d..5ab4bd6dc223df56dcd7f5a5c4dec79b98cab5b4 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alpha() function : usage variations - different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alpha(mixed $c)
index cf091a7b1b68719638ed2a480259aa1ef1bee79d..c41d97291b36c73993667183078d18ead5d4c1bf 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_alpha() function : usage variations - Octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_alpha(mixed $c)
index 5bd977b0602b8ef3544332be2ecba6c4e2f41b05..b9241adc943eeb4ac8f2ead0e78bfb80ea4fe530 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_cntrl(mixed $c)
index d089e6edf50c0947815a2e695c571762b6cb46dc..7319ef63e26b9631e06fbffacbf888eb3220753f 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : error conditions - Incorrect number of args
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_cntrl(mixed $c)
index 0740d0def7c38a67edfc38782a2580a30c247950..f74c13f967b1c8da5eca80b3e4ab8993cf9eca9b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : usage variations - Different data types as $c arg
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_cntrl(mixed $c)
index a9deaab587ac18eae696366834c27a596d09ae46..b48ab94450f291d53c550bba121ab8526dd29bb3 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_cntrl(mixed $c)
index 6528c1c0a6b98943fce42cc3229e48ea06bcb543..4ae5bc31886aa112dabb0edab99eee5422ed2d0f 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : usage variations - Different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_cntrl(mixed $c)
index 38f622d46501464f0d7abe50a938f515f9071db5..0e1c50379b28a124ec88e42a3706accffdc5fea4 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_cntrl() function : usage variations - Octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_cntrl(mixed $c)
index e39208cca401ebe47a46e67792c5193b2b21c85a..049580db1b75129ff67739dee131b57bed0fe406 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_digit() function : basic functionality
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_digit(mixed $c)
index 7f911eba6e8b17d7f57efc96c80f2afe78cd7783..5e8088226ae023acc66026d20e12a1fcbd45fb9b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_digit() function : error conditions - incorrect number of arguments
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_digit(mixed $c)
index 626dcee6c063010200804ab025331779a70d6b8a..306949130d73eefad00630c489e0babb1e08b555 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_digit() function : usage variations - different data types as $c arg
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_digit(mixed $c)
index e7b9115711fbe18ce6d10f068b6ff0e24c96ad75..318737f4f4c075ac72874bcfe1ae43c419545631 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_digit() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_digit(mixed $c)
index 4746166a76802c7713697ae02e07d908c2100c8e..66ef6f344cb28345275d94592f295eacb97623c9 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_digit() function : usage variations - different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_digit(mixed $c)
index 852bba32e88eb9a15bf636bd28c7ff81e223c05a..c94be3e6df168f07d6b9fcbb47cadf1500ca5247 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_digit() function : usage variations - octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_digit(mixed $c)
index bf789fbeadff64e1448950ebc8b22f6d0092efc0..b45aac6d455d3c34f8f43cef05dce2897fc612d9 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_graph() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_graph(mixed $c)
index 7cd94fc26b6fd4e230cb71f3e682c9ea13849148..953b553fb63006d77cd23d564b10064c4c12d0f2 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_graph() function : error conditions - incorrect number of arguments
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_graph(mixed $c)
index ee6e95bd30f23d2190e4fbfdb8ab10c6c5c685eb..03471f1bda415a728de9d602db0e612bd4858bd6 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_graph() function : usage variations - different data types as $c arg
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_graph(mixed $c)
index 6ab56c75e481ef03f9f5a0d74324b9013c512162..8f8b3fed10311cccff8b473c6491115ff90e4fb8 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_graph() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_graph(mixed $c)
index 7843a058f5ec15330724b7ec7e8ef5a521bf891c..327a497e9f65acb6a0142c5751b090e12ae8e99a 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_graph() function : usage variations - different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_graph(mixed $c)
index 0a504324c7e0becf0e5f213a02d95c64b91c723e..d425b4c7c3214122c236d39db56e0ffb7cb138b6 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_graph() function : usage variations - octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_graph(mixed $c)
index f9c8540481ea93774c5b6bac76ff8e73d7f49011..be6c0affd2f0b6bcef7e74383fa36d9f88eeed84 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_lower() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_lower(mixed $c)
index 141d02c6e2aaad99a82ff599bd3d535d4f7de8ab..ef49c4cf4404807cf8bf407457957d5864f29d86 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_lower() function : error conditions - incorrect number of args
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_lower(mixed $c)
index 60288c3d99aae4dcb3ce6fe1dfaebf73ec109ba1..91c8ef54072cbf2cd424169ad2434423f269be12 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_lower() function : usage variations - different data types as $c arg
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_lower(mixed $c)
index 99a3ad775e04a1a95e8eadf68433c6b0873cd26f..39eff9a9568bcc90fb1e911681435e723c40e663 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_lower() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_lower(mixed $c)
index 73d6fcd60d93c491b2734d941c159ae1beb6cbd7..061cc1ce9ae5b8146281c5551e4fcddda27208e7 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_lower() function : usage variations - different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_lower(mixed $c)
index 30a68a3af2b2ccc728ba33c76b6d147f0b0355f4..25e3d17f87ed0716a1e6ea418b448caff43e1942 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_lower() function : usage variations - octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_lower(mixed $c)
index 5d01f5abd66d953bd4b1b522daabf06d9f9e6269..49cb26fbdda458af5e425ae75d6a353d217bbf92 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_print() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_print(mixed $c)
index 243d2f802269209cd15e670bdc2da3f2e27f5a25..09ed8c94ca77c7e81191c65704146b1e01ddb5ed 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_print() function : error conditions - incorrect number of args
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_print(mixed $c)
index c121dd723e334065c35f53c9b03768704b288c70..a882c960205407b494d93c90e1029be9356668d0 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_print() function : usage variations - different data types as $c arg
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_print(mixed $c)
index ac492b882577854b5ce0580141153357e75e9476..c216e4da4a936f0951943c2608fb3be6cf501767 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_print() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_print(mixed $c)
index 0231a3db2a9baa94fe4bb41b5434eac499cc698d..7b90e4fd0866b80129b0e894c856a1e2c4476b0a 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_print() function : usage variations - different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_print(mixed $c)
index b8e643582b5603d0244839c843e84271e76b6fea..d6dc84ac507656410e861af8e49a2663a5935936 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_print() function : usage variations - octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_print(mixed $c)
index d1f6f4601a9d0fd85df9ff4dec714f92fd8b8230..647f8519b1b4c3cd1688e8475331042e1c99590e 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_punct() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_punct(mixed $c)
index ec4aff71dfeb1688a5f23ffa39d1610bf2ca6d81..afb9ff0de240632e3ed1f15c4ea88ef59f6863db 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_punct() function : error conditions - incorrect number of args
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_punct(mixed $c)
index 2bdfd709c0aa0ca7e85ed5b8f07b8aea80cb7048..0f57c45a6642a43569a76f246c17c4c3069f895f 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_punct() function : usage variations - different data types as $c argument
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_punct(mixed $c)
index cc04753e648d5a59bae209cf1a18231e92ca389e..3a4a66ac7b9e2bb56a25f403d1b0d5231ea797fb 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_punct() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_punct(mixed $c)
index 5282a291b7c38f773bab7a9c4837cc778e95026c..73e377eed155cfac1273c3eecfdcecbb0f66bd60 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_punct() function : usage variations - different punctuation
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_punct(mixed $c)
index 40ef656cb1c5f9eacac7d8f38760273ee40821dd..7b7201b14007f77c8392c72c1d8744e82ff2fe1b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_punct() function : usage variations - Octal and Hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_punct(mixed $c)
index 8f2cbe91b4438e095c09e1e5dbaa30fd01838d48..55d9a81cbc16d92762c35b18d5814da03cfdfec9 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_space() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_space(mixed $c)
index e4cd4f4f46388a4244ff358a05bed9cd0703b5e0..d8f17d4efdad0522dd79a750ba5ceb2d60f72d4d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_space() function : error conditions - Incorrect number of args
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_space(mixed $c)
index be1cb2406ba279c6f74bc986766dc07d44644587..4a469ae0372bc0410bcae368cda1441fc10bfef4 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_space() function : usage variations - different data types as $c argument
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_space(mixed $c)
index 8eadc23594c321838bca835e3a93595b03ba8f40..6ffdb9c5eda7caf5228827398838f0fd22bfdaf6 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_space() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_space(mixed $c)
index 21aa866c9c2597a3e3574766d6292edfa6d402fa..bb8423b1eee326bef286c65e3e2f87019b562b7f 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_space() function : usage variations - different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_space(mixed $c)
index 3eed45a456bf0539f4f687f98f5d7e9a64e02f10..305c123e27ab791e0b227b29a82c1c158d1c01bd 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_space() function : usage variations - octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_space(mixed $c)
index 55f91151a8e7f7922cca776a6cad18f0817031fc..635e4818dc5e6906d09817049e16693c019459c0 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_upper() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_upper(mixed $c)
index 185e63d9ed2007a27ee9fa3d321d5c4dd0f9c070..e9183f483823d8dcfb08717e0af0a30c6368bd0d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_upper() function : error conditions - incorrect number of args
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_upper(mixed $c)
index f7dd079217df97b437713ee468bb11092bd5fb94..a257cd3f4a237452d72fcccb92cf9d51f26e18b9 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_upper() function : usage variations - different data types
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_upper(mixed $c)
index 03ec85806a102b992ccb93c65913c8a45a3dea14..9357feb1e45768c9b05a9f56224dddb1398ffd15 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_upper() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_upper(mixed $c)
index db57ed5f9b8adda6e57a973816ca2f8745591826..3e4509e345a68d43b20c36ab317d9164590a1cad 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_upper() function : usage variations - different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_upper(mixed $c)
index 723c4d0a81ac8d47d122a7b09a07ab9034d0ee5d..0c2799215984d2308bd0e0c1ed01cc2ba49a2e97 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_upper() function : usage variations - octal and hexadecimal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_upper(mixed $c)
index 58cc5b2e0a558ee0a2b0baf999a0165bf3509075..179115d23d4c9279608d871412304eb92c21806d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : basic functionality 
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_xdigit(mixed $c)
index 06ee7334155872500be312a78185088d42049a1a..60ea69ce1e959fcaaf98001f225330f21b340b97 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : error conditions - Incorrect number of args
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_xdigit(mixed $c)
index adde77bbd71a7f94ff18e606e28ce5b08818fb65..963755b35822b252f3e0eab2f04e233ce8e78215 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : usage variations - different data typse as $c arg
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_xdigit(mixed $c)
index 92f9aba0c08b336cd13042e9c4a70b5b76d9710d..1e7b7bd4b47b8703fccce86fb81aae2e4a85d937 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : usage variations - different integers
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_xdigit(mixed $c)
index 35e8407fccec8a400f4d6d8b817c4dcc405e648d..2c9960ced2be24ce542134788d1d8ab33d0c1e29 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : usage variations - Different strings
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_xdigit(mixed $c)
index 68e03cb8892ef61c08306fa9ee605b54149b6df6..4707bcebff45decaa16464d035bc06e687102af7 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test ctype_xdigit() function : usage variations - heaxadecimal and octal values
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
 --FILE--
 <?php
 /* Prototype  : bool ctype_xdigit(mixed $c)
diff --git a/ext/ctype/tests/skipif.inc b/ext/ctype/tests/skipif.inc
new file mode 100644 (file)
index 0000000..55f6c11
--- /dev/null
@@ -0,0 +1 @@
+<?php  if (!extension_loaded('ctype')) die('skip ctype extension not available');?>