David Carlier
19350b6b73
phpdbg: couple of network function return checks. Possible
...
overflow when copy the socket_path configuration.
2016-09-04 23:18:51 -07:00
Nikita Popov
1ae2d074f8
Fix bug #72996
2016-09-03 23:30:23 +02:00
Anatol Belski
eac7f4b670
fix dealloc mismatch
2016-08-29 12:46:23 +02:00
Xinchen Hui
de7a6b1232
MFH: Fixed fd leak (the origin commit can not be cherry-picked)
2016-06-28 11:36:27 +08:00
Anatol Belski
2524ab9e67
fix condition
2016-05-30 18:35:14 +02:00
Bob Weinand
67468fb417
Fixed bug #72284 (phpdbg fatal errors with coverage)
...
Cherry-pick of original commits d3371b and 0f20e11 only present in master
2016-05-30 13:31:17 +02:00
Adam Harvey
c523dfdb49
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix typo in phpdbg help.
2016-05-25 12:47:49 -05:00
Adam Harvey
54eb659032
Fix typo in phpdbg help.
...
Sorry, I would have included this in the last push had I spotted it a
minute earlier.
2016-05-25 12:47:35 -05:00
Adam Harvey
ac29f9de86
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Add missing newlines to phpdbg's help for the run command.
2016-05-25 12:40:23 -05:00
Adam Harvey
e623e91e27
Add missing newlines to phpdbg's help for the run command.
...
This is not at all related to needing screenshots for a talk I'm giving
in two days. No sir. Not at all.
2016-05-25 12:38:41 -05:00
Joe Watkins
b04125da85
phpdbg: close file handles
2016-04-12 13:40:03 +01:00
Nikita Popov
5602f64213
Eliminate usages of _PP macros
...
These are either in debug code (fix them), commented out (drop
them) or in dead compatibility macros (drop them).
One usage was in php_stream_get_from_zval(), which we have not used
since at least PHP 5.2 and, judging from the fact that nobody
complained about it causing compile errors in PHP 7, nobody else
uses it either, so drop it.
There are still remaining uses in mysqli embedded and odbc birdstep.
These probably need to be dropped outright.
2016-03-03 23:20:12 +01:00
Nikita Popov
1ac152938c
Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE
...
Also re bug #71575 .
2016-03-03 16:50:01 +01:00
James Titcumb
c4b188871e
Fix bug #71575 removing extra semicolons outside macros
2016-03-03 16:41:03 +01:00
Dmitry Stogov
908b662f7f
PHP-7 zend_call_function() doesn't support symbol_table substitution
2016-03-02 16:56:39 +03:00
Bob Weinand
055b411218
Fix crash when advancing inside an internal function
...
This just happened in the "double ctrl+c" mode, when we halted inside an internal function; there was some code assuming a proper op_array
2016-02-17 20:27:46 +01:00
Nikita Popov
c9357f82d3
Format string fixes
...
Conflicts:
ext/pgsql/pgsql.c
2016-02-14 14:45:53 +01:00
Nikita Popov
5983378364
Fix format attributes in ZTS
2016-02-14 14:44:27 +01:00
Bob Weinand
1a01a5ec83
Fixed inherited functions from unspecified files being included in phpdbg_get_executable()
...
See also https://github.com/krakjoe/phpdbg/issues/152
2016-02-11 06:42:51 +01:00
Guillaume Outters
10b2172f01
phpdbg config.m4: make it detectable by old shells
...
--enable-phpdbg is not detected on old systems (e.g.: stock FreeBSD 8), due to a PHPism in config.m4 (use of == operator).
Replacing == with the historic = makes it pass.
2016-01-29 17:01:04 +01:00
Bob Weinand
65ef7f8c33
Use uint64_t for flags (warning)
2016-01-23 18:16:57 +01:00
Lior Kaplan
2eb1f38d24
Happy new year (Update copyright to 2016)
2016-01-01 20:03:16 +02:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Xinchen Hui
05defb4f56
Fixed test after fix lineno of finally
2016-01-01 13:46:19 +08:00
Reeze Xia
95ad414658
Unused value casting should be void
2015-12-12 23:25:30 +08:00
Joe Watkins
03a43d50e1
standard tsrm usage for seven
2015-12-06 14:06:07 +01:00
Bob Weinand
c1189eccae
Output stderr on real stderr in phpdbg
2015-11-23 17:46:07 +01:00
Dmitry Stogov
3c5a3e77d4
Fixed incomplete initialization.
2015-10-30 07:15:56 +03:00
Nuno Lopes
36311ee4fd
unbreak coverage data: fix #line directives in phpdbg parser
2015-10-24 18:12:24 -04:00
Nuno Lopes
a0665f3a18
unbreak coverage data: fix #line directives in phpdbg parser
2015-10-24 17:45:53 -04:00
Bob Weinand
2ef327caed
Exempt paging from -qrr mode
2015-10-20 21:56:00 +02:00
Felipe Pena
f231ddddaf
- Implemented output paging
2015-10-18 12:08:04 -02:00
Bob Weinand
d398cc9d10
Prevent memcmp() result truncation
...
This fixes reported issues with sapi/phpdbg/tests/watch_001.phpt
2015-10-13 15:51:23 +02:00
Bob Weinand
6efbfc4caf
phpdbg test info_001.phpt was dependent on auto_globals_jit
2015-10-13 14:40:42 +02:00
Bob Weinand
e85a0aba9b
Fix on/off values in phpdbg lexer
2015-10-13 11:29:51 +02:00
Bob Weinand
8285731362
Fix parse errors in -rr mode
2015-10-02 12:51:32 +02:00
Bob Weinand
4f90e2ec9d
Ensure proper set_exception_handler() handling with exit() inside it
2015-10-02 12:37:40 +02:00
Bob Weinand
0c03ba0ad0
Fixed bug #70614 (incorrect exit code in -rr mode with Exceptions)
2015-10-02 12:37:40 +02:00
Bob Weinand
32337d35cc
Do not display memory leaks on fatal
2015-10-02 12:37:40 +02:00
Bob Weinand
6c61286da4
Do not include zend_verify_return_type in executable ops (phpdbg)
2015-10-02 12:37:39 +02:00
Nikita Popov
1287c48082
Fix/improve zpp usage
...
The ext/interbase changes are done blindly, fingers crossed.
Some of these are bug fixes, some make zpp usage more idiomatic.
2015-10-02 09:35:00 +02:00
Anatol Belski
c82e21619e
fix phpdbg's -h switch
...
The help functionality needs a correct stdout fd, so pre setup it
for the only case.
2015-09-27 15:46:07 +02:00
Bob Weinand
bccac3774b
Fixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)
2015-09-23 18:30:13 +02:00
Bob Weinand
4a174ca7e6
Fixed bug #70532 (respect set_exception_handler in phpdbg)
2015-09-23 17:53:29 +02:00
Bob Weinand
8f85dc141a
Always properly show exit status in phpdbg
...
Especially when it is only set after main run (e.g. register_shutdown_function)
2015-09-19 18:30:07 +02:00
Bob Weinand
16cde23eb2
Fix oplog...
2015-09-19 17:10:16 +02:00
Bob Weinand
491c62e2aa
Apply same fixes for until
2015-09-19 15:19:26 +02:00
Bob Weinand
8eadde40cd
Fix leave and finish
2015-09-19 14:57:36 +02:00
Bob Weinand
5b8981f12e
Add eventual escaping for phpdbg arguments
2015-09-18 00:50:08 +02:00