Re: [PHP-DEV] Re: HTTP/2 and Websocket support in 7.x versions

2015-04-02 Thread Grégory Planchat
int, there could be a way to implement a SAPI without TSRM (or a limited set)? Grégory Planchat -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] HTTP/2 and Websocket support in 7.x versions

2015-03-31 Thread Grégory Planchat
Le 31/03/2015 23:45, Larry Garfield a écrit : On 3/31/15 8:31 AM, Grégory Planchat wrote: Hi, I've been reading about PHP7 RFC ans I did not see anything about HTTP/2 support in any threads on internals nor the wiki. I'm aware that HTTP is the responsibility of the underlying web s

[PHP-DEV] Re: HTTP/2 and Websocket support in 7.x versions

2015-03-31 Thread Grégory Planchat
Le 31/03/2015 16:40, Daniel Lowrey a écrit : The issue here is this: the web SAPI is historically the most stable thing about PHP. Supporting things like message push and multiplexing would require a fundamental change in what the web SAPI is. You would have to junk the entire model and create so

[PHP-DEV] Re: HTTP/2 and Websocket support in 7.x versions

2015-03-31 Thread Grégory Planchat
Le 31/03/2015 15:56, Daniel Lowrey a écrit : HTTP/2 is entirely outside the scope of the PHP web SAPI as it currently exists. The protocol impacts the actual HTTP server and has nothing to do with the SAPI runtime which is simply handed information about the HTTP request once the server parses it

[PHP-DEV] HTTP/2 and Websocket support in 7.x versions

2015-03-31 Thread Grégory Planchat
n tell about official statements is that they are planning to migrate, if it isn't already done. Grégory Planchat [1] https://http2.github.io/faq/#what-are-the-key-differences-to-http1x [2] http://nginx.com/blog/how-nginx-plans-to-support-http2/ [3] https://icing.github.io/mod_h2/ [4] http:

Re: [PHP-DEV] Feature request and RFC

2015-03-08 Thread Grégory Planchat
Le 08/03/2015 19:05, Rowan Collins a écrit : On 08/03/2015 15:45, Grégory Planchat wrote: class BarSortable implements Sorter { public function sort(Sortable $collection) { $previousKey = null; $previousElement = null; foreach ($collection as $key => $elem

Re: [PHP-DEV] Consistent function names

2015-03-08 Thread Grégory Planchat
have no fixed opinions about that and it is not the main subject anyway. The main question is about an uniform API for strings, do you feel it is important/useful or not? Grégory Planchat -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Feature request and RFC

2015-03-08 Thread Grégory Planchat
Le 08/03/2015 15:19, Rowan Collins a écrit : On 08/03/2015 10:51, Grégory Planchat wrote: Le 24/02/2015 20:20, Thomas Gielfeldt a écrit : 2015-02-24 17:36 GMT+01:00 Benjamin Eberlei : Hi, On Tue, Feb 24, 2015 at 5:17 PM, Thomas Gielfeldt wrote: Hi internals. I've made PR propos

Re: [PHP-DEV] Consistent function names

2015-03-08 Thread Grégory Planchat
Le 08/03/2015 12:17, Lester Caine a écrit : On 08/03/15 10:03, Grégory Planchat wrote: Then using multiple encodings in a same script or using a same script for multiple encodings becomes straightforward and standard. Most PHP developers doesn't even know what is Unicode or a character enc

Re: [PHP-DEV] Feature request and RFC

2015-03-08 Thread Grégory Planchat
Le 24/02/2015 20:20, Thomas Gielfeldt a écrit : 2015-02-24 17:36 GMT+01:00 Benjamin Eberlei : Hi, On Tue, Feb 24, 2015 at 5:17 PM, Thomas Gielfeldt wrote: Hi internals. I've made PR proposing a feature request: A new interface Sortable. https://github.com/php/php-src/pull/1116 If possibl

Re: [PHP-DEV] Consistent function names

2015-03-08 Thread Grégory Planchat
Hi Yasuo, Le 08/03/2015 00:44, Yasuo Ohgaki a écrit : Hi Gregory, On Sun, Mar 8, 2015 at 2:12 AM, Grégory Planchat wrote: Le 07/03/2015 02:39, Yasuo Ohgaki a écrit : We may provide new names and new parameter order in new namespace. The difference is "alias" or "namespac

Re: [PHP-DEV] Consistent function names

2015-03-07 Thread Grégory Planchat
future release (let's say PHP 8, 9 or 10+) to deprecate and even remove the old API * Build easily encoding-aware strings (binary, ASCII, UTF-8, UTF-16BE, UTF-16BE, UTF-32, JIS, Big5, ect...) Thanks for reading. Grégory Planchat -- PHP Internals - PHP Runtime Development Mailing List T

Re: [PHP-DEV] Consistent function names

2015-03-05 Thread Grégory Planchat
ead, Nikita Popov did an extenstion bringing this sort of functionalities (https://github.com/nikic/scalar_objects). There is also the PECL extension for Spl types (http://php.net/manual/en/book.spl-types.php) that could be integrated to the core and used as a base. Finally, this could reo

[PHP-DEV] Re: [VOTE] Scalar Type Hints

2015-02-14 Thread Grégory Planchat
the RFC does not pass) Grégory Planchat -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php