Re: [PHP-DEV] what happened to that new isset() like language

2004-07-10 Thread Sascha Schumann
On Fri, 9 Jul 2004, Rasmus Lerdorf wrote: > On Thu, 8 Jul 2004, Marc Richards wrote: > > Are you saying PHP will never introduce an operator that doesn't already > > exist in a large number of other languages? > > That's a good rule. Over the 10 years of PHP development we have followed > this

Re: [PHP-DEV] what happened to that new isset() like language

2004-07-10 Thread Christian Schneider
Andi Gutmans wrote: I don't think it's a matter of giving the engine a try. I think we first need to make a decision what the best way to go is and then we can discuss implementation if/what is possible. Once 5.0.0 is out I'm going Thanks for these words of wisdom, Andi. Dismissing a solution be

Re: [PHP-DEV] what happened to that new isset() like language

2004-07-10 Thread Christian Schneider
Sascha Schumann wrote: This rule would favor the "a ? : b" notation - which has been supported by GCC for at least five years. My personal reasons against ?: : - It's non-standard and not well known even though GCC supports it. - It's hard to look up. - It's easily confused with $a ? $b : $

Re: [PHP-DEV] what happened to that new isset() like language construct

2004-07-10 Thread Marcus Boerger
Hello & thanks Guy, a very constructive mail! Of yours i like getval() and var_default() and getdefault() a little bit. so atm i am in favor of either getval() or ifsetor(). marcus Saturday, July 10, 2004, 3:20:15 AM, you wrote: > Andi Gutmans wrote: >> Personally I am not that fond of ifs

Re: [PHP-DEV] what happened to that new isset() like language

2004-07-10 Thread Marcus Boerger
Hello Robert, Saturday, July 10, 2004, 3:12:09 AM, you wrote: > On Fri, 2004-07-09 at 19:54, Marcus Boerger wrote: >> Hello Robert, >> >> coalesce would be: >> >> "coalesce" "(" ( "," )* [ "," ] ")" >> >> and would also require heay engine patching. I am speaking of a >> really major chan

Re: [PHP-DEV] what happened to that new isset() like language

2004-07-10 Thread Marcus Boerger
Hello Christian, Saturday, July 10, 2004, 10:35:38 AM, you wrote: > Andi Gutmans wrote: >> I don't think it's a matter of giving the engine a try. I think we first >> need to make a decision what the best way to go is and then we can >> discuss implementation if/what is possible. Once 5.0.0 is

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

2004-07-10 Thread Thomas Seifert
Hi, that sounds really interesting. Kind of a connection pool held in one "group" of php-processes. Did you do any benchmarks with your FCGI-implementation vs. mod_php ? TIA, thomas On Sat, 10 Jul 2004 09:22:34 +0800 [EMAIL PROTECTED] (Qingfeng Pan) wrote: > Hi, all >Improvement in

Re: [PHP-DEV] what happened to that new isset() like language

2004-07-10 Thread Marcus Boerger
Hello Christian, Saturday, July 10, 2004, 10:46:51 AM, you wrote: > Sascha Schumann wrote: >> This rule would favor the "a ? : b" notation - which has >> been supported by GCC for at least five years. > My personal reasons against ?: : > - It's non-standard and not well known even though

Re: [PHP-DEV] Need two simple string funcs for parsing

2004-07-10 Thread Marcus Boerger
Hello jtl, hello documentation-team, Friday, July 9, 2004, 2:36:20 PM, you wrote: > Hi Marcus, >> See here: >> http://php.net/strspn >> http://php.net/strcspn > Wow. They're already there. >> And the names are colliding with >> http://php.net/strpbrk > Looks like I'm not the only person who

Re: [PHP-DEV] sqlite changes by PHP team are now in sqlite CVS

2004-07-10 Thread Wez Furlong
Upgraded; please test. win32 people: if you're feeling motivated, please try the next php5 snapshot and let me know if the build continues to work there (my win32 dev env went down with my old laptop, so its not convenient for me to try it out there yet). --Wez. On Fri, 09 Jul 2004 08:46:24 -040

Re: [PHP-DEV] PHP 5.0 crash on long php script with over 1000 lines

2004-07-10 Thread Derick Rethans
On Fri, 9 Jul 2004, Gunnar von Boehn wrote: > Hi, > > I have a very special PHP problem. > > I use Apache(1.3.31) and PHP 5.0.0rc3 on MorphOS. Please file a bugreport. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] what happened to that new isset() like language

