[PHP-DEV] Re: 5.1.2 Reminder

2005-12-13 Thread Ants Aasma
Hi, Any chance of anyone looking at and commiting #35510 before the RC? It's a really low risk patch adding minor functionality to ext/gmp. -- Ants -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: PHP 5.1.2 Release Plan

2005-12-01 Thread Ants Aasma
Ilia Alshanetsky wrote: First the release plan, my idea is to allow minor features with accompanying tests that do not introduce any BC issues or functionality regressions till the 10th of December. Bug #35510 add gmp_nextprime function to ext/gmp http://bugs.php.net/bug.php?id=35510 Pretty pl

Re: AW: AW: [PHP-DEV] PDM Meeting Notes

2005-11-23 Thread Ants Aasma
Christian Schneider wrote: abstract static protected function __construct(CrazySettings $s, CrazyView $v); Static doesn't really make sense as interfaces as object instance related. Well actually the constructor is implicitly a static function too. The whole allowing/disallowing constru

Re: [PHP-DEV] PHP 5.1.0 - sha256() and sha256_file() support

2005-11-18 Thread Ants Aasma
llision generation resistance is a bit unnerving. Fortunately the attacks are still too expensive to be useful, but I'm currently lobbying to have better hashes implemented. It would be nice to have the default PHP install be able to atleast verifiy digitally signed files. Ants Aasma -- P

[PHP-DEV] Re: a performance question

2005-11-17 Thread Ants Aasma
I'd say if anybody should know this for certain, it's somebody who bothers to benchmark it: $ time php -r '$s="abc";for($i=0;$i<1000;++$i);' real0m1.966s user0m1.634s sys 0m0.072s $ time php -r '$s="abc";for($i=0;$i<1000;++$i) $s=="abc";' real0m3.974s user0m3.779s

Re: [PHP-DEV] foreach with null

2005-10-25 Thread Ants Aasma
Antony Dovgal wrote: On 25.10.2005 19:39, Ants Aasma wrote: It currently is equal: $ php -r 'var_dump(null == array()); var_dump((array) null);' bool(true) array(0) { } No, there aren't equal. Use === and you'll see the difference. At least the manual says that the

Re: [PHP-DEV] foreach with null

2005-10-25 Thread Ants Aasma
It currently is equal: $ php -r 'var_dump(null == array()); var_dump((array) null);' bool(true) array(0) { } Ants Jani Taskinen wrote: Will the patch make it silently ignore also empty string and 0? If not, -1. (what's with null being suddenly equal to empty array? :) --Jani On Tue

Re: [PHP-DEV] Re: PHP 6.0 Wishlist

2005-08-15 Thread Ants Aasma
ld be fast and incorrect usage work. And the case-insensitive fallback could be removed in PHP7 :) --- Ants Aasma -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: date/timezone classes

2005-07-11 Thread Ants Aasma
,seconds format. (actually, as this year demonstrates, even minutes aren't all equal) Otherwise great work. Looking forward to a well rounded and intuitive date support in PHP. Ants Aasma -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php