[PHP-DEV] Re: Small addition to Apache 1.3.x

2004-10-06 Thread Manuel Vázquez Acosta
Oops, scratch this, I did something stupid in the httpd.conf, which make it not work for 404. "Manuel VáZquez Acosta" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The following was emailed to me and it worked fine for URL which resolved to > an existing file, but it's failing to

[PHP-DEV] Re: Small addition to Apache 1.3.x

2004-10-06 Thread Manuel Vázquez Acosta
The following was emailed to me and it worked fine for URL which resolved to an existing file, but it's failing to do so when otherwise the URL cannot be mapped to a physical file. However, the 2nd motivation on removing every bit of php from the sight of designers, seems not to be fullfilled righ

Re: [PHP-DEV] Small addition to Apache 1.3.x

2004-10-06 Thread Manuel Vázquez Acosta
I'm starting to read mod_rewrite doc [1]; but in my current state of not knowing, my mind starts popping questions like: Does this URL to URL mapping will leave original URI visible somewhere or somehow to PHP (ie. $_SERVER['REQUEST_URI'])? Does it leave the original PATH_TRANSLATED visible to PH

Re: [PHP-DEV] Small addition to Apache 1.3.x

2004-10-06 Thread Sean Coates
Alan Knowles wrote: Have you ever used mod_rewrite for anything complex? - it's a complete nightmare (unpredictable, almost impossible to debug..., uncomprehensible syntax.) This looks like quite usefull. - a little cleaner than 404 redirecting, which is the other way it's done at present..

Re: [PHP-DEV] Small addition to Apache 1.3.x

2004-10-06 Thread George Schlossnagle
On Oct 6, 2004, at 10:02 PM, Alan Knowles wrote: Have you ever used mod_rewrite for anything complex? - it's a complete nightmare (unpredictable, almost impossible to debug..., uncomprehensible syntax.) This looks like quite usefull. - a little cleaner than 404 redirecting, which is the oth

Re: [PHP-DEV] Small addition to Apache 1.3.x

2004-10-06 Thread Alan Knowles
Have you ever used mod_rewrite for anything complex? - it's a complete nightmare (unpredictable, almost impossible to debug..., uncomprehensible syntax.) This looks like quite usefull. - a little cleaner than 404 redirecting, which is the other way it's done at present.. Regards Alan Jason

Re: [PHP-DEV] Small addition to Apache 1.3.x

2004-10-06 Thread Jason Garber
Hello Manuel, After reading your motivations, it seems to me that you need mod rewrite. from: http://httpd.apache.org/docs/mod/mod_rewrite.html "Welcome to mod_rewrite, the Swiss Army Knife of URL manipulation! This module uses a rule-based rewriting engine (based on a regular

[PHP-DEV] Small addition to Apache 1.3.x

2004-10-06 Thread Manuel Vázquez Acosta
Hi internals: I made an addition to Apache 1.3.x SAPI; and I would like you to take a look at it, so you can evaluate if it has a chance to go official. Basically, the new feature lets Apache users to set a PHP Script Handler, this is, for each request made to the server the PHP Script Handler is

Re: [PHP-DEV] Variable fetch optimization

2004-10-06 Thread Andi Gutmans
At 03:15 PM 10/6/2004 -0700, Sterling Hughes wrote: Yeah, actually Dmitry wrote a script that converted the old executor into the new executor, so the script was already there. I think its that Andi doesn't like the concept (I do like the concept btw), not the work involved. Personally, I'd pr

Re: [PHP-DEV] Variable fetch optimization

2004-10-06 Thread Sterling Hughes
Wez Furlong wrote: I'm a big fan of making the computer do the work on our behalf (that's what it's there for, right?). It shouldn't be a huge problem to write a php script to generate the different executors from a source file. If you're worried about bootstrapping, we can keep the generated file

Re: [PHP-DEV] Variable fetch optimization

2004-10-06 Thread Wez Furlong
I'm a big fan of making the computer do the work on our behalf (that's what it's there for, right?). It shouldn't be a huge problem to write a php script to generate the different executors from a source file. If you're worried about bootstrapping, we can keep the generated files in CVS and/or bu

[PHP-DEV] Re: different behavior converting float to integer

