summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.h
Commit message (Collapse)AuthorAgeFilesLines
* Accept zend_string instead of zval in zend_compile_stringNikita Popov2020-09-071-1/+1
|
* Fix #78880: Another bunch of spelling errorsMáté Kocsis2020-01-161-1/+1
|
* Fix typoChristoph M. Becker2019-12-301-1/+1
|
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Merge branch 'PHP-7.4'Nikita Popov2019-07-221-1/+1
|\
| * Report errors from stream read and write operationsNikita Popov2019-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The php_stream_read() and php_stream_write() functions now return an ssize_t value, with negative results indicating failure. Functions like fread() and fwrite() will return false in that case. As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams should not be regarded as error conditions, and be reported as successful zero-length reads/writes instead. The handling of EINTR remains unclear and is internally inconsistent (e.g. some code-paths will automatically retry on EINTR, while some won't). I'm landing this now to make sure the stream wrapper ops API changes make it into 7.4 -- however, if the user-facing changes turn out to be problematic we have the option of clamping negative returns to zero in php_stream_read() and php_stream_write() to restore the old behavior in a relatively non-intrusive manner.
* | Constify some char* arguments or return values of ZEND_APItwosee2019-06-121-1/+1
|/ | | | Closes GH-4247.
* Remove HAVE_SIGNAL_HPeter Kokot2019-04-071-1/+1
| | | | | | | | | | | | | | | | | The `<signal.h>` header file is part of the standard C89 headers [1] and on current systems can be included unconditionally. Since file requires at least C89 or greater, the `HAVE_SIGNAL_H` symbol defined by Autoconf in Zend.m4 [2] can be ommitted and simplifed. The bundled libmagic (file) also ommits the usage of HAVE_SIGNAL_H since 5.35 however current version in PHP is very modified 5.34 version and will be refactored separately. Check for HAVE_SIGNAL_H is therefore still done in the configure.ac. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
* Merge branch 'PHP-7.3' into PHP-7.4Joe Watkins2019-03-271-6/+8
|\ | | | | | | | | * PHP-7.3: Fix #77805 phpdbg build fails when readline is shared
| * Merge branch 'PHP-7.2' into PHP-7.3Joe Watkins2019-03-271-6/+8
| |\ | | | | | | | | | | | | * PHP-7.2: Fix #77805 phpdbg build fails when readline is shared
| | * Fix #77805 phpdbg build fails when readline is sharedJoe Watkins2019-03-271-6/+8
| | |
| | * year++Xinchen Hui2018-01-021-1/+1
| | |
* | | Fixed ZTS cache usageDmitry Stogov2019-03-121-1/+1
| | |
* | | Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
| | |
* | | Bump phpdbg version to PHP_VERSIONPeter Kokot2018-10-011-1/+1
|/ / | | | | | | | | The phpdbg sapi module is distributed with the release cycle of PHP. This patch simplifes phpdbg versioning and bumps it to the PHP_VERSION.
* | 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).
* | year++Xinchen Hui2018-01-021-1/+1
| |
* | Fixed stream handler overrideDmitry Stogov2017-12-141-1/+1
| |
* | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
|/
* Fixed condition checkXinchen Hui2017-04-101-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Bob Weinand2016-11-201-2/+0
|\
| * Revert "Revert "Remove a few unused write warning""Bob Weinand2016-11-201-2/+0
| | | | | | | | | | | | This reverts commit ff5a65d26b139142c5e967582c369ef65b79adf8. (With zend_ prefix now)
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-11-201-0/+2
|\ \ | |/
| * Revert "Remove a few unused write warning (backport from master, oops)s"Nikita Popov2016-11-201-0/+2
| | | | | | | | This reverts commit c65d24eaa3671e61db7c2a3f28daeaf7c74ac758.
* | Merge branch 'PHP-7.0' into PHP-7.1Bob Weinand2016-11-201-2/+0
|\ \ | |/
| * Remove a few unused write warning (backport from master, oops)sBob Weinand2016-11-201-2/+0
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Bob Weinand2016-10-021-0/+3
|\ \ | |/
| * Fix run command args passing when inmidst executionBob Weinand2016-10-021-0/+3
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Bob Weinand2016-10-011-0/+3
|\ \ | |/
| * Add proper escape sequences and reading stdin from file in phpdbg run commandBob Weinand2016-10-011-0/+3
| |
* | add missing header to fix buildAnatol Belski2016-07-191-0/+2
| |
* | Cleanup zend_/signal usage in phpdbg.cBob Weinand2016-07-131-5/+3
| |
* | Rewrite watchpoints to be much more stableBob Weinand2016-07-111-3/+6
| | | | | | | | | | | | | | | | This mainly involves a separate abstraction layer for elements (e.g. $a->b) and watchpoints (on pointer of the Bucket for example). Also better comparison handling (value backup vs. page dumps). It is not yet finished (there are sometimes false positives announced and names not yet perfect), but the functionality is working and not crashing as far as I have tested. Future scope is also relative watchpoints, e.g. "w $this->val expression()" which does not have the symbol tables as basis, but the value (in this example: return value of expression()) as basis.
* | Fixed phpdbg build without --enable-zend-signalsDmitry Stogov2016-06-201-0/+3
|/
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
| * go back with phpdbg to the state of 5.6.3, reverting the controversial ↵Ferenc Kovacs2014-11-261-160/+90
| | | | | | | | commits(remote debugging/xml protocol)
| * Temporarily disable wait/xml protocol...Bob Weinand2014-10-301-0/+2
| |
* | - Implemented output pagingFelipe Pena2015-10-181-3/+6
| |
* | Fixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)Bob Weinand2015-09-231-7/+8
| |
* | Fix oplog with eval()ed codeBob Weinand2015-08-241-0/+1
| |
* | Remove -Wunused-result warningsBob Weinand2015-07-271-0/+2
| |
* | Fix op_arrays with opcacheBob Weinand2015-07-251-0/+1
| |
* | Cleanup shutdown, enable proper memory leak displayingBob Weinand2015-07-241-2/+1
| | | | | | | | phpdbg should not memory leak...
* | We want to track phpdbg bugs in official bug tracker now; updated URLBob Weinand2015-07-141-3/+2
| |
* | Add phpdbg userland API to fetch oplogBob Weinand2015-06-221-0/+5
| | | | | | | | We may want to add some opcode info later, so that "opcodes" mode is more helpful
* | Break on uncaught exceptions in current frame in phpdbgBob Weinand2015-04-221-0/+1
| |
* | Add next command / Fix recursion/exceptions with u/F/LBob Weinand2015-04-211-0/+1
| |