[PHP-DEV] Function autoloading (Was: PHP4 - PHP5 incompatibility - classes must be declared before being used)

2004-04-18 Thread Luna Kid
Does __autoload() work for functions? nope But could? (Or would, some day?) Technically it is possible, but we ain't going to add this. I see, thanks. May I also ask the reasons? (I bet anyone a dead rat that *lots* of authors of simple plugin-based designs (not needing real OOP

[PHP-DEV] Re: Function autoloading

2004-04-18 Thread Ilya Sher
Luna Kid wrote: [snip] (I bet anyone a dead rat that *lots* of authors of simple plugin-based designs (not needing real OOP stuff) would welcome function autoloading. In fact, many of us, I'm sure, had wondered cluelessly about how to do it with __autoload, before wondering cluelessly about why

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/tidy tidy.c /ext/tidy/tests 007.phpt

2004-04-18 Thread Nuno Lopes
john Sun Apr 18 03:58:19 2004 EDT Modified files: /php-src/ext/tidy tidy.c /php-src/ext/tidy/tests 007.phpt Log: Fixing a tidy_getopt() bug, and converting all exceptions to E_WARNING Nice! Today I've reviewed all my test scripts about tidy and here are my conclusions: * You

Re: [PHP-DEV] [PATCH] sybase appname contains static version number

2004-04-18 Thread Timm Friebe
On Fri, 2004-04-16 at 17:51, Derick Rethans wrote: On Fri, 16 Apr 2004, Uwe Schindler wrote: Appended a patch to the sybase extensions, that set the default value for the sybase appname to (PHP PHP_VERSION). I have seen that in PHP 4.3.6 where this variable is statically set to PHP 4.0

[PHP-DEV] Microsoft Visual C++ Toolkit 2003

2004-04-18 Thread Sebastian Bergmann
Just wanted to let you know that I successfully built the current CVS version of PHP 5 with the Microsoft Visual C++ Toolkit 2003 [1]. The Microsoft Visual C++ Toolkit 2003 lacks some tools like nmake and rc but which should be also freely available. -- [1]

Re: [PHP-DEV] [PATCH] sybase appname contains static version number

2004-04-18 Thread Derick Rethans
On Sun, 18 Apr 2004, Timm Friebe wrote: On Fri, 2004-04-16 at 17:51, Derick Rethans wrote: On Fri, 16 Apr 2004, Uwe Schindler wrote: Appended a patch to the sybase extensions, that set the default value for the sybase appname to (PHP PHP_VERSION). I have seen that in PHP 4.3.6

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV] PHP4 - PHP5 incompatibility - classes must be declared before being used)

2004-04-18 Thread Andi Gutmans
It gets called at run-time and should work with code-caches. Andi At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Marcus Boerger wrote: Along those lines, is there any performance penalty for using __autoload() to load my php classes if I am using a code cache like APC? Ask george Does

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Marc Richards
Andi Gutmans wrote: At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Does anyone know when __autoload() gets invoked? Is it during code compilation or at runtime? Has anyone tested __autoload() with a code cache like APC or ZPS? Marc It gets called at run-time and should work with

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Andi Gutmans
At 01:06 PM 4/18/2004 -0400, Marc Richards wrote: Andi Gutmans wrote: At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Does anyone know when __autoload() gets invoked? Is it during code compilation or at runtime? Has anyone tested __autoload() with a code cache like APC or ZPS? Marc It

Re: [PHP-DEV] Microsoft Visual C++ Toolkit 2003

2004-04-18 Thread Wez Furlong
Excellent; nmake and rc should be part of the platform SDK, so this potentially makes the win32 build open to anyone that has the patience to download these things. Live in fear ;) --Wez. - Original Message - From: Sebastian Bergmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Marc, On Sunday 18 Apr 2004 17:06, Marc Richards wrote: Andi Gutmans wrote: At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Does anyone know when __autoload() gets invoked? Is it during code compilation or at runtime? Has anyone

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Marc Richards
Andi Gutmans wrote: At 01:06 PM 4/18/2004 -0400, Marc Richards wrote: Andi Gutmans wrote: At 12:57 PM 4/18/2004 -0400, Marc Richards wrote: Does anyone know when __autoload() gets invoked? Is it during code compilation or at runtime? Has anyone tested __autoload() with a code cache like APC

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread George Schlossnagle
On Apr 18, 2004, at 2:24 PM, Marc Richards wrote: Do the pages that get included by the __autoload() function get parsed and compiled along with the original page when using a code cache? No, but since all the code caches cache each include file independently, it doesn't matter. The include

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Andi Gutmans
include()'s are also done at run-time and autoload is very similar, thus, YES code caches will work with it. Please don't ask this question again :) At 02:24 PM 4/18/2004 -0400, Marc Richards wrote: Andi Gutmans wrote: At 01:06 PM 4/18/2004 -0400, Marc Richards wrote: Andi Gutmans wrote: At

Re: [PHP-DEV] __autoload() and code caching (Was: [PHP-DEV]

2004-04-18 Thread Marc Richards
George Schlossnagle wrote: On Apr 18, 2004, at 2:24 PM, Marc Richards wrote: Do the pages that get included by the __autoload() function get parsed and compiled along with the original page when using a code cache? No, but since all the code caches cache each include file independently, it

[PHP-DEV] CVS Account Request: khassani

2004-04-18 Thread Kevin Hassani
I have developed a multivariable linear regression library. I'm currently updating it to fit to PEAR standards. I would like to submit it to PEAR in the next few weeks and would like to use CVS for PHP in order to do so. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] CVS Account Request: khassani

2004-04-18 Thread Lukas Smith
Kevin Hassani wrote: I have developed a multivariable linear regression library. I'm currently updating it to fit to PEAR standards. I would like to submit it to PEAR in the next few weeks and would like to use CVS for PHP in order to do so. Not so fast :-) Please first go through the proposal

[PHP-DEV] CVS Account Request: thavincy

2004-04-18 Thread Stef Verbeeck
Need translations done in Dutch? Contact me and maybe I can help you out... -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: CVS Account Request: thavincy

2004-04-18 Thread Mehdi Achour
Stef Verbeeck wrote: Need translations done in Dutch? Contact me and maybe I can help you out... Usually it's the opposite : You contact us ([EMAIL PROTECTED]), you ask for some work, you do it, you show it to us, and after that you apply for a CVS id if we ask you to do so.. Mehdi Achour --

[PHP-DEV] mod_php and multithreaded mpm's

2004-04-18 Thread Enrico Weigelt
Hi folks, is mod_php working (stable) w/ multithreaded MPMs ? cu -- - Enrico Weigelt== metux IT services phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932

Re: [PHP-DEV] mod_php and multithreaded mpm's

2004-04-18 Thread Andi Gutmans
No. It is best to use it with multi-process MPM. At 05:41 AM 4/19/2004 +0200, Enrico Weigelt wrote: Hi folks, is mod_php working (stable) w/ multithreaded MPMs ? cu -- - Enrico Weigelt== metux IT services phone: