note 83735 rejected from language.oop5 by colder

From: Date: Mon, 09 Jun 2008 20:04:53 +0000
Subject: note 83735 rejected from language.oop5 by colder
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140288@lists.php.net to get a copy of this message
Note Submitter: tj ---- Is it possible to invoke static classes dynamically in a 'cleaner' way rather than using something like: $method= 'somemethod'; $class = 'someclass'; return @eval("{$class}::{$method}();");

« previous php.notes (#140288) next »