diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-10-20 22:01:56 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-10-20 22:01:56 +0000 |
commit | 02e25f0a1ef548b50f792a7e12bc19ad219798ef (patch) | |
tree | 47b19b965eb43af72c875e1ced339c138ed0d97b /ext/pcre | |
parent | 3ead31449fab84c91512f234837f116b48bd3349 (diff) | |
download | php-git-02e25f0a1ef548b50f792a7e12bc19ad219798ef.tar.gz |
# 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)
Diffstat (limited to 'ext/pcre')
-rw-r--r-- | ext/pcre/php_pcre.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |