tony2001                Fri Dec 24 14:45:54 2004 EDT

  Modified files:              
    /php-src/ext/pcre   php_pcre.c 
  Log:
  return empty string when got empty parameter
  
  
http://cvs.php.net/diff.php/php-src/ext/pcre/php_pcre.c?r1=1.163&r2=1.164&ty=u
Index: php-src/ext/pcre/php_pcre.c
diff -u php-src/ext/pcre/php_pcre.c:1.163 php-src/ext/pcre/php_pcre.c:1.164
--- php-src/ext/pcre/php_pcre.c:1.163   Thu Dec  9 19:36:51 2004
+++ php-src/ext/pcre/php_pcre.c Fri Dec 24 14:45:54 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_pcre.c,v 1.163 2004/12/10 00:36:51 iliaa Exp $ */
+/* $Id: php_pcre.c,v 1.164 2004/12/24 19:45:54 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1416,7 +1416,7 @@
 
        /* Nothing to do if we got an empty string */
        if (in_str == in_str_end) {
-               RETVAL_EMPTY_STRING();
+               RETURN_EMPTY_STRING();
        }
 
        if (ZEND_NUM_ARGS() == 2) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to