ID:               48810
 Comment by:       a at b dot c dot de
 Reported By:      moonlightcheese at gmail dot com
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Ubuntu
 PHP Version:      5.2.10
 New Comment:

Uh, you can already do that....


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

[2009-07-05 20:38:17] moonlightcheese at gmail dot com

Description:
------------
the use of constructs would be nice.  i don't see a reason why i
shouldn't be able to do something like this:

$db_prefix="mysql_";
$conn_func=$db_prefix."connect";

$conn_func('localhost','example','password');

having to build wrapper functions for every construct i want to use
within a class bloats the code and makes things less manageable.

Reproduce code:
---------------
---
>From manual page: functions.variable-functions
---




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


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

Reply via email to