Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Double declaration | Xinchen Hui | 2015-10-12 | 1 | -1/+0 |
| | |||||
* | Restored the original (php-5) behavior of convert_to_cstring(). It was ↵ | Dmitry Stogov | 2015-10-07 | 1 | -1/+10 |
| | | | | broken in php7 by mistake and caused problems in ext/pgsql/tests/bug46408.phpt. | ||||
* | Revert "Merge branch 'array_keys_strict_refs' of ↵ | Dmitry Stogov | 2015-10-06 | 1 | -13/+41 |
| | | | | | | https://github.com/tony2001/php-src" This reverts commit a6be0f3fd6cdd59ac00ecd76630c6c04fee03417. | ||||
* | Merge branch 'array_keys_strict_refs' of https://github.com/tony2001/php-src | Bob Weinand | 2015-10-05 | 1 | -41/+13 |
| | |||||
* | Added folder marks | Xinchen Hui | 2015-09-10 | 1 | -1/+2 |
| | |||||
* | Change array sorting implementation to avoid two level callbacks system. | Dmitry Stogov | 2015-09-10 | 1 | -39/+26 |
| | | | | Simplify zval comparion API. | ||||
* | Better array_compare improvement | Dmitry Stogov | 2015-09-09 | 1 | -3/+23 |
| | |||||
* | Add myself into list of authors of the most refactored files. | Dmitry Stogov | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | Avoid array duplication | Dmitry Stogov | 2015-08-25 | 1 | -4/+6 |
| | |||||
* | Fixed signed/unsigned warnings in wddx | Nikita Popov | 2015-07-17 | 1 | -2/+2 |
| | | | | Also added extra const annotation to zend_memnstr. | ||||
* | Fixed bug #70057 (Build failure on 32-bit Mac OS X 10.6.8: recursive inlining) | Xinchen Hui | 2015-07-13 | 1 | -8/+2 |
| | |||||
* | Use NULL where possible for exception class | Aaron Piotrowski | 2015-07-07 | 1 | -7/+7 |
| | | | | Matches usage of zend_throw_exception()/zend_throw_exception_ex(). | ||||
* | bring back the division by zero warning | Anatol Belski | 2015-07-05 | 1 | -4/+20 |
| | |||||
* | Remove need to pass error level | Aaron Piotrowski | 2015-07-03 | 1 | -7/+7 |
| | |||||
* | Enable throwing custom exceptions from errors | Aaron Piotrowski | 2015-07-03 | 1 | -7/+7 |
| | |||||
* | Introduce ArithmeticError | Bob Weinand | 2015-07-02 | 1 | -3/+3 |
| | |||||
* | Same here | Xinchen Hui | 2015-07-02 | 1 | -1/+5 |
| | |||||
* | Use one_char_string | Xinchen Hui | 2015-07-02 | 1 | -2/+6 |
| | |||||
* | Use one_char_string | Xinchen Hui | 2015-07-02 | 1 | -1/+5 |
| | |||||
* | Use DivisionByZeroError instead of exception for %/intdiv() | Bob Weinand | 2015-07-02 | 1 | -1/+1 |
| | |||||
* | Remove warning upon division by zero | Bob Weinand | 2015-07-02 | 1 | -20/+4 |
| | |||||
* | Cleanup (avoid reallocatios and side effects in php_strip_tags) | Dmitry Stogov | 2015-07-01 | 1 | -0/+28 |
| | |||||
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -34/+34 |
| | | | | semantick changes). | ||||
* | Improved zend_string API (Francois Laupretre) | Dmitry Stogov | 2015-06-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net> Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre <francois@tekwire.net> Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods | ||||
* | Reverted wrong fb08798c9f0ea820d567668d0cea4833dc61dd8e | Dmitry Stogov | 2015-06-29 | 1 | -33/+21 |
| | |||||
* | Fix bug #69957 (Different ways of handling div/mod by zero) | Bob Weinand | 2015-06-28 | 1 | -21/+33 |
| | |||||
* | Drop duplicate object-to-type notices | Nikita Popov | 2015-06-22 | 1 | -10/+2 |
| | | | | | We already generate a recoverable fatal for these earlier, no need to throw an additional notice. | ||||
* | Fixed crash in Zend/tests/bug69891.phpt on x86 (32-bit). | Dmitry Stogov | 2015-06-22 | 1 | -1/+13 |
| | | | | | compare_function() now has to be compatible with binary_op_type (use fastcall convention). Introduced new zval_compare_function() to be used as zval comparison callback instead of compare_function(). | ||||
* | Use COW to prevent unnecessary duplication of dynamic propertyes of stdClass ↵ | Dmitry Stogov | 2015-06-17 | 1 | -3/+18 |
| | | | | (and other classes without predefined properties). | ||||
* | Support references in convert_to_* | Nikita Popov | 2015-06-16 | 1 | -8/+36 |
| | | | | | | | | | | | conver_to_* functions now accept REFERENCE values, which will be unwrapped before performing the usual conversion. This is consistent with convert_scalar_to_number and matches the expected behavior in a couple random use-sites I checked. Also includes a couple fixes/cleanups elsewhere and two tests for cases that previously didn't work (though the reference issue existed all over the place). | ||||
* | Fix references handling in convert_scalar_to_number | Nikita Popov | 2015-06-16 | 1 | -1/+1 |
| | |||||
* | Make convert_to_* safe with rc>1 | Nikita Popov | 2015-06-11 | 1 | -14/+10 |
| | | | | | | | | | | | | | This only involves switching zval_dtor to zval_ptr_dtor for arrays and making the convert_to_object for arrays a bit more generic. All the other changes outside zend_operators.c just make use of this new ability (use COPY instead of DUP). What's still missing: Proper references handling. I've seen many convert_to* calls that will break when a reference is used. Also fixes bug #69788. | ||||
* | fix bitwise object operations | Bob Weinand | 2015-06-04 | 1 | -2/+2 |
| | |||||
* | Use CG(one_char_string) if possible in bitwise string operations | Bob Weinand | 2015-06-03 | 1 | -8/+44 |
| | | | | emalloc() is not cheap... Also, a good part of bitwise string ops out there are on single bytes. | ||||
* | Inline IS_LONG value calculation and avoid strtol() call. | Dmitry Stogov | 2015-05-05 | 1 | -2/+11 |
| | |||||
* | Improve fast_is_[not_]identical() functions to teturn value instead of ↵ | Dmitry Stogov | 2015-04-29 | 1 | -33/+20 |
| | | | | | | takeing additional arguments. Pair INSTANCEOF with the following JMPZ/JMPNZ. | ||||
* | Undef results for new arithmetic exceptions | Nikita Popov | 2015-04-06 | 1 | -0/+3 |
| | | | | | For the compound assing case (e.g. $a <<= $b) the result is going to be dtored, so we have to set *some* value. | ||||
* | 0.0 / 0.0 = NaN | Dmitry Stogov | 2015-04-06 | 1 | -23/+1 |
| | |||||
* | fix build | Anatol Belski | 2015-04-06 | 1 | -1/+1 |
| | |||||
* | Fixed weird operators behavior. Division by zero now emits warning and ↵ | Dmitry Stogov | 2015-04-06 | 1 | -15/+41 |
| | | | | returns +/-INF, modulo by zero and intdid() throws an exception, shifts by negative offset throw exceptions. Compile-time evaluation of division by zero is disabled. | ||||
* | Fixed performance degradation introduced with lateast EnfineException ↵ | Dmitry Stogov | 2015-04-02 | 1 | -1/+1 |
| | | | | | | related changes. Restore original errors order in executor. | ||||
* | Convert fatal errors into EngineExceptions | Dmitry Stogov | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | Convert fatal errors into EngineExceptions | Dmitry Stogov | 2015-04-01 | 1 | -1/+3 |
| | |||||
* | Convert "Unsupported operands" fatal error into EngineException (exceptions ↵ | Dmitry Stogov | 2015-03-31 | 1 | -6/+6 |
| | | | | can't be thrown at compile-time yet, so unsuported operands in constant expressions are still lead to fatal error). | ||||
* | Removed unused functions | Dmitry Stogov | 2015-03-24 | 1 | -27/+0 |
| | |||||
* | Optimize zend_string_realloc() add more specialized versions ↵ | Dmitry Stogov | 2015-03-20 | 1 | -3/+3 |
| | | | | zend_string_extend() and zend_string_truncate() | ||||
* | Embed "fast" operator functions (add, sub, increment, etc) into executor ↵ | Dmitry Stogov | 2015-03-17 | 1 | -15/+4 |
| | | | | with additional optimizations | ||||
* | Fixed inconsistency | Dmitry Stogov | 2015-03-14 | 1 | -1/+1 |
| | |||||
* | Use fastcall calling convention for most critical ZE subsystems. | Dmitry Stogov | 2015-03-13 | 1 | -74/+74 |
| | |||||
* | Don't inline slow path | Dmitry Stogov | 2015-02-26 | 1 | -0/+32 |
| |