[PHP-DEV] GOOD Benchmark Results for PHP Master 2017-04-25

2017-04-25 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-04-25 13:49:39-07:00 commit: eb68c0d previous commit:347b880 revision date: 2017-04-24 22:14:30+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] Enable strict_types checking for curl_setopt()

2017-04-25 Thread Andrea Faulds
Hi Michał, Michał Brzuchalski wrote: IMHO argument types are valueable when are reflective by reflection and curl_setopt has no valuable info by reflection and will never be. Neither do the vast majority of internal functions with parameter type checking. -- Andrea Faulds https://ajf.me/ -

Re: [PHP-DEV] [RFC] Enable strict_types checking for curl_setopt()

2017-04-25 Thread Fleshgrinder
On 4/25/2017 5:56 PM, Sara Golemon wrote: > On Mon, Apr 24, 2017 at 9:00 PM, Michał Brzuchalski > wrote: >> I agree with Stanislav. IMHO argument types are valueable when are >> reflective by reflection and curl_setopt has no valuable info by reflection >> and will never be. Curl implementation al

Re: [PHP-DEV] On malformed transport strings

2017-04-25 Thread Sara Golemon
On Tue, Apr 25, 2017 at 5:15 AM, Anatol Belski wrote: > I've applied the patch you've suggested in bug #74429, so it's going to be > included in RCs. Given the initial security issue is not impacted, BC can be > kept. > I thought about the security implications of that quick fix and while it doe

Re: [PHP-DEV] [RFC] Enable strict_types checking for curl_setopt()

2017-04-25 Thread Rowan Collins
On 25 April 2017 16:56:57 BST, Sara Golemon wrote: >> Maybe it's time to refactor and provide objects with option setters >> with argument types? >> >I do agree there. I've got a WiP "cURLi" extention in my homedir that >I've been poking at since ZendCon 2016. I suppose if we don't put >type che

Re: [PHP-DEV] [RFC] Enable strict_types checking for curl_setopt()

2017-04-25 Thread Sara Golemon
On Mon, Apr 24, 2017 at 9:00 PM, Michał Brzuchalski wrote: > I agree with Stanislav. IMHO argument types are valueable when are > reflective by reflection and curl_setopt has no valuable info by reflection > and will never be. Curl implementation also uses resources cURL handle is > used. > Litera

[PHP-DEV] Introduction and first (codebase related - FZPP - but wiki unrelated) question

2017-04-25 Thread Martin "eto" Misuth
Username: eto Hello, after lot of pondering, I finally decided to register to mailing list & wiki. Reading wiki registration page, I am supposed to announce my registration here. I registered mainly for (possible) RFC proposals (none prepared yet) and to ask some questions about php codebase - u

RE: [PHP-DEV] On malformed transport strings

2017-04-25 Thread Anatol Belski
Hi Sara, > -Original Message- > From: Anatol Belski [mailto:weltl...@outlook.de] On Behalf Of Anatol Belski > Sent: Saturday, April 22, 2017 12:41 PM > To: Sara Golemon ; PHP internals > Subject: RE: [PHP-DEV] On malformed transport strings > > > > > I'm inclined to revert to prior "igno

Re: [PHP-DEV] [RFC][VOTE] Improve hash_hkdf() parameter

2017-04-25 Thread Andrey Andreev
Hi, On Tue, Apr 25, 2017 at 3:28 AM, Yasuo Ohgaki wrote: >> >> If you want examples, search GitHub for PHP code utilizing HKDF - you >> will see that most projects use it without a salt, including >> https://github.com/defuse/php-encryption - pretty much the best PHP >> userspace crypto library t

Re: [PHP-DEV] [RFC] PDO Float Type

2017-04-25 Thread Matteo Beccati
Hi Adam, On 24/04/2017 19:46, Adam Baratz wrote: > I think we're talking about different things. I'm talking about binding > parameters. It seems like you're talking about fetching column data. You > are correct that fixed-precision values are typically fetched as > strings. One thing to note is t