| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
longer time based on load. Reduces PM overhead for busy setup.
|
| |
|
|
|
|
|
|
|
| |
There is no good reason not to show the credits in text based SAPIs,
except for brevity. Thus, we suppress the credits from `php -i`.
Closes GH-6710.
|
|
|
|
| |
Closes GH-6636.
|
|
|
|
|
| |
This reverts commit 5e15c9c41f8318a8392c2e2c78544f218736549c, since
re2c default rules are only available as of re2c 0.13.7.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We avoid `YYCURSOR` becoming `NULL` by initializing `YYMARKER`, and add
a default rule for `<NORMAL>` where we catch unexpected input.
We also fix the only superficially related issue regarding empty input
followed by `T_SEPARATOR` and command, which caused another segfault.
Closes GH-6464.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
If the CTRL-C event can't be sent to the child for whatever reason, the
test will never terminate, because `proc_close()` waits for an infinite
amount of time. Therefore, we `proc_terminate()` the child instead,
after explicitly closing the pipes.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #77932: File extensions are case-sensitive
|
| |
| |
| |
| |
| |
| | |
The file extension to mime type mapping *must* not depend on the file
extension's case for case-insensitive file systems, and *should* not
for case-sensitive file systems.
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
some log message tunings.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fixed bug #79030 Use usec from apache request time
|
| | |
| | |
| | |
| | |
| | |
| | | |
Don't unnecessarily truncate to milliseconds.
Closes GH-5760.
|
| | |
| | |
| | |
| | | |
Still fails intermittently.
|
| | |
| | |
| | |
| | |
| | | |
The newly de-XFAILed tests have a race condition. Make sure we
terminate only after expecting all the log lines.
|
| | |
| | |
| | |
| | |
| | |
| | | |
These were XFAILed due to a bug in the log implementation that
caused intermittent failures. However, this issue is supposed to
be resolved in the meantime, so try dropping the XFAIL marker.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
We expect zvals, so we should request zvals.
We also suppress spurious watchpoint removal notices.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fix #79650: php-win.exe 100% cpu lockup
|
| | |
| | |
| | |
| | |
| | |
| | | |
As of PHP 7.3.0, `sapi_cli_single_write()` is supposed to return `< 0`
on failure, but `fwrite()` returns a `size_t`, and signals error by
setting the stream's error indicator. We have to cater to that.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Properly initialize PHPDBG_G(watch_tmp)
Otherwise that may cause segfaults in ZTS builds.
* Deactivate potentially remaining watchpoints after REPL
Otherwise the memory could still be protected, resulting in segfaults
during shutdown.
* NULL zend_handlers_table after freeing
As of commit 4130fe4[1], the `zend_handlers_table` is explicitly
freed in the `zend_vm_dtor()`. Since phpdbg (and maybe some other
SAPIs) may restart the engine afterwards, we have to make sure that
the table is also NULLed.
* Only set context option if there is a context
In other words, we must not follow the null pointer.
* Cater to file handles without attached console
File handles do not necessarily have an attached console (for
instance, pipes do not), in which case `GetConsoleScreenBufferInfo()`
fails. In this case we set a default value (`40`) for lines like on
other systems.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=4130fe437a5db7ead1444d3748bd0fbad9829cb2>
|
| | |
| | |
| | |
| | | |
We are more liberal, and accept Windows line endings (CRLF) as well.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fix INI setting member name
|
| | |
| | |
| | |
| | |
| | |
| | | |
Since the member is not used in `OnUpdateEol()` that's not really an
issue, but still it's confusing to apparently have two INI settings
targeting the same member.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fix #79489: .user.ini does not inherit
|
| | |
| | |
| | |
| | |
| | | |
On Windows, PATH_TRANSLATED may contain backslashes as well as slashes,
so we must not only check for `DEFAULT_SLASH`.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fix #79491: Search for .user.ini extends up to root dir
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The `start` parameter of `php_cgi_ini_activate_user_config` is supposed
to hold the byte offset of the doc root in the given `path`. However,
the current expression which fixes a potential type incompatibility
will ever only evaluate to zero or one, because it uses the *logical*
and operator (`&&`). Furthermore we notice that subtracting one from
`doc_root_len` is not necessary, so there is even no need for the
`start` parameter at all.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Apply doc root fix for FPM
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is the change from GH-5417 but for FPM. This was stripping the
last character from the doc_root. Given how it is used, this should
be harmless, but let's make it less confusing...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To encapsulate the repeated fsockopen() code.
This gives us a chance to control the timeout in one place:
Raise it to one second.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There is no reason to expect a `1` after the PID; neither the session
ID nor the memory usage are required to contain one. Actually, we just
want to verify here, that the process with the $child_pid is running,
and is a php.exe process.
|
| | |
| | |
| | |
| | | |
When running as root with TEST_FPM_RUN_AS_ROOT=1
|
| | |
| | |
| | |
| | |
| | | |
Socket path is restricted to ~100 bytes, so we can use
the system temp dir if the path ends up too long.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Terminate only after expecting the log lines to avoid race
condition.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Mostly reindent PHP scripts to spaces.
|
| | |
| | |
| | |
| | | |
Let's see if this helps with spurious failures on Azure.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.3:
Fix bug #78323: Code 0 is returned on invalid options
|
| | |
| | |
| | |
| | |
| | | |
Set CLI exit code to 1 when invalid parameters are passed,
and print error to stderr.
|