Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Trim trailing whitespaces in build files | Peter Kokot | 2018-07-29 | 1 | -3/+3 |
| | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4 | ||||
* | Fix typos in code comments | Peter Kokot | 2018-07-25 | 3 | -3/+3 |
| | |||||
* | Remove unused Git attributes ident | Peter Kokot | 2018-07-25 | 9 | -17/+0 |
| | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore. | ||||
* | Better name: ZEND_PROPERTY_HAS => ZEND_PROPERTY_NOT_EMPTY | Dmitry Stogov | 2018-07-24 | 1 | -1/+1 |
| | |||||
* | Give a meaningful name | Xinchen Hui | 2018-07-24 | 1 | -3/+3 |
| | |||||
* | Improved user iterator implementation to reduce zend_class_entry memory ↵ | Dmitry Stogov | 2018-07-12 | 1 | -1/+0 |
| | | | | consumption and avoid race condition during resolving/caching of user iterator functions of internal classes in ZTS build. | ||||
* | Skip test on incompatible servers | Anatol Belski | 2018-07-09 | 1 | -0/+10 |
| | |||||
* | Fix inverted stristr() argument order in mysqli test | Nikita Popov | 2018-07-05 | 1 | -2/+2 |
| | |||||
* | Replace zval_dtor() with specialized destructors | Dmitry Stogov | 2018-07-05 | 1 | -2/+2 |
| | |||||
* | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵ | Dmitry Stogov | 2018-07-04 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | Remove old SVN keywords substitutions | Peter Kokot | 2018-06-16 | 3 | -6/+0 |
| | | | | | | | | When the PHP source code was versioned in Subversion, there was possible to substitute certain keywords such as $Id$ with revision number, last change time and author name. Such approach is not used in Git so this patch removes these outdated artifacts from source code files. | ||||
* | Fixe bug #76386 | Victor Csiky | 2018-06-15 | 1 | -0/+94 |
| | | | | ..that is also a duplicate of #67122 | ||||
* | Export standard object handlers, to avoid indirect access | Dmitry Stogov | 2018-05-31 | 1 | -9/+4 |
| | |||||
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 2 | -3/+3 |
| | | | | where we sure about string persistence. | ||||
* | zend_fcall_info_cache.calling_scope is not used by zend_call_function() and ↵ | Dmitry Stogov | 2018-05-03 | 1 | -1/+0 |
| | | | | | | doesn't have to be initialized. It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload. | ||||
* | Merge branch 'PHP-7.2' | Nikita Popov | 2018-03-23 | 2 | -4/+4 |
|\ | |||||
| * | Add missing skip prefix for some SKIPIF messages | atvoicu | 2018-03-23 | 2 | -4/+4 |
| | | |||||
| * | year++ | Xinchen Hui | 2018-01-02 | 17 | -17/+17 |
| | | |||||
* | | Keep initialized object_handlers structures in read-only memory. | Dmitry Stogov | 2018-03-14 | 1 | -4/+4 |
| | | |||||
* | | [ci skip] Remove space between function name and open parentheses | Gabriel Caruso | 2018-02-24 | 2 | -12/+12 |
| | | |||||
* | | Use int instead of long in protos | Gabriel Caruso | 2018-02-23 | 2 | -4/+4 |
| | | |||||
* | | Use EXPECT instead of EXPECTF when possible | Gabriel Caruso | 2018-02-20 | 160 | -160/+160 |
| | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it. | ||||
* | | Remove explicit params count check | Gabriel Caruso | 2018-02-19 | 1 | -4/+1 |
| | | | | | | | | | | Relying on ZPP instead. Also, use ZEND_NUM_ARGS() instead of hardcode number of parameters | ||||
* | | Remove redelcaration of zend_parse_parameters_none | Gabriel Caruso | 2018-02-18 | 1 | -5/+0 |
| | | |||||
* | | [Bug 75448] In case of failure, mysqli::prepare() returns NULL instead of FALSE | Sergei Morozov | 2018-02-10 | 100 | -427/+447 |
| | | |||||
* | | Use bool instead of boolean while throwing a type error | Gabriel Caruso | 2018-02-04 | 5 | -16/+16 |
| | | | | | | | | | | | | | | | | | | | | PHP requires boolean typehints to be written "bool" and disallows "boolean" as an alias. This changes the error messages to match the actual type name and avoids confusing messages like "must be of type boolean, boolean given". This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which implements the same change for integer->int. | ||||
* | | Use int instead of integer in type errors | Gabriel Caruso | 2018-02-04 | 3 | -3/+3 |
| | | | | | | | | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given". | ||||
* | | Remove superfluous PHP version check in tests | Gabriel Caruso | 2018-02-04 | 3 | -8/+0 |
| | | | | | | | | Also remove tests that target only old PHP versions. | ||||
* | | Remove superfluous SKIPIF sections in more tests | Gabriel Caruso | 2018-02-04 | 2 | -2/+0 |
| | | |||||
* | | Remove checks for unicode.semantics ini option | Nikita Popov | 2018-02-03 | 4 | -8/+0 |
| | | |||||
* | | Simplify E_STRICT handling in mysqli tests | Nikita Popov | 2018-02-03 | 3 | -116/+24 |
| | | | | | | | | | | | | E_STRICT is always defined, so we don't need to handle it conditionally. Instead just let the message be printed and check the output. | ||||
* | | A cheaper way to clone reference value. | Dmitry Stogov | 2018-01-17 | 1 | -2/+4 |
| | | |||||
* | | Trailing whitespaces | Gabriel Caruso | 2018-01-03 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com> | ||||
* | | year++ | Xinchen Hui | 2018-01-02 | 17 | -17/+17 |
| | | |||||
* | | zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is ↵ | Dmitry Stogov | 2017-12-27 | 1 | -1/+0 |
| | | | | | | | | initialized if zend_fcall_info_cache.function_handler is set). | ||||
* | | Move constants into read-only data segment | Dmitry Stogov | 2017-12-15 | 1 | -1/+1 |
| | | |||||
* | | Move zend_object_iterator_funcs structures into read-only data segment | Dmitry Stogov | 2017-12-14 | 2 | -3/+3 |
| | | |||||
* | | Cleanup type conversion | Dmitry Stogov | 2017-12-07 | 2 | -6/+3 |
| | | |||||
* | | Add zend_object_alloc() API | Nikita Popov | 2017-11-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Use single memory pool for result metadata and result set. | Dmitry Stogov | 2017-11-15 | 1 | -2/+2 |
| | | |||||
* | | Embeded zend_list into st_mysqlnd_error_info, to avoid extra ↵ | Dmitry Stogov | 2017-11-15 | 5 | -17/+29 |
| | | | | | | | | allocation/deallocation. | ||||
* | | Use interned strings for "magic" property of internal classes. (not copyied ↵ | Dmitry Stogov | 2017-11-01 | 1 | -1/+1 |
| | | | | | | | | into SHM) | ||||
* | | Persistent resources are "thread-local". | Dmitry Stogov | 2017-11-01 | 1 | -4/+2 |
| | | | | | | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex(). | ||||
* | | Fixed test | Dmitry Stogov | 2017-10-30 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'PHP-7.2' | Nikita Popov | 2017-10-28 | 3 | -3/+34 |
|\ \ | |/ | |||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2017-10-28 | 3 | -3/+34 |
| |\ | |||||
| | * | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-10-28 | 3 | -3/+34 |
| | |\ | |||||
| | | * | Fix bug #75434 Wrong reflection for mysqli_fetch_all function | Fabien Villepinte | 2017-10-28 | 3 | -3/+34 |
| | | | | |||||
* | | | | Avoid HashTable allocations for empty arrays (using zend_empty_array). | Dmitry Stogov | 2017-10-24 | 2 | -4/+18 |
| | | | | |||||
* | | | | Remove done and old TODO file from ext/mysqli | Peter Kokot | 2017-09-30 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | Since PHP documentation and ini settings should be updated for the mysqli extension, this patch removes an old and done TODO file from ext/mysqli folder. |