[PHP-DEV] zend_compile_string() usage within code

2012-05-28 Thread Clint Priest
Has anyone ever used the zend_compile_string() within the c code for compiling internally created php? Is it frowned upon or has it never come up before? In writing the accessors code I have several parts that are effectively just mimicking what a simple zend_compile_string() would accomplish i

Re: [PHP-DEV] RFC Skipping optional parameters for functions

2012-05-28 Thread Stas Malyshev
On 5/27/12 10:27 AM, Mathias Grimm wrote: > in response to https://wiki.php.net/rfc/skipparams I want to suggest > something as depicted below: > > function very_long_params(name:$n, age:$a, other:$o) The goal of this proposal is not to introduce named parameters. If we ever do introduce named pa

Re: [PHP-DEV] [VOTE] array_part()

2012-05-28 Thread Stas Malyshev
Hi! > I've opened the array_part() vote: > > https://wiki.php.net/rfc/array_part#vote > > The vote asks whether the branch at > https://github.com/cataphract/php-src/tree/array_part should be merged. > This implementation has been tested and has 100% code coverage on the > reachable code.

[PHP-DEV] [VOTE] array_part()

2012-05-28 Thread Gustavo Lopes
I've opened the array_part() vote: https://wiki.php.net/rfc/array_part#vote The vote asks whether the branch at https://github.com/cataphract/php-src/tree/array_part should be merged. This implementation has been tested and has 100% code coverage on the reachable code. -- Gustavo Lopes