Re: [PHP-DEV] Compiling 2 SAPIs

2004-01-27 Thread Jani Taskinen
On Tue, 27 Jan 2004, Andrei Zmievski wrote: >On Tue, 27 Jan 2004, Jani Taskinen wrote: >> Here's what I came up with: >> >> http://www.php.net/~jani/patches/multi_sapi_build.patch >> >> With the patch applied, I'm now able to build at least >> apache, cli, cgi and embed SAP

Re: [PHP-DEV] Compiling 2 SAPIs

2004-01-27 Thread Jani Taskinen
On Tue, 27 Jan 2004, Andrei Zmievski wrote: >On Tue, 27 Jan 2004, Uwe Schindler wrote: >> Would be great. The only thing is: We must compile all SAPIs with ZTS >> enabled... But thats the same on windows. > >Well, maybe we can have a ZTS and a non-ZTS version of the core lib. Yes, but it mak

[PHP-DEV] CVS Account Request: chinese

2004-01-27 Thread Dai Shixian
Learn more about PHP -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] zend_parse_parameters question

2004-01-27 Thread unkno me
Hi, I am using the zend_parse_parameter function to retrieve a string passed to my function like: char* s, int sl; zend_parse_parameter(ZEND_NUM_ARGS() TSRMLS_CC,"s", &s,&sl); and then later I am using the memcmp function to test 2 strings like: memcmp(key,s,sl); but for some reason, th

Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-27 Thread Daniel Convissor
On Tue, Jan 27, 2004 at 08:02:31PM +0200, Jani Taskinen wrote: > > There's open bug about 'register_long_arrays', if it's > 'Off', some of the super-globals won't work. BINGO! That's why $_SERVER['argv'] was unpopulated for me. THANK YOU! I'll update the bug reports. --Dan -- T H E

Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-27 Thread Jani Taskinen
There's open bug about 'register_long_arrays', if it's 'Off', some of the super-globals won't work. --Jani On Tue, 27 Jan 2004, Daniel Convissor wrote: >Greetings: > >The following message got overlooked over the past few days. It'd be >really nice if someone could answer

Re: [PHP-DEV] Compiling 2 SAPIs

2004-01-27 Thread Wez Furlong
That is also how the new win32 build system handles it; you have the option of php5ts.dll or php5.dll. --Wez. > >> Would be great. The only thing is: We must compile all SAPIs with ZTS > >> enabled... But thats the same on windows. > > > > Well, maybe we can have a ZTS and a non-ZTS version of th

Re: [PHP-DEV] dollars and sense.

2004-01-27 Thread Sterling Hughes
> Andrei Zmievski wrote: > >On Tue, 27 Jan 2004, Christian Schneider wrote: > >>Why do you say this? I prefer "foo $bar blah". > > > >Because it's faster. > > Ok, that's interesting but irrelevant for most of my code. Readability > is a higher priority in most cases. > > Thanks for pointing this

Re: [PHP-DEV] Compiling 2 SAPIs

2004-01-27 Thread George Schlossnagle
On Jan 27, 2004, at 12:02 PM, Andrei Zmievski wrote: On Tue, 27 Jan 2004, Uwe Schindler wrote: Would be great. The only thing is: We must compile all SAPIs with ZTS enabled... But thats the same on windows. Well, maybe we can have a ZTS and a non-ZTS version of the core lib. That seems like a nice

Re: [PHP-DEV] Compiling 2 SAPIs

2004-01-27 Thread Andrei Zmievski
On Tue, 27 Jan 2004, Uwe Schindler wrote: > Would be great. The only thing is: We must compile all SAPIs with ZTS > enabled... But thats the same on windows. Well, maybe we can have a ZTS and a non-ZTS version of the core lib. - Andrei -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Compiling 2 SAPIs

2004-01-27 Thread Uwe Schindler
At 17:40 27.01.2004, you wrote: On Tue, 27 Jan 2004, Jani Taskinen wrote: > Here's what I came up with: > > http://www.php.net/~jani/patches/multi_sapi_build.patch > > With the patch applied, I'm now able to build at least > apache, cli, cgi and embed SAPIs on one run. > > # .

Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-27 Thread Daniel Convissor
Greetings: The following message got overlooked over the past few days. It'd be really nice if someone could answer this please so PHP 5 will work... Thanks! - Forwarded message - From: Daniel Convissor <[EMAIL PROTECTED]> To: PHP Internals List <[EMAIL PROTECTED]> Date: Sat, 17 Jan 2

