Re: [PHP-DEV] Language Auto Detection / www.php.net

2003-03-19 Thread Stig S. Bakken
On Wed, 2003-03-12 at 11:31, James Cox wrote: Gabor Hojtsy [EMAIL PROTECTED] wrote: is there any chance that we can revert this annoying feature? The translated documentation is always behind and partly lacks important information from the english version. I want to read the

Re: [PHP-DEV] Mono PHP

2003-02-05 Thread Stig S. Bakken
On Mon, 3 Feb 2003, Sebastian Bergmann wrote: Sterling Hughes wrote: I'll be adding it into PECL in a little bit Why PECL and not add it to ext/rpc? ext/rpc should be able to load rpc backend modules, or PECL is the only sensible place to put it (especially when it's experimental!). We

Re: [PHP-DEV] Reducing the number of system calls for includes

2003-01-24 Thread Stig S. Bakken
On Sat, 2003-01-25 at 00:17, Rasmus Lerdorf wrote: Take this script: ? include '/home/rasmus/foo/u2.inc' ? So, a simple include with an absolute pathname to avoid any include_path searching and all safe_mode and open_basedir checking turned off. The latter of course being an absolute

Re: [PHP-DEV] php exception handling

2003-01-23 Thread Stig S. Bakken
On Thu, 2003-01-23 at 18:41, Alex Mendelev wrote: Hey, Are there any plans to implement proper exception handling in PHP? try / catch / finally throw throws Is anyone working on that? HEAD (in CVS) has try, catch and throw. No throws or finally. Throws has not been discussed (and

Re: [PHP-DEV] Memory allocation problems

2003-01-19 Thread Stig S. Bakken
On Thu, 2003-01-16 at 11:38, Edin Kadribasic wrote: I have a script that allocates a lot of memory (huge associative arrays). The problem is that this scripts bails out with fatal error (emalloc unable to allocate 44 bytes) when I hit the limit of physical ram in the machine. Swap never

Re: [PHP-DEV] RE: [PEAR-DEV] 'php4' CVS module for PHP 5?

2003-01-14 Thread Stig S. Bakken
On Tue, 2003-01-14 at 07:48, Derick Rethans wrote: On Mon, 13 Jan 2003, James Cox wrote: Hello, What do you think about the idea of Martin that would use libphp.so and not libphp5.so ? it's called compatibility Nicos. having libphp4.so, libphp5.so, libphp6.so...

RE: [PHP-DEV] php.exe - php-cgi.exe

2002-12-15 Thread Stig S. Bakken
On Mon, 9 Dec 2002, Andi Gutmans wrote: At 05:34 PM 12/9/2002 +0100, Marcus Börger wrote: At 14:52 09.12.2002, Mike Robinson wrote: Wez Furlong writes: On Sun, 8 Dec 2002, Mike Robinson wrote: Sorry. There's just no way this should happen. But it has happened, and it's going stay

Re: [PHP-DEV] php-cgi vs php-cli naming issue

2002-12-15 Thread Stig S. Bakken
On Thu, 12 Dec 2002, Derick Rethans wrote: On Thu, 12 Dec 2002, Sterling Hughes wrote: How about we simply add a configure option to control this? --enable-simple-cli-name would build CGI as php-cgi and CLI as php That way we preserve BC and let those who like CLI named 'php'

RE: [PHP-DEV] php-cgi vs php-cli naming issue

2002-12-15 Thread Stig S. Bakken
On Sun, 15 Dec 2002, John Coggeshall wrote: I see that renaming the CGI to php-cgi might break things indeed, and that's never a good idea. But so is changing the name of the CLI (php) to something else. It also breaks things, not only for me, but also for countless others using the CLI

Re: [PHP-DEV] Reduce codebase

2002-12-06 Thread Stig S. Bakken
--enable-maintainer-mode? - Stig On Thu, 2002-12-05 at 17:16, Marcus Börger wrote: In a discussion about image.c code i was reminded that we do not need to bother with emalloc returning NULL or array_init returning FAILURE. Unforuately there are hundreds of such cases in PHP. When removing

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-06 Thread Stig S. Bakken
It won't be different in ZE2. This is not a bug though, but a tricky design issue. The problem is figuring out at runtime when to set $this or not in a method. What most people would probably find intuitive, is that $this was set only in methods called in the object, but this would require

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-06 Thread Stig S. Bakken
On Wed, 2002-12-04 at 01:32, Balazs Nagy wrote: On Tue, 2002-12-03 at 21:53, Ivan Ristic wrote: Balazs Nagy wrote: Hi, $this stays defined when an instantatiated member function calls a non-instantiated member function. Correct. I actually find it quite interesting. :)

Re: [PHP-DEV] [PATCH] New changes to ext_skel for C++

