1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Commit Graph

2229 Commits

Author SHA1 Message Date
Peter Kokot 2cf90bb2f0 Merge branch 'PHP-7.4'
* PHP-7.4:
  Normalize comments in *nix build system m4 files
2019-05-12 18:51:50 +02:00
Peter Kokot 75fb74860d Normalize comments in *nix build system m4 files
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
  favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
2019-05-12 18:43:03 +02:00
Christoph M. Becker 206a3e96a6 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix log_verbosity_bug.phpt
2019-05-09 12:16:48 +02:00
Christoph M. Becker 9840a11117 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix log_verbosity_bug.phpt
2019-05-09 12:16:16 +02:00
Christoph M. Becker e46b3c3e70 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix log_verbosity_bug.phpt
2019-05-09 12:15:32 +02:00
Christoph M. Becker e359812ce3 Fix log_verbosity_bug.phpt
This test may fail on Windows due to the file cache fallback.  We
ensure that this will not happen.
2019-05-09 12:15:00 +02:00
Dmitry Stogov 66a1d821d3 Improved code for unordered comparison 2019-05-06 16:07:48 +03:00
Dmitry Stogov fc42ac2d78 Merge branch 'PHP-7.4'
* PHP-7.4:
  Use ZEND_HASH_FOREACH with direct callback, instead of callbacks
2019-04-30 14:50:38 +03:00
Dmitry Stogov ec5f7df732 Use ZEND_HASH_FOREACH with direct callback, instead of callbacks 2019-04-30 14:50:01 +03:00
Christoph M. Becker bb3f261839 Merge branch 'PHP-7.4'
* PHP-7.4:
  fix typo
2019-04-30 09:18:48 +02:00
蝦米 e4ed2bf922 fix typo 2019-04-30 09:18:17 +02:00
Dmitry Stogov 3d2a6d9bed Merge branch 'PHP-7.4'
* PHP-7.4:
  Also, use ZEND_ACC_PRELOADED for classes
2019-04-30 02:22:58 +03:00
Dmitry Stogov 8cdd215894 Also, use ZEND_ACC_PRELOADED for classes 2019-04-30 02:07:02 +03:00
Dmitry Stogov faf24142f3 Fixed JIT for preloaded functions and classes 2019-04-30 00:23:57 +03:00
Markus Staab 1db95f8e46 fixed typo 2019-04-29 11:07:22 +02:00
Peter Kokot 39caedac3e Merge branch 'PHP-7.4'
* PHP-7.4:
  Little detection change proposal.
2019-04-27 21:18:47 +02:00
David Carlier bb06030bf7 Little detection change proposal.
As pointed out, the further path is called by open rather than shm_open.
2019-04-27 21:18:27 +02:00
David Carlier 3a2cc1614a JIT profiling other BSD build fixes 2019-04-24 14:52:50 +02:00
Dmitry Stogov dd7cbadc02 Merge branch 'PHP-7.4'
* PHP-7.4:
  Optimize constant SWITCH_LONG and SWITCH_STRING
2019-04-24 00:09:12 +03:00
Dmitry Stogov db2ffcf157 Optimize constant SWITCH_LONG and SWITCH_STRING 2019-04-24 00:08:17 +03:00
Dmitry Stogov 26353a2640 Fixed test (Warning -> Exception) 2019-04-23 22:44:30 +03:00
Dmitry Stogov 16e0fe0baa Merge branch 'PHP-7.4'
* PHP-7.4:
  Don't eliminate BIND_STATIC if it may cause undefined constant warning
