Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68795 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5051 invoked from network); 31 Aug 2013 22:33:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2013 22:33:25 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.171 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.223.171 mail-ie0-f171.google.com Received: from [209.85.223.171] ([209.85.223.171:65171] helo=mail-ie0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/48-55332-43F62225 for ; Sat, 31 Aug 2013 18:33:24 -0400 Received: by mail-ie0-f171.google.com with SMTP id 9so5711049iec.2 for ; Sat, 31 Aug 2013 15:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cuo6tmIWY6jc2grLryBhwNPXyBXLdyPrENbmqPlB35g=; b=kwodtQ3M7xZDlWK0/WiGtIEJxk/Te25xX91EoJux7Ik1RRu4sT6ZHu9JyCavUGKeiF 7InYu1ObpU5W6s4AGqSNfT7ibSRjoqIfqedJ8DDt58T/bDSvywtQ7p2agc1yAVnkCdwf Y5baYXLyxAYAwHyG+LHFfurjF5gcR2JM2lhLEIaSqeN8yLCSdQDhvnxgOVZ3QC9wTrUH xEED7/DnqNLbXBGHK/c5ceel6kLWOQitC5paq8zV4G4lM7Gmg4XadPO8LpMVkh44b0rz 6Zdd1yBMn6FACjuhbfC9OPoVWdg5z7zXA90NVr9PeUgWnpNzke3f+6WOeCzybwd3t8fr PVTw== MIME-Version: 1.0 X-Received: by 10.42.54.13 with SMTP id p13mr9100578icg.6.1377988400409; Sat, 31 Aug 2013 15:33:20 -0700 (PDT) Received: by 10.50.73.42 with HTTP; Sat, 31 Aug 2013 15:33:20 -0700 (PDT) In-Reply-To: <7AF31CC1D1554454AC95AE758D23E92E@gmail.com> References: <5220262A.6040702@sugarcrm.com> <5220437A.7050008@sugarcrm.com> <5220D212.3010101@sugarcrm.com> <61FCD6C4A31248078FEAD2BA73D7CD44@gmail.com> <7AF31CC1D1554454AC95AE758D23E92E@gmail.com> Date: Sun, 1 Sep 2013 00:33:20 +0200 Message-ID: To: Vartolomei Nicolae Cc: Sebastian Krebs , Nikita Popov , Stas Malyshev , Sara Golemon , Anthony Ferrara , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=90e6ba3fcda71c752204e545eda4 Subject: Re: [PHP-DEV] Re: Function autoloading From: tyra3l@gmail.com (Ferenc Kovacs) --90e6ba3fcda71c752204e545eda4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > The lack of logic is: Why is it actually missing? > Why humans don=E2=80=99t have one leg more, on head? > > I really want to look at an example for this. Looks like you are the only > one who needs this. > > Oh, is OOP that bad for you? Also constant autoloading looks so bad, I > want to see an example of this too for sure. > > Please don=E2=80=99t consider these questions like you need to prove some= thing to > me, > I=E2=80=99m asking them hoping that anwers will help all internals to und= erstand > problem you are trying to solve. > > the function (and constant) autoloading was brought up on the list numerous times, so I don't think that you can say things like he is the only one in the need of this. php is a multiparadigm programing language, and usually you can do everything in procedural code that you would be able to do with oop code in php. except the autoloading, which for some people is an oop-only feature, so makes no sense to provide for procedural code, while for some other people thinks that the idea of autoloading makes no sense for functions/constants as there is no 1:1 mapping between files and autoloader calls. personally Ithink it would be nice if we could provide a way for const/function autoloading. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --90e6ba3fcda71c752204e545eda4--