Re: [PHP-DEV] Re: Merging new hash algorithm (crc32c) into PHP 7.3 and maybe 7.2?

2019-03-11 Thread Andrew Brampton
Ok thanks everyone. Merging into master it is. Thanks Andrew On Mon, 11 Mar 2019, 12:33 am Sebastian Bergmann, wrote: > Am 10.03.2019 um 21:12 schrieb Gabriel Caruso: > > As both PHP 7.2 and 7.3 has been out for a while, -1 on this one. > > Same here; no new functionality should be added to alr

[PHP-DEV] Re: Merging new hash algorithm (crc32c) into PHP 7.3 and maybe 7.2?

2019-03-10 Thread Andrew Brampton
Hey PHP Team, bump. Would I be able to get this small, and self contained change included into 7.3 and/or 7.4? thanks Andrew On Tue, 5 Mar 2019 at 08:01, Andrew Brampton wrote: > Hi, > > I've recently sent a pull request > <https://github.com/php/php-src/pull/3913>

[PHP-DEV] Merging new hash algorithm (crc32c) into PHP 7.3 and maybe 7.2?

2019-03-05 Thread Andrew Brampton
Hi, I've recently sent a pull request , to add a new hashing algorithm, specific crc32c (Castagnoli's polynomial). This variant of crc32 is heavily used by storage systems, such as iSCSI, SCTP, Btrfs, ext4, and

Re: [PHP-DEV] RFC: mark functions as const for possible optimizations

2007-09-17 Thread Andrew Brampton
From: "Nuno Lopes" <[EMAIL PROTECTED]> To: "PHPdev" Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> My proposal is the following: some functions when fed with constant arguments always return a constant value, too. e.g.: strlen('abcd') === 4. This means that an optimizer ca

Re: [PHP-DEV] While-else

2007-05-03 Thread Andrew Brampton
- Original Message - On Sat, April 28, 2007 1:03 pm, Pelle Ravn Rosfeldt wrote: Is it possible to make a "while" with a "else"-statement in PHP6? I know that it's not the first time this subject is up, but my research shows that a lot of people miss it. Including me. Here's an example o

[PHP-DEV] British Patch

2007-04-01 Thread Andrew Brampton
To all the subjects of her majesty, Continuing the fight against modern American imperialism and advancing British interests in the global community, we strive to naturalise the PHP language. To achieve this goal we offer this first patch of many, which brings it closer to British standards by re