2002-12-04 Thread Stig S. Bakken
Isn't __cplusplus defined for all C++ compilers? #ifdef __cplusplus extern C { #endif #ifdef __cplusplus } #endif This is pretty common in library header files at least. - Stig On Mon, 2002-12-02 at 16:18, J Smith wrote: Taking a few comments into consideration, here's a new patch for

Re: [PHP-DEV] Re: Modules/Extensions not in 4.3

2002-12-04 Thread Stig S. Bakken
On Fri, 2002-11-29 at 18:20, Philip Olson wrote: On Fri, 29 Nov 2002, Wez Furlong wrote: IMO, the manual should include all of the maintstream PHP extensions. The reasoning is that if someone downloads the PHP manual, they expect to get the PHP manual and not have to hunt around for docs

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-12-01 Thread Stig S. Bakken
On Thu, 2002-11-28 at 19:08, Marcus Börger wrote: At 18:59 28.11.2002, Ilia A. wrote: On November 28, 2002 12:56 pm, Maxim Maletsky wrote: Shall we still consider introducing error codes to PHP? IMO, it does not represent any enormous maintenance increase while has some positive points.

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-30 Thread Stig S. Bakken
On Wed, 27 Nov 2002, Sascha Schumann wrote: On Wed, 27 Nov 2002, Stig S. Bakken wrote: On Tue, 2002-11-26 at 14:57, Andrei Zmievski wrote: On Tue, 26 Nov 2002, Edin Kadribasic wrote: On Tue, 26 Nov 2002, Maxim Maletsky wrote: I rather propose. And, it seems to interest many

Re: [PHP-DEV] Bug #20460 (Feature Request)

