Re: [PHP-DEV] [RFC] Iterable

2016-06-18 Thread Dan Ackroyd
Hi Aaron, > does anyone have any further feedback on this proposal? What is the performance impact of the RFC on the standard performance benchmarks? And can you comment on the performance of using iterable as a type for parameters/return types, compared to normal classes? cheers Dan -- PHP I

Re: [PHP-DEV] New escaped output operator

2016-06-18 Thread Rasmus Schultz
> Add a couple parens and its completely implementable in userland If we could autoload functions, I bet that's what everyone would be doing. At the moment, no one is able to commit to that pattern, because it doesn't scale - you can't just keep adding to a list of global functions (and files) th

Re: [PHP-DEV] [RFC] Iterable

2016-06-18 Thread Aaron Piotrowski
Hi all, I plan on bringing the iterable RFC (https://wiki.php.net/rfc/iterable) to a vote in about a week, does anyone have any further feedback on this proposal? Thanks! Aaron Piotrowski -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New escaped output operator

2016-06-18 Thread Eli
On 6/18/16 12:56 AM, Yasuo Ohgaki wrote: > We may be better to consider " htmlspecialchars($str)" rather than " would be for PHP 8. No, that would be highly inadvisable. As it's been pointed out, people use PHP templating for things besides just HTML. And if you made this change, then http://el

Re: [PHP-DEV] Throwing an Error for require expressions in PHP7.x

2016-06-18 Thread Niklas Keller
Christoph Becker schrieb am Sa., 18. Juni 2016, 12:34: > On 17.06.2016 at 19:58, Rowan Collins wrote: > > > On 17/06/2016 17:47, Christoph Becker wrote: > >> If something is required, one cannot do without it, so there's only one > >> course of action, namely to bail out. In my opinion, this is

Re: [PHP-DEV] Throwing an Error for require expressions in PHP7.x

2016-06-18 Thread Christoph Becker
On 17.06.2016 at 19:58, Rowan Collins wrote: > On 17/06/2016 17:47, Christoph Becker wrote: >> If something is required, one cannot do without it, so there's only one >> course of action, namely to bail out. In my opinion, this is the least >> surprising way to handle missing required files, espe

Re: [PHP-DEV] New escaped output operator

2016-06-18 Thread Dan Ackroyd
On 17 June 2016 at 23:28, Thomas Bley wrote: > I wrote: no we have a php.ini setting While I can't speak for everyone, my belief is that any proposal that depends on adding new php.ini settings (that people will need to set per appliation,) is going to be overwhelmingly rejected. We've mostly le