summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | don't count op_arrays stored in opcache SHMDmitry Stogov2015-02-201-1/+1
| | | |
* | | | Merge in masterAnthony Ferrara2015-02-181-6/+9
|\ \ \ \ | |/ / /
| * | | Made ZEND_ACC_TRAIT a saner valueGuilherme Blanco2015-02-121-5/+8
| | | | | | | | | | | | | | | | CC_TRAIT valued as 0x120 is too magical to be comprehensible by others.
| * | | fix data typesAnatol Belski2015-02-121-1/+1
| |/ /
* | | Prefix zend_wrong_param_count with _ to discourage useAndrea Faulds2015-02-101-1/+1
| | |
* | | Partial ZPP strictness implementationAndrea Faulds2015-02-101-43/+62
| | |
* | | Forbid scalar type hint names for use, class_aliasAndrea Faulds2015-02-101-0/+3
| | |
* | | Scalar type hints with ZPP casting rulesAndrea Faulds2015-02-101-0/+1
|/ /
* | Merge branch 'internal-function-return-types' of github.com:reeze/php-src ↵Dmitry Stogov2015-02-051-0/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | into test * 'internal-function-return-types' of github.com:reeze/php-src: Add load time return type checking to match user land logic Add test function arguments Implemented internal function return types
| * | Add load time return type checking to match user land logicReeze Xia2015-02-051-2/+17
| | |
| * | Implemented internal function return typesReeze Xia2015-02-051-0/+4
| |/
* | Move zend_object->guards into additional slot of ↵Dmitry Stogov2015-02-041-0/+4
|/ | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.
* Implement return typesLevi Morrison2015-01-271-0/+3
| | | | RFC is documented here: https://wiki.php.net/rfc/return_types
* Fixed double free and cleanupDmitry Stogov2015-01-221-24/+0
|
* zend_read_property() has to provide a holder for return value.Dmitry Stogov2015-01-221-3/+2
| | | | Previously it was possible that zend_read_property() returned pointer to zval allocated on stack.
* Unused parse_arg_object_to_stringXinchen Hui2015-01-201-41/+0
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* Faster sorting algoXinchen Hui2015-01-141-2/+2
|
* Handle run-time cache for static properties directly in executor.Dmitry Stogov2015-01-131-2/+2
| | | | Removed cache_slot argument in zend_std_get_static_property() and zend_std_unset_static_property().
* trailing whitespace removalStanislav Malyshev2015-01-101-18/+18
|
* Fixed #68779 (Incorrect sizeof)Xinchen Hui2015-01-101-2/+2
|
* Make zend_parse_parameters share fast zpp implementation where possibleAndrea Faulds2014-12-291-215/+48
| | | | | | | | | | | | | | Rename shared implementation functions and build them unconditionally Don't fail on empty path for zend_parse_arg_path Update type names Fix behaviour of by-reference "z" Make 'o' use zend_parse_arg_object Fix NULL string check in zend_parse_arg_path(_str)
* For disabled function, to disable arguments checks, we have to reset ↵Dmitry Stogov2014-12-241-0/+2
| | | | num_args and some related flags (in addition to arg_info)
* Added new API function 'zend_string* zend_string_tolower(zend_string*)'.Dmitry Stogov2014-12-241-3/+2
| | | | It simplifies code and avoids unnecessary allocation and copying if string is already in lower case.
* Don't count variadic argument in zend_func.common.num_args. This allows ↵Dmitry Stogov2014-12-221-0/+2
| | | | faster CALL/RETURN code.
* Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-211-9/+9
|
* Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-151-1/+0
|\ | | | | | | | | | | | | | | * origin/master: Save 8 bytes on 64 bits Conflicts: Zend/zend_API.c
| * Save 8 bytes on 64 bitsXinchen Hui2014-12-151-1/+0
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-282/+279
|/
* Merge branch 'zppFailOnOverflow'Andrea Faulds2014-12-131-14/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * zppFailOnOverflow: Fix MySQLi tests Fixed gd test Refactor ZEND_LONG_MAX/MIN checks into ZEND_DOUBLE_FITS_LONG() Fixed copy-and-paste error Fix more 32-bit tests Skip buncha tests on 32-bit skip simplexml skip posix 32-bit skip tests on 32-bit Fixes simplexml test Fixes posix tests Fixes iconv tests Marked tests as 32-bit Fixed more 32-bit tests Fixed some 32-bit tests Mark said ext/date tests as 32-bit only Fixed ext/date tests broken by zpp error on overflow Fixed broken tests Make zpp fail if NaN passed for int, or out-of-range float for non-capping int Conflicts: ext/date/tests/getdate_variation7.phpt ext/date/tests/localtime_variation3.phpt
| * Refactor ZEND_LONG_MAX/MIN checks into ZEND_DOUBLE_FITS_LONG()Andrea Faulds2014-11-291-2/+2
| |
| * Merge branch 'master' into zppFailOnOverflowAndrea Faulds2014-11-291-6/+6
| |\
| * \ Merge branch 'master' into zppFailOnOverflowAndrea Faulds2014-11-081-10/+13
| |\ \
| * \ \ Merge branch 'master' into zppFailOnOverflowAndrea Faulds2014-11-011-129/+129
| |\ \ \
| * | | | Make zpp fail if NaN passed for int, or out-of-range float for non-capping intAndrea Faulds2014-09-221-14/+18
| | | | |
* | | | | Fixed compilation warningsDmitry Stogov2014-12-121-2/+2
| | | | |
* | | | | Fix zend_fcall_info_arg*() to use ZVAL_COPYMichael Wallner2014-12-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As zend_fcall_info_args_clear() calls zval_ptr_dtor() we also have to increase the refcount of refcounted zvals added as params, like it is already done in zend_fcall_info_args_ex().
* | | | | Use zend_string* for op_array->arg_info[]->name and ↵Dmitry Stogov2014-12-031-1/+1
| |_|_|/ |/| | | | | | | | | | | op_array->arg_info[]->class_name. For internal functions we still use char*.
* | | | Rename EX_VAR_2() into ZEND_CALL_VAR() and EX_VAR_NUM_2() into ↵Dmitry Stogov2014-11-281-1/+1
| | | | | | | | | | | | | | | | ZEND_CALL_VAR_NUM().
* | | | Pack EX(num_args) into EX(This).u2.num_argsDmitry Stogov2014-11-281-5/+5
| |_|/ |/| |
* | | Improved object property access.Dmitry Stogov2014-11-061-10/+13
| |/ |/|
* | Merge branch 'PHP-5.6'Xinchen Hui2014-10-311-12/+6
|\ \ | | | | | | | | | | | | Conflicts: Zend/zend_API.c
| * | Fixed Bug #68104 (Segfault while pre-evaluating a disabled function)Xinchen Hui2014-10-311-9/+6
| | |
* | | fix datatype mismatchesAnatol Belski2014-10-241-3/+3
| | | | | | | | | | | | and convert len args to size_t where the underlaying API uses zend_string
* | | fix datatype mismatch warningsAnatol Belski2014-10-241-9/+9
| | |
* | | move key lengths to use size_t as zend_string is used internally anywayAnatol Belski2014-10-231-42/+42
| | |
* | | Optimized property access handlers. Removed EG(std_property_info).Dmitry Stogov2014-10-171-6/+6
| | |
* | | Merge branch 'PHP-5.6'Anatol Belski2014-10-121-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: DLL export several APIs needed for phpdbg
| * | DLL export several APIs needed for phpdbgAnatol Belski2014-10-121-1/+1
| | |
* | | Update get_class_name semanticsNikita Popov2014-10-091-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * get_class_name is now only used for displaying the class name in debugging functions like var_dump, print_r, etc. It is no longer used in get_class() etc. * As it is no longer used in get_parent_class() the parent argument is now gone. This also fixes incorrect parent classes being reported in COM. * get_class_name is now always required (previously some places made it optional and some required it) and is also required to return a non-NULL value. * Remove zend_get_object_classname. This also fixes a number of potential leaks due to incorrect usage of this function.