2002-11-30 Thread Stig S. Bakken
On Wed, 27 Nov 2002, Derick Rethans wrote: On Wed, 27 Nov 2002, Sara Pollita Golemon wrote: User complains that maximum length of a line used by fscanf is too short (he has lines 1600 chars). Looking at file.h I agree (it's only 512). The user requested two options: 1) Add an

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-30 Thread Stig S. Bakken
On Sat, 30 Nov 2002, Sascha Schumann wrote: -1 on errno-style error codes. They are not versatile enough or easy to manage. They are a lot more versatile and manageable than having to use substring/regexp matching on human-readable text. What I'm going for here is a way

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stig S. Bakken
On Thu, 2002-11-21 at 23:42, Jani Taskinen wrote: What is so hard to understand in word 'FATAL'? If your script doesn't work, what use is it to make it show the cryptic 500 error?? I'm -10 for adding anything like this, even if and even more then if it's optional.

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 02:03, Maxim Maletsky wrote: On Mon, 25 Nov 2002 22:18:32 +0100 (CET) Derick Rethans [EMAIL PROTECTED] wrote: On Mon, 25 Nov 2002, Sascha Schumann wrote: Frankly, so far the discussion has been primarily developer-focused, which is not too surprising.

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 14:57, Andrei Zmievski wrote: On Tue, 26 Nov 2002, Edin Kadribasic wrote: On Tue, 26 Nov 2002, Maxim Maletsky wrote: I rather propose. And, it seems to interest many on the list. Don't forget that there seem to be many who strongly opose your suggestion.

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 04:21, Shane Caraveo wrote: I am completely +1 to the concept of taking error codes out of the PHP core and replacing them with an XML document, period. I had wanted to avoid this whole thread, but decided to read this one message, and ouch. While I'm all for

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 05:04, John Coggeshall wrote: I had wanted to avoid this whole thread, but decided to read this one message, and ouch. While I'm all for internationalization in general, I'm realy not all for using xml wherever possible just because it can be. There are existing

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 02:15, Maxim Maletsky wrote: On Tue, 26 Nov 2002 00:30:55 +0200 (EET) Jani Taskinen [EMAIL PROTECTED] wrote: Just forget this. I'm not native english speaker, but I REALLY don't want to see any errors in any other language but english. (does

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 12:11, Maxim Maletsky wrote: Derick Rethans [EMAIL PROTECTED] wrote... : On Tue, 26 Nov 2002, Maxim Maletsky wrote: Derick Rethans [EMAIL PROTECTED] wrote... : IMO it doesn't improve anything; people who don't want to understand undefined function also

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 13:31, Sascha Schumann wrote: I think starting with a concrete proposal before it's not clear if we even want this localized errors thing seems rather time-wasting. What you call bickering, I call discussing, and IMO we're not yet done discussing if we want this at

Re: [PHP-DEV] RFC: ZE2 and abstract

2002-11-20 Thread Stig S. Bakken
On Tue, 19 Nov 2002, Marcus Börger wrote: The link below contain a patch that allows abstract functions in ZE2. http://marcus-boerger.de/php/ext/ze2 abstract [static] function '(' parameters ')' ';' it would be possible to make the ';' optional. When an abstract method is called a

Re: [PHP-DEV] error handling

2002-11-20 Thread Stig S. Bakken
On Wed, 20 Nov 2002, Ivan Ristic wrote: Create a configuration directive error_handler which accepts one of Two values... Either a PHP script (like auto_prepend) which is And how about that we change PHP so that it changes the status of the response to 500 on a fatal error? Then

Re: [PHP-DEV] Pear::db and odbc issue

2002-11-20 Thread Stig S. Bakken
On Wed, 20 Nov 2002, Chandler, Jacob R wrote: We are querying two different odbc databases using the Pear::DB library. When we try to print out the number of Rows ($result-numRows()), the output is 'Object'. We tried the same thing using odbc and we are getting '-1' as the number of rows.

RE: [PHP-DEV] error handling

2002-11-20 Thread Stig S. Bakken
On Wed, 20 Nov 2002, John Coggeshall wrote: |And how about that we change PHP so that it changes |the status of the response to 500 on a fatal error? Then |you would be able to use the Apache directive | |ErrorDocument 500 /handle-my-errors.php | |to deal with them.

Re: [PHP-DEV] Re: [Zend Engine 2] Errors and exceptions?

2002-11-12 Thread Stig S. Bakken
On Tue, 2002-11-12 at 07:54, Derick Rethans wrote: On 12 Nov 2002, Timm Friebe wrote: On Mon, 2002-11-11 at 23:26, Stig S. Bakken wrote: [...] The problem here is that PHP's E_WARNING does not resemble an exception. Some of the warnings raised are only of informational intent and do

Re: [PHP-DEV] [PATCH] ereg to pcre conversion

2002-11-01 Thread Stig S. Bakken
On Fri, 2002-11-01 at 18:28, Jani Taskinen wrote: On Fri, 1 Nov 2002, Sander Roobol wrote: On Thu, Oct 31, 2002 at 02:47:27PM -0500, Ilia A. wrote: I would like to propose that we drop the old ereg library and use only a single regular expression library, PCRE. For BC purposes I've written

Re: [PHP-DEV] Re: cvs: php4 /ext/iconv config.m4

2002-11-01 Thread Stig S. Bakken
On Fri, 2002-11-01 at 01:47, Yasuo Ohgaki wrote: Moriyoshi Koizumi wrote: moriyoshi Thu Oct 31 15:23:53 2002 EDT Modified files: /php4/ext/iconv config.m4 Log: Fixed library capability detection behaviour. # Whew! I've fixed all the known

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard css.c

2002-11-01 Thread Stig S. Bakken
On Wed, 2002-10-09 at 09:35, Yasuo Ohgaki wrote: Colin Viebrock wrote: I really think the best solution (not perfect, but best) is to specify some fonts so the pages look nice, and hard code in the ISO-8859-1 font hard code in the ISO-8859-1 font means assuming ISO 8859-1 and use ISO

[PHP-DEV] Plan for PHP 5.0

2002-10-13 Thread Stig S. Bakken
On Sat, 2002-10-05 at 22:21, Sebastian Bergmann wrote: Andrei Zmievski wrote: I have made PHP_4_3 branch just now. Will HEAD become 4.4.0-dev, or 5.0.0-dev? Considering the long release cycle to be expected I prefer the latter. I think it's time to head for 5.0 after 4.3, but not

Re: [PHP-DEV] Plan for PHP 5.0

2002-10-13 Thread Stig S. Bakken
On Mon, 2002-10-14 at 02:18, Dan Kalowsky wrote: On 14 Oct 2002, Stig S. Bakken wrote: Step #3: Pickle all extensions! Move all extensions except ext/standard w/dependencies to PECL. Yes, everything. We can add CVS aliases to be able to check out like today easily

Re: [PHP-DEV] Re: [PHP-QA] Congratulations.

2002-08-01 Thread Stig S. Bakken
On Thu, 1 Aug 2002, Daniel Lorch wrote: hi, Congratulations Derick. Most deserving recognition for a terrific job. I will add to that my humble thanks. No offense, but I think other developers should be mentioned as well. I very much like wez' work on innovative ideas - even though

[PHP-DEV] New build system (Re: [PHP-DEV] 4.3 release call to arms)

2002-07-25 Thread Stig S. Bakken
On Thu, 25 Jul 2002, Stig S. Bakken wrote: 1. New build system (Sascha) [done?] I'm forking this thread into one for each action item. The new build system seems to work, my main concern is source compatibility with 3rd-party extensions written for 4.2 or earlier. It seems to work, what we

[PHP-DEV] CLI SAPI (was Re: [PHP-DEV] 4.3 release call to arms)

2002-07-25 Thread Stig S. Bakken
On Thu, 25 Jul 2002, Stig S. Bakken wrote: 3. Command-line SAPI installed by default (Edin) * php.ini issues I think the only remaining issue here is to be able to have a separate config/ini file for cli. While we're at it we might as well support SAPI-specific config files, so PHP

Re: [PHP-DEV] 4.3 release call to arms

2002-07-25 Thread Stig S. Bakken
Okay, I'm modifying brancing on sunday to branching when 4.2.3 is out, so we don't have two QA processes at the same time. Sorry Derick. - Stig On Thu, 25 Jul 2002, Stig S. Bakken wrote: Hi guys, I'd like to start the 4.3 release process now. Anyone with stuff they want to commit

Re: [PHP-DEV] extensions problems

2002-07-05 Thread Stig S. Bakken
A quick way to diagnose if this is your problem is: nm module.so | grep get_module If the grep doesn't give any output, this is your problem. - Stig On Wed, 2002-07-03 at 16:36, Rafa Rodriguez Hernandez wrote: Hi everybody. I'm having a problem with php extensions. I have a module

Re: [PHP-DEV] feature request

2002-07-05 Thread Stig S. Bakken
Is there a portable way to implement this on all/most OS'es? Please submit this feature request on bugs.php.net. - Stig On Wed, 2002-07-03 at 23:06, veins wrote: hi, I have a feature request for the exec() family. I was thinking of adding a fourth optionnal argument to be passed as the

Re: [PHP-DEV] Recommended XML parser?

2002-06-18 Thread Stig S. Bakken
On Tue, 2002-06-18 at 02:18, Blake Barnett wrote: What is the recommended XML parser for use with PHP 4.2.1? (and also 4.1.0 if anyone is willing to answer that as well?) From reading the list archives I'm seeing a lot of people bash expat and lean toward libxml2, I just wanted to get the

Re: [PHP-DEV] Small CGI Serve

2002-06-18 Thread Stig S. Bakken
On Tue, 2002-06-18 at 13:25, BB wrote: I am trying to write a small CGI webserver. Having finally found out how to pass the Environment vars onto PHP, I am stumpted to find that PHP wasn't reading them and putting them in their place (GET vars). I tried changing the exe from the php-cli

Re: [PHP-DEV] Any chance of php_pear.dll?

2002-06-14 Thread Stig S. Bakken
On Mon, 2002-06-03 at 21:35, Michael Dransfield wrote: Is there any chance of including php_pear into the latest snap at snaps.php.net ?? I know it is very beta... but id at least like to experiment on my windows machine I notice you have included dotnet stuff, but not your own

Re: [PHP-DEV] Patch-tastic!

2002-06-14 Thread Stig S. Bakken
On Wed, 2002-06-05 at 10:44, Ilker Cetinkaya wrote: Sebastian Bergmann [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Andrei Zmievski wrote: The latest one changes some operators. Nice, but why not overload + for strings to do the concatenation?

Re: [PHP-DEV] Registering classes in PHP extension

2002-06-14 Thread Stig S. Bakken
On Fri, 2002-06-07 at 14:21, Eunsoo Seo wrote: Hi. Any manual about registering classes in PHP extension? I found that the function zend_register_internal_class can do that. And I read some code in ext/ that contaings that function, but I can hardly understand that code. Any manual or

Re: [PHP-DEV] PECL != Siberia

2002-06-14 Thread Stig S. Bakken
the built extensions would have to have a filename like: extname-phpversion-extversion.zip. Another idea would be to have the extensions built for windows on the server side, and cached if one was already built. Shane Stig S. Bakken wrote: You tell me :) We currently have no nice way

Re: [PHP-DEV] Zend 2 const class members private?

2002-06-14 Thread Stig S. Bakken
On Mon, 2002-06-10 at 22:37, Leendert Brouwer wrote: I have just started experimenting with the Zend 2 engine, and totally love the new OO features. I'm not sure whether this has been discussed or not (I couldn't find it in the archives, anyway), but I ran into a few things: Constant class

Re: [PHP-DEV] html tokenizer to add to tokenizer?

2002-06-14 Thread Stig S. Bakken
Good idea. I assume you want this for WidgetHTML.php? ;-) - Stig On Wed, 2002-06-12 at 14:26, Alan Knowles wrote: Attached hopefully is the re2c source for a html tokenizer - I added it to tokenizer.c - any thoughts on inclusion? regards alan enum { STATE_PLAIN =

[PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-11 Thread Stig S. Bakken
Why? Does the parser risk ending up in an invalid state if the PHP code has errors? - Stig On Mon, 2002-06-10 at 22:35, Andi Gutmans wrote: Or have a user-definable classpath. But I think it's better not to call into PHP code. Andi At 11:32 PM 6/10/2002 +0300, Andi Gutmans wrote:

Re: [PHP-DEV] PECL != Siberia

2002-06-10 Thread Stig S. Bakken
, what is happening for win32? Stig S. Bakken wrote: With the latest PEAR installer (version 0.90), PECL extensions are now built and installed during pear install/upgrade on Unix systems. First: upgrade PEAR to 0.9 with pear upgrade PEAR. If you have the xmms libraries

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] oo != php

2002-06-10 Thread Stig S. Bakken
Hi, I have promised myself to not get into this discussion for a week now, but the smell of dead horse overwhelmed me, so here goes... I am guilty of a lot of OO use in PHP related to PEAR, I think OO is a good thing when used right, but if not.. well, as Ken said at LinuxTag, here, have some

[PHP-DEV] PECL != Siberia

2002-06-09 Thread Stig S. Bakken
With the latest PEAR installer (version 0.90), PECL extensions are now built and installed during pear install/upgrade on Unix systems. First: upgrade PEAR to 0.9 with pear upgrade PEAR. If you have the xmms libraries and php_gtk installed, you can see it in action by doing simply pear install

Re: [PHP-DEV] PHP's vision

2002-06-02 Thread Stig S. Bakken
On Sun, 2002-06-02 at 23:13, Sebastian Bergmann wrote: Zeev Suraski wrote: PHP can become stronger, but it will NEVER make a shift and become Java. I don't want it to become Java. I want PHP to stay as simple as possible for beginners, simpler if possible as Shane pointed out.

Re: [PHP-DEV] libxml bundling

2002-06-02 Thread Stig S. Bakken
On Sat, 2002-06-01 at 02:08, [EMAIL PROTECTED] wrote: On Sat, 1 Jun 2002, Yasuo Ohgaki wrote: [...] I wish it became a default module, too. Sure, lets enable everything by default then. ODBC is very important too, and of course also encryption, so we need mcrypt and mhash, or the

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-30 Thread Stig S. Bakken
On Thu, 2002-05-30 at 02:04, Markus Fischer wrote: On Thu, May 30, 2002 at 08:12:27AM +0900, Yasuo Ohgaki wrote : Brad Lafountain wrote: Ok, But take ext/domxml it requires a newerversion of libxml2. I didn't have it installed on my machine when i installed php. If we bundle

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-30 Thread Stig S. Bakken
On Thu, 2002-05-30 at 03:29, Yasuo Ohgaki wrote: I think we can remove expat bundle now.) Think again :-) Expat has been bundled for ages, and IMHO we should not drop it unless we have another bundled xml library and ext/xml can use that instead. - Stig -- PHP Development Mailing List

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-30 Thread Stig S. Bakken
On Thu, 2002-05-30 at 18:08, [EMAIL PROTECTED] wrote: On Thu, 30 May 2002, brad lafountain wrote: The 2M size has alot of stuff that we wouldn't need. Im sure we can get it down to under 500K. I still think 500kb is too much for something the most ppl already have installed. Having

Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to bepassed by reference]

