ID:               29303
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbugs at gushi dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         Regexps related
 Operating System: FreeBSD 4.10-RELEASE (Others?)
 PHP Version:      4.3.8
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You simply don't have the PCRE extension compiled. 


Previous Comments:
------------------------------------------------------------------------

[2004-07-21 15:39:59] phpbugs at gushi dot org

Description:
------------
Using PHP 4.3.8 a call to the function preg_replace yields the error:

Call to undefined function: preg_replace()

Similar behavior is not seen with php 4.3.7 built with the same
configure arguments (--with-apxs --with-mysql=/usr/local)

Reproduce code:
---------------
The code producing the bug is VBulletin, in the following function:

$scriptpath = preg_replace('/(s|sessionhash)=[a-z0-9]{32}?&?/', '',
$scriptpath);


Expected result:
----------------
The variable $scriptpath to be set.

Actual result:
--------------
Fatal error: Call to undefined function: preg_replace() in
/usr/home/admin/community/includes/init.php on line 268



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29303&edit=1

Reply via email to