Re: Autofunc patch (automatically loading functions like autoload)
| From: | Ferenc Kovacs | Date: | Fri, 16 Oct 2009 15:29:15 +0000 |
| Subject: | Re: Autofunc patch (automatically loading functions like autoload) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45831@lists.php.net to get a copy of this message | ||
On Fri, Oct 16, 2009 at 5:09 PM, Samuel ROZE <samuel.roze@gmail.com> 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 à 17:32 +0300, Rack-Soft security a écrit :
> [...]
>> 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 functions.
>> 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
>
>