2002-05-29 Thread Stig S. Bakken
If this patch doesn't break anything, and it doesn't give us any difficulties with ZE2 or major design issues, I'm +1. - Stig On Tue, 2002-05-28 at 21:12, Jason T. Greene wrote: Due to this patch being sent during the msession discussion, it has not been noticed, so I am resending.

Re: [PHP-DEV] Re: cvs: php4 /netware php-nw.bat

2002-05-28 Thread Stig S. Bakken
On Tue, 2002-05-28 at 15:32, Yasuo Ohgaki wrote: Yasuo Ohgaki wrote: Venkat Raghavan S wrote: rvenkatTue May 28 01:33:08 2002 EDT Added files: /php4/netwarephp-nw.bat Log: I suppose you are working to implement NetWare SAPI. Correct

Re: [PHP-DEV] Re: I need your support: Reinstatement of msession

2002-05-26 Thread Stig S. Bakken
On Fri, 2002-05-24 at 23:31, Andrei Zmievski wrote: I would like reinstatement of msession into the main tree, and if you oppose I would like a serious discussion to take place on the developer list. If you support it, I need you to sound in on the discussion. I intend to re-add

Re: [PHP-DEV] PECL

2002-05-26 Thread Stig S. Bakken
On Sat, 2002-05-25 at 19:03, Andi Gutmans wrote: At 09:52 25/05/2002 -0700, Rasmus Lerdorf wrote: This stuff is in the works. The current pear tool only works with php-based pear packages, but it will soon get a wrapper that will phpize and build extensions for you with proper dependency

