| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Cf. <http://git.php.net/?p=php-src.git;a=commit;h=c5cf0af8a98cbc574fd315bf9d78033b896886f3>.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #73927: phpdbg fails with windows error prompt at "watch array"
|
| |
| |
| |
| |
| |
| | |
We expect zvals, so we should request zvals.
We also suppress spurious watchpoint removal notices.
|
| |
| |
| |
| |
| |
| | |
Apparently, breakpoints and watchpoints are practically disabled if
run with OPcache JIT under Windows, so we mark the affected tests as
xfail in that case for the time being.
|
| |
| |
| |
| |
| |
| |
| | |
From now on, we always display the given object's type instead of just reporting "object".
Additionally, make the format of return type errors match the format of argument errors.
Closes GH-5625
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* PHP-7.4:
Enable phpdbg tests on AppVeyor
Make phpdbg test portable
Fix several mostly Windows related phpdbg bugs
Fix #73926: phpdbg will not accept input on restart execution
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
--file-cache-prime populates the file cache,
--file-cache-use uses the file cache.
And fix a number of tests to run under file cache or disabled
timestamp validation.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix INI setting member name
|
| |\
| | |
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
With JIT one extra cache slot is allocated, so the extended_value
needs one more character, and the output ends up having one space
less...
|
| | |
| | |
| | |
| | | |
There's no need to force-inline the hashing for all of these.
|
| | |
| | |
| | |
| | |
| | | |
For apache2handler, fpm, litespeed, phpdbg, specifically.
Partially implements GH-5295
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5404
|
| | |
| | |
| | |
| | | |
Unlike the hash apply functions, these do not return int.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
| | |
| | |
| | |
| | |
| | | |
Avoid performing the same casting dance inside each sort compare
function.
|
| | |
| | |
| | |
| | | |
macro
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Apply tidy formatting
|
| | |
| | |
| | |
| | | |
Mostly reindent PHP scripts to spaces.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Prefer '%define api.value.type' to '#define YYSTYPE', so that Bison
know the type.
Use '%code requires' to declare what is needed to define the api.value.type
(that code is output in the generated header before the generated
definition of YYSTYPE).
Prefer '%define api.prefix' inside the grammar file to '-p' outside,
as anyway the functions defined in the file actually use this prefix.
Prefer `%param` to both `%parse-param` and `%lex-param`.
Closes GH-5138
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The annotation %empty is properly enforced: warnings when it's
missing, and errors when it's inappropriate. Support for %empty was
introduced in Bison 3.0.
Pass -Wempty-rule to Bison.
Closes GH-5134
|
| | |
| | |
| | |
| | | |
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
phpdbg documentation has been moved to PHP manual and the link at the
bottom of this README is dead, so the file can be removed.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now store the pointer payload and the type mask separately. This
is in preparation for union types, where we will be using both at
the same time.
To avoid increasing the size of arginfo structures, the
pass_by_reference and is_variadic fields are now stored as part of
the type_mask (8-bit are reserved for custom use).
Different types of pointer payloads are distinguished based on bits
in the type_mask.
|
| | |
| | |
| | |
| | | |
Closes GH-4867.
|
| | |
| | |
| | |
| | | |
Add a zpp_none() call, convert E_ERROR to ValueError.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix miscellaneous typos in docs
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
overhead and improves performance."
This reverts commit eef85229d0fe9f69d325aa0231e592f35c468afb.
|
| | |
| | |
| | |
| | | |
Closes GH-4732.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | | |
The meaning of the limit changed in 7.4, it now points one past the
end. Adjust code accordingly.
|
| | |
| | |
| | |
| | | |
and improves performance.
|
| | |
| | |
| | |
| | | |
and improves performance.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit e0eca262852dba1a78afcde64a49126c81fead1a.
free_filename is used by the wincache extension, restore this
field for PHP 7.4.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ / |
|