#44064 [Opn->Bgs]: rename_function is undefined
| From: | felipe@php.net | Date: | Wed, 06 Feb 2008 18:40:11 +0000 |
| Subject: | #44064 [Opn->Bgs]: rename_function is undefined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-122043@lists.php.net to get a copy of this message | ||
ID: 44064
Updated by: felipe@php.net
Reported By: paul_nelson57071 at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: *Regular Expressions
Operating System: Windows XP
PHP Version: 5.2.5
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
(PECL apd:0.2-1.0.1)
http://docs.php.net/manual/en/apd.setup.php
http://docs.php.net/rename-function
Previous Comments:
------------------------------------------------------------------------
[2008-02-06 18:02:57] paul_nelson57071 at yahoo dot com
Description:
------------
I'm trying to use the rename_fuction to make it so I can easly use
either MySQL or MSSQL functions. Using the example from your website
produces the folling error:
RESULT:
I know mysql_connect works though so I assume that rename_function is
not complied in PHP for some reason... any suggestions on how to fix
this or work around the problem in another way
Reproduce code:
---------------
<?PHP
rename_function('mysql_connect', 'Universal_SQL_Connect' );
?>
Expected result:
----------------
mysql_connect should now be callable using Universal_SQL_Connect
Actual result:
--------------
Fatal error: Call to undefined function rename_function() in
S:\webpages\Eaton\T2.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44064&edit=1