Nikita Popov

Results 517 comments of Nikita Popov

It's expected that sample_prof and xdebug provide different results (because xdebug uses an instrumenting profiling mechanism that has a large effect on the cost of certain operations). Depending on the...

I don't think it makes sense to support this natively (it seems too fragile as a default behavior), but you should be able to implement this in userland easily. Just...

I'm fine with having this in PECL, as long as someone else takes care of the technicalities. I'm not capable of setting up a working PEAR/PECL environment. I'm pretty sure...

I won't have the time to propose this for inclusion in PHP 7. Adding this to core would require quite a lot of work and feature freeze is not far...

@alanwillms Nope, the current VM implementation doesn't allow this. With enough effort it might be possible, but would probably have negative performance impact for all other method calls (which is...

The performance (at least with the current implementation) will be worse than directly calling a native function, primarily because we have to go through an extra indirection function to handle...

Yes, scalar objects will be more efficient than wrapper objects because you don't need to actually instantiate objects.

I guess this was building from github releases rather than tags. There is a "release" for v1.1.1 nowadays (https://github.com/nikic/php-ast/releases/tag/v1.1.1).

I believe the idea is to publish it on composer for the utility functions in https://github.com/nikic/php-ast/blob/master/util.php and the stubs in https://github.com/nikic/php-ast/blob/master/ast_stub.php. Though for the latter, it might make more sense...

@TysonAndre Thoughts on this functionality? The idea looks reasonable to me.