summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2002-03-21 15:28:46 +0000
committerAndrei Zmievski <andrei@php.net>2002-03-21 15:28:46 +0000
commit1cf188ae1bedbfdb24aa46fb1eaf7b077761bb2c (patch)
treef507f8f5cd4ca6af942ace7048d2b51e27f07852 /ext/standard/basic_functions.c
parenta15c9a31ebc7041bbe902e3fd0d9947eff4f4b06 (diff)
downloadphp-git-1cf188ae1bedbfdb24aa46fb1eaf7b077761bb2c.tar.gz
Fix compilation when PCRE is disabled.
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r--ext/standard/basic_functions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 5dbc1a1a02..69d224392d 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -819,10 +819,12 @@ function_entry basic_functions[] = {
PHP_FE(aggregate, first_arg_force_ref)
PHP_FE(aggregate_methods, first_arg_force_ref)
PHP_FE(aggregate_methods_by_list, first_arg_force_ref)
- PHP_FE(aggregate_methods_by_regexp, first_arg_force_ref)
PHP_FE(aggregate_properties, first_arg_force_ref)
PHP_FE(aggregate_properties_by_list, first_arg_force_ref)
+#if HAVE_PCRE || HAVE_BUNDLED_PCRE
+ PHP_FE(aggregate_methods_by_regexp, first_arg_force_ref)
PHP_FE(aggregate_properties_by_regexp, first_arg_force_ref)
+#endif
PHP_FE(deaggregate, first_arg_force_ref)
PHP_FE(aggregation_info, first_arg_force_ref)
{NULL, NULL, NULL}