Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45831 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17066 invoked from network); 16 Oct 2009 15:29:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Oct 2009 15:29:22 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad 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.211.183 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.211.183 mail-yw0-f183.google.com Received: from [209.85.211.183] ([209.85.211.183:36666] helo=mail-yw0-f183.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/A0-13873-E4198DA4 for ; Fri, 16 Oct 2009 11:29:18 -0400 Received: by ywh13 with SMTP id 13so2993746ywh.29 for ; Fri, 16 Oct 2009 08:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=b2FFJ2rkeMFlErUHhXHtR6k1jDijQvZmN5p5oc6Mzys=; b=hqsNeeD8f0pR/NPqCRRoWjBx5NxiBPbiRA0wVyGYxouWrE7ql06XsMI7Wekw+gyhSI LgHivv9220Gi3kle+i4nmcAD3oV5xigyd3rjsigstc2KTpy5PuEQwonXgFhFYsH9JVQp NjL4m50eqiGSw7wUdD+nJlRDQgsOiHIm/UQ38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=J0iYCJhPG13vG7SA/TvXmgCKLD5QTmNdF+/xis87i40igQp+/TswDmAGVgzg5sNhPV +Z6ivtoQnHYedIWKlszL3PbnyOGs/cRBf9lK7w95Ns9SyIGsmRn+evw/JBzxdFuBZnii Z4mRTxEkYkFuTMFMhR5AP/6Otgu66BeW/u9m4= MIME-Version: 1.0 Sender: tyra3l@gmail.com Received: by 10.239.181.148 with SMTP id m20mr128475hbg.186.1255706955129; Fri, 16 Oct 2009 08:29:15 -0700 (PDT) In-Reply-To: <1255705792.4199.9.camel@samuel-laptop> References: <20091016143251.e95b77e5@mailro.4psa.com> <1255705792.4199.9.camel@samuel-laptop> Date: Fri, 16 Oct 2009 17:29:15 +0200 X-Google-Sender-Auth: 9ebf3655ac1773ee Message-ID: To: Samuel ROZE Cc: Rack-Soft security , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Autofunc patch (automatically loading functions like autoload) From: info@tyrael.hu (Ferenc Kovacs) On Fri, Oct 16, 2009 at 5:09 PM, Samuel ROZE wrote: > Hi, > > This is a good idea, it appears that it works fine ! I'm not really fond > of auto-loading (class or here functions) but it can be a good > thing ! :-) > > Le vendredi 16 octobre 2009 =C3=A0 17:32 +0300, Rack-Soft security a =C3= =A9crit : > [...] >> Management of large no OOP projects (or mixed OOP/procedural) is much >> easier with this. > > Are there still new projects no OOP which are using PHP 5.x ? > http://drupal.org/node/547518 "Why not use classes" I didnt check the latest code, but I think drupal still uses global functio= ns. >> I have attached some PHP files to test with, you must execute >> index.php that will load autofunc when the loaded functions can not be >> found. > > For people who are reading our message from archive, it must be better > the host these files on a web server. ;-) > > For me, it is good. (the functionality, I didn't have the time to look > at the code) > > Thanks for PHP. > Samuel. > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >