im designing a webbased app to allow configuration backups etc to a number of devices with the backup script it
has bla() __CLASS__ will return BAR in that case
and imagine foo inherits bar for sure
caffinated, what he wants is called late static bindings and is not implemented yet
u told me in pecl ;ÖP
dsop, I guess you're dsp_ over efnet ?
exactly
the getopt patching guy ;P
crhis?
maybe i just get up debug_backtrice until i reached the last (is_a()) ;P
php is fat
dsop, that would be a way, but it's quite slow and you've to do a context check
ok, perhaps i'm missing the point. so bar extends foo, bar has bla() but you want foo returned?
when calling foo