2019-04-23 22:40:11 +03:00
Dmitry Stogov 4d0d7ce349 Don't eliminate BIND_STATIC if it may cause undefined constant warning 2019-04-23 22:39:14 +03:00
Dmitry Stogov 4c25fc5479 Implemented JIT for SWITCH_LONG/SWITCH_STRING 2019-04-23 17:40:10 +03:00
Dmitry Stogov 35b7dd11fd Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused BIND_STATIC insructions
2019-04-23 02:21:45 +03:00
Dmitry Stogov 1827d784b5 Remove unused BIND_STATIC insructions 2019-04-23 02:21:08 +03:00
Dmitry Stogov 74153193c6 Use _zend_hash_find_known_hash() for IS_CONST operand 2019-04-22 21:07:05 +03:00
Dmitry Stogov 499b25c303 Fixed JIT for DEFINED opcode 2019-04-22 20:19:34 +03:00
Dmitry Stogov 4846413289 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fixed wrong opline
2019-04-22 11:06:27 +03:00
Dmitry Stogov abacb5e8ea Fixed wrong opline 2019-04-22 11:05:56 +03:00
Gabriel Caruso f13ad7836c Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix typo in comments
2019-04-19 13:12:21 -03:00
Fabien Villepinte baa9669392 Fix typo in comments 2019-04-19 13:11:50 -03:00
Dmitry Stogov e04fbdab2f Keep EX(opline) in consistency when call engine and helper functions 2019-04-18 22:19:57 +03:00
Dmitry Stogov 28828ffccb Fixed JIT for recursive functions with type-hints 2019-04-18 12:32:31 +03:00
Dmitry Stogov 35ee6dc69f Don't initialize return value before calling user functions 2019-04-18 03:00:20 +03:00
Dmitry Stogov eeb0842e97 Merge branch 'PHP-7.4'
* PHP-7.4:
  It's safe to keep old string if it's stored not in SHM.
2019-04-17 22:09:07 +03:00
Dmitry Stogov 663056aa5f Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  It's safe to keep old string if it's stored not in SHM.
2019-04-17 22:08:55 +03:00
Dmitry Stogov bfadd9fdaf It's safe to keep old string if it's stored not in SHM. 2019-04-17 21:57:17 +03:00
Nikita Popov 487d4d07b4 Remove some uses of deprecated internal_encoding settings in tests 2019-04-17 14:24:11 +02:00
Dmitry Stogov bf61ec6b7e Merge branch 'PHP-7.4'
* PHP-7.4:
  Eliminate FETCH $GLOBALS followed by FETCH_DIM/UNSET_DIM/ISSET_ISEMPTY_DIM
2019-04-17 11:53:09 +03:00
Dmitry Stogov 3ccd3aba90 Eliminate FETCH $GLOBALS followed by FETCH_DIM/UNSET_DIM/ISSET_ISEMPTY_DIM 2019-04-17 11:52:56 +03:00
Dmitry Stogov f603f5c63c Improved support for "context threading" (not enabled).
This technique uses CPU Register Address Stack for return branch predicion and give 25% improvement on some call intensive micro-becnhmarks. Unfotrunately, it also slow downs other recursive benchmarks (probably because of RAS size). The techniquea is not compatible with VM without register variables.
2019-04-16 13:33:01 +03:00
Nikita Popov 49b97af431 Suppress some maybe uninit warnings in jit 2019-04-15 11:47:10 +02:00
Nikita Popov 426f99126e Merge branch 'PHP-7.4' 2019-04-15 10:05:25 +02:00
Rodrigo Prado f1dbe6160c Remove functions from func_info that were removed in PHP 7 2019-04-15 10:04:41 +02:00
Nikita Popov 3fab73e24e Avoid misc uninitialized variable warnings 2019-04-12 15:12:45 +02:00
Nikita Popov 339b0af429 Avoid misc uninitialized variable warnings 2019-04-12 15:12:39 +02:00
Nikita Popov 785f034e41 Merge branch 'PHP-7.4' 2019-04-12 12:04:11 +02:00
Nikita Popov 49ce7c0014 Remove odd variable assignment in escape_analysis
As we are breaking out of the for loop setting i = ssa_vars_count
doesn't do anything, but it confuses GCC into throwing a no-overflow
assumption warning.
2019-04-12 11:56:37 +02:00
Dmitry Stogov 39505764ad Merge branch 'PHP-7.4'
* PHP-7.4:
  Replace "ZEND_CALL_CTOR" hack by additional live-range
2019-04-12 01:01:47 +03:00