]> granicus.if.org Git - php/commitdiff
Get rid of debug printf's.
authorAndrey Hristov <andrey@php.net>
Fri, 21 May 1999 13:29:05 +0000 (13:29 +0000)
committerAndrey Hristov <andrey@php.net>
Fri, 21 May 1999 13:29:05 +0000 (13:29 +0000)
ext/pcre/pcre.c

index ce9253765eef416ecb27cca6346ca835f261e4ea..b15cdbaf01b0760d2dcccdae48bd3e34599dac5e 100644 (file)
@@ -261,10 +261,6 @@ PHP_FUNCTION(pcre_match)
        if (count >= 0) {
                matched = 1;
 
-               for(i=0; i<count; i++)
-               {
-                       php3_printf("so = %d, eo = %d\n", offsets[i<<1], offsets[(i<<1)+1]);
-               }               
                /* If subpatters array has been passed, fill it in with values. */
                if (subpats != NULL) {
                        /* Try to get the list of substrings and display a warning if failed. */
@@ -326,7 +322,6 @@ static int _pcre_get_backref(const char *walk, int *backref)
        if (walk[1] >= '0' && walk[1] <= '9')
                *backref = *backref * 10 + walk[1] - '0';
 
-       php3_printf("backref = %d\n", *backref);
        return 1;       
 }
 /* }}} */