Runkit / Parsekit & good practices
am 20.10.2007 23:06:23 von 131I was asking myself if the super-possibilities offered by the runkit
extension could be used in a "good" way
I'll like to use runkit to define superglobals like $config, for example./
I'll like to use runkit to modify Class extension & implementation, making
it more "Javascript" like.
I'm very frustated in not beeing able to extend an existing classes
For example, i'll like to use, in every one of my script "sql" static
classe, regardless the database system. - i know about PDO, that's just an
example -
I'll like to use
class sql {
//noting here
}
And in mysql.php
modify sql {
function connect(){
}
}
and in mysql/plugin/superlinks
modify sql {
function fetch(){
$tmp=before:fetch();
return $tmp=str_replace("
}
}
That's not a great post, my true question is
"Might we use the supergodpower runkit offers", or - not
PS : that's just an evolution of the EXISTING "Overload" process
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php