summaryrefslogtreecommitdiff
path: root/sapi/cli
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-259-18/+0
| | | | | | | | | | | | Closes GH-4732.
* | | Standardize type printing in reflectionNikita Popov2019-09-231-1/+1
| | | | | | | | | | | | Use ?T instead of "T or NULL".
* | | Merge branch 'non_pic'Dmitry Stogov2019-09-061-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * non_pic: Link executable files using non PIC object files. This reduces PIC overhead and improves performance.
| * | | Link executable files using non PIC object files. This reduces PIC overhead ↵Dmitry Stogov2019-09-031-1/+1
| | | | | | | | | | | | | | | | and improves performance.
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-09-051-0/+31
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Fix pipe detection and stream position handlingNikita Popov2019-09-051-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two related changes here: 1. Also check for S_ISCHR/FILE_TYPE_CHAR when checking for pipes, so that we detect ttys as well, which are also not seekable. 2. Always set position=-1 (i.e. ftell will return false) when a pipe is detected. Previously position=0 was sometimes used, depending on whether we're on Windows/Linux and whether the FD or FILE codepath was used.
* | | Merge branch 'PHP-7.4'Nikita Popov2019-08-302-4/+5
|\ \ \ | |/ /
| * | Avoid accessing undefined index in CLI server testNikita Popov2019-08-301-3/+3
| | |
| * | Don't call Reflection::export() in --rf etc implementationNikita Popov2019-08-301-1/+2
| | | | | | | | | | | | | | | This method is deprecated ... instead simply directly print the object.
* | | Merge branch 'PHP-7.4'Nikita Popov2019-08-231-3/+2
|\ \ \ | |/ /
| * | Fix noalias violation in select callNikita Popov2019-08-231-3/+2
| | |
* | | Add stubs for PCRE extensionStephen Reay2019-08-111-24/+26
| | | | | | | | | | | | Closes GH-4501.
* | | Merge branch 'PHP-7.4'Nikita Popov2019-07-162-23/+6
|\ \ \ | |/ /
| * | Introduce zend_stream_init_filename()Nikita Popov2019-07-161-10/+2
| | | | | | | | | | | | Avoid more ad-hoc initialization of zend_file_handle structures.
| * | Introduce zend_stream_init_fp() APINikita Popov2019-07-161-13/+4
| | | | | | | | | | | | | | | Reduce the amount of code that mucks around with zend_file_handle initialization.
* | | Merge branch 'PHP-7.4'Nikita Popov2019-07-151-27/+7
|\ \ \ | |/ /
| * | Move shebang handling into the lexerNikita Popov2019-07-151-27/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of handling shebang lines by adjusting the file pointer in individual SAPIs, move the handling into the lexer, where this is both a lot simpler and more robust. Whether the shebang should be skipped is controlled by CG(skip_shebang) -- we might want to do that in more cases. This fixed bugs #60677 and #78066.
* | | Merge branch 'PHP-7.4'Nikita Popov2019-07-112-30/+17
|\ \ \ | |/ /
| * | Switch to using shell-less proc_open() in various server testsNikita Popov2019-07-112-30/+17
| | |
* | | Merge branch 'PHP-7.4'Joe Watkins2019-07-031-133/+170
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: improvements to cli server
| * | improvements to cli serverJoe Watkins2019-07-031-133/+170
| | |
* | | Merge branch 'PHP-7.4'Joe Watkins2019-06-291-6/+104
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: implement support for workers in cli-server on platforms supporting fork
| * | implement support for workers in cli-server on platforms supporting forkJoe Watkins2019-06-291-6/+104
| | |
* | | Merge branch 'PHP-7.4'Nikita Popov2019-06-281-0/+4
|\ \ \ | |/ /
| * | Set up asan+ubsan scheduled build on azureNikita Popov2019-06-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds an --asan flag to run-tests.php to setup all the necessary environment variables. Some tests are marked as skipped because they are incompatible with asan or too slow. I'm basing this on the DEBUG_ZTS build, which seems to give us the most mileage.
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-06-244-72/+84
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Split test case
| * | Split test caseChristoph M. Becker2019-06-244-72/+84
| | | | | | | | | | | | | | | | | | This test is failing on AppVeyor almost all of the time, so splitting it seems appropriate. This also allows us to rid php_cli_server_stop() which was only used by this test case.
* | | Merge branch 'PHP-7.4'Joe Watkins2019-06-191-15/+46
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: refactor a little more to add some more useful error messages and raise the limits on waiting for slow machines
| * | refactor a little more to add some more useful error messages and raise the ↵Joe Watkins2019-06-191-15/+46
| | | | | | | | | | | | limits on waiting for slow machines
* | | Merge branch 'PHP-7.4'Joe Watkins2019-06-191-14/+13
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Separate check for process creation and ability to accept connections
| * | Separate check for process creation and ability to accept connectionsJoe Watkins2019-06-191-14/+13
| | |
* | | Merge branch 'PHP-7.4'Joe Watkins2019-06-144-0/+24
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: fix mac tests on azure
| * | fix mac tests on azureJoe Watkins2019-06-144-2/+16
| | |
* | | Merge branch 'PHP-7.4'Anatol Belski2019-06-011-5/+15
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Don't involve output check in the test
| * | Don't involve output check in the testAnatol Belski2019-06-011-5/+15
| | |
* | | Merge branch 'PHP-7.4'Christoph M. Becker2019-06-011-2/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix ZTS issue regarding new Windows CTRL handling API
| * | Fix ZTS issue regarding new Windows CTRL handling APIChristoph M. Becker2019-06-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | php_win32_signal_system_ctrl_handler() is called from a kernel thread, so the former initialization of `vm_interrupt_flag` has no effect, since it is defined as thread-local. This is, however, not necessary, since the CTRL signal handling is supposed to work only for the main thread anyway. We therefore change `vm_interrupt_flag` and the related variables to true globals. This also allows us to unmark the respective test case as XFAIL. Furthermore, `vm_interrupt_flag` is declared as `zend_bool *`, so we better treat it such.
* | | Merge branch 'PHP-7.4'Nikita Popov2019-05-311-0/+2
|\ \ \ | |/ /
| * | Mark sapi_windows_set_ctrl_handler.phpt as XFAILNikita Popov2019-05-311-0/+2
| | |
* | | Merge branch 'PHP-7.4'Nikita Popov2019-05-293-27/+4
|\ \ \ | |/ /
| * | Update cli reflection testNikita Popov2019-05-291-2/+4
| | |
| * | Remove two zpp tests in sapi/cli/testsNikita Popov2019-05-292-35/+0
| | | | | | | | | | | | These fail on master -- apparently we're not running these tests...
* | | Merge branch 'PHP-7.4'Peter Kokot2019-05-121-6/+4
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Normalize comments in *nix build system m4 files
| * | Normalize comments in *nix build system m4 filesPeter Kokot2019-05-121-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
* | | Merge branch 'PHP-7.4'Kalle Sommer Nielsen2019-05-021-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Include the request method in CLI server logs
| * | Include the request method in CLI server logsSimon Welsh2019-05-021-1/+1
| | |
* | | Merge branch 'PHP-7.4'Peter Kokot2019-04-231-20/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: [ci skip] Remove CLI sapi README
| * | [ci skip] Remove CLI sapi READMEPeter Kokot2019-04-231-20/+0
| | | | | | | | | | | | | | | | | | Removing in favour of: - https://www.php.net/manual/en/features.commandline.introduction.php - https://www.php.net/manual/en/features.commandline.differences.php
* | | Merge branch 'PHP-7.4'Nikita Popov2019-04-151-0/+1
|\ \ \ | |/ /
| * | Fix last maybe uninit warnings on 7.4Nikita Popov2019-04-151-0/+1
| | | | | | | | | | | | | | | Most of these only occur under GCC 5. Not fond of all the workarounds (especially the PDO one), but it gets us a clean build...