rfc:phpdbg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:phpdbg [2013/11/30 10:47] – [Proposal] krakjoe | rfc:phpdbg [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
* Author: Joe Watkins < | * Author: Joe Watkins < | ||
* Author: Felipe Pena < | * Author: Felipe Pena < | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 39: | Line 39: | ||
phpdbg> b on ($expression == true) | phpdbg> b on ($expression == true) | ||
Will break when the condition evaluates to true | Will break when the condition evaluates to true | ||
+ | |||
+ | phpdbg> break at phpdbg:: | ||
+ | phpdbg> b at phpdbg:: | ||
+ | Will break in phpdbg:: | ||
phpdbg> break op ZEND_ADD | phpdbg> break op ZEND_ADD | ||
Line 113: | Line 117: | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
- | ASAP | + | 5.6 |
+ | |||
+ | Note: it would be nice if 5.5 could get phpdbg too, but requires a patch that might cause ABI incompatibiilty issues caused by new exports. | ||
===== SAPIs Impacted ===== | ===== SAPIs Impacted ===== | ||
Line 121: | Line 127: | ||
===== Impact to Existing Extensions ===== | ===== Impact to Existing Extensions ===== | ||
- | None | + | Opcache requires the following patch to support phpdbg: http:// |
+ | |||
+ | Note: that list should be a blacklist, it's more forward compatible, the assumption that it doesn' | ||
+ | |||
+ | This limitation, which may have an affect on userland software where php_sapi_name() is used, can be mitigated using the -S option to override the SAPI name. | ||
+ | Note that, overriding the SAPI name only changes the name as reported to the rest of the engine; //it does not use any of the structures from the SAPI requested// | ||
===== New Constants ===== | ===== New Constants ===== | ||
Line 157: | Line 168: | ||
The phpdbg codebase is compatible with 5.4+ | The phpdbg codebase is compatible with 5.4+ | ||
+ | |||
+ | ===== Impact to phpdbg ===== | ||
+ | |||
+ | If phpdbg is bundled, it means that it must follow the release cycle of PHP itself; we're not sure if this will create any problem - every other SAPI manages it, and there' | ||
+ | |||
+ | This is definitely the way we will go, should the need arise, however, we would prefer not to have to disturb the build process or code base unnecessarily. | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
Line 174: | Line 191: | ||
N/A | N/A | ||
+ | |||
+ | ===== Vote ===== | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
+ | Voting commenced December 11th 2013, closing December 18th 2013. |
rfc/phpdbg.1385808465.txt.gz · Last modified: 2017/09/22 13:28 (external edit)