Re: [PHP-DEV] PECL

2002-05-26 Thread Stig S. Bakken
On Sun, 2002-05-26 at 11:18, Stig S. Bakken wrote: On Sat, 2002-05-25 at 19:03, Andi Gutmans wrote: At 09:52 25/05/2002 -0700, Rasmus Lerdorf wrote: This stuff is in the works. The current pear tool only works with php-based pear packages, but it will soon get a wrapper that will phpize

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/msession .cvsignoreCREDITS README config.m4 msession-test.php msession.c msession.phpphp_msession.h reqclient.h

2002-05-24 Thread Stig S. Bakken
On Fri, 2002-05-24 at 21:21, Sebastian Bergmann wrote: [EMAIL PROTECTED] wrote: I am looking at the bugs list on news.php.net, and I can't find any mention of msession. #php.bugs @ EFNet != php-bugs @ lists.php.net #php.bugs is a pretty closed forum compared to any php mailing list.

Re: [PHP-DEV] Full-duplex communication

2002-05-23 Thread Stig S. Bakken
I suggest you take a look at BEEP, which is meant for full-duplex communication. HTTP simply isn't. http://www.alltheweb.com/search?q=beep+protocol - Stig On Wed, 2002-05-22 at 12:16, Vinod Panicker wrote: Hi, I had a peculiar requirement. I need the ability to send asynchronous

RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Stig S. Bakken
PHP already has SOAP support bundled in the xmlrpc extension, which is built upon the xmlrpc-epi library that we bundle. Why can't people improve that instead of re-inventing more wheels in all shapes and sizes? When we bundle a library, we should use it. - Stig On Thu, 2002-05-23 at 17:52,

Re: [PHP-DEV] Full-duplex communication

2002-05-23 Thread Stig S. Bakken
On Thu, 2002-05-23 at 14:39, Vinod Panicker wrote: Hi Faisal, Tx for ur thoughts... On Thu, 23 May 2002 Faisal Nasim wrote : Hi, Why not simply use Apache to forward to the request to your PHP script or 'other program' and deploy threads for whatever process you want to run in the

RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Stig S. Bakken
--- Stig S. Bakken [EMAIL PROTECTED] wrote: PHP already has SOAP support bundled in the xmlrpc extension, which is built upon the xmlrpc-epi library that we bundle. Why can't people improve that instead of re-inventing more wheels in all shapes and sizes? When we bundle a library, we should

RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread Stig S. Bakken
On Thu, 2002-05-23 at 23:38, Markus Wolff wrote: Stig S. Bakken said: PHP already has SOAP support bundled in the xmlrpc extension, which is built upon the xmlrpc-epi library that we bundle. Why can't people improve that instead of re-inventing more wheels in all shapes and sizes? When

Re: [PHP-DEV] Re: Tokenizer weirdness

2002-05-23 Thread Stig S. Bakken
On Thu, 2002-05-23 at 19:26, Sebastian Bergmann wrote: Andrei Zmievski wrote: That's not what I get. Did you try the latest CVS version? Yes. Windows issue? Does anyone else using Windows see this? - Stig -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] Full-duplex communication

2002-05-23 Thread Stig S. Bakken
On Thu, 2002-05-23 at 23:59, Stig S. Bakken wrote: On Thu, 2002-05-23 at 14:39, Vinod Panicker wrote: Hi Faisal, Tx for ur thoughts... On Thu, 23 May 2002 Faisal Nasim wrote : Hi, Why not simply use Apache to forward to the request to your PHP script or 'other program

Re: [PHP-DEV] PHP linux binary and Super global variables

2002-05-21 Thread Stig S. Bakken
On Tue, 2002-05-21 at 05:16, Ori Staub wrote: After compiling PHP 4.2.1 as a CGI binary and executing from the command promot (php -q) I noticed that the new Super Global variables dont work (in particular I need $_ENV and $_SERVER). I looked through the manual to find some answers but didnt.

Re: [PHP-DEV] Enabling ext/zlib by default

2002-05-21 Thread Stig S. Bakken
On Tue, 2002-05-21 at 08:13, Sebastian Bergmann wrote: I think we should make '--with-zlib' the default, and add '--disable-zlib', for the PHP 4.3.0 release, since the PEAR Installer relies on it. It's not supposed to, I've added nocompress options everywhere needed, so it should work

Re: [PHP-DEV] Enabling ext/zlib by default

2002-05-21 Thread Stig S. Bakken
On Tue, 2002-05-21 at 08:57, Sebastian Bergmann wrote: Shane Caraveo wrote: Hmm, I couldn't make the pear command work on windows until I loaded the zlib extension. Same here on *NIX when I tried a 'pear package'. Try pear package -Z. I'll make the -Z option default when zlib is not

Re: [PHP-DEV] Enabling ext/zlib by default

2002-05-21 Thread Stig S. Bakken
On Tue, 2002-05-21 at 08:54, Martin Jansen wrote: On 21 May 2002 08:46:54 +0200, Stig S. Bakken wrote: On Tue, 2002-05-21 at 08:13, Sebastian Bergmann wrote: I think we should make '--with-zlib' the default, and add '--disable-zlib', for the PHP 4.3.0 release, since the PEAR Installer

[PHP-DEV] Re: segfault in version_compare

