Is something like the following possible in PHP?
$blah = \'foo1\'; class foo2 extends $blah { //... } class foo1 { //... }
This g
If you don't have too many values for $blah, you could extend each one in a different file then require_once "classes/foo_$blah.php"
require_once "classes/foo_$blah.php"
Otherwise, you're stuck with the eval() solution... good luck with that... :)
eval()