2004-07-10 Thread Sascha Schumann
This rule would favor the "a ? : b" notation - which has been supported by GCC for at least five years. My personal reasons against ?: : - It's non-standard and not well known even though GCC supports it. - It's hard to look up. - It's easily confused with $a ? $b : $c; - It's ugly (-:C Ye

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

2004-07-10 Thread Wez Furlong
Now, why does this apache module belong in the php distro? Shouldn't you be talking to the apache people instead? --Wez. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5.0 crash on long php script with over 1000 lines

2004-07-10 Thread Wez Furlong
I wonder if it was related to the greedy read problem that was fixed a little earlier today. Please try a snapshot (it might be best to wait for the next snap). --Wez. On Sat, 10 Jul 2004 14:36:31 +0200 (CEST), Derick Rethans <[EMAIL PROTECTED]> wrote: > On Fri, 9 Jul 2004, Gunnar von Boehn wrote

Re: [PHP-DEV] PHP 5.0 crash on long php script with over 1000 lines

2004-07-10 Thread Gunnar von Boehn
Hi, Please file a bugreport. Good idea :) I just wrote a bugreport. If anyone has an idea why PHP crashes so early on MorphOS and how this could be fixed , then i'll be very thankful. Cheers Gunnar -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/uns

Re: [PHP-DEV] issue in copying the hash table(Reposted third time)

2004-07-10 Thread Moriyoshi Koizumi
On 2004/07/08, at 19:16, Kamesh Jayachandran wrote: Hi Moriyoshi, Sorry to copy the INIT_DATA macro in the mail. #define INIT_DATA(ht, p, pData, nDataSize) if (nDataSize == sizeof(void*)) { memcpy(&(p)->pDataPtr, pData, sizeof(void *)); (p)->pData = &(p)->pDataPtr; } else { (p)

Re: [PHP-DEV] sqlite changes by PHP team are now in sqlite CVS

2004-07-10 Thread Nuno Lopes
> Upgraded; please test. > > win32 people: if you're feeling motivated, please try the next php5 > snapshot and let me know if the build continues to work there (my > win32 dev env went down with my old laptop, so its not convenient for > me to try it out there yet). > > --Wez. The w32 snapshot h

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

2004-07-10 Thread Qingfeng Pan
Hi, Sorry, I did not have any benchmark yet, and I don't think I can give out an objective benchmark ^_^ Thanks "Thomas Seifert" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > Hi, > > that sounds really interesting. > Kind of a connection pool held in one "group" of php-processes. > > Di

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

2004-07-10 Thread Qingfeng Pan
Hi, There are two other apache2 modules(apache2filter&apache2handler) included in php distribution, so I did not even think about it when i submited the request... I still hope the module can be included. Thanks "Wez Furlong" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > Now, why does th

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

2004-07-10 Thread Thomas Seifert
On Sun, 11 Jul 2004 00:29:15 +0800, Qingfeng Pan wrote: > Hi, > There are two other apache2 modules(apache2filter&apache2handler) > included in php distribution, so I did not even think about it when i > submited the request... I still hope the module can be included. > Hi, not to be misin

Re: [PHP-DEV] PHP 5.0 crash on long php script with over 1000 lines

2004-07-10 Thread Timm Friebe
On Fri, 2004-07-09 at 19:04, Gunnar von Boehn wrote: > Hi, > [...] > I noticed that all long scripts (over 1000 lines) will kill the > Apache/PHP build. Sounds like http://bugs.php.net/bug.php?id=28064 to me. - Timm -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] sqlite changes by PHP team are now in sqlite CVS

2004-07-10 Thread Derrell . Lipman
Wez Furlong <[EMAIL PROTECTED]> writes: > Upgraded; please test. On initial test, it seems to be working fine. I'll continue to work with it during the upcoming week. Thank you! Derrell -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.ph

[PHP-DEV] CVS Account Request: j4m3z

2004-07-10 Thread James Neelen
WANT TO MAKE A COUTERSTRIKE SITE WIT PHP! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] New construct discussion Summary (was: what happened to that new isset() like language construct)

2004-07-10 Thread Marc Richards
Ok, so let me try to do a little summary. If and When --- 1) There seems to be a general consensus that this feature should be implemented in SOME way. 2) It was too late for 5.0.0 so it will be targeted for 5.1 What The requirements seem be: a) return the first variable/expression t