php4-beta | 200004
Date: 04/15/00
- Next message: Andi Gutmans: "[PHP4BETA] cvs: /php4/ext/posix posix.c /php4/ext/standard dir.c filestat.c image.c iptc.c /php4/sapi/apache mod_php4.c /php4/sapi/isapi php4isapi.c /php4/sapi/roxen roxen.c /php4/win32 registry.c"
- Previous message: Yusuf Goolamabbas: "Re: [PHP4BETA] Current CVS fails to compile"
- In reply to: Andi Gutmans: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Next in thread: Andi Gutmans: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Reply: Andi Gutmans: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Quoting Andi Gutmans <andi <email protected>>:
> You should really be using require_once() (or include_once()) with the file
> extension.
Okay... test script:
<?php require_once './foo.php'; ?>done
produces this:
./zend-scanner.l(582) : Freeing 0x08140F1C (10 bytes),
script=/var/www/horde/imp/test.php
Doesn't seem to depend on length of the filename as far as I can tell.
So, is PEAR not going to be part of PHP4? I've been updating my classes to match
the conventions outlined in PEAR, and it seems like a very nice framework. But I
posted a question over a month ago about DB::factory() not working correctly,
and never heard anything about it - is anyone working on PEAR right now?
Also, I'd like to repeat the idea that include_path should by default include
the directory where PEAR classes are installed. This will make writing packages
that depend on PEAR _much_ easier for people to install. (someone else also had
the idea that the PEAR directory should be free of safe_mode restrictions, so
that hosts didn't have to give every single user a copy of the standard
packages).
-chuck
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Andi Gutmans: "[PHP4BETA] cvs: /php4/ext/posix posix.c /php4/ext/standard dir.c filestat.c image.c iptc.c /php4/sapi/apache mod_php4.c /php4/sapi/isapi php4isapi.c /php4/sapi/roxen roxen.c /php4/win32 registry.c"
- Previous message: Yusuf Goolamabbas: "Re: [PHP4BETA] Current CVS fails to compile"
- In reply to: Andi Gutmans: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Next in thread: Andi Gutmans: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Reply: Andi Gutmans: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

