Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68751 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80052 invoked from network); 30 Aug 2013 18:02:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2013 18:02:43 -0000 Authentication-Results: pb1.pair.com header.from=krebs.seb@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=krebs.seb@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.179 as permitted sender) X-PHP-List-Original-Sender: krebs.seb@gmail.com X-Host-Fingerprint: 209.85.212.179 mail-wi0-f179.google.com Received: from [209.85.212.179] ([209.85.212.179:58641] helo=mail-wi0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/5A-32511-14ED0225 for ; Fri, 30 Aug 2013 14:02:42 -0400 Received: by mail-wi0-f179.google.com with SMTP id hq12so2137534wib.0 for ; Fri, 30 Aug 2013 11:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=fVXCBLRQqFwnuhp3sQGRIxOJqr24tmRiiwa8omotbrg=; b=ho5as5Lye6AozWp/ndtDexn4d8TdglI6EQOkC84m9k2S76cIghOt8P3kE8k7MErhYU mx0Hbw9BQH9Q2NZOSp3QuBi8w7Nm0fFRlSMj2GK7U6iXKSuJRrHeavzZM1uwtr7smc08 mbGCirM2qdmPrahiPccS44/cmwbIcL3OJQ5IthDvdptCNyK2BYXF9nCrHSaVt7lp+w4p VvBvVOX6lUfilC/JaucMkIhVPxYgm1i7e/in136KdmpfBYSY8b9LScqQoNfmptS9hWMn rfyH0gEqC479L0cVpMY3tj++++CrVP2ot2vc7Bqb/CMLTkNpkeLxht1HUo1ZktqG4+WB gDOg== X-Received: by 10.194.11.38 with SMTP id n6mr12283189wjb.25.1377885759122; Fri, 30 Aug 2013 11:02:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.5.9 with HTTP; Fri, 30 Aug 2013 11:01:59 -0700 (PDT) In-Reply-To: <5220D212.3010101@sugarcrm.com> References: <5220262A.6040702@sugarcrm.com> <5220437A.7050008@sugarcrm.com> <5220D212.3010101@sugarcrm.com> Date: Fri, 30 Aug 2013 20:01:59 +0200 Message-ID: To: Stas Malyshev Cc: Sara Golemon , Anthony Ferrara , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7b5d571036b9a104e52e07e3 Subject: Re: [PHP-DEV] [DRAFT] [RFC] Function autoloading From: krebs.seb@gmail.com (Sebastian Krebs) --047d7b5d571036b9a104e52e07e3 Content-Type: text/plain; charset=ISO-8859-1 2013/8/30 Stas Malyshev > 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 --047d7b5d571036b9a104e52e07e3--