rfc:phpdbg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:phpdbg [2013/11/30 10:38] – [Introduction] krakjoe | rfc:phpdbg [2013/12/18 01:21] – [Vote] krakjoe | ||
---|---|---|---|
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 100: | Line 104: | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | Felipe Pena and I have recently developed a debugging platform for PHP, development continues ... | + | phpdbg could (should) be included in the distribution in the /sapi folder, it makes no changes to any other SAPI. |
- | It could (should) be included | + | The reason it should be included |
- | There will be a great benefit to everyone in having a debugger distributed with PHP. | + | The debugging environment |
- | + | ||
- | Usually, the content of an RFC is used for the basis for documentation of a feature if it is merged; | + | |
- | + | ||
- | I ask in this case we make an exception, documenting the use of a debugger is a huge task, not suited for these pages. | + | |
- | We will of course write documentation, | + | |
- | + | ||
- | This is a brief proposal to get the conversation started, I am busy ... anything you might want to know about the software can be read in source or on the phpdbg website. | + | |
- | + | ||
- | http:// | + | |
- | + | ||
- | If anything requires clarification, | + | |
+ | phpdbg can be merged into 5.6+ as it has already been patched, 5.5 would require a small change ... that boat has probably sailed ... | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 123: | 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 131: | 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 167: | 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 184: | Line 191: | ||
N/A | N/A | ||
+ | |||
+ | ===== Vote ===== | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
+ | Voting commenced December 11th 2013, closing December 18th 2013. |
rfc/phpdbg.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1