| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The meaning of the limit changed in 7.4, it now points one past the
end. Adjust code accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Instead of guessing what the address of the first arena allocation
is going to be, embed the sentinel in the oplog_list structure
directly.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
In particular, make sure that everything using zmm is released
before zmm is shut down. phpdbg currently gets away with this,
because either a) its custom handlers are used and no auto-free
happens or b) the system allocator is used and no auto-free happens.
With the tracking allocator for asan this no longer works.
|
|
|
|
|
| |
Uses system allocator when backing up settings ... let's avoid
unnecessary confusion.
|
| |
|
|
|
|
|
| |
We want the class declaration to be available while compiling the
parent class.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This patch follows previous license year ranges updates. With new
approach source code files now have simplified headers with license
information without year ranges.
|
| |
|
|
|
|
| |
released in ZTS build, and this leads to crash.
|
|
|
|
|
|
|
| |
zend_class_entry->interface_names.
Move interface implementation code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_INTERFACE and ZEND_VERIFY_ABSTRACT_CLASS opcodes.
|
|
|
|
|
| |
Move trait binding code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_TRIAIT and ZEND_BIND_TRAITS opcodes.
|
|
|
|
| |
inside zend_constant.value.
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.2:
Fix arginfo wrt. optional/required parameters
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Fix arginfo wrt. optional/required parameters
|
| | |
| | |
| | |
| | |
| | | |
All parameters of phpdbg_color(), phpdbg_exec() and phpdbg_prompt() are
required. We mark them as such.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The sole purpose of `PHPDBG_FILE`, `PHPDBG_METHOD`, `PHPDBG_LINENO` and
`PHPDBG_FUNC` has been to be passed as first argument to `phpdbg_break`.
However, this functions is replaced as of PHP 5.6.3 by
`phpdbg_break_file`, `phpdbg_break_method` and 'phpdbg_break_func`,
respectively. Therefore, we're finally removing the useless constants.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Allocate default ini values into persistent memory
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Allocate default ini values into persistent memory
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fix memory leak when phpdbg fails to start up
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Fix memory leak when phpdbg fails to start up
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.0:
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
|
| | | |
|
| | |
| | |
| | |
| | | |
This reverts commit 008fb28eafa3740b1e3696b1a5cf7566d493b97d.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings
- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end
There is no runtime interning.
With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
fix crash in phpdbg shutdown process when opcache is loaded
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
fix crash in phpdbg shutdown process when opcache is loaded
|
| | | |
|
| | | |
|