Re: [PHP-DEV] Alpha testers wanted: perror extension

2006-04-17 Thread Andi Gutmans
Richard, Please go lighter on the emails you send to [EMAIL PROTECTED] This list is really meant for discussing the development of PHP itself. Of course the occasional question is fine (if you've RTFM'ed and looked at other extensions) but you've sent over 20 msgs in 3 days :) Best to see if t

[PHP-DEV] CVS Account Request: vanilla

2006-04-17 Thread vanilla shu
vanilla -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Alpha testers wanted: perror extension

2006-04-17 Thread Richard Lynch
I have completed my first modestly useful PHP extension. The perror extension adds the functions 'strerror' and 'strsignal' for use with 'exec' and friends and pcntl functions. http://l-i-e.com/perror/ Alpha testers and code review would be most welcome. I thought I'd start small with a post he

Re: [PHP-DEV] Inconsistency of empty() and isset() ?

2006-04-17 Thread Andi Gutmans
Nope you shouldn't, as per my previous email. At 10:46 AM 4/17/2006, [EMAIL PROTECTED] wrote: Should I go ahead and submit this patch? Where should I go about doing so? I looked around bugs.php.net but am unsure. On 4/17/06, Ron Korving <[EMAIL PROTECTED]> wrote: > > isset() does more than chec

Re: [PHP-DEV] Inconsistency of empty() and isset() ?

2006-04-17 Thread Andi Gutmans
We had a huge thread about this a while back (1-2 years) where this was discussed in great depth. The agreement was that for isset() it's very straight forward and usefull and that the semantics with empty() would be confusing and problematic, and therefore, the decision was to just support thi

Re: [PHP-DEV] Inconsistency of empty() and isset() ?

2006-04-17 Thread itrebal
Should I go ahead and submit this patch? Where should I go about doing so? I looked around bugs.php.net but am unsure. On 4/17/06, Ron Korving <[EMAIL PROTECTED]> wrote: > > isset() does more than check the existance in a hash table, because this > the > following is true: > > $foo = null; > isset

Re: [PHP-DEV] Inconsistency of empty() and isset() ?

2006-04-17 Thread Ron Korving
isset() does more than check the existance in a hash table, because this the following is true: $foo = null; isset($foo); // returns false, even though $foo is initialized echo $foo;// will not cause a NOTICE, because $foo is initialized - Ron ""Richard Lynch"" <[EMAIL PROTECTED]> wrote in

Re: [PHP-DEV] Strange problem with the functions exec() / system()...

2006-04-17 Thread Wez Furlong
My hunch is that your sockets are being inherited by the child process(es). You should look at setting the close-on-exec flag on your sockets. --Wez. On 4/12/06, Michael Vergoz <[EMAIL PROTECTED]> wrote: > Salut > > I have a strange problem with the functions exec() / system()... > I have a threa