Re: [PHP-DEV] Only variables or references can be returned by reference

2004-01-27 Thread Daniel Convissor
Hi: I hope the conference in Vancouver was enjoyable and productive. Can someone please answer the following question asked a few days go? On Mon, Jan 12, 2004 at 06:31:03PM +0200, Andi Gutmans wrote: > That should be fine. The following isn't: > > function foo() { > $x = 1; > return

Re: [PHP-DEV] dollars and sense.

2004-01-27 Thread Christian Schneider
Andrei Zmievski wrote: On Tue, 27 Jan 2004, Christian Schneider wrote: Why do you say this? I prefer "foo $bar blah". Because it's faster. Ok, that's interesting but irrelevant for most of my code. Readability is a higher priority in most cases. Thanks for pointing this out, - Chris -- PHP Intern

Re: [PHP-DEV] Compiling 2 SAPIs

2004-01-27 Thread Andrei Zmievski
On Tue, 27 Jan 2004, Jani Taskinen wrote: > Here's what I came up with: > > http://www.php.net/~jani/patches/multi_sapi_build.patch > > With the patch applied, I'm now able to build at least > apache, cli, cgi and embed SAPIs on one run. > > # ./configure --disable-

Re: [PHP-DEV] dollars and sense.

2004-01-27 Thread Andrei Zmievski
On Tue, 27 Jan 2004, Christian Schneider wrote: > Why do you say this? I prefer "foo $bar blah". Because it's faster. - Andrei -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] base class

2004-01-27 Thread Stephane Drouard
== Quote from Christian Schneider ([EMAIL PROTECTED])'s article > IMHO PHP doesn't need to be perfect in an academic OO sense but needs to > provide what the majority of users need. Yes, I'm certainly too much "academic" OO oriented, that's the reason why I think all the magic methods must be im

[PHP-DEV] PHP5RC1 release this week?

2004-01-27 Thread Andrey Hristov
Andi, are you going to release PHP5RC1 this week or on Monday? As far as I remember you said that it will be released at the end of January and this week is the last week of January. Thanks, Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/

Re: [PHP-DEV] Compiling 2 SAPIs

2004-01-27 Thread Jani Taskinen
On Mon, 26 Jan 2004, Brian J. France wrote: >> I have a project where I need to have both Apache SAPI (shared) and >> embed SAPI (shared) compiled/active at the same time. Is that possible >> to do at all? Any risk of symbol clashes or other similar problems? > >Andrei posted this a while ago, but

Re: [PHP-DEV] base class

2004-01-27 Thread Christian Schneider
Stephane Drouard wrote: For sure I can't answer to your question, but why would you only implement it to construtors? That's where I think it is most needed. The other magic methods are already less important but if there is an agreement to this I could also whip a patch together for those. I jus

Re: [PHP-DEV] base class

2004-01-27 Thread Stephane Drouard
Chris, For sure I can't answer to your question, but why would you only implement it to construtors? My original request was that all classes inherit from a base class provided by PHP (even if not explicitly written), and that this base class implements all magic methods in the appropriate way

Re: [PHP-DEV] base class

2004-01-27 Thread Christian Schneider
Any chance the patch at http://cschneid.com/php/php5/undefined_constructor_call.patch will be applied? I find it a rather crucial patch for PHP5 but I'm happy to listen to people telling me otherwise, as long as I get some reponse :-) - Chris -- PHP Internals - PHP Runtime Development Mailing Li

[PHP-DEV] CVS Account Request: yejun

2004-01-27 Thread cuteyejun
develop. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] dollars and sense.

2004-01-27 Thread Cesare D'Amico
Alle 11:11, martedì 27 gennaio 2004, Christian Schneider ha scritto: > Ken Tossell wrote: > > pps: don't use "foo $bar blah" -- use 'foo ' . $bar . ' blah'; or > > commas:) > > Why do you say this? I prefer "foo $bar blah". ...let the holy war begin... ;-) -- Cesare D'Amico - boss (@t) cesareda

Re: [PHP-DEV] dollars and sense.

2004-01-27 Thread Christian Schneider
Ken Tossell wrote: pps: don't use "foo $bar blah" -- use 'foo ' . $bar . ' blah'; or commas:) Why do you say this? I prefer "foo $bar blah". - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php