| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
destroy new created object (This is safer and produces less code)
|
|
|
|
|
|
|
| |
destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
|
| |
|
| |
|
|
|
|
| |
where we sure about string persistence.
|
|\
| |
| |
| |
| | |
* PHP-7.2:
Allow pecl like usage in ext/pdo, refs #2955
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Allow pecl like usage in ext/pdo, refs #2955
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
doesn't have to be initialized.
It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
__construct, __destruct, __wakeup does not have return types defined.
|
| | | |
|
| | |
| | |
| | |
| | | |
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
|
| | |
| | |
| | |
| | |
| | |
| | | |
I'm using RuntimeException in SPL, because other SPL classes that
throw this error used it. Error is used for everything else, because
that's what core does.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Skip test for pdo_odbc
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Skip test for pdo_odbc
|
| | |
| | |
| | |
| | |
| | | |
The error messages are too discrepant and '-' is otherwise not allowed
by the parser.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fix test for pdo_odbc
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Fix test for pdo_odbc
|
| | |
| | |
| | |
| | | |
SqlServer requires parentheses to the TOP argument.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
regenerated with newer re2c
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
regenerated with newer re2c
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
initialized if zend_fcall_info_cache.function_handler is set).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
pdo_odbc has no driver API for quoting, skip the test
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
pdo_odbc has no driver API for quoting, skip the test
|
| | | |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
PDO can be built shared on Darwin nowadays. There used to be issues
relating to symbol references between dynamically loaded shared
objects.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some extensions included TODO files that has been present for several
years in the repository tree without changes. This included:
- ext/phar
- ext/intl
- ext/zip
- ext/soap
- ext/pdo
- ext/spl
- ext/dom
- ext/gmp
- ext/xmlwriter
- ext/xmlreader
ext/phar feature request has been created instead, and for others it
would be better to use wiki and RFC workflow instead based on current
feature requests and further PHP development requirements.
[ci skip]
|
| | |
| | |
| | |
| | | |
Allow zend_string_tolower_ex() to create parsistent strings
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.
Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add _unchecked() variants of zend_spprintf and zend_strpprintf for
cases where we specifically want to disable these checks, such as
use of %H.
|
| | |
| | |
| | |
| | | |
Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|