helly Thu Jul 20 21:52:40 2006 UTC
Modified files:
/php-src/ext/pcre php_pcre.c
Log:
- WS
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/php_pcre.c?r1=1.188&r2=1.189&diff_format=u
Index: php-src/ext/pcre/php_pcre.c
diff -u php-src/ext/pcre/php_pcre.c:1.188 php-src/ext/pcre/php_pcre.c:1.189
--- php-src/ext/pcre/php_pcre.c:1.188 Thu Jul 20 21:19:05 2006
+++ php-src/ext/pcre/php_pcre.c Thu Jul 20 21:52:40 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_pcre.c,v 1.188 2006/07/20 21:19:05 helly Exp $ */
+/* $Id: php_pcre.c,v 1.189 2006/07/20 21:52:40 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1243,15 +1243,15 @@
**subject,
**limit,
**subject_entry,
- **zcount;
+ **zcount;
char *result;
int result_len;
int limit_val = -1;
zstr string_key;
ulong num_key;
zval callback_name;
- int replace_count=0;
- int *replace_count_ptr=NULL;
+ int replace_count=0;
+ int *replace_count_ptr=NULL;
/* Get function parameters and do error-checking. */
if (ZEND_NUM_ARGS() < 3 || ZEND_NUM_ARGS() > 5 ||
@@ -1557,7 +1557,7 @@
*p, /* Iterator for input
string */
*q, /* Iterator for output
string */
delim_char=0, /* Delimiter character to be quoted */
- c; /* Current character */
+ c; /* Current character */
zend_bool quote_delim = 0; /* Whether to quote additional delim char */
/* Get the arguments and check for errors */
@@ -1657,12 +1657,12 @@
PHPAPI void php_pcre_grep_impl(pcre_cache_entry *pce, zval *input, zval
*return_value,
long flags TSRMLS_DC)
{
- zval **entry; /* An entry in
the input array */
+ zval **entry; /* An entry in
the input array */
pcre_extra *extra = pce->extra;/* Holds results of
studying */
pcre_extra extra_data; /* Used locally for
exec options */
- int *offsets; /*
Array of subpattern offsets */
- int size_offsets; /* Size of the
offsets array */
- int count = 0; /*
Count of matched subpatterns */
+ int *offsets; /*
Array of subpattern offsets */
+ int size_offsets; /* Size of the
offsets array */
+ int count = 0; /*
Count of matched subpatterns */
zstr string_key;
ulong num_key;
zend_bool invert; /* Whether to
return non-matching
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php