ID: 48810 Updated by: paj...@php.net Reported By: moonlightcheese at gmail dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Ubuntu PHP Version: 5.2.10 New Comment:
Read the PHP Manual please. Previous Comments: ------------------------------------------------------------------------ [2009-11-20 10:40:37] a at b dot c dot de Uh, you can already do that.... ------------------------------------------------------------------------ [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