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
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
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
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
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
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
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
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
,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