Re: [DRAFT] [RFC] Function autoloading

From: Date: Fri, 30 Aug 2013 18:01:59 +0000
Subject: Re: [DRAFT] [RFC] Function autoloading
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
2013/8/30 Stas Malyshev <[email protected]>

> Hi!
>
> > Well, static methods aren't the same as functions.
>
> The big difference being?
>

A function is stateless [1], a method isn't. A function operates only on
the passed parameters [1], the method operates on the parameters and the
context it inherits from the instance (non-static), or class (static and
non-static).


[1] Beside IO and "global variables"-hacks


>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>



-- 
github.com/KingCrunch


Thread (72 messages)

« previous php.internals (#68751) next »