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

2007-07-30 Thread Richard Lynch
On Mon, July 30, 2007 5:25 am, Nico Sabbi wrote: > $subject says everything: when php runs under a multithreaded apache > pcntl_alarm() doesn't work: the alarm is never delivered. > > My version of php is 5.2.3, but also all versions I tried of 5.1 work > the same. http://us2.php.net/manual/en/ref

[PHP-DEV] Fix inconsistencies in OO calls

2007-07-30 Thread Etienne Kneuss
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 those inconsistencies by extending the language parser to support such syntax: http://patches.cold

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

2007-07-30 Thread Marcus Boerger
Hello Bruno, the documentation says array_diff() uses explicit string casting. Maybe it is time to fix this to object comparision. But then what about mixed arrays? In my opinion it was broken before and you just got lucky with using a debug feature without even knowing. Now the current PHP vers

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

2007-07-30 Thread Bruno Lustosa
On 7/30/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: > Hello Pavel, > > I still fail to understand why spl_object_hash() does not work for you. Hello. Just as a side note, this broke a few things for me. For example, in an application, I have 2 arrays of objects, and I try to call array_diff()

Re: [PHP-DEV] Question on namespaces

2007-07-30 Thread Marcus Boerger
Hello Stanislav, I use a broad variety of languages. And the older ones like C++ and Java are pretty distinctive. Namespaces have a dedicated range or space declared by curly braces and can contain other namespaces. Whileas Java packages are file wide. And actually that is much easier and quite

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

2007-07-30 Thread Marcus Boerger
Hello Richard, erm, php run-tests.php -h or --help was to hard? Friday, July 27, 2007, 5:56:10 AM, you wrote: > On Wed, July 25, 2007 12:38 pm, Andrey Hristov wrote: >> Hi Tony, >> Antony Dovgal wrote: >>> On 25.07.2007 19:37, Nuno Lopes wrote: So here it is my first attempt: http:/

Re: [PHP-DEV] Log4P Project Class Names

2007-07-30 Thread Will Fitch
Thanks, Marcus. I finally found this documentation on PECL by using Google site:pecl.php.net. I appreciate the insight. On 7/30/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: > > Hello Will, > > > our CODING_STANDARDS says: Classes should be given descriptive > names...Each word should start

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

2007-07-30 Thread Marcus Boerger
Hello Pavel, I still fail to understand why spl_object_hash() does not work for you. How about: function foo($obj) { if (is_object($obj)) { return "object(" . get_class($obj) . ")#" . spl_object_hash($obj); } return NULL; } marcus Sunday, July 1, 2007, 9:18:19 PM, you wrote: >> Aga

Re: [PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-30 Thread David Duong
Stanislav Malyshev wrote: I think the only serious advantage I could see would be to allow context-assistance IDEs more data, so they could provide method-completion. PHPDoc does that with @return tag. True but there will be times when the documentation is wrong[1] or when the function retur

Re: [PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-30 Thread David Duong
Stanislav Malyshev wrote: It would give you similar benefits to input type hinting, but instead of "Functions are now able to force parameters to be objects...", it would also read "Calling functions are now able to expect return types to be objects...". If a function was defined to return obje

[PHP-DEV] CVS Account Request: t2man

2007-07-30 Thread Tzachi Tager
I'm working with Zend Engine code, and i wish to improve the PHP and Zend Engine for better use. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2007-07-30 Thread Nico Sabbi
Hi, $subject says everything: when php runs under a multithreaded apache pcntl_alarm() doesn't work: the alarm is never delivered. My version of php is 5.2.3, but also all versions I tried of 5.1 work the same. Nico -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vi

[PHP-DEV] PHP 6 Bug Summary Report

2007-07-30 Thread internals
PHP 6 Bug Database summary - http://bugs.php.net Num Status Summary (51 total including feature requests) ===[*General Issues]== 26771 Suspended register_tick_funtions crash under threaded webservers 27372 Verified parse error loadin

[PHP-DEV] CVS Account Request: streety

2007-07-30 Thread Jonathan Street
I'm working with Hiroki Akimoto to maintain the recently approved PEAR package Services_Compete. We would like to begin developing/maintaining it within the CVS repository. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP 4 Bug Summary Report

2007-07-30 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (619 total including feature requests) ===[*Programming Data Structures]= 40496 Assigned Test bug35239.phpt still fails (works in PHP 5) =

[PHP-DEV] CVS Account Request: akky

2007-07-30 Thread AKIMOTO, Hiroki
I want my newly approved PEAR package Services_Compete to be hosted on cvs.php.net, for future maintenance and update. http://pear.php.net/package/Services_Compete/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] POSIX regex [PATCH]

2007-07-30 Thread Richard Lynch
On Mon, July 16, 2007 7:47 am, Jani Taskinen wrote: > Now only places using the POSIX regex functions (ext/ereg/ excluded) > are > ext/standard/browscap.c and ext/pgsql/pgsql.c. For your review, my first patch (!) along with a php test case, of course, in a URL/directory structure that should be f