On Tue, 2007-07-03 at 20:00 +0100, Colin Guthrie wrote:
> Daniel Brown wrote:
> >> Ahh well, how about this:
> >>
> >> <?php
> >>
> >> abstract class wood
> >> {
> >> protected function the()
> >> {
> >>
> >> }
> >> }
> >>
> >> class thetrees extends wood
> >> {
> >> public function foo()
> >> {
> >> }
> >> }
> >>
> >>
> >> $u = new thetrees();
> >> $u->wood(); // Blerg
> >>
> > "If a tree falls in the woods, and no one is there to hear it,
> > does it make a sound?"
> >
>
>
> Nope - It's more about not seeing what is in front of you. The parse
> error is deliberate....
Your hint was too good :)
"Can't see the woods for the trees."
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php