mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled.
This commit is contained in:
parent
55e127a6d5
commit
f0a7db1c7e
@ -2,6 +2,7 @@
|
||||
mb_ereg() compat test 1
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg') or die("SKIP mb_ereg() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/004.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg() compat test 2
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg') or die("SKIP mb_ereg() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/005.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 1
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/001.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 2
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/002.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 3
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/003.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 4
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/006.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 5
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/007.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 6
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/008.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 7
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/010.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 8
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/011.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 9
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/012.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 10
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/013.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 11
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/014.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 12
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/015.phpt) */
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_ereg_replace() compat test 13
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/016.phpt) */
|
||||
|
@ -2,7 +2,7 @@
|
||||
mb_ereg_replace()
|
||||
--SKIPIF--
|
||||
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
|
||||
function_exists('mb_ereg_replace') or die("SKIP");
|
||||
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
mb_regex_set_options( '' );
|
||||
|
@ -2,6 +2,7 @@
|
||||
mb_split() compat test 1
|
||||
--SKIPIF--
|
||||
extension_loaded('mbstring') or die('skip');
|
||||
function_exists('mb_split') or die("SKIP mb_split() is not available in this build");
|
||||
--FILE--
|
||||
<?php
|
||||
/* (counterpart: ext/standard/tests/reg/009.phpt) */
|
||||
|
Loading…
Reference in New Issue
Block a user