Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc027.phpt

2002-10-21 Thread Yasuo Ohgaki
Moriyoshi Koizumi wrote: Hi, I'm for Derick's option. Can I begin repacking each case to the single files now? The only advantage putting everything in phpt is is we can take a look at whole thing in one file. Don't we have multiple windows or buffers? It's too little advantage compare to have

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc027.phpt

2002-10-21 Thread Derick Rethans
On Tue, 22 Oct 2002, Yasuo Ohgaki wrote: Moriyoshi Koizumi wrote: Hi, I'm for Derick's option. Can I begin repacking each case to the single files now? IMO, including script file give us more freedom to write/execute test script. It's not efficient creating normal script file when

Re: [PHP-DEV] Re: Segfaults in 4.2.3? (fwd)

2002-10-21 Thread Aaron Gowatch
Apologies if you receive this twice. My posts dont appear to be going through... Cheers. Aa. -- Forwarded message -- Date: Mon, 21 Oct 2002 11:57:09 -0700 (PDT) From: Aaron Gowatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Re: Segfaults

Re: [PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Derick Rethans
On Mon, 21 Oct 2002, Rasmus Lerdorf wrote: Yes, I think we can do that. --with-gd without any path should bring in the bundled version. That's also consistent with how we handle the other bundled libs. yeah, sounds like a good idea. Derick --

[PHP-DEV] Regex Libraries

2002-10-21 Thread Ilia A.
Currently PHP contains two bundled regular expression libraries, PECL and regex. I am wondering if it would be a good idea to drop the old regex (dates back to 1999) library and use only PECL. The advantage is performance, cleaner code and a more flexible and more recent library. For the people

Re: [PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Pierre-Alain Joye
On Mon, 21 Oct 2002 21:05:52 +0200 (CEST) Derick Rethans [EMAIL PROTECTED] wrote: er image* functions. gdImageRotate would be the _internal_ name of the C function our bundled GD :) exactly :) imagerotate from the script. pa -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] php_value vs. php_admin_value

2002-10-21 Thread Jani Taskinen
Can someone explain what the difference between these 'php_value' and 'php_admin_value' directives is? (and same goes of course for php_flag vs. php_admin_flag..) --Jani -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] longopts in basic_functions.c:1521

2002-10-21 Thread Moriyoshi Koizumi
I missed the point... BTW that seems to have been fixed now. Moriyoshi Melvyn Sopacua [EMAIL PROTECTED] wrote: At 04:04 10/22/2002 +0900, Moriyoshi Koizumi wrote: ./buildconf needed ? [EMAIL PROTECTED] ~/cvs/php4 $ history [...] 513 export MAKE=gmake 514 ./buildconf

Re: [PHP-DEV] longopts in basic_functions.c:1521

2002-10-21 Thread Melvyn Sopacua
On Tue, 22 Oct 2002, Moriyoshi Koizumi wrote: I missed the point... No worries, do you know how hard it is to hit a point? :) BTW that seems to have been fixed now. Yep, saw that and tried and worked. Thanx Hartmut. Moriyoshi Melvyn Sopacua [EMAIL PROTECTED] wrote: At 04:04

Re: [PHP-DEV] longopts in basic_functions.c:1521

2002-10-21 Thread Moriyoshi Koizumi
./buildconf needed Moriyoshi Melvyn Sopacua [EMAIL PROTECTED] wrote: Hi, Current CVS doesn't compile for me, cause longopts isn't protected with an #ifdef HAVE_GETOPT_LONG and an alternate approach. /home/msopacua/cvs/php4/ext/standard/basic_functions.c: In function `zif_getopt':

[PHP-DEV] HEAD b0rked

2002-10-21 Thread Sebastian Bergmann
Accessing a phpinfo() script gives me Warning: No content-type in GET request in Unknown on line 0 Warning: Cannot modify header information - headers already sent in Unknown on line 0 Apache 2 + SAPI/CGI on Win32. -- Sebastian Bergmann http://sebastian-bergmann.de/

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc027.phpt

