> > > > Does __autoload() work for functions?
> > >
> > > nope
> >
> > But could? (Or would, some day?)
>
> Technically it is possible, but we ain't going to add this.
I see, thanks.
May I also ask the reasons?
(I bet anyone a dead rat that *lots* of authors of simple
plugin-based designs (not n
> > Does __autoload() work for functions?
>
> nope
But could? (Or would, some day?)
Cheers,
Sz.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
issed something outside of PHP's scope. That happens
to me quite easily... :-/
Good night,
Sz.
"Luna Kid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > > Tampering with a coWiki (www.cowiki.org) plugin, I noticed that
> > > is_readable() returns
> > Tampering with a coWiki (www.cowiki.org) plugin, I noticed that
> > is_readable() returns false, when PHP actually *can* read the file.
> > (Just commented out an "if (!is_readable($sRealPath))" and then
> > all went fine, the plugin now can read the files...)
> >
> > Is there a known reason fo
Dear Marcus:
> most probably the file rights prevent the web server from reading it.
As I mentioned: "PHP actually *can* read the file" -- and even though I
haven't explicitly said, most obviously I implied: from the web server.
> The function works as expected in 4.3.6rc as well as php5.
As I
Tampering with a coWiki (www.cowiki.org) plugin, I noticed that
is_readable() returns false, when PHP actually *can* read the file.
(Just commented out an "if (!is_readable($sRealPath))" and then
all went fine, the plugin now can read the files...)
Is there a known reason for or has anoyone bumped
> > This way (writing __thisclass::MYCONST instead of MyParticularClassName::CONST
> > we could freely decide to favor clean style, or performance, depending on the
> > specific
> > situation.
>
> No need for that we have 'self':
> php -r 'class c { const c="Hello\n"; static function f() { return
y (writing __thisclass::MYCONST instead of MyParticularClassName::CONST
we could freely decide to favor clean style, or performance, depending on the specific
situation.
Whichever way, thanks very much for your efforts, guys!
The Luna Kid
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Checking the Subject's here, PHP5 activity seems to be very low.
So, I assume there is a dedicated place somewhere else for PHP5
beta testing.
But where, please? (I haven't found any clues either in the README*
files along the sources, or by a 1-minute scanning of php.net.)
(Also strange, that th