2002-05-21 Thread Stig S. Bakken
On Tue, 2002-05-21 at 07:45, Rasmus Lerdorf wrote: Stig, I was going to fix this, but then I saw your code... So here you go. pear install XML_RSS ends up causing this call: version_compare('', '1.0', 'ge'); This tosses php_version_compare() into an infinite recursive loop

Re: [PHP-DEV] Re: [PEAR-DEV] ITX.php require_once error

2002-05-21 Thread Stig S. Bakken
On Tue, 2002-05-21 at 09:25, Dan Allen wrote: The require_once is wrong in both IT.php and ITX.php Yes, I had mentioned the other in an eariler e-mail. Okay, I am way confused. I thought that PEAR was using a flat directory structure, but everyone keeps saying how all the '_' should be '/'

Re: [PHP-DEV] Patch for file.c

2002-05-21 Thread Stig S. Bakken
On Tue, 2002-05-21 at 17:28, Dean Richard Benson wrote: Hi all I have been working on a system recently that has been using the fgetcsv function. It works a treat except that the code assumes that the enclosure character will always be a double quote. This caused me a little bit of a

[PHP-DEV] Tip of the day: embedding php code in scripts

2002-05-20 Thread Stig S. Bakken
Did anyone come up with this one before or do I have a first post? :-) #!/bin/sh exec php -d output_buffering=1 $0 $ ?php ob_end_clean(); print Hello World!\n; ? - Stig -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Tip of the day: embedding php code in scripts

2002-05-20 Thread Stig S. Bakken
On Mon, 2002-05-20 at 19:21, Preston L. Bannister wrote: From: Stig S. Bakken [mailto:[EMAIL PROTECTED]] Did anyone come up with this one before or do I have a first post? :-) #!/bin/sh exec php -d output_buffering=1 $0 $@ ?php ob_end_clean(); print Hello World!\n

RE: [PHP-DEV] Tip of the day: embedding php code in scripts

2002-05-20 Thread Stig S. Bakken
here -\\ exec /usr/local/bin/php -q ?php print Hello World!\n; ? //- script stuff here -\\ Unless Im mistaken ... for which I appologise. - Dan From: Stig S. Bakken [mailto:[EMAIL PROTECTED]] Did anyone come up with this one before or do I have a first post? :-) #!/bin/sh

Re: [PHP-DEV] karma

2002-05-16 Thread Stig S. Bakken
Drop a mail to [EMAIL PROTECTED] - Stig On Thu, 2002-05-16 at 07:00, brad lafountain wrote: How would i go about getting karma for cvs commits? - Brad __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com

Re: [PHP-DEV] Profiling PHP

2002-05-14 Thread Stig S. Bakken
001ca85c 4438 6.39177 zend_hash_add_or_update 001a56bc 4597 6.62077 zendparse 001b21b8 4692 6.75759 _efree 001cdaf8 5458 7.86082 zend_inline_hash_func 001a9f4c 5501 7.92275 lex_scan 001b1ea4 6321 9.10374 _emalloc On 13 May 2002, Stig S

Re: [PHP-DEV] Important: make test/run-tests.php broken?

2002-05-14 Thread Stig S. Bakken
Btw, now (in HEAD) you can run pear run-tests in any directory with tests in it. No need for a makefile. - Stig On Tue, 2002-05-14 at 13:05, Markus Fischer wrote: Hi, seems nothing happened there yet. CVS HEAD has the same problem. Just deleting the CGI in ~/php4/php does the

Re: [PHP-DEV] Safe Mode

2002-05-13 Thread Stig S. Bakken
-based distribution, I mention this for curiosity and perspective.) - Stig On Mon, 2002-05-13 at 11:30, Chand wrote: On 12 May 2002 23:42:21 +0200 Stig S. Bakken [EMAIL PROTECTED] wrote: Well, as long as there is exec(2), there is a way. How many users do Lycos Europe provide sandboxed PHP

Re: [PHP-DEV] Safe Mode

2002-05-13 Thread Stig S. Bakken
and come up with a document that describes the plusses and minuses of each as it applies to large shared hosting scenarios. -Rasmus On 12 May 2002, Stig S. Bakken wrote: I'm +1 on removing safe mode in PHP 5, and encourage the use of system-level sandboxes/prisons instead

Re: [PHP-DEV] Profiling PHP

2002-05-13 Thread Stig S. Bakken
On Mon, 2002-05-13 at 17:53, Zeev Suraski wrote: The link you specified doesn't work (it's .net)... Nice touch on their part on having a page that doesn't render under IE :) Anyway, the important question is whether you're using it under Linux or some other OS. Under Linux, unless it has

Re: [PHP-DEV] Safe Mode

