Re: [PHP-DEV] SHA3 is very slow

2017-04-05 Thread Yasuo Ohgaki
Hi Christian, On Thu, Apr 6, 2017 at 12:45 AM, Christian Schneider wrote: > > I created a pull request at https://github.com/php/php-src/pull/2453 for > a version using the KeccakCodePackage version from > https://github.com/gvanas/KeccakCodePackage which yields ~30 times faster > results for a

[PHP-DEV] NEUTRAL Benchmark Results for PHP Master 2017-04-04

2017-04-05 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-04-04 20:29:06-07:00 commit: 3c750d9 previous commit:936e341 revision date: 2017-04-04 16:33:20+02:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] [RFC][Discuss] Arrow Functions

2017-04-05 Thread Levi Morrison
> Any plans to go with this for 7.2? I have been working on this RFC a bit in the last two weeks and intend to start voting within the next week. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] current status of php + Openssl 1.1 builds?

2017-04-05 Thread PGNet Dev
What's the current status of Openssl 1.1 builds? Several references https://externals.io/thread/661 http://git.php.net/?p=php-src.git;a=commitdiff;h=015a80ef7bb5d691745b6fba35060d996c788a53 https://bugs.php.net/bug.php?id=72360 suggest that it should be 'in' head, at lea

Re: [PHP-DEV] [RFC][Discuss] Arrow Functions

2017-04-05 Thread Björn Larsson
Den 2017-03-24 kl. 21:08, skrev ilija.tov...@me.com: Hi Rowan I see. I still think a simple poll would be useful to choose the least controversial syntax. Otherwise I fear that the RFC might get rejected out of superficial reasons. Regards, Ilija On 7 Feb 2017, 21:07 +0100, Rowan Collins ,

Re: [PHP-DEV] SHA3 is very slow

2017-04-05 Thread Sara Golemon
On a similarly superficial scan, I have no issues with this. The only tiny thing which gives me pause is https://github.com/php/php-src/pull/2453/files#diff-0bb62bbdac4073ae183a857299826533R24 as I don't recall 100% if that redefinition will leak out to other parts of the runtime (my instinct says

Re: [PHP-DEV] SHA3 is very slow

2017-04-05 Thread Christian Schneider
Am 05.04.2017 um 04:31 schrieb Yasuo Ohgaki : > PHP's sha3 seems slower than it could be. I created a pull request at https://github.com/php/php-src/pull/2453 for a version using the KeccakCodePackage version from https://github.com/gvanas/KeccakCodePackage which yields ~30 times faster results

[PHP-DEV] [RFC] PDO Float Type

2017-04-05 Thread Adam Baratz
Hi, The PDO extension does not have a type to represent floating point values. The current recommended practice is to use PDO::PARAM_STR. I had poked at this topic in an earlier thread: https://externals.io/thread/551 There was some hesitation about how complicated this would be to implement. Af

[PHP-DEV] Throw an exception for possible file race condition

2017-04-05 Thread David Rodrigues
Currently we should uses the @-operator on mkdir(), for instance, to check a race condition. Something like: if (!@mkdir('test')) { throw new SomeException(); } Should be fine if we can do something like that, instead: try { mkdir('test'); } catch (FileExistsException $exception) { t

[PHP-DEV] Discussion about zip extension and bundled libzip

2017-04-05 Thread Remi Collet
Hi, Reminder: * PHP 5.5 have zip extension 1.11.x and bundles libzip version 0.10 * PHP 5.6 have zip extension 1.12.x and bundles libzip version 0.11 * PHP 7.x have zip extension 1.13.x and bundles libzip version 1.1.2 * PHP master have zip extension 1.14.x We also maintain the pecl extension, m