Re: [PHP-DEV] generating code from AST

2017-03-06 Thread Sebastian Bergmann
Am 07.03.2017 um 07:01 schrieb David Walker: > When/if there are changes to AST, having a tool like these in core would > require them to be updated at the same time. Exactly. > Would this concept also want to extend to a VLD-esque extension as well for > the same reasons? I'd be receptive for

Re: [PHP-DEV] generating code from AST

2017-03-06 Thread David Walker
On Mon, Mar 6, 2017 at 22:55 Sebastian Bergmann wrote: > Am 06.03.2017 um 22:40 schrieb Sara Golemon: > > https://github.com/sgolemon/astkit > > There's also https://github.com/nikic/php-ast. > > But wouldn't it be great if PHP 7.2 shipped with a built-in, > enabled-by-default

Re: [PHP-DEV] generating code from AST

2017-03-06 Thread Sebastian Bergmann
Am 06.03.2017 um 22:40 schrieb Sara Golemon: > https://github.com/sgolemon/astkit There's also https://github.com/nikic/php-ast. But wouldn't it be great if PHP 7.2 shipped with a built-in, enabled-by-default extension for AST operations? -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] UGLY Benchmark Results for PHP Master 2017-03-05

2017-03-06 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-03-05 20:29:15-08:00 commit: c698299 previous commit:927d2d3 revision date: 2017-03-04 10:39:13+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] generating code from AST

2017-03-06 Thread Sara Golemon
On Mon, Mar 6, 2017 at 3:40 PM, Sara Golemon wrote: > On Mon, Mar 6, 2017 at 3:37 PM, Adam Baratz wrote: >> I'm exploring how to automate some basic kinds of refactor operations. One >> approach I'm considering: >> >>- Generate an AST >>- Rearrange it

Re: [PHP-DEV] generating code from AST

2017-03-06 Thread Sara Golemon
On Mon, Mar 6, 2017 at 3:37 PM, Adam Baratz wrote: > I'm exploring how to automate some basic kinds of refactor operations. One > approach I'm considering: > >- Generate an AST >- Rearrange it as needed >- Turn it back into userland code > > Is this something

Re: [PHP-DEV] [Request for Comment] Loading dynamic libraries with cross dependencies.

2017-03-06 Thread Sara Golemon
On Mon, Mar 6, 2017 at 3:50 AM, Joe Watkins wrote: > FWIW, I wouldn't mind improvements in this area (apcu and the apc bc layer > suffer from this). > apcu_bc is exactly what precipitated this discussion for me. :) > Anything from a better error message, all the way to

[PHP-DEV] generating code from AST

2017-03-06 Thread Adam Baratz
I'm exploring how to automate some basic kinds of refactor operations. One approach I'm considering: - Generate an AST - Rearrange it as needed - Turn it back into userland code Is this something anyone's explored? Thanks, Adam

Re: [PHP-DEV] Re: [RFC] Extended String Types For PDO

2017-03-06 Thread Adam Baratz
> > Reading some random documents online (bear with me, doing it from the > phone), this seems to be irrelevant for MySQL, and an edge case dealing > with MSSQL. Is there a runnable functional test case demonstrating the > practical issue behind this addition? > I wouldn't characterize this as

Re: [PHP-DEV] [Request for Comment] Loading dynamic libraries with cross dependencies.

2017-03-06 Thread Joe Watkins
Morning all, FWIW, I wouldn't mind improvements in this area (apcu and the apc bc layer suffer from this). Anything from a better error message, all the way to removing the necessary load order limitation would be nice. Cheers Joe On Sat, Mar 4, 2017 at 10:23 AM, Derick Rethans