|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-06 18:40 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 08:00:01 2025 UTC |
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