2002-10-21 Thread Yasuo Ohgaki
Melvyn Sopacua wrote: At 22:00 10/21/2002 +0900, Yasuo Ohgaki wrote: Derick Rethans wrote: Yes, works fine here: (even with * instead of 025.*) Thing has been changed ;) I hope it's documented somewhere. Here's the docs: http://news.php.net/article.php?group=php.cvsarticle=14780 It's

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc027.phpt

2002-10-21 Thread Derick Rethans
On Tue, 22 Oct 2002, Moriyoshi Koizumi wrote: I'm for Derick's option. Can I begin repacking each case to the single files now? please :) Derick Yasuo Ohgaki [EMAIL PROTECTED] wrote: Derick Rethans wrote: Yes, works fine here: (even with * instead of 025.*) Thing has

[PHP-DEV] longopts in basic_functions.c:1521

2002-10-21 Thread Melvyn Sopacua
Hi, Current CVS doesn't compile for me, cause longopts isn't protected with an #ifdef HAVE_GETOPT_LONG and an alternate approach. /home/msopacua/cvs/php4/ext/standard/basic_functions.c: In function `zif_getopt': /home/msopacua/cvs/php4/ext/standard/basic_functions.c:1521: `longopts' undeclared

[PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Andrei Zmievski
I think we should use forked version of gd library by default for 4.3.0. From what I hear it is already the best version of any of them out there and if it saves us any more grief, all the better. Objections? -Andrei http://www.gravitonic.com/ You choose to

[PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Sterling Hughes
Hi, I'm going to be working on updating the PHP cURL extension in the coming weeks: * adding the multi-interface. * ssl session id caching (globally) * global dns cache in threaded webservers (same for ssl sesssion id caching) * allowing cURL handle re-use. * allowing persistent cURL handles

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Jon Parise
On Mon, Oct 21, 2002 at 10:12:55PM +0200, Sterling Hughes wrote: * Autogenerating much of the interface between cURL and PHP, allowing PHP to support multiple versions of the underlying cURL library By what mechanism do you plan on implementing this? -- Jon Parise ([EMAIL PROTECTED]) :: The

Re: [PHP-DEV] Idea to extend language: Explicitly setting variable scope inside user defined function (longer)

2002-10-21 Thread NTPT
- Original Message - From: Maxim Maletsky [EMAIL PROTECTED] To: Marco Tabini [EMAIL PROTECTED] Cc: Rasmus Lerdorf [EMAIL PROTECTED]; NTPT [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, October 21, 2002 12:37 PM Subject: Re: [PHP-DEV] Idea to extend language: Explicitly setting

[PHP-DEV] Global HashTables access violations

2002-10-21 Thread Brian 'Bex' Huff
php 4.2.3 and 4.2.2 windows 2000 command line debugging I posted this a week ago, no replies yet... Ive written an extension to PHP that (among other things) uses a global HashTable object for a mini cache. I fill it, and then have a simple PHP function to pull a string out of the cache, and

Re: [PHP-DEV] longopts in basic_functions.c:1521

2002-10-21 Thread Melvyn Sopacua
At 04:04 10/22/2002 +0900, Moriyoshi Koizumi wrote: ./buildconf needed ? [EMAIL PROTECTED] ~/cvs/php4 $ history [...] 513 export MAKE=gmake 514 ./buildconf 515 ./configure-cmd.sh 516 gmake 517 vi ext/standard/basic_functions.c Look at the code: #ifdef HAVE_GETOPT_LONG

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc 027.phpt

2002-10-21 Thread Yasuo Ohgaki
Derick Rethans wrote: Yes, works fine here: (even with * instead of 025.*) Thing has been changed ;) I hope it's documented somewhere. -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc027.phpt

2002-10-21 Thread Moriyoshi Koizumi
The only advantage putting everything in phpt is is we can take a look at whole thing in one file. Don't we have multiple windows or buffers? It's too little advantage compare to have 2 files. First I looked at your style, I think it was somewhat cool, because then I wasn't able to run a

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Sterling Hughes
On Mon, 2002-10-21 at 22:15, Jon Parise wrote: On Mon, Oct 21, 2002 at 10:12:55PM +0200, Sterling Hughes wrote: * Autogenerating much of the interface between cURL and PHP, allowing PHP to support multiple versions of the underlying cURL library By what mechanism do you plan on

Re: [PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Derick Rethans
On Mon, 21 Oct 2002, Sander Roobol wrote: On Mon, Oct 21, 2002 at 08:45:19PM +0200, Pierre-Alain Joye wrote: On Mon, 21 Oct 2002 14:41:02 -0400 Andrei Zmievski wrote: I think we should use forked version of gd library by default for 4.3.0. From what I hear it is already the best version

Re: [PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Pierre-Alain Joye
On Mon, 21 Oct 2002 14:41:02 -0400 Andrei Zmievski [EMAIL PROTECTED] wrote: I think we should use forked version of gd library by default for 4.3.0. From what I hear it is already the best version of any of them out there and if it saves us any more grief, all the better. Objections? w00t I

Re: [PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Sander Roobol
On Mon, Oct 21, 2002 at 08:45:19PM +0200, Pierre-Alain Joye wrote: On Mon, 21 Oct 2002 14:41:02 -0400 Andrei Zmievski wrote: I think we should use forked version of gd library by default for 4.3.0. From what I hear it is already the best version of any of them out there and if it saves us

[PHP-DEV] Re: Forked ext/gd by default

2002-10-21 Thread Peter Neuman
Hello, Andrei Zmievski [EMAIL PROTECTED]: I think we should use forked version of gd library by default for 4.3.0. From what I hear it is already the best version of any of them out there and if it saves us any more grief, all the better. Objections? +1 BTW: Update to gd-2.0.2 final? See:

Re: [PHP-DEV] Idea to extend language: Explicitly setting variable scope inside user defined function (longer)

2002-10-21 Thread NTPT
- Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: NTPT [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 21, 2002 6:16 PM Subject: Re: [PHP-DEV] Idea to extend language: Explicitly setting variable scope inside user defined function (longer) - Original

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Shane Caraveo
Sterling Hughes wrote: On Mon, 2002-10-21 at 22:15, Jon Parise wrote: On Mon, Oct 21, 2002 at 10:12:55PM +0200, Sterling Hughes wrote: * Autogenerating much of the interface between cURL and PHP, allowing PHP to support multiple versions of the underlying cURL library By what mechanism do

[PHP-DEV] Re: Bug count..

2002-10-21 Thread Tom Sommer
Jani Taskinen wrote: Here you can find nice curve of the bug count: http://www.php.net/~jani/count.png If this realtime? -- * Tom Sommer * http://www.tsn.dk | webmaster(a)tsn.dk * Any sufficiently advanced bug is indistinguishable from a feature -- PHP Development Mailing List

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc 027.phpt

2002-10-21 Thread Melvyn Sopacua
At 14:56 10/21/2002 +0200, Derick Rethans wrote: [] One test, one file. ... unless test depends on files being external or the include contains data shared between tests. Right? Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua Logan I spent a minute

Re: [PHP-DEV] php_value vs. php_admin_value

2002-10-21 Thread Rasmus Lerdorf
admin directives can only be used in the httpd.conf file. Non-admins can be used in both httpd.conf and .htaccess. ie. directives that end-users should not be able to change themselves should be admin ones. -Rasmus On Mon, 21 Oct 2002, Jani Taskinen wrote: Can someone explain what the

Re: [PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Sebastian Bergmann
Andrei Zmievski wrote: I think we should use forked version of gd library by default for 4.3.0. +1 -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Sterling Hughes
On Mon, 2002-10-21 at 22:46, Shane Caraveo wrote: Sterling Hughes wrote: On Mon, 2002-10-21 at 22:15, Jon Parise wrote: On Mon, Oct 21, 2002 at 10:12:55PM +0200, Sterling Hughes wrote: * Autogenerating much of the interface between cURL and PHP, allowing PHP to support multiple

Re: [PHP-DEV] php_value vs. php_admin_value

2002-10-21 Thread Jon Parise
On Mon, Oct 21, 2002 at 07:46:53AM +0300, Jani Taskinen wrote: Can someone explain what the difference between these 'php_value' and 'php_admin_value' directives is? (and same goes of course for php_flag vs. php_admin_flag..) As I recall (and I'm not looking at the code right

Re: [PHP-DEV] Re: Forked ext/gd by default

2002-10-21 Thread Rasmus Lerdorf
Whoa, pigs are flying over the skating rink in hell. Anybody have some time to go over this and sync things up? On Mon, 21 Oct 2002, Peter Neuman wrote: Hello, Andrei Zmievski [EMAIL PROTECTED]: I think we should use forked version of gd library by default for 4.3.0. From what I hear it

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Jon Parise
On Mon, Oct 21, 2002 at 10:52:10PM +0200, Sterling Hughes wrote: Well, currently i plan on using a Perl script to read the curl.h definition file, and generate the code for all options that don't meet the following criterium: What, you can't write a simple parser in php? Off with

Re: [PHP-DEV] Regex Libraries

2002-10-21 Thread Jan Kneschke
On Mon, Oct 21, 2002 at 08:30:53AM -0400, Ilia A. wrote: Currently PHP contains two bundled regular expression libraries, PECL and regex. I am wondering if it would be a good idea to drop the old regex (dates back to 1999) library and use only PECL. The advantage is performance, cleaner

Re: [PHP-DEV] php_value vs. php_admin_value

2002-10-21 Thread Jani Taskinen
On Sun, 20 Oct 2002, Rasmus Lerdorf wrote: admin directives can only be used in the httpd.conf file. Non-admins can be used in both httpd.conf and .htaccess. ie. directives that end-users should not be able to change themselves should be admin ones. Thanks. This was explained also in

Re: [PHP-DEV] Regex Libraries

2002-10-21 Thread Derick Rethans
s/PECL/PCRE/ applies for all undefined references to PECL :-) Derick On Mon, 21 Oct 2002, Ilia A. wrote: Currently PHP contains two bundled regular expression libraries, PECL and regex. I am wondering if it would be a good idea to drop the old regex (dates back to 1999) library and use

Re: [PHP-DEV] setcookie problem

2002-10-21 Thread Maxim Maletsky
You should post this to the PHP General mailing list ([EMAIL PROTECTED]). People there will Definitely answer you. -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // where PHP Begins Mehran Ziadloo [EMAIL PROTECTED] wrote... : I've reached a problem which I don't know how to get

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc 027.phpt

2002-10-21 Thread Derick Rethans
On Mon, 21 Oct 2002, Yasuo Ohgaki wrote: Derick Rethans wrote: On Mon, 21 Oct 2002, Yasuo Ohgaki wrote: Derick Rethans wrote: That's why you can run only one test with: PHP_TEST_EXECUTABLE=sapi/cli/php php run-tests ext/mbstring/tests/027.phpt Does it work for you ?

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc027.phpt

2002-10-21 Thread Yasuo Ohgaki
Melvyn Sopacua wrote: However - it depends on include and relative path issues to work as expected. The problem is very frustrating, isn't? What's the plan for it? -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: tix

2002-10-21 Thread Oliver Hinckel
- I'll help do write some german documentation - I'll help to fix some bug too - I'll read the source and know more about php's internal structure to start/support developping -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Bug count..

2002-10-21 Thread Maxim Maletsky
Can it be searchable extension-based and time-wise? That'd be kinda useful. -- Maxim Maletsky [EMAIL PROTECTED] Jani Taskinen [EMAIL PROTECTED] wrote... : Here you can find nice curve of the bug count: http://www.php.net/~jani/count.png The red curve is total

Re: [PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Sander Steffann
Hi, I think we should use forked version of gd library by default for 4.3.0. From what I hear it is already the best version of any of them out there and if it saves us any more grief, all the better. Objections? Sounds wonderful! +1 from me. Sander. -- PHP Development Mailing List

RE: [PHP-DEV] Re: Forked ext/gd by default

2002-10-21 Thread Mike Robinson
Rasmus Lerdorf writes: Whoa, pigs are flying over the skating rink in hell. Those aren't pigs. That's the Unisys Legal Department. It's a common mistake. :) Regards Mike Robinson -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/xml/tests 007.phpt

2002-10-21 Thread Michael Mauch
I wrote about fun with locales, but forgot to mention the user notes at http://www.php.net/manual/de/function.setlocale.php. Some users note that they have to use Dutch on their Windows (?) systems. So if we really need the locale guessing, we probably should add German as well (and hope that the

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/xml/tests 007.phpt

2002-10-21 Thread Michael Mauch
Derick Rethans [EMAIL PROTECTED] wrote: On Mon, 21 Oct 2002, Melvyn Sopacua wrote: msopacua Mon Oct 21 04:55:07 2002 EDT Modified files: /php4/ext/xml/tests 007.phpt Log: Skip this when strtoupper doesn't behave as expected, because casefolding

[PHP-DEV] 4.2.3pre1

2002-10-21 Thread Tony Bibbs
All this on a Dell Inspiron 5000 running RH7.3. I compiled PHP apache module just fine. Compiling it as a CGI I get: gcc: sapi/cli/php_cli.o: No such file or directory gcc: sapi/cli/getopt.o: No such file or directory This a bug or did I miss something? --Tony -- PHP Development Mailing

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/xml/tests 007.phpt

2002-10-21 Thread Melvyn Sopacua
[ Sorry Derick, missed a whole bunch of CVS mail, because of multiple spaces in the subject and my overeager filtering :) ] At 23:58 21-10-2002, Michael Mauch wrote: Derick Rethans [EMAIL PROTECTED] wrote: On Mon, 21 Oct 2002, Melvyn Sopacua wrote: msopacua Mon Oct 21 04:55:07

Re: [PHP-DEV] Idea to extend language: Explicitly setting variable scope inside user defined function (longer)

2002-10-21 Thread Maxim Maletsky
Marco Tabini [EMAIL PROTECTED] wrote... : Well, you have to admit that the issue of variable scope is the first thing that hits someone who approaches PHP for the first time and comes from other backgrounds, like C or ASP! Or Ruby where instead of the dollar sign for the global variable you

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Alan Knowles
Non blocking connections would be nice... - On the generating stuff - why do you want to generate the code on the users system? - all the re2c stuff in CVS is 'pre-genereated' It would be nice to have extension generator that could be built upon, that didnt involve re-reading all those

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring/tests 027.inc027.phpt

2002-10-21 Thread Yasuo Ohgaki
Other option is create .php files from phpt file always. It was useful when there is .php file is created when error occurred. (Current run-tests.php does not create the .php files, though) If .php files is always created and left after running run-tests.php, all needs are covered. It's a

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Sterling Hughes
On Tue, 2002-10-22 at 01:38, Alan Knowles wrote: Non blocking connections would be nice... - On the generating stuff - why do you want to generate the code on the users system? - all the re2c stuff in CVS is 'pre-genereated' It would be nice to have extension generator that could be

Re: [PHP-DEV] Bug count..

2002-10-21 Thread Jani Taskinen
On Mon, 21 Oct 2002, Maxim Maletsky wrote: Can it be searchable extension-based and time-wise? That'd be kinda useful. Heh..just take a look in the database for bugs and them tell me how to get that data out of it. :) --Jani -- PHP Development Mailing List

Re: [PHP-DEV] Re: Bug count..

2002-10-21 Thread Jani Taskinen
On Mon, 21 Oct 2002, Tom Sommer wrote: Jani Taskinen wrote: Here you can find nice curve of the bug count: http://www.php.net/~jani/count.png If this realtime? No. Updated once per day. --Jani -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Shane Caraveo
Sterling Hughes wrote: On Tue, 2002-10-22 at 01:38, Alan Knowles wrote: Non blocking connections would be nice... - On the generating stuff - why do you want to generate the code on the users system? - all the re2c stuff in CVS is 'pre-genereated' It would be nice to have extension generator

RE: [PHP-DEV] Bug count..

2002-10-21 Thread Mike Robinson
Jani Taskinen wrote: Heh..just take a look in the database for bugs and them tell me how to get that data out of it. :) SQL should do the trick. :) Regards Mike Robinson (Sorry, couldn't resist...) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

RE: [PHP-DEV] Bug count..

2002-10-21 Thread Jani Taskinen
On Mon, 21 Oct 2002, Mike Robinson wrote: Jani Taskinen wrote: Heh..just take a look in the database for bugs and them tell me how to get that data out of it. :) SQL should do the trick. :) Wise-ass.. :) I did mean that there is no such data in the database which could be

Re: [PHP-DEV] Bug count..

2002-10-21 Thread Maxim Maletsky
The very same way i supposed you got that very data :) Since you were on that, i thought you could make it a little kinda-searchanble. -- Maxim Maletsky [EMAIL PROTECTED] On Tue, 22 Oct 2002 03:20:21 +0300 (EEST) Jani Taskinen [EMAIL PROTECTED] wrote: On Mon, 21 Oct 2002, Maxim Maletsky

Re: [PHP-DEV] Bug count..

2002-10-21 Thread Maxim Maletsky
You're on! How do you get onto /~jani/ ? If have a section there i could do some staff too :) -- Maxim Maletsky [EMAIL PROTECTED] On Mon, 21 Oct 2002 20:33:25 -0400 Mike Robinson [EMAIL PROTECTED] wrote: Jani Taskinen wrote: Heh..just take a look in the database for bugs and them

Re: [PHP-DEV] Bug count..

2002-10-21 Thread Maxim Maletsky
There must be such data, just, in fact, make a grouped query and you're in. As long as you have an access to it. But, seriously, guys, wouldn't be nice having a little summary for bugs to add? A few years ago i remember having something like that on. Now there only is listing left of

Re: [PHP-DEV] Idea to extend language: Explicitly setting variable scope inside user defined function (longer)

2002-10-21 Thread Hans Zaunere
--- Marco Tabini [EMAIL PROTECTED] wrote: Well, you have to admit that the issue of variable scope is the first thing that hits someone who approaches PHP for the first time and comes from other backgrounds, like C or ASP! Still, after one adapts to this apparent weirdness of scoping, it

Re: [PHP-DEV] Idea to extend language: Explicitly setting variablescope inside user defined function (longer)

2002-10-21 Thread Marco Tabini
Personally, I think that variable scope handling works great the way it is--particularly if you turn on error reporting. This way you have to explicitly declare that you will be accessing a global variable and don't run the risk of messing things up without thinking about it. You could argue that

[PHP-DEV] inplicit_flush off

2002-10-21 Thread Yasuo Ohgaki
CLI should behave like other *modern* scripting language. i.e. behave like perl, ruby, python. Currently it behaves like sh. i.e. flushing stdout for every output. Comments? --- php_cli.c.~1.37.~ Wed Oct 16 06:17:34 2002 +++ php_cli.c Tue Oct 22 11:45:09 2002

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Terence Kearns
OK, after having read the threads, I know I'm gonna get blasted/flamed, but I have to say this cos I've spent a lot of time trying to develop elegent XML based solutions in PHP and this issue kills it for me every time. So let me appologise in advance, BUT... Speaking on v5, not only should

Re: [PHP-DEV] Work is beginning on cURL and PHP again

2002-10-21 Thread Andi Gutmans
At 01:54 AM 10/22/2002 +0200, Sterling Hughes wrote: On Tue, 2002-10-22 at 01:38, Alan Knowles wrote: Non blocking connections would be nice... - On the generating stuff - why do you want to generate the code on the users system? - all the re2c stuff in CVS is 'pre-genereated' It would be

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Terence Kearns
Zeev Suraski wrote: No, we shouldn't have. It is not a deprecated feature or a discouraged feature. If you use the *FAIRLY RARE* combination of using PHP to generate XML, you'd have to configure your PHP. If you're with the vast majority of the population and couldn't care less about

Re: [PHP-DEV] short_open_tag ini_set()

2002-10-21 Thread Terence Kearns
Yes, but this doesn't solve the problem of whitespace before the declaration. the XML spec says that the declaration has to appear on the first line with no whitespace before it. developers will wonder why XML parsers don't accept their PHP script if they accidently put whitespace before ?php

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Terence Kearns
Yasuo Ohgaki wrote: I see side effect of ? tag as PHP start tag. IMHO, language that supposed to process XML document I think there is some sort of assumption by others that HTML is the only thing we need to worry about. I suspect the importance of XML compliance would be weighed up

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Andi Gutmans
I don't get this. Are people replying to you directly and you're cc'ing to the list? Because I only see your answers and not their replies. Andi At 03:30 PM 10/22/2002 +1000, Terence Kearns wrote: Yasuo Ohgaki wrote: I see side effect of ? tag as PHP start tag. IMHO, language that supposed

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Terence Kearns
Agreed. If short tags were disabled in v5, then there would be no such need for a hack like this. Andi Gutmans wrote: This is definitely one thing to think about. This is exactly the reason why I was against in the beginning. I had a feeling such ambiguities could arise. Andi At 09:43 AM

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Andi Gutmans
At 03:33 PM 10/22/2002 +1000, Terence Kearns wrote: Agreed. If short tags were disabled in v5, then there would be no such need for a hack like this. They won't be disabled. They won't be disabled. They won't be disabled. They won't be disabled. They won't be disabled. They won't be disabled.

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Terence Kearns
Dan Hardiker wrote: Thousands of programmers use short tags in their scripts, but only hundreds can't change this setting in php.ini manually. M Wrong... Many webhosting companies won't allow customers to change M php.ini, and my experiences with php_set_ini() aren't too good. yep,

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Brad LaFountain
It would be very bad for php if short tags were disabled. I 100% agree with andi. There are ways of dealing with xml and php without pissing off the WHOLE php user world. I don't even use long tags EVER, nor will I want to start. - Brad --- Andi Gutmans [EMAIL PROTECTED] wrote: At 03:33 PM

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Shane Caraveo
Brad LaFountain wrote: It would be very bad for php if short tags were disabled. I 100% agree with andi. There are ways of dealing with xml and php without pissing off the WHOLE php user world. I don't even use long tags EVER, nor will I want to start. - Brad Damn, that comes from a SOAP

Re: [PHP-DEV] Global HashTables access violations

2002-10-21 Thread Tony Leake
On Mon, 2002-10-21 at 20:19, Brian 'Bex' Huff wrote: Ive written an extension to PHP that (among other things) uses a global HashTable object for a mini cache. I fill it, and then have a simple PHP function to pull a string out of the cache, and return it. However, I keep getting wierd

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Terence Kearns
Rick Widmer wrote: I fail to see how using ?php is better coding practices. Unless you plan on distributing your code to the masses or mixing XML/XHTML without trivially escaping it, I see absolutely no point in using ?php over ?. In reality, very few people intermix PHP and XML. It just

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Terence Kearns
Antony Dovgal wrote: Hello Dan, DH Your missing the point of my suggestion. Im not suggesting we switch it DH off by default, Im suggesting we *remove* the feature. Very good. Why not to change to script language=php.../script then? Ah yes, this reminds me, that format will also break XML