Re: RFC: __invokeStatic() method
| From: | Vesselin Kenashkov | Date: | Thu, 06 Aug 2009 21:18:12 +0000 |
| Subject: | Re: RFC: __invokeStatic() method | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45228@lists.php.net to get a copy of this message | ||
2009/8/7 Johannes Schlüter <johannes@schlueters.de>
> Hi,
>
> On Thu, 2009-08-06 at 23:18 +0300, Vesselin Kenashkov wrote:
> > Hello everyone,
> >
> > I tried to create a page in the wiki but I dont see the "create" button..
> I
> > have an account but I guess I still lack permissions. Anyway here is my
> > proposal:
>
> You should be able to edit the RC list, add a new link there and then
> click on it to create the page.
I typed a new URL and it gives me the "You've followed a link to a topic
that doesn't exist yet. If permissions allow, you may create it by using the
Create this page button. ", but without a "Create" button (nor I see an Edit
button on the main RFC page). A permissions issue probably?
>
>
> > Implementation of magic method __invokeStatic
>
> is that solved with http://php.net/__callStatic ?
No, it is very different idea. The idea is to call a class statically as a
function - similar to invoking an object as a function. And this way I think
functions can be simulated by classes (which possiblity I would like to
discuss here).
If I have a chance to create a RFC page it will be much easier to read the
code and better structured...
Vesselin Kenashkov