2004-10-06 Thread Noah Botimer
Joe and Andi, I agree that long long is probably questionable right now. Something that seems debatable to me is: should we ever promote an integer type to a floating type, simply on value? I guess it would make sense to enumerate the schools of thought on this and the corresponding cast to a

Re: [PHP-DEV] Variable fetch optimization

2004-10-06 Thread Andrei Zmievski
On Sat, 02 Oct 2004, Thies C. Arntzen wrote: > PS: i really think that the vm should be generated by a script! looking > at what makes most of the patch i really think that we're making > hacking the engine more complex than needed. I agree.. - Andrei -- PHP Internals - PHP Runtime Developmen

Re: [PHP-DEV] Re: different behavior converting float to integer

2004-10-06 Thread Andi Gutmans
So basically you're saying that we should return to previous behavior, right? At 07:28 PM 10/5/2004 -0400, Noah Botimer wrote: This bug report in particular caught my eye. I took some time to dig into what's going on, and I've made some comments on the bug report page, 30315. The main idea is t

Re: [PHP-DEV] Zend and flex problem

2004-10-06 Thread Frank M. Kromann
Thanks Derick, I think I'll take the easy solution for now and get the box configured. It might be a good exersize to learn more about flex though. - Frank > Hi Frank! > > On Tue, 5 Oct 2004, Frank M. Kromann wrote: > > > I'm using PHP5 CVS-HEAD and flex 2.5.31. > > Our skeleton file does not

Re: [PHP-DEV] Re: different behavior converting float to integer

2004-10-06 Thread Joe Orton
On Wed, Oct 06, 2004 at 08:56:15AM -0400, Noah Botimer wrote: > Joe, > > This may be crazy, but does it make sense to think of integers in a more > defined manner? That is, ``integer'' being equivalent to a long, which > does have a guarantee on size (32-bit)? Also, some kind of long long > t

Re: [PHP-DEV] Re: different behavior converting float to integer

2004-10-06 Thread Noah Botimer
Joe, This may be crazy, but does it make sense to think of integers in a more defined manner? That is, ``integer'' being equivalent to a long, which does have a guarantee on size (32-bit)? Also, some kind of long long type for 64-bit support would have to be included. I mean, consistency is

Re: [PHP-DEV] Re: different behavior converting float to integer

2004-10-06 Thread Joe Orton
On Tue, Oct 05, 2004 at 05:12:36PM -0700, Andi Gutmans wrote: > At 02:17 PM 10/5/2004 +0200, Edin Kadribasic wrote: > >On Tuesday 05 October 2004 14:02, Derick Rethans wrote: > >> On Tue, 5 Oct 2004, Wez Furlong wrote: > >> > Feels like a major bug to me... this got into a release? :-/ > >> > >> Ye

Re: [PHP-DEV] cvs account request - phpdoc-da

2004-10-06 Thread Rasmus Lerdorf
This account was added a couple of days ago. On Wed, 6 Oct 2004, Derick Rethans wrote: > On Wed, 6 Oct 2004, Peter Brodersen wrote: > > > I sent an e-mail to group@ a month ago (5. september) with a request > > for cvs-access for the Danish translation (phpdoc-da), as mentioned at > > http://www.

Re: [PHP-DEV] Static Constructors

2004-10-06 Thread Wez Furlong
On Tue, 5 Oct 2004 18:58:26 -0700, Robert Silva <[EMAIL PROTECTED]> wrote: > Also, are there some general guidelines posted anywhere for how & when to > submit patches? Look at the collection of README files in the php-src -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, v

Re: [PHP-DEV] Zend and flex problem

2004-10-06 Thread Derick Rethans
Hi Frank! On Tue, 5 Oct 2004, Frank M. Kromann wrote: > I'm using PHP5 CVS-HEAD and flex 2.5.31. Our skeleton file does not work with 2.5.31, you *need* 2.5.4, or you can try to fix it of course :) Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP In

Re: [PHP-DEV] cvs account request - phpdoc-da

2004-10-06 Thread Derick Rethans
On Wed, 6 Oct 2004, Peter Brodersen wrote: > I sent an e-mail to group@ a month ago (5. september) with a request > for cvs-access for the Danish translation (phpdoc-da), as mentioned at > http://www.php.net/manual/howto/chapter-cvs.html#cvs-account - but I > didn't recieve any reply. A week alter