Re: [PHP-DEV] Deprecate array()

2015-03-03 Thread Mike Willbanks
On Tue, Mar 3, 2015 at 11:10 AM, Adrian Parker 
i.am.hidden.somewh...@gmail.com wrote:

 Seeing it makes me vomit, IMHO.


Seeing $var = [] makes me vomit, IMHO.



 This is just a proposal, I know next to nothing about core PHP development.


On a serious note, this would never happen.  The short-array syntax was
just recently added.  It is also much like ?=$var;? vs. ?php echo $var;
? in several ways but echo wouldn't be deprecated.



 Regards, Adrian



Re: [PHP-DEV] Deprecate array()

2015-03-03 Thread Andrey Hristov

On  3.03.2015 19:10, Adrian Parker wrote:

Seeing it makes me vomit, IMHO.


Great introduction!



This is just a proposal, I know next to nothing about core PHP development.


https://www.simonholywell.com/post/2010/09/15-excellent-resources-for-php-extension-development.html 



Enjoy!


Regards, Adrian



Best,
Andrey

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Deprecate array()

2015-03-03 Thread Michael Schuett
Removing array() is purely a stylistic preference and offers no benefit. It
does however offer lots of work for people bringing libraries up to date as
well as polluting logs. I see no reason to discuss this further unless
someone has something concrete.

Thanks,

On Tue, Mar 3, 2015 at 12:27 PM, Andrey Hristov p...@hristov.com wrote:

 On  3.03.2015 19:10, Adrian Parker wrote:

 Seeing it makes me vomit, IMHO.


 Great introduction!


 This is just a proposal, I know next to nothing about core PHP
 development.


 https://www.simonholywell.com/post/2010/09/15-excellent-
 resources-for-php-extension-development.html

 Enjoy!

  Regards, Adrian


 Best,
 Andrey

 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php