Re: [PHP-DEV] Re: Too many extensions bundled with the Windows Installer?

2007-07-02 Thread Antony Dovgal
On 03.07.2007 00:50, John Mertic wrote: If an author would like his extension in the Windows installer then they could just ask, would prevent unmaintained and unstable extensions included in the build. But we are shipping them currently in the zip build ( all I'm doing is repackaging php-5.2.x

[PHP-DEV] Re: Too many extensions bundled with the Windows Installer?

2007-07-02 Thread John Mertic
On 7/2/07, Scott MacVicar <[EMAIL PROTECTED]> wrote: Removing non stable PECL extensions would be a good step. I had a quick glance through what is currently there and as far as I can see there is only a handful of extensions I'd include: * APC * big_int * htscanner * Imagick * memcache * pecl_ht

[PHP-DEV] SimpleXML emptiness

2007-07-02 Thread Sara Golemon
Currently, an empty check like the following returns false because SimpleXML only checks for node existence in has_property. I'd like to propose the attached patch to change this to look at the node's children and apply PHP's emptiness rules to the content. $data = ' 0 foo '; $s

Re: [PHP-DEV] Building on Windows

2007-07-02 Thread Zoe Slattery
Hi Richard - finally done this, see here: http://www-03.ibm.com/developerworks/blogs/page/phpblog Please comment on the blog if you have suggestions for improvement . Thanks Zoe Richard Quadling wrote: I would be REALLY grateful if you could do the whole process with no assumed knowledge abo

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

2007-07-02 Thread Antony Dovgal
On 02.07.2007 22:16, David wrote: (Many apologies for the double e-mail. Ugh, I'm not used to hitting Reply To All yet) > I really don't want to be annoying but from the end user's POV > spl_object_hash sounds like a function which returns a hash but not an > identity. Any tiny chance it will

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

2007-07-02 Thread Pavel Shevaev
Hmm. I think what Pavel is asking is just to make it clearer in the documentation what spl_object_hash's purpose and workings are, and perhaps make an alias to it named object_get_id so other people don't run into this confusion in the future. The name of spl_object_hash and the fact it is in the

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

2007-07-02 Thread David
(Many apologies for the double e-mail. Ugh, I'm not used to hitting Reply To All yet) > > I really don't want to be annoying but from the end user's POV > > spl_object_hash sounds like a function which returns a hash but not > an > > identity. Any tiny chance it will be available as object_get_id

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

2007-07-02 Thread Stanislav Malyshev
We could add a counter that gets incremented for each object that is created and associate that number with the object. Wouldn't that solve the problem (if there is one)? It would solve it, but it would require modifying each extension dealing with objects in order to register all objects in

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

2007-07-02 Thread Sebastian Bergmann
Stanislav Malyshev schrieb: > It does give the hash, which is unique for each object. In which form > would you expect object_get_id to return object's identity? PHP doesn't > have a type of "tuple of C pointer and long integer" ;) We could add a counter that gets incremented for each object that

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

2007-07-02 Thread Stanislav Malyshev
I really don't want to be annoying but from the end user's POV spl_object_hash sounds like a function which returns a hash but not an identity. Any tiny chance it will be available as object_get_id in PHP6? ;) It does give the hash, which is unique for each object. In which form would you expec

[PHP-DEV] PHP 6 Bug Summary Report

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

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

2007-07-02 Thread Pavel Shevaev
Guys thank you all very much for this detailed explanation! spl_object_hash is unique in the terms of object identity. I really don't want to be annoying but from the end user's POV spl_object_hash sounds like a function which returns a hash but not an identity. Any tiny chance it will be ava

[PHP-DEV] PHP 4 Bug Summary Report

2007-07-02 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (640 total including feature requests) ===[*Directory/Filesystem functions] 40661 Open cwd is reset when shutdown handler runs ===

Re: [PHP-DEV] Too many extensions bundled with the Windows Installer?

2007-07-02 Thread Jani Taskinen
On Mon, 2007-07-02 at 12:18 +0400, Antony Dovgal wrote: > Windows people are no better/worse than the others and are able to download a > PECL package. And those who just install everything that's included in the release won't get into unexpected trouble. :) --Jani -- PHP Internals - PHP Runti

Re: [PHP-DEV] Too many extensions bundled with the Windows Installer?

2007-07-02 Thread Antony Dovgal
On 02.07.2007 01:56, Scott MacVicar wrote: The Windows Installer seems to allow someone to enable just about every extension that can be built, roughly about 118. It seems that most people assume that they need every feature of PHP to work, especially thsoe in Windows. Out of those 118 extens

Re: [PHP-DEV] php curl extension

2007-07-02 Thread Antony Dovgal
On 30.06.2007 09:54, Andrey A. Belashkov wrote: Hello! Can you add please CURLOPT_PRIVATE and CURLINFO_PRIVATE text parameters to curl extension for php like CURLOPT_URL ? In which cURL version were they introduced? Diff file for ext/curl/interface.c:

Re: [PHP-DEV] Too many extensions bundled with the Windows Installer?

2007-07-02 Thread Frode E. Moe
On Sun, Jul 01, 2007 at 22:56:57 +0100, Scott MacVicar wrote: > The Windows Installer seems to allow someone to enable just about every > extension that can be built, roughly about 118. It seems that most people > assume that they need every feature of PHP to work, especially thsoe in > Windows.