Re: [PHP-DEV] Re: RFC - Array Of for PHP 7

2017-10-31 Thread Thomas Hruska
On 10/31/2017 3:35 AM, Tony Marston wrote: ""Michal Harezlak""  wrote in message news:caltzvrkflncw4+d-fu4cp2rmoscf77vzfz4f1cuvp3vymzk...@mail.gmail.com... Hallo, I would like to create a RFC for PHP 7, but the same RFC was created and declined 3 years ago for PHP 5.4. PHP 7 support much

Re: [PHP-DEV] RFC - Array Of for PHP 7

2017-10-31 Thread Levi Morrison
My thoughts on the RFC: - The syntax `typename[]` is a poor. Consider how nullability might bind `?int[]`. Is that `(?int)[]` or `?(int[])` ? Here are some variants that do not have this issue: [?int] and ?[int] array and ?array - Our current infrastructure requires us to check every

Re: [PHP-DEV] Re: RFC - Array Of for PHP 7

2017-10-31 Thread Kalle Sommer Nielsen
Hi Tony 2017-10-31 11:35 GMT+01:00 Tony Marston : > This strikes me as being nothing more than a micro-optimisation that does > nothing but pander to the laziness of certain programmers. Instead of having > to write a few lines of code to validate something they want the

Re: [PHP-DEV] [RFC] [VOTE] Implement missing SQLite feature "openBlob" in PDO

2017-10-31 Thread Adam Baratz
> > It's possible that daverandom was several hours west of Greenwich at the > time (e.g. in North America), where it was still late on October 27th. So > taking the latest of the three published closing dates, and applying the > most generous time zone, it's possible that all the votes were

[PHP-DEV] Re: RFC - Array Of for PHP 7

2017-10-31 Thread Tony Marston
""Michal Harezlak"" wrote in message news:caltzvrkflncw4+d-fu4cp2rmoscf77vzfz4f1cuvp3vymzk...@mail.gmail.com... Hallo, I would like to create a RFC for PHP 7, but the same RFC was created and declined 3 years ago for PHP 5.4. PHP 7 support much better type hinging so I think this RFC should

[PHP-DEV] RFC - Zend VM Pause API

2017-10-31 Thread Haitao Lv
Hi, internals, I propose to introduce a new zend vm pause api, and here is the RPF https://wiki.php.net/rfc/zend-vm-pause-api Please gave your comment. Thank you. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFC - Array Of for PHP 7

2017-10-31 Thread Andrea Faulds
Hi Levi, Levi Morrison wrote: My thoughts on the RFC: - The syntax `typename[]` is a poor. Consider how nullability might bind `?int[]`. Is that `(?int)[]` or `?(int[])` ? Here are some variants that do not have this issue: [?int] and ?[int] array and ?array Thank you for bringing