summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/mb_ereg_replace-compat-10.phpt
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2002-11-15 14:26:33 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2002-11-15 14:26:33 +0000
commitf0a7db1c7e044e5af487bacec04908d80189e9ed (patch)
tree4a70794849c8de84fe12ae566b4287d3c54acea1 /ext/mbstring/tests/mb_ereg_replace-compat-10.phpt
parent55e127a6d5e9bae34df780390f50e5d89791bcde (diff)
downloadphp-git-f0a7db1c7e044e5af487bacec04908d80189e9ed.tar.gz
Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled.
Diffstat (limited to 'ext/mbstring/tests/mb_ereg_replace-compat-10.phpt')
-rw-r--r--ext/mbstring/tests/mb_ereg_replace-compat-10.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mbstring/tests/mb_ereg_replace-compat-10.phpt b/ext/mbstring/tests/mb_ereg_replace-compat-10.phpt
index b3114c4f90..99cf188c71 100644
--- a/ext/mbstring/tests/mb_ereg_replace-compat-10.phpt
+++ b/ext/mbstring/tests/mb_ereg_replace-compat-10.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) */