[PHP-DEV] [RFC] Embedding multiple PHP engines in a single thread

2022-01-31 Thread as
Hello internals, As you know, the PHP codebase makes heavy use of global variables. In ZTS builds, access to these globals are cleverly mapped to thread local storage via macros. To my knowledge, the limitation here is that there's no way to run multiple PHP engines in a single thread. (P

[PHP-DEV] [RFC] Support for ::function syntax

2020-11-07 Thread as
olon-colon-function.) Benefits in my view are readability and potential use in static analysis. Downsides (as implemented in proof-of-concept) are that it can be needlessly littered in a lot of places, and that it breaks class consts named `function`. I'd vote against it in its current state

[PHP-DEV] [RFC] Add &$optind to getopt

2016-05-29 Thread as
Hello all, Many getopt implementations expose an `optind` variable to userland which contains the last argv index examined by the option parser. This is useful when mixing flag arguments with positional arguments, as it makes locating the positional arguments easy. For example, in C and Bash

[PHP-DEV] CVS Account Request: salman

2003-07-02 Thread Salman AS
Translate PHP Manual to Bahasa Indonesia. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php