Re: [PHP-DEV] Re: TOKEN_AS_OBJECT for token_get_all()

2017-03-23 Thread Sebastian Bergmann
Am 24.03.2017 um 00:33 schrieb Sara Golemon: > If I may bikeshed a TINY bit, I'd ask that all tokens return as > objects, rather than char|PhpToken similar to the current char|array > format we have. Yes, please. That would basically/probably/hopefully make php-token-stream superfluous. -- PHP I

[PHP-DEV] BAD Benchmark Results for PHP Master 2017-03-22

2017-03-23 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-03-22 20:29:26-07:00 commit: 0d834c6 previous commit:3b28a9d revision date: 2017-03-22 22:38:07+01: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] Re: TOKEN_AS_OBJECT for token_get_all()

2017-03-23 Thread Nikita Popov
On Fri, Mar 24, 2017 at 12:33 AM, Sara Golemon wrote: > On Thu, 23 Mar 2017 18:16:31 +0100, Nikita Popov > > I'd like to add a new TOKEN_AS_OBJECT flag to token_get_all(), which > > returns an array of PhpToken objects, rather than the mix of plain > strings > > and arrays we currently have. The

Re: [PHP-DEV] Re: TOKEN_AS_OBJECT for token_get_all()

2017-03-23 Thread Sara Golemon
On Thu, 23 Mar 2017 18:16:31 +0100, Nikita Popov > I'd like to add a new TOKEN_AS_OBJECT flag to token_get_all(), which > returns an array of PhpToken objects, rather than the mix of plain strings > and arrays we currently have. The PhpToken class is defined as: > > class PhpToken { > public $

[PHP-DEV] Re: TOKEN_AS_OBJECT for token_get_all()

2017-03-23 Thread Jan Tvrdík
On Thu, 23 Mar 2017 18:16:31 +0100, Nikita Popov wrote: Hi internals, I'd like to add a new TOKEN_AS_OBJECT flag to token_get_all(), which returns an array of PhpToken objects, rather than the mix of plain strings and arrays we currently have. The PhpToken class is defined as: class PhpT

[PHP-DEV] Re: OpenSSL 1.1 test keys

2017-03-23 Thread Jakub Zelenka
Hi Anatol On Thu, Mar 23, 2017 at 2:19 AM, Anatol Belski wrote: > Hi Jakub, > > > > While working on the OpenSSL 1.1 integration, I’ve stumbled over this > issue with the sni server test ext/openssl/tests/sni_server.phpt which > fails with > > > > error:1416F086:SSL routines:tls_process_server_c

[PHP-DEV] TOKEN_AS_OBJECT for token_get_all()

2017-03-23 Thread Nikita Popov
Hi internals, I'd like to add a new TOKEN_AS_OBJECT flag to token_get_all(), which returns an array of PhpToken objects, rather than the mix of plain strings and arrays we currently have. The PhpToken class is defined as: class PhpToken { public $type; public $text; public $line; } T