#
f9724b93 |
| 01-Jul-2015 |
Bob Weinand |
Remove warning upon division by zero
|
#
d2d326a3 |
| 01-Jul-2015 |
Dmitry Stogov |
Cleanup (avoid reallocatios and side effects in php_strip_tags)
|
#
7aa76271 |
| 30-Jun-2015 |
Dmitry Stogov |
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
|
#
4bd22cf1 |
| 29-Jun-2015 |
Dmitry Stogov |
Improved zend_string API (Francois Laupretre) Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net>
Improved zend_string API (Francois Laupretre) 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
show more ...
|
#
1bba4452 |
| 29-Jun-2015 |
Dmitry Stogov |
Reverted wrong fb08798c9f0ea820d567668d0cea4833dc61dd8e
|
#
fb08798c |
| 28-Jun-2015 |
Bob Weinand |
Fix bug #69957 (Different ways of handling div/mod by zero)
|
Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2 |
|
#
8a83aed4 |
| 22-Jun-2015 |
Nikita Popov |
Drop duplicate object-to-type notices We already generate a recoverable fatal for these earlier, no need to throw an additional notice.
|
#
b97df475 |
| 22-Jun-2015 |
Dmitry Stogov |
Fixed crash in Zend/tests/bug69891.phpt on x86 (32-bit). compare_function() now has to be compatible with binary_op_type (use fastcall convention). Introduced new zval_compare_function() to b
Fixed crash in Zend/tests/bug69891.phpt on x86 (32-bit). 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().
show more ...
|
#
4a6e1345 |
| 17-Jun-2015 |
Dmitry Stogov |
Use COW to prevent unnecessary duplication of dynamic propertyes of stdClass (and other classes without predefined properties).
|
#
fb346c8f |
| 16-Jun-2015 |
Nikita Popov |
Support references in convert_to_* conver_to_* functions now accept REFERENCE values, which will be unwrapped before performing the usual conversion. This is consistent with convert_
Support references in convert_to_* 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).
show more ...
|
#
183c00dd |
| 16-Jun-2015 |
Nikita Popov |
Fix references handling in convert_scalar_to_number
|
#
5d3cf577 |
| 11-Jun-2015 |
Nikita Popov |
Make convert_to_* safe with rc>1 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
Make convert_to_* safe with rc>1 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.
show more ...
|
Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42 |
|
#
9ca564d5 |
| 04-Jun-2015 |
Bob Weinand |
fix bitwise object operations
|
#
8a1c5d15 |
| 03-Jun-2015 |
Bob Weinand |
Use CG(one_char_string) if possible in bitwise string operations emalloc() is not cheap... Also, a good part of bitwise string ops out there are on single bytes.
|
Revision tags: POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41 |
|
#
c591f022 |
| 10-May-2015 |
Stanislav Malyshev |
Fix bug #69403 and other int overflows
|
#
5fc88a99 |
| 05-May-2015 |
Dmitry Stogov |
Inline IS_LONG value calculation and avoid strtol() call.
|
Revision tags: php-5.6.9RC1 |
|
#
d880ead8 |
| 29-Apr-2015 |
Dmitry Stogov |
Improve fast_is_[not_]identical() functions to teturn value instead of takeing additional arguments. Pair INSTANCEOF with the following JMPZ/JMPNZ.
|
Revision tags: php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40 |
|
#
23c7f19e |
| 06-Apr-2015 |
Nikita Popov |
Undef results for new arithmetic exceptions For the compound assing case (e.g. $a <<= $b) the result is going to be dtored, so we have to set *some* value.
|
#
5820be02 |
| 06-Apr-2015 |
Dmitry Stogov |
0.0 / 0.0 = NaN
|
#
f0c533f4 |
| 06-Apr-2015 |
Anatol Belski |
fix build
|
#
cae0147e |
| 06-Apr-2015 |
Dmitry Stogov |
Fixed weird operators behavior. Division by zero now emits warning and returns +/-INF, modulo by zero and intdid() throws an exception, shifts by negative offset throw exceptions. Compile-time evalua
Fixed weird operators behavior. Division by zero now emits warning and 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.
show more ...
|
#
53d20140 |
| 02-Apr-2015 |
Dmitry Stogov |
Fixed performance degradation introduced with lateast EnfineException related changes. Restore original errors order in executor.
|
#
ec760d8f |
| 01-Apr-2015 |
Dmitry Stogov |
Convert fatal errors into EngineExceptions
|
#
780a8123 |
| 01-Apr-2015 |
Dmitry Stogov |
Convert fatal errors into EngineExceptions
|
Revision tags: php-5.6.8RC1, php-5.5.24RC1 |
|
#
e8672dee |
| 31-Mar-2015 |
Dmitry Stogov |
Convert "Unsupported operands" fatal error into EngineException (exceptions can't be thrown at compile-time yet, so unsuported operands in constant expressions are still lead to fatal error).
|