summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update versions for PHP 7.4.0alpha3php-7.4.0alpha3Derick Rethans2019-07-092-3/+3
|
* Update NEWS for PHP 7.4.0alpha3Derick Rethans2019-07-091-1/+1
|
* Catch up with current proceduresPeter Kokot2019-07-081-45/+58
| | | | | | | | - Git is used for moving existing extensions to PECL - PHP versions with the PHP 7.4 examples - Some minor tweaks here and there - Mention re2c also - Mention Docker image as a helper tool
* Add zend.exception_ignore_args [ci skip]Peter Kokot2019-07-081-0/+4
|
* Update NEWS [ci skip]Peter Kokot2019-07-081-0/+7
|
* Merge branch 'PHP-7.3' into PHP-7.4Peter Kokot2019-07-080-0/+0
|\ | | | | | | | | | | * PHP-7.3: Update NEWS [ci skip] Update NEWS [ci skip]
| * Update NEWS [ci skip]Peter Kokot2019-07-081-0/+7
| |
| * Merge branch 'PHP-7.2' into PHP-7.3Peter Kokot2019-07-080-0/+0
| |\ | | | | | | | | | | | | * PHP-7.2: Update NEWS [ci skip]
| | * Update NEWS [ci skip]Peter Kokot2019-07-081-3/+10
| | |
* | | Fixed dispatch from inlined hybrid opcode to another opcodeDmitry Stogov2019-07-081-5/+1
| | |
* | | Add ReflectionReference::getRefcount()Nikita Popov2019-07-083-2/+44
| | | | | | | | | | | | | | | | | | | | | | | | And don't return null for rc=1 references. Leave it to the user to decide whether or not they want to consider these as references or not. Fixes bug #78263.
* | | Catch up with recent changes [ci skip]Peter Kokot2019-07-083-3/+22
| | | | | | | | | | | | | | | | | | - RFC about password_hash portability improvements added - build system minor updates noted - typos
* | | Remove APACHE symbolPeter Kokot2019-07-083-13/+4
| | | | | | | | | | | | | | | The APACHE symbol was used in very early PHP versions to indicate the Apache module usage. Since PHP 4 this is no longer used in the code.
* | | Refactor genif.shPeter Kokot2019-07-082-30/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - Coding style fixes - ${1+"$@"} replaced with "$@" [1] - EXTRA_MODULE_PTRS variable is not used anymore - awk tool defined via environment variable - srcdir determined automatically from the genif.sh location [1] https://www.in-ulm.de/~mascheck/various/bourne_args/ Closes GH-4372
* | | Make busy wait busierNikita Popov2019-07-081-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Another stab in the dark to fix the intermittent failures of timeout tests on macos CI: We're using ITIMER_PROF, which means that the timer counts against user+system time. The "busy" wait loop counts against real time. Currently it calls microtime() on every iteration. If that call is implemented as a syscall rather than going through vDSO or commpage we might be seeing many context switches here which drive up the real time, but not user or system time. See if making the loop busier and calling microtime() less helps the situation.
* | | Delay EG(exception) check on slow pathDmitry Stogov2019-07-082-7/+31
| | |
* | | Deprecate passing invalid character to base_convert etcScott Dutton2019-07-0817-20/+470
| | | | | | | | | | | | RFC: https://wiki.php.net/rfc/base_convert_improvements
* | | Remove C89 checks for signal.h and strerrorPeter Kokot2019-07-082-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | These are part of the C89 and on today's systems not needed to be checked anymore. This removes symbols HAVE_SIGNAL and HAVE_STRERROR. - http://port70.net/~nsz/c/c89/c89-draft.html - locale.h is also part of C89 but will be removed per request in PHP 8
* | | Update libmagic patchPeter Kokot2019-07-089-96/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies the libmagic patch: - in upstream the HAVE_STRERROR check has been removed - in upstream library the HAVE_SIGNAL_H has been removed - indentations syncs with the upstream library - some irrelevant changes removed from the patch (log comment), upstream has this correctly logged already so no need to patch the comment. Closes GH-4298
* | | Implement FR #77230: Support custom CFLAGS and LDFLAGS from environmentChristoph M. Becker2019-07-083-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While it is already possible to *set* CFLAGS and LDFLAGS (actually all variables) from the environment for `nmake` (by passing the `/E` option), it is not possible to *add* any (C|LD)FLAGS, which can be useful in some cases. Instead of allowing this for `nmake`, we add support for additional custom (C|LD)FLAGS to `configure`, similar to how that works on Linux, so one could actually write: ```` set CFLAGS=foo & set LDFLAGS=bar & configure ```` This also allows us to use these flags during configure.
* | | Fix TsHashTable related race conditionsChristoph M. Becker2019-07-084-16/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although TsHashTable and the according API are supposed to easily make a HashTable thread-safe, they do not; for instance, there can be race conditions between finding and updating entries. We therefore avoid the usage of TsHashTable in favor of a HashTable with our own mutex management. The patch has been provided by krakjoe@php.net; I only did some minor fixes and tweaks.
* | | Simplify PHP_CHECK_PDO_INCLUDES callsPeter Kokot2019-07-087-97/+6
| | | | | | | | | | | | | | | | | | | | | Conditional checks were once used for backwards compatibility with phpize from PHP versions that didn't have this macro call yet. Closes GH-4376
* | | Fixed opcode descriptionDmitry Stogov2019-07-082-2/+2
| | |
* | | Remove some unused variablesPeter Kokot2019-07-083-13/+1
| | | | | | | | | | | | | | | | | | | | | - Variables php_abs_top_srcdir php_abs_top_builddir are no longer used. - ZEND_EXT_TYPE is always zend_extension and variable is no longer used. Closes GH-4378
* | | Provide argon2i(d) password hashing from sodium when neededSara Golemon2019-07-0710-166/+347
| | |
* | | Simplify expression and remove the possibility of div by 0Stanislav Malyshev2019-07-071-3/+3
| | | | | | | | | | | | Maybe should use exp2() but not sure about how supported it is.
* | | Remove PHP_DEBUG_MACROPeter Kokot2019-07-072-48/+0
| | | | | | | | | | | | | | | The macro is no longer used. The warning at the end of the configure script therefore is also no longer used.
* | | Remove some more Apache 1 left oversPeter Kokot2019-07-073-15/+5
| | | | | | | | | | | | | | | - warning in configure.ac is relevant for the sapi/apache - errors output redirected to /dev/null when checking Apache version
* | | Mention that zend_parse_parameters should not be testedNikita Popov2019-07-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Also mention that --CREDITS-- section should not be included anymore. We should also change qa.php.net to stop advertising these. [ci skip]
* | | Move footer to the end of configure outputPeter Kokot2019-07-061-15/+16
| | |
* | | Remove PTHREADS_ASSIGN_VARSPeter Kokot2019-07-052-32/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies TSRM build steps a bit and avoids doing unnecessary steps: - The `PTHREADS_CHECK_COMPILE` can called inside the for loops only since this is only where the `$pthreads_checked` variable is used. - Assigning variables can be then done only in the configure.ac once. - use `m4_include()` instead of the `sinclude()` in the middle of the build steps. - The `$threads_result` variable is not used in the code or in extensions.
* | | Remove superfluous assignmentChristoph M. Becker2019-07-051-1/+0
| | |
* | | Eliminate useless checksDmitry Stogov2019-07-051-2/+2
| | |
* | | Temporarily skip testChristoph M. Becker2019-07-051-0/+1
| | | | | | | | | | | | | | | | | | This test hangs on Windows for ~10 minutes as of commit 30019f4, so we temporarily skip it. The issue will be investigated by Joe and myself in due course.
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-07-050-0/+0
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-07-051-0/+1
| |\ \ | | |/
| | * Backport fe_reset_rw caseNikita Popov2019-07-051-0/+1
| | |
* | | Make sure all cases of fetch_dim_w adjustment are handledNikita Popov2019-07-051-56/+60
| | | | | | | | | | | | | | | | | | | | | Use EMPTY_SWITCH_DEFAULT_CASE() to trigger an assertion in case we miss something. Add missing FE_RESET_RW case.
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-07-052-4/+22
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-07-052-2/+28
| |\ \ | | |/
| | * Fix inference for compound object op on dimNikita Popov2019-07-052-2/+28
| | |
* | | Optimize integer in_array with strict=trueNikita Popov2019-07-051-12/+30
| | | | | | | | | | | | | | | It doesn't make sense that using in_array with strict=false is much faster for this case, due to lack of a specialized codepath.
* | | Replace ZEND_ASSIGN_ADD (and others) by ZEND_ASSIGN_OP, ZEND_ASSIGN_DIM_OP, ↵Dmitry Stogov2019-07-0527-8380/+2539
| | | | | | | | | | | | ZEND_ASSGIN_OBJ_OP and ZEND_ASSIGN_STATIC_PROP_OP
* | | Add testNikita Popov2019-07-052-0/+25
| | | | | | | | | | | | Forgot to commit this.
* | | Fix wrong size calculation related to function nameNikita Popov2019-07-051-6/+4
| | | | | | | | | | | | | | | It would be nice if we could drop this manual function name reuse code altogether and rely on interning for it.
* | | Preloading: Don't move conditional functions to back to scriptsNikita Popov2019-07-051-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conditional function declaration may be referenced by functions or classes that have been preloaded, so we should not move them back to scripts. What we probably should be doing though is to discard conditional functions that are not used in the optimizer. This is probably reasonably common for polyfills, where we will be able to const-eval the conditions and drop the BBs declaring the functions, but won't delete the function declarations themselves.
* | | Merge branch 'PHP-7.3' into PHP-7.4George Wang2019-07-042-4/+268
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3George Wang2019-07-042-4/+268
| |\ \ | | |/
| | * Updated to LiteSpeed SAPI V7.4.3George Wang2019-07-042-4/+268
| | | | | | | | | | | | | | | | | | | | | Increased response header count limit from 100 to 1000. Added crash handler to cleanly shutdown PHP request. Added CloudLinux mod_lsapi mode Fixed bug #76058
* | | Compact literals: Don't insert unmergeable keysNikita Popov2019-07-041-6/+11
| | | | | | | | | | | | | | | | | | | | | LITERAL_VALUE with related literals cannot be merged, avoid inserting them in the literals hash in the first place. Otherwise we may end up inserting the same key multiple times. We may also miss merging opportunities due to the duplicate keys.