Change default method of disabling JIT

https://wiki.php.net/rfc/jit_config_defaults
Closes GH-12678
This commit is contained in:
Daniil Gentili 2023-11-28 20:14:58 +01:00 committed by Ilija Tovilo
parent e0737d9376
commit c16ad918ba
No known key found for this signature in database
GPG key ID: A4F5D403F118200A
386 changed files with 15 additions and 385 deletions

View file

@ -54,6 +54,16 @@ PHP 8.4 UPGRADE NOTES
is converted to Unicode. This is significant because around 40 SJIS-Mac characters
convert to a sequence of multiple Unicode codepoints.
- Opcache:
. The JIT config defaults changed from opcache.jit=tracing and
opcache.jit_buffer_size=0 to opcache.jit=disable and
opcache.jit_buffer_size=64M, respectively. This does not affect the default
behavior, the JIT is still disabled by default. However, it is now disabled
through the opcache.jit setting, rather than opcache.jit_buffer_size. This
may affect users who previously enabled JIT through opcache.jit_buffer_size
exclusively, without also specifying a JIT mode using opcache.jit. To enable
JIT, set the opcache.jit config value accordingly.
- PDO_DBLIB:
. setAttribute, DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER and DBLIB_ATTR_DATETIME_CONVERT
have been changed to set value as a bool.

View file

@ -118,7 +118,8 @@ function runValgrindPhpCgiCommand(
'-T' . ($warmup ? $warmup . ',' : '') . $repeat,
'-d max_execution_time=0',
'-d opcache.enable=1',
'-d opcache.jit_buffer_size=' . ($jit ? '128M' : '0'),
'-d opcache.jit=' . ($jit ? 'tracing' : 'disable'),
'-d opcache.jit_buffer_size=128M',
'-d opcache.validate_timestamps=0',
...$args,
]);

View file

@ -47,7 +47,7 @@
#define ZEND_JIT_REG_ALLOC_GLOBAL (1<<1) /* global linear scan register allocation */
#define ZEND_JIT_CPU_AVX (1<<2) /* use AVX instructions, if available */
#define ZEND_JIT_DEFAULT_BUFFER_SIZE "0"
#define ZEND_JIT_DEFAULT_BUFFER_SIZE "64M"
#define ZEND_JIT_COUNTER_INIT 32531

View file

@ -5,7 +5,6 @@ opcache
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.jit_buffer_size=64M
opcache.jit=function
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ADD: 001
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ADD: 002
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ADD: 003
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ADD: 004
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ADD: 005
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ADD: 006
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ADD: 007 Addition with immediate values
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ADD: 008 Addition with reference IS_VAR
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
opcache.jit=tracing
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ADD: 009 two array references
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
$a = [];

View file

@ -4,7 +4,6 @@ JIT ADD: 010 overflow handling
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--SKIPIF--
<?php if (PHP_INT_SIZE != 8) die("skip: 64-bit only"); ?>
--FILE--

View file

@ -4,7 +4,6 @@ JIT ADD: 011 overflow handling
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--SKIPIF--
<?php if (PHP_INT_SIZE != 8) die("skip: 64-bit only"); ?>
--FILE--

View file

@ -4,7 +4,6 @@ JIT ADD: 012 register allocation for 64-bit constant
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--SKIPIF--
<?php if (PHP_INT_SIZE != 8) die("skip: 64-bit only"); ?>
--FILE--

View file

@ -4,7 +4,6 @@ JIT ADD: 013 register allocation (incorrect hinting)
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function y(){

View file

@ -4,7 +4,6 @@ JIT ADD: 014 incorrect guard elimination
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function test() {

View file

@ -4,7 +4,6 @@ JIT BW_AND: 001 (empty string)
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
$a = [];

View file

@ -4,7 +4,6 @@ JIT BW_AND: 002 (memory leak)
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function t($a) {

View file

@ -4,7 +4,6 @@ Occupied next element
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
$float = 100000000000000000000000000000000000000;

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 001
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 002
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=1
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 003
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 004
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 005
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 006
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 007
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 008
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 009
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 010
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 011
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 012
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 013
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 014
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 015
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 016
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 017
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 018
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 019
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 020
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 021
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 022
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 023
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 024
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 025
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 026
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 027
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
;opcache.jit_debug=257
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 028
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 029
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 030
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 031
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 032
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 033
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: 034
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Segfault & memleak if no RC info
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Assign with INTERNED string(no RC)
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Assign refcounted string (with result)
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Assign constant (with result)
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
opcache.optimization_level=0 ; disable optimizer to produce ASSIGN with result

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Assign reference IS_VAR
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
;opcache.jit_debug=257
--EXTENSIONS--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Typed reference error with return value
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Assign to typed reference should return modified value
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Assign to of reference with 1 refcount
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: Undef var notice promoted to exception
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: DASM_S_RANGE_VREG error
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: incorrect assumption about in-memory zval type
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: incorrect assumption about in-memory zval type
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: incorrect narrowing to double
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: incorrect type store elimination
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
opcache.optimization_level=0x7FFEBFFF
--FILE--

View file

@ -4,7 +4,6 @@ JIT ASSIGN: register allocation on x86
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: incorrect type store elimination
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: incorrect assignment optimization
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: incorrect reference counting
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: memory leak
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: missing type store
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: memory leak
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN: ASSING+SEND and typed reference
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.protect_memory=1
--FILE--
<?php

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 002
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--EXTENSIONS--
opcache
--FILE--

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 003
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
opcache.jit=tracing
--EXTENSIONS--
opcache

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 004
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
class Test implements ArrayAccess {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 005
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
set_error_handler(function ($code, $msg) {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 006
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function foo($s) {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 007
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
set_error_handler(function() {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 008
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function(int $a) {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 009
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
$y[] = $r = &$G;

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 010
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function test() {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 011
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
$my_var = null <

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 012
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function test($key) {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 013
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
function test() {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 014
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
set_error_handler(function($code, $err) {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 015
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
set_error_handler(function($code, $msg) use (&$my_var) {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 016
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function foo() {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM: 017
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=1M
--FILE--
<?php
function test() {

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM_OP: 001
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--EXTENSIONS--
opcache
--FILE--

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM_OP: Undefined variable
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--EXTENSIONS--
opcache
--FILE--

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM_OP: Undefined variable variation
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
$a = [];

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM_OP: Cyclic dependency
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
$a = null;

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM_OP: Undefined variable and index with exception
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
set_error_handler(function($_, $m){

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM_OP 006: Clobbering array be user error handler
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
$my_var = null;

View file

@ -4,7 +4,6 @@ JIT ASSIGN_DIM_OP: overflow
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
opcache.jit_buffer_size=64M
--FILE--
<?php
class test {

Some files were not shown because too many files have changed in this diff Show more