summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'pull-request/2742'Christoph M. Becker2017-09-1810-63/+92
|\ | | | | | | | | * pull-request/2742: Fixed bug #66364 (BCMath bcmul ignores scale parameter)
| * Fixed bug #66364 (BCMath bcmul ignores scale parameter)Christoph M. Becker2017-09-087-61/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | We change `bcmul()` and `bcpow()` so that the result has exactly the requested scale (i.e. decimal places) to make them consistent with the other BCMath functions. This also changes our stance regarding bug #52748, which had been classified as documentation problem. We do not manipulate the numbers themselves (anymore), but rather introduce `bc_num2str_ex()` which accepts a scale parameter that overrides the scale of the number by omitting extraneous decimals and adding zeros, respectively. This also allows us to get rid of `split_bc_num()`, which fixes bug #75164 as well.
* | Optimize POST_INC_OBJ + FREE into PRE_INC_OBJ (in the same way as simple ↵Dmitry Stogov2017-09-182-0/+4
| | | | | | | | POST_INC)
* | Allow removing of unused func_get_args() and func_get_num_args().Dmitry Stogov2017-09-182-0/+4
| |
* | Merge branch 'PHP-7.2'Dmitry Stogov2017-09-181-37/+44
|\ \ | | | | | | | | | | | | * PHP-7.2: Fixed optimization (the bug caused endless-loop on micro_bench.php in master branch)
| * | Fixed optimization (the bug caused endless-loop on micro_bench.php in master ↵Dmitry Stogov2017-09-181-37/+44
| | | | | | | | | | | | branch)
* | | Property access micro-optimization. (ZEND_WRONG_PROPERTY_OFFSET and ↵Dmitry Stogov2017-09-185-148/+149
| | | | | | | | | | | | ZEND_DYNAMIC_PROPERTY_OFFSET are hidden, use one comparison instead of two on fast paths. "Negative" offsets are reserved for future optimizations).
* | | Merge branch 'PHP-7.2'Anatol Belski2017-09-181-13/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix the version check causing the test fail
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-181-13/+1
| |\ \ | | | | | | | | | | | | | | | | * PHP-7.1: Fix the version check causing the test fail
| | * \ Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-09-181-13/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fix the version check causing the test fail
| | | * | Fix the version check causing the test failAnatol Belski2017-09-181-13/+1
| | | | |
* | | | | Merge branch 'PHP-7.2'Dmitry Stogov2017-09-181-0/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.2: Fixed bug #74878 (Data race in ZTS builds)
| * | | | Fixed bug #74878 (Data race in ZTS builds)Dmitry Stogov2017-09-182-0/+7
| | | | |
* | | | | Merge branch 'PHP-7.2'Anatol Belski2017-09-181-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.2: Update lib_versions.txt
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-181-2/+2
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-7.1: Update lib_versions.txt
| | * | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-09-181-2/+2
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * PHP-7.0: Update lib_versions.txt
| | | * | Update lib_versions.txtAnatol Belski2017-09-181-2/+2
| | | | |
* | | | | Merge branch 'PHP-7.2'Anatol Belski2017-09-151-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.2: Move to next binary SDK version for AppVeyor
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-151-1/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-7.1: Move to next binary SDK version for AppVeyor
| | * | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-09-151-1/+1
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * PHP-7.0: Move to next binary SDK version for AppVeyor
| | | * | Move to next binary SDK version for AppVeyorAnatol Belski2017-09-151-1/+1
| | | | |
* | | | | Removed IS_TYPE_COPYABLE flag.Dmitry Stogov2017-09-151-1/+1
| | | | |
* | | | | Merge branch 'pull-request/2751'Christoph M. Becker2017-09-144-0/+82
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/2751: reworked test added credits for #phptestfest reworked the tests, created test cases for defalte, gzip and unsupported brotli added basic zlib_get_coding_type() test
| * | | | | reworked testFlorian Engelhardt2017-09-144-14/+22
| | | | | |
| * | | | | added credits for #phptestfestFlorian Engelhardt2017-09-144-0/+8
| | | | | |
| * | | | | reworked the tests, created test cases for defalte, gzip and unsupported brotliFlorian Engelhardt2017-09-144-4/+60
| | | | | |
| * | | | | added basic zlib_get_coding_type() testFlorian Engelhardt2017-09-131-0/+10
| | | | | |
* | | | | | Structures comming from "unknown sources" should be marked as escaping.Dmitry Stogov2017-09-141-11/+73
| | | | | |
* | | | | | Avoid redundand iterations, checks and reloadsDmitry Stogov2017-09-141-11/+13
| | | | | |
* | | | | | Fixed escape analysis for ASSIGN_DIM/ASSIGN_OBJ opcodes and improved DCEDmitry Stogov2017-09-143-19/+59
| | | | | |
* | | | | | typoDmitry Stogov2017-09-141-1/+1
| | | | | |
* | | | | | [ci skip] Merge branch 'pull-request/2752'Christoph M. Becker2017-09-141-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/2752: Fixed typo
| * | | | | | Fixed typoMarkus Staab2017-09-131-1/+1
| | | | | | |
* | | | | | | [ci skip] Merge branch 'pull-request/2753'Christoph M. Becker2017-09-141-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/2753: Fix type-o in ext/reflection comment :speech_balloon:
| * | | | | | | Fix type-o in ext/reflection comment :speech_balloon:Sammy Kaye Powers2017-09-131-1/+1
| |/ / / / / /
* | | | | | | Merge branch 'PHP-7.2'Christoph M. Becker2017-09-141-3/+3
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | * PHP-7.2: [ci skip] Fix typos in UPGRADING
| * | | | | | [ci skip] Fix typos in UPGRADINGChristoph M. Becker2017-09-141-3/+3
| | | | | | |
* | | | | | | Added test. Invalid usage doesn't affect escape_satte of arrays/objects and ↵Dmitry Stogov2017-09-141-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | shouldn't prevent SCCP on "proper" paths.
* | | | | | | Revert "Mark incorrectly used arrays and objects as escaping"Dmitry Stogov2017-09-141-28/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9b2d3cce1946d913baba59ddd90fc7a8b3a192a4.
* | | | | | | Added debug outputDmitry Stogov2017-09-134-2/+62
| |/ / / / / |/| | | | |
* | | | | | Improved reference dependencies analysisDmitry Stogov2017-09-132-16/+75
| | | | | |
* | | | | | Merge branch 'pull-request/2745'Christoph M. Becker2017-09-1314-123/+48
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/2745: Fixed bug #75169 (BCMath errors/warnings bypass error handling)
| * | | | | | Fixed bug #75169 (BCMath errors/warnings bypass error handling)Christoph M. Becker2017-09-0912-123/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of writing warning messages to `stderr`, we employ PHP's error handling to raise `E_WARNING` even for the single case where `bc_rt_error()` has been called, since that did not actually error out. We choose to call `php_error_docref()` directly in libbcmath, since there is no upstream, and since other PHP core functionality is already used in our bundled libbcmath. Accordingly, we remove `rt.c` so it will not be accidentally used in the future. Besides adapting a few existing tests, we add new tests so that the warnings are tested at least once. We also get rid of the Windows specific tests, since the warning behavior is now supposed to be platform-agnostic.
* | | | | | | Merge branch 'pull-request/2739'Christoph M. Becker2017-09-134-6/+36
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/2739: Fix proto and indentation Fix arginfo Return old scale value from bcscale()
| * | | | | | | Fix proto and indentationChristoph M. Becker2017-09-061-2/+2
| | | | | | | |
| * | | | | | | Fix arginfoChristoph M. Becker2017-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `scale` parameter is now optional.
| * | | | | | | Merge branch 'pull-request/778' into bcscale-return-old-valueChristoph M. Becker2017-09-062-3/+26
| |\ \ \ \ \ \ \
| | * | | | | | | Return old scale value from bcscale()Chris Wright2014-08-182-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for #67855
* | | | | | | | | Merge branch 'PHP-7.2'Anatol Belski2017-09-130-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: [ci skip] update NEWS [ci skip] update NEWS
| * | | | | | | | [ci skip] update NEWSAnatol Belski2017-09-131-0/+5
| | | | | | | | |