summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for hex number from is_numeric_stringNikita Popov2015-01-281-35/+16
|
* Fix resource leak when casting to stringNikita Popov2015-01-241-8/+6
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* Fixed typoDmitry Stogov2015-01-141-3/+3
|
* Improve "instanceof". Interfaces of the left operand should be checked only ↵Dmitry Stogov2015-01-141-9/+47
| | | | if the right operand is interafce itself.
* Add hintingXinchen Hui2015-01-121-1/+1
|
* Faster strrpos implementationXinchen Hui2015-01-121-13/+55
|
* Faster zend_memnstr for long textXinchen Hui2015-01-121-2/+53
|
* trailing whitespace removalStanislav Malyshev2015-01-101-14/+14
|
* Fix the same leak with %=Nikita Popov2015-01-071-3/+4
|
* Fix leak for compound shift self-assign error casesNikita Popov2015-01-071-6/+8
|
* Added new API function 'zend_string* zend_string_tolower(zend_string*)'.Dmitry Stogov2014-12-241-0/+28
| | | | It simplifies code and avoids unnecessary allocation and copying if string is already in lower case.
* Please becareful with the tailed space after slashXinchen Hui2014-12-221-2/+2
|
* share that hunk of codeAndrea Faulds2014-12-231-91/+36
|
* Micro optimaztion (yeah, I know compiler supposed to do that)Xinchen Hui2014-12-221-14/+14
|
* Micro optimizationXinchen Hui2014-12-211-15/+8
|
* Micro optimizationsXinchen Hui2014-12-211-18/+17
|
* Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-211-1/+1
|
* Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-141-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: Fix bug #67106 split main fpm config split fpm config to two parts. PR#903 fix typo Fix undefined behaviour in strnatcmp Fix undefined behaviour in strnatcmp Fixed memory leak introduced by 73458e8f update NEWS move the test to the right place Fixed bug #68545 NULL pointer dereference in unserialize.c
| * Fixed memory leak introduced by 73458e8fAndrea Faulds2014-12-131-0/+18
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-133/+119
|/
* Removed unused variablesDmitry Stogov2014-12-121-3/+0
|
* Replaced zendi_convert_to_long() with _zval_get_long_func()Dmitry Stogov2014-12-111-105/+96
|
* Moved zend_is_true() from zend_execute.h/zend_execute_API.c into ↵Dmitry Stogov2014-12-111-61/+33
| | | | | | | zend_operators.h/zend_operators.c. Splited the most expensive part of inline i_zend_is_true() into a separate zend_object_is_true(). Replaced zendi_convert_to_long() with cals to zend_is_true().
* Move checks for references into slow paths of operator functions. Remove ↵Dmitry Stogov2014-12-061-57/+175
| | | | duplicate opcode handlers.
* fix datatype mismatchesAnatol Belski2014-10-271-2/+2
|
* Useless assignmentXinchen Hui2014-10-221-4/+3
|
* Moved proxy object support in ASSIGN_ADD (and family) from VM to slow paths ↵Dmitry Stogov2014-10-211-68/+66
| | | | of corresponding operators
* fix C89 compatAnatol Belski2014-09-251-4/+8
|
* fix indentationkrakjoe2014-09-251-1/+1
|
* fix zts buildkrakjoe2014-09-251-0/+2
|
* Optimized (PRE|POST)_(INC|DEC) handlers. Moved proxy object handling into ↵Dmitry Stogov2014-09-251-2/+20
| | | | helper function.
* It is not likely a stringXinchen Hui2014-09-231-2/+2
|
* Merge branch 'master' into integer_semanticsAndrea Faulds2014-09-211-4/+140
|\
| * Make number printing functions less genericNikita Popov2014-09-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that zend_ulong is 64bit on 64bit platforms, it should be sufficient to always use it, rather than supporting multiple types. API changes: * _zend_print_unsigned_to_buf and _zend_print_signed_to_buf no longer exist. * smart_str(ing)_print_long and smart_str(ing)_print_unsigned no longer exist. * Instead of all these, zend_print_ulong_to_buf and zend_print_long_to_buf should be used. * smart_str_append_generic_ex no longer exists. * smart_str(ing)_append_off_t(_ex) no longer exists, use smart_str(ing)_append_long(_ex) instead.
| * Fixed useless or duplicated IS_INTERNED() checksDmitry Stogov2014-09-191-2/+2
| |
| * Split is_numeric_string_ex() into inline and non-inline partsDmitry Stogov2014-09-181-0/+137
| |
* | Merge branch 'master' into integer_semanticsAndrea Faulds2014-09-161-177/+136
|\ \ | |/ | | | | | | Conflicts: Zend/zend_operators.h
| * We don't have to check for undefined CV if we fetch it for isset() operationDmitry Stogov2014-09-161-0/+2
| |
| * Fix $x .= $xNikita Popov2014-09-061-5/+10
| | | | | | | | Also add a nice comment pointing out that concat runs on magic.
| * Fix string incrementNikita Popov2014-09-051-3/+2
| |
| * Fix overflow check for string concatenationNikita Popov2014-09-051-17/+16
| | | | | | | | | | | | | | | | Also do the overflow check for both branches, not just the realloc one. And clean up the code a bit - move common parts outside of the realloc/alloc branches.
| * Remove old zend_string_to_double functionNikita Popov2014-09-051-46/+0
| |
| * use portable strtolAnatol Belski2014-09-021-1/+1
| |
| * Use efree_size() instead of efree() where posibleDmitry Stogov2014-08-271-1/+1
| |
| * Fix zend_longo_strNikita Popov2014-08-251-3/+3
| |
| * master renames phase 7PRE_AST_MERGEAnatol Belski2014-08-251-25/+25
| |
| * master renames phase 4Anatol Belski2014-08-251-1/+1
| |
| * master renames phase 3Anatol Belski2014-08-251-12/+12
| |
| * master renames phase 2Anatol Belski2014-08-251-2/+2
| |