Re: [PHP-DEV] pcntl_alarm() doesn't work with apache_worker (multithreaded)

2007-07-31 Thread Antony Dovgal
On 30.07.2007 14:25, Nico Sabbi wrote: Hi, $subject says everything: when php runs under a multithreaded apache pcntl_alarm() doesn't work: the alarm is never delivered. That's pretty much expected since your web-server is multithreaded, while "alarm() arranges for a SIGALRM signal to be deliv

Re: [PHP-DEV] toString() and Object #ID

2007-07-31 Thread David Wang
> Do you think there's an easy and clean approaching to solve this kind > of problem? Or maybe the problem should be solved on array_diff() and > other functions to make them not try to cast the object as a string to > compare? If use array_udiff with a comparison function that compares the spl_ob

[PHP-DEV] Regarding the ext/curl extension

2007-07-31 Thread Daniel Stenberg
Hi PHP hackers! (I'm not subscribed, please CC me if you want me to read your responses.) I am the primary author and maintainer of the libcurl library, the underlying library that supports the PHP extension named... eh, right. What is the extension called really? CURL? ext/curl? curl? I'm w

Re: [PHP-DEV] Regarding the ext/curl extension

2007-07-31 Thread Steph Fox
Hi Daniel, all - Bit of history here: I promised Daniel last week I'd put some effort into the documentation side. That was before I started looking at the extension... it has no tests and it needs a bit of love before it should be documented. I got as far as the simplest function having the w

Re: [PHP-DEV] Log4P Project Class Names

2007-07-31 Thread Johannes Schlüter
Hi Will, On Mon, 2007-07-30 at 13:57 -0500, Will Fitch wrote: > Thanks, Marcus. I finally found this documentation on PECL by using Google > site:pecl.php.net. > > I appreciate the insight. it's also part of the PHP Source distribution and CVS: http://cvs.php.net/viewvc.cgi/php-src/CODING_STAND

Re: [PHP-DEV] Fix inconsistencies in OO calls

2007-07-31 Thread Johannes Schlüter
Hi Etienne, On Mon, 2007-07-30 at 22:27 +0200, Etienne Kneuss wrote: > Hello, > > Currently, those are allowed: > > new $classname; > classname::$methodname(); > > but those aren't: > > $classname::foo(); > $classname::CONST; > $classname::$member; > > Here is a patch for head that fixes thos

Re: [PHP-DEV] Re: multi-threaded run-tests.php

2007-07-31 Thread Marcus Boerger
Hello Richard, that -h issue is actually understandable. If run-tests-pgp was exectuable you would more likely be tempted to try -h. Maybe that means we should make it so by adding a hash bang line or by adding a short shell script that will do so call run-tests.pgp with the correct php version.

Re: [PHP-DEV] Regarding the ext/curl extension

2007-07-31 Thread Rasmus Lerdorf
Daniel, I don't really understand what renaming the extension would accomplish. It's a thin wrapper on top of the curl library which isn't something we can nor want to hide, so no matter what we call it, people are still going to go looking for more information about curl and the opening paragraph

Re: [PHP-DEV] Regarding the ext/curl extension

2007-07-31 Thread Stanislav Malyshev
I am the primary author and maintainer of the libcurl library, the underlying library that supports the PHP extension named... eh, right. What is the extension called really? CURL? ext/curl? curl? It's called "CURL extension", I'd say. As there's MySQL extension, Json extension, DOM extension,

Re: [PHP-DEV] Namespaces patch backport

2007-07-31 Thread David Duong
"internals-newb" answer. AFAIK namespaces was a feature originally planned for PHP 5. I believe the most important long term advantage is simply that projects using PHP 5 do not have to wait approx. 10 years (pure guestimation) until PHP 6 is widely supported to be able to begin to use namespac

Re: [PHP-DEV] Regarding the ext/curl extension

2007-07-31 Thread Daniel Stenberg
On Tue, 31 Jul 2007, Rasmus Lerdorf wrote: Daniel, I don't really understand what renaming the extension would accomplish. Then I didn't make myself clear. The point of renaming would be to allow people to search for something with a name that doesn't confuse them. If the binding would be ca

Re: [PHP-DEV] Regarding the ext/curl extension

2007-07-31 Thread Derick Rethans
On Tue, 31 Jul 2007, Daniel Stenberg wrote: > On Tue, 31 Jul 2007, Rasmus Lerdorf wrote: > > > Daniel, I don't really understand what renaming the extension would > > accomplish. > > Then I didn't make myself clear. > > The point of renaming would be to allow people to search for something >

Re: [PHP-DEV] Regarding the ext/curl extension

2007-07-31 Thread Rasmus Lerdorf
Daniel Stenberg wrote: > On Tue, 31 Jul 2007, Rasmus Lerdorf wrote: > >> Daniel, I don't really understand what renaming the extension would >> accomplish. > > Then I didn't make myself clear. > > The point of renaming would be to allow people to search for something > with a name that doesn't c

Re: [PHP-DEV] Regarding the ext/curl extension

2007-07-31 Thread Steph Fox
Guys, I don't think battling helps anyone. I thought Daniel and myself had come to an (admittedly vague) agreement last week that a good way to approach this might be by fixing the php.net docs to give all the PHP-related info currently held on the libcurl site, and then ditch that page on th