summaryrefslogtreecommitdiff
path: root/sapi/phpdbg
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.2' into PHP-7.3Remi Collet2018-08-161-1/+1
|\ | | | | | | | | * PHP-7.2: fix man page installation
| * Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2018-08-161-1/+1
| |\ | | | | | | | | | | | | * PHP-7.1: fix man page installation
| | * fix man page installationRemi Collet2018-08-161-1/+1
| | | | | | | | | | | | | | | Since 91996e7ee504311ff4eca9dbd5840114f75acbad phpdbg.1 is in buildir, not in srcdir
* | | Merge branch 'PHP-7.2' into PHP-7.3Peter Kokot2018-08-043-59/+152
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix bug 76595: Update phpdbg man page
| * | Merge branch 'PHP-7.1' into PHP-7.2Peter Kokot2018-08-043-62/+155
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fix bug 76595: Update phpdbg man page
| | * Fix bug 76595: Update phpdbg man pageKevin Abel2018-08-043-62/+155
| | | | | | | | | | | | | | | | | | | | | Send phpdbg.1 man page through configure replacements Update phpdbg.1 man page to include all options Fixes formatting to be more consistent with php.1 Fix paragraph whitespace and ignore phpdbg.1
* | | Remove unused PHP_PROG_LEX macroPeter Kokot2018-07-292-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since PHP 5.3 flex lexer has been replaced with re2c. Commit 0f9e2b1753661afe1c0dee6982e161fcf00d349f made PHP_PROG_LEX macro still available for BC. In commit df6bd506d492292ef4353b0f8da0c34eeb076be5 it was updated. Since this macro is entirely not used in PHP source code anymore from PHP 5.3 and up, this patch removes it together with some old traces of warnings suppression and comments.
* | | Trim trailing whitespaces in build filesPeter Kokot2018-07-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* | | Pack zend_constant.flags and zend_constant.module_number into reserved space ↵Dmitry Stogov2018-07-262-7/+4
| | | | | | | | | | | | inside zend_constant.value.
* | | Regenerate scanners using re2c version >= 1.0.0 (newer version, at least, ↵Dmitry Stogov2018-07-251-1240/+1243
| | | | | | | | | | | | produce less code)
* | | Remove unused Git attributes identPeter Kokot2018-07-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | | API cleanup.Dmitry Stogov2018-07-231-2/+2
| | | | | | | | | | | | | | | Removed useless filename and lineno arguments, used in DEBUG build. The patch doesn't break source compatibility of public API (only binary compatibility).
* | | Use zval_ptr_dtor() imstead of zval_dtor()Dmitry Stogov2018-07-051-1/+1
| | |
* | | Replace zval_dtor() with specialized destructorsDmitry Stogov2018-07-051-1/+1
| | |
* | | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-045-5/+5
| | | | | | | | | | | | | | | | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* | | Avoid magic method hash lookupsDmitry Stogov2018-07-021-1/+1
| | |
* | | Changed php_add[c]slashes prototypes (removed should_free argument)Dmitry Stogov2018-06-292-4/+4
| | |
* | | Remove duplicated code (keep destroy_zend_function() for compatibility)Dmitry Stogov2018-06-271-2/+1
| | |
* | | Merge branch 'PHP-7.2'Christoph M. Becker2018-06-251-3/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix arginfo wrt. optional/required parameters
| * | Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-06-251-3/+3
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fix arginfo wrt. optional/required parameters
| | * Fix arginfo wrt. optional/required parametersChristoph M. Becker2018-06-251-3/+3
| | | | | | | | | | | | | | | All parameters of phpdbg_color(), phpdbg_exec() and phpdbg_prompt() are required. We mark them as such.
* | | Remove useless PHPDBG_* constantsChristoph M. Becker2018-06-251-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | The sole purpose of `PHPDBG_FILE`, `PHPDBG_METHOD`, `PHPDBG_LINENO` and `PHPDBG_FUNC` has been to be passed as first argument to `phpdbg_break`. However, this functions is replaced as of PHP 5.6.3 by `phpdbg_break_file`, `phpdbg_break_method` and 'phpdbg_break_func`, respectively. Therefore, we're finally removing the useless constants.
* | | Merge branch 'PHP-7.2'Thomas Punt2018-04-261-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Allocate default ini values into persistent memory
| * | Merge branch 'PHP-7.1' into PHP-7.2Thomas Punt2018-04-261-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Allocate default ini values into persistent memory
| | * Allocate default ini values into persistent memoryThomas Punt2018-04-261-1/+1
| | |
* | | Merge branch 'PHP-7.2'Thomas Punt2018-04-261-0/+5
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix memory leak when phpdbg fails to start up
| * | Merge branch 'PHP-7.1' into PHP-7.2Thomas Punt2018-04-261-0/+5
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fix memory leak when phpdbg fails to start up
| | * Fix memory leak when phpdbg fails to start upThomas Punt2018-04-261-0/+5
| | |
* | | Merge branch 'PHP-7.2'Xinchen Hui2018-04-101-13/+8
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.2: Update NEWS Fixed bug #76143 (Memory corruption: arbitrary NUL overwrite)
| * | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2018-04-101-13/+8
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixed bug #76143 (Memory corruption: arbitrary NUL overwrite)
| | * Fixed bug #76143 (Memory corruption: arbitrary NUL overwrite)Xinchen Hui2018-04-101-13/+8
| | |
* | | Fix link for phpdbg documentationGabriel Caruso2018-03-111-1/+1
| | |
* | | Merge branch 'PHP-7.2'Anatol Belski2018-03-081-0/+4
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Disable PGO for phpdbg
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-03-081-0/+4
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Disable PGO for phpdbg
| | * Disable PGO for phpdbgAnatol Belski2018-03-081-0/+4
| | | | | | | | | | | | | | | | | | For executable files, the linker seems to have issues dealing with the empty profiling database. As PGO is unlikely to bring any benefit in this case, the easiest is to disable it.
| | * regenerated with newer re2cXinchen Hui2018-01-021-1284/+1223
| | |
| | * year++Xinchen Hui2018-01-0248-49/+49
| | |
| * | year++Xinchen Hui2018-01-0248-49/+49
| | |
* | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-203-3/+3
| | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | Avoid live range references in opcodesNikita Popov2018-02-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Don't store the live range of the freed variable for FREE_ON_RETURN frees, instead look it up at runtime. As this is an extremely unlikely codepath (in particular, it requires a loop variable with a throwing destructor), saving the runtime lookup of the live range is not worth the extra complexity this adds everywhere else.
* | | Fix: follow the indent of the other configure optionsTom Van Looy2018-02-151-3/+4
| | |
* | | Fix some misspellingsGabriel Caruso2018-02-061-1/+1
| | |
* | | Moved "zval.u2.cache_slot" into free room of "zend_op"Dmitry Stogov2018-02-054-6/+6
| | |
* | | Use int instead of integer in type errorsGabriel Caruso2018-02-041-3/+3
| | | | | | | | | | | | | | | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* | | Use int instead of integer in protoGabriel Caruso2018-02-021-2/+2
| | |
* | | Changed CATCH instruction format (extended_value moved into op2, op2 into ↵Dmitry Stogov2018-01-314-7/+17
| | | | | | | | | | | | result, result into extended_value)
* | | Trailing whitespaces on sapi/*Gabriel Caruso2018-01-041-5/+5
| | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* | | Trailing whitespacesGabriel Caruso2018-01-038-175/+175
| | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* | | year++Xinchen Hui2018-01-0248-49/+49
| | |
* | | Fix darwin builds of phpdbg using frameworksSara Golemon2017-12-211-0/+1
| | |