From 02e25f0a1ef548b50f792a7e12bc19ad219798ef Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sat, 20 Oct 2001 22:01:56 +0000 Subject: # Butt-ugly looking code here, but I need regular expressions to do this. Re-instated safe-mode realm mangling as it was in php 2 and 3 albeit in a somewhat more robust way. @ Re-instated safe-mode realm mangling (Rasmus) --- ext/pcre/php_pcre.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/pcre/php_pcre.h') diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index f566c263c9..6e550b469d 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -41,6 +41,9 @@ PHP_FUNCTION(preg_split); PHP_FUNCTION(preg_quote); PHP_FUNCTION(preg_grep); +char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, + zval *replace_val, int is_callable_replace, int *result_len, int limit TSRMLS_DC); + extern zend_module_entry pcre_module_entry; #define pcre_module_ptr &pcre_module_entry -- cgit v1.2.1