2002-05-12 Thread Stig S. Bakken
I'm +1 on removing safe mode in PHP 5, and encourage the use of system-level sandboxes/prisons instead. - Stig On Sat, 2002-05-11 at 17:39, Ilia A. wrote: In the process of writing an installer in PHP for one of my projects I've come in contact with a number of servers running PHP with

Re: [PHP-DEV] Safe Mode

2002-05-12 Thread Stig S. Bakken
Well, as long as there is exec(2), there is a way. How many users do Lycos Europe provide sandboxed PHP for? - Stig On Sun, 2002-05-12 at 23:37, Rasmus Lerdorf wrote: But for really large shared hosts, I don't think that is feasible. How are you going set up 100,000 prisons on a server?

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c /sapi/cli php_cli.c

2002-05-11 Thread Stig S. Bakken
php-config is for displaying information like this without the need for further parsing. Why not just add --zend-module-api --php-module-api and --zend-ext-api flags to php-config outputting the number and nothing else? - Stig On Sat, 2002-05-11 at 04:00, Markus Fischer wrote: Hi, On

Re: Re[2]: [PHP-DEV] PHP 4.3 charter and release plan

2002-05-07 Thread Stig S. Bakken
On Mon, 2002-05-06 at 11:54, Jan Schneider wrote: Zitat von Andrew Sitnikov [EMAIL PROTECTED]: Hello Stig, SSB Huh, are you saying PHP _is_ locale-dependant? Yes. Example: 1.php ? setlocale(LC_ALL,'ru_RU.CP1251'); include('2.php'); ? 2.php ? $var = 1.3;

Re: [PHP-DEV] PHP 4.2.1

2002-05-07 Thread Stig S. Bakken
On Mon, 2002-05-06 at 17:59, Christian Stocker wrote: On Mon, 6 May 2002, brad lafountain wrote: Man... When is the next planned release? don't know. ask stig .) No date yet. The current major changes list for 4.3 is: 1. New build system (Sascha) 2. PHP Streams (Wez) 3. Command-line

Re: [PHP-DEV] Re: PHP 4.3 charter and release plan

2002-05-05 Thread Stig S. Bakken
On Fri, 2002-05-03 at 12:31, Yasuo Ohgaki wrote: Stig S. Bakken wrote: Here's the list of major changes, and the person I would like to invite as responsible for that part of 4.3: 6. PostgreSQL changes (Yasuo) Core code has not been changed much. I'm available any time. When

Re: [PHP-DEV] Re: PHP 4.3 charter and release plan

2002-05-05 Thread Stig S. Bakken
On Fri, 2002-05-03 at 13:25, Christian Stocker wrote: In [EMAIL PROTECTED], Stig S. Bakken wrote: Hi, I've volunteered to RM (release master, not /bin/rm) PHP 4.3. This release will be synchronized with the public release of the PEAR (including PECL) infrastructure. This time

RE: [PHP-DEV] Win32 testing and run-tests.php (was: PHP 4 BugSummary Report)

2002-05-05 Thread Stig S. Bakken
If you plan on doing something like that, it would be nice if you could share what you have in mind first. - Stig On Sun, 2002-05-05 at 17:15, James Cox wrote: Hi, My plan is to revamp the way that tests work, so it's more efficient. But, you are more than welcome to work on the current

RE: [PHP-DEV] Win32 testing and run-tests.php (was: PHP 4 BugSummary Report)

2002-05-05 Thread Stig S. Bakken
On Sun, 2002-05-05 at 22:18, Preston L. Bannister wrote: From: James Cox [mailto:[EMAIL PROTECTED]] My plan is to revamp the way that tests work, so it's more efficient. But, you are more than welcome to work on the current testing system, -- all the tests will be converted anyhow :)

Re: [PHP-DEV] PHP 4.3 charter and release plan

2002-05-03 Thread Stig S. Bakken
On Fri, 2002-05-03 at 13:17, Andrew Sitnikov wrote: Hello Stig, Why you lose Make everything on the language-level independent of your locale settings. from TODO list ? This is very critical i think. If used locale with decimal separator like `,`, many script will working wrongly. SSB

Re: [PHP-DEV] PHP 4.3 charter and release plan

2002-05-03 Thread Stig S. Bakken
On Fri, 2002-05-03 at 11:40, Wez Furlong wrote: On 03/05/02, Stig S. Bakken [EMAIL PROTECTED] wrote: Here's the list of major changes, and the person I would like to invite as responsible for that part of 4.3: 2. PHP Streams (Wez) Sure, but I'm a bit limited for time over the next month

Re: [PHP-DEV] feature proposal: string types (complete with apatch)

2002-05-02 Thread Stig S. Bakken
Those who pay attention to my occasional ramblings may remember that I once suggested implementing type hints, which is a more generic version of this. Type hints is like your string types, except that they apply to any type. I guess the core issue here is whether adding an int to zval or

  1   2   3   >