[PHP-DEV] [RFC] Convert numeric keys in object/array casts

2016-10-21 Thread Andrea Faulds
Hi everyone, To try and fix a longstanding issue, and to actually bring some attention to the fix, I've created a new RFC, which can be found here: https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts It targets PHP 7.2, which is maybe a little conservative. It could target PH

[PHP-DEV] Request for voting privilegies

2016-10-21 Thread Leo Cavalcante
Hi, I'd to contribute requesting voting privilegies, I'm Leo, a full-stack developer for Multi/Leadsolution, a marketing and advertising company based on Sao Paulo, Brazil. After more than 8 years working with PHP, from simple websites to complex systems, one of them is online from about 4 years

Re: [PHP-DEV] [RFC] Driver-Specific PDO Param Types

2016-10-21 Thread Adam Baratz
On Wed, Oct 19, 2016 at 12:25 PM, Lester Caine wrote: > On 18/10/16 23:05, Adam Baratz wrote: > > Please share your feedback. I'm happy to hear thoughts about the > pdo_dblib > > example, but the RFC is more about the possibility of driver-specific > types > > than these particular ones. > > The

Re: [PHP-DEV] Intention to move mcrypt to PECL

2016-10-21 Thread Daniel Morris
On Thu, 6 Oct 2016, at 11:41 AM, Lester Caine wrote: > It is already an established component in PHP and while it's use has > been discouraged for a long time, simply switching it off will break a > lot of legacy applications. How many applications that are not following standard security guidelin

[PHP-DEV] ديدم که جانم ميرود ... يک رفاقت واقعي !

2016-10-21 Thread Neda Ghorbani
دوران دفاع مقدس گنجينه‌ تمامي ناپذيري است که هرچه بيشتر به اعماق آن مي‌رويم با ابعاد تازه‌تر و جذاب‌تري از آن روبرو مي‌شويم. يکي از اين ابعاد جذاب و کمتر ديده شده، رفاقت بين رزمندگان بوده است. رفاقتي که گاه آدم‌ها را از برادر خوني بهم نزديک‌تر مي‌کرده است و آن‌قدر ريشه‌دار و عميق مي‌شده که تبديل

[PHP-DEV] [RFC] [VOTE] Counting of non-countable objects

2016-10-21 Thread Craig Duncan
Hi everyone, The RFC for adding a warning when counting things that can't be counted is now in the voting phase. Voting will be open for 2 weeks and will close at 0:00 UTC on Friday 4th November. https://wiki.php.net/rfc/counting_non_countables Thanks, Craig

[PHP-DEV] GOOD Benchmark Results for PHP Master 2016-10-21

2016-10-21 Thread lp_benchmark_robot
Results for project PHP master, build date 2016-10-21 06:25:39+03:00 commit: 6c867cb previous commit:03cd0f6 revision date: 2016-10-20 17:39:00-04: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] header() removes all header of the same name.

2016-10-21 Thread Yasuo Ohgaki
Hi Stephen, On Fri, Oct 21, 2016 at 5:23 PM, Stephen Reay wrote: >> On 21 Oct 2016, at 13:32, Yasuo Ohgaki wrote: >> >> Hi Stephen, >> >> On Fri, Oct 21, 2016 at 1:38 PM, Stephen Reay >> wrote: >>> Is it normal to alter (or support multiple) function signatures like this, >>> when you want to

Re: [PHP-DEV] header() removes all header of the same name.

2016-10-21 Thread Lester Caine
On 21/10/16 05:38, Stephen Reay wrote: > Is it normal to alter (or support multiple) function signatures like this, > when you want to improve the name *and* improve the signature? Wouldn’t you > just leave setcookie() as-is, introduce the new cookie_* functions, and then > deprecate set cookie

Re: [PHP-DEV] header() removes all header of the same name.

2016-10-21 Thread Stephen Reay
> On 21 Oct 2016, at 13:32, Yasuo Ohgaki wrote: > > Hi Stephen, > > On Fri, Oct 21, 2016 at 1:38 PM, Stephen Reay > wrote: >> Is it normal to alter (or support multiple) function signatures like this, >> when you want to improve the name *and* improve the signature? Wouldn’t you >> just lea

Re: [PHP-DEV] Re: [RFC][DISCUSSION] Improve uniqid() uniqueness

2016-10-21 Thread Yasuo Ohgaki
Hi Pierre, On Thu, Oct 20, 2016 at 7:12 PM, Pierre Joye wrote: >> Application requires unique ID under across multi process/thread >> tasks, it will have more chance to have collided unique ID. > > uniqid fill(s|ed) some needs or maybe still fits for some. > > However for modern application with