[PHP-DEV] Strange integer overflows

2007-10-11 Thread Maurice
ws XP Pro (32-bit) both PHP5 and PHP4 are working correctly. Try running the following snippet with PHP4 and PHP5 on your (32-bit) system. For me it looks like a damn bug... is it a bug? Or a "feature"? Bye, Maurice -- PHP Internals - PHP Runtime Development Mailing List To u

Re: [PHP-DEV] Tree sort in C

2007-05-10 Thread Maurice Makaay
nsion 0.0704438686371 / 1042796 multisort 0.370564937592 / 6567656 With kind regards, Maurice Makaay Phorum.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Tree sort in C

2007-05-09 Thread Maurice Makaay
ing and little memory use. Regards, Maurice Makaay Phorum.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Tree sort in C

2007-05-09 Thread Maurice Makaay
/ 3196832 As you can see, the extension is faster and lighter on memory. At a really large number of nodes, the extension becomes slower, but the memory stays low. It's the memory that bothers my servers the most, not the execution time. With kind regards, Maurice Makaay Phorum.org -

Re: [PHP-DEV] Tree sort in C

2007-05-09 Thread Maurice Makaay
ssue with tree sorting ;-) You cannot apply simple linear sorting to find out in what order the nodes in a tree appear. I hope my example cleared up some of the confusion. With kind regards, Maurice Makaay Phorum.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Moving Socket extension to PECL

2007-02-10 Thread Maurice
http://www.php.net/~wez/guru-multiplexing.tgz (and don't forget STREAM_CLIENT_CONNECT in stream_client_connect ;-) Maurice. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Moving Socket extension to PECL

2007-02-10 Thread Maurice
igned, but no action has been taken yet: http://bugs.php.net/bug.php?id=39396 I see, it's not a "major" bug, but it crashes PHP and might (_might_) be used to inject code (haven't checked that). Maurice. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) / run-tests.php

2007-02-09 Thread Maurice
in the forum on a specific topic. Bug-/Feature-tracking systems are also a very nice idea, but they're often oversized and not very intuitive to use, especially for newbies and those who just want to contribute a patch (depends on the system, of course). Maurice. Is there a PHP/Zend

[PHP-DEV] Moving Socket extension to PECL

2007-02-08 Thread Maurice
hould rather move the stream_socket functionality to the Socket extension (and maybe add a function like stream_create_from_socket()) then moving the Socket extension to PECL. Anyway, the Stream-SSL part has to be fixed _before_ moving the socket extension to PECL. Maurice. -- PHP Internals - PHP