3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = opcache_get_status(); var_dump($a); $b = opcache_reset(); var_dump($b);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.20.0070.01317.58
8.4.10.0000.00820.60
8.3.140.0040.00416.96
8.3.130.0060.00318.00
8.3.120.0120.00320.58
8.3.110.0030.00616.41
8.3.100.0040.00424.06
8.3.90.0100.01026.77
8.3.80.0060.00318.43
8.3.70.0090.00616.36
8.3.60.0160.00616.25
8.3.50.0090.01121.03
8.3.40.0120.00318.55
8.3.30.0100.00318.45
8.3.20.0040.00419.08
8.3.10.0070.00023.48
8.3.00.0030.00522.52
8.2.260.0110.00716.72
8.2.250.0030.00616.58
8.2.240.0040.00417.04
8.2.230.0000.00820.94
8.2.220.0180.00337.54
8.2.210.0050.00326.77
8.2.200.0030.00618.04
8.2.190.0120.00316.58
8.2.180.0090.01216.75
8.2.170.0140.00022.96
8.2.160.0150.00020.88
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0180.00617.50
8.2.110.0160.00319.30
8.2.100.0080.00419.51
8.2.90.0080.00019.23
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0000.01020.41
8.2.30.0030.00519.05
8.2.20.0040.00417.56
8.2.10.0040.00417.86
8.2.00.0040.00417.86
8.1.310.0040.00416.49
8.1.300.0070.01120.23
8.1.290.0030.00630.84
8.1.280.0120.00325.92
8.1.270.0080.00023.91
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00622.54
8.1.230.0040.00717.42
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00617.10
8.1.190.0040.00417.11
8.1.180.0080.00018.10
8.1.170.0040.00418.53
8.1.160.0030.00522.17
8.1.150.0040.00418.77
8.1.140.0040.00419.49
8.1.130.0040.00417.52
8.1.120.0000.00717.28
8.1.110.0040.00417.31
8.1.100.0040.00417.27
8.1.90.0070.00017.39
8.1.80.0000.00717.35
8.1.70.0040.00417.36
8.1.60.0060.00317.52
8.1.50.0000.00917.47
8.1.40.0030.00517.43
8.1.30.0080.00017.48
8.1.20.0040.00417.51
8.1.10.0040.00417.45
8.1.00.0040.00417.37
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0070.00018.37
8.0.270.0030.00317.10
8.0.260.0060.00317.29
8.0.250.0000.00616.75
8.0.240.0040.00416.86
8.0.230.0050.00316.88
8.0.220.0000.00716.73
8.0.210.0030.00316.71
8.0.200.0070.00016.70
8.0.190.0000.00816.77
8.0.180.0090.00016.75
8.0.170.0080.00016.73
8.0.160.0040.00416.71
8.0.150.0040.00416.83
8.0.140.0070.00016.80
8.0.130.0050.00013.23
8.0.120.0040.00416.76
8.0.110.0070.00016.79
8.0.100.0050.00216.69
8.0.90.0030.00316.85
8.0.80.0110.00716.74
8.0.70.0000.00816.66
8.0.60.0000.00716.85
8.0.50.0040.00416.68
8.0.30.0140.00717.05
8.0.20.0130.00717.40
8.0.10.0000.00816.84
8.0.00.0030.01316.81
7.4.330.0060.00015.08
7.4.320.0030.00316.43
7.4.300.0000.00616.34
7.4.290.0040.00416.33
7.4.280.0030.00516.43
7.4.270.0020.00516.44
7.4.260.0000.00716.52
7.4.250.0040.00416.31
7.4.240.0070.00016.43
7.4.230.0000.00716.52
7.4.220.0040.00416.43
7.4.210.0100.00716.43
7.4.200.0000.00716.50
7.4.160.0080.01016.33
7.4.150.0110.00517.40
7.4.140.0130.00817.86
7.4.130.0130.00716.53
7.4.120.0100.00716.30
7.4.110.0040.01416.30
7.4.100.0140.00716.34
7.4.90.0030.01316.39
7.4.80.0130.00319.39
7.4.70.0100.00616.38
7.4.60.0100.00616.38
7.4.50.0080.00816.35
7.4.40.0100.00716.27
7.4.30.0110.00716.50
7.4.10.0100.01014.71
7.4.00.0080.00914.96
7.3.330.0030.00312.98
7.3.320.0030.00313.00
7.3.310.0030.00716.14
7.3.300.0060.00016.16
7.3.290.0100.00616.12
7.3.280.0080.01116.12
7.3.270.0120.00617.40
7.3.260.0170.00516.29
7.3.250.0070.00916.32
7.3.240.0050.01216.35
7.3.230.0080.00816.39
7.3.210.0110.00716.19
7.3.200.0090.00616.13
7.3.190.0120.00916.52
7.3.180.0070.01016.11
7.3.170.0100.00616.17
7.3.160.0040.01216.37
7.3.130.0130.00614.64
7.3.120.0130.00614.71
7.3.110.0100.01014.61
7.3.100.0060.00914.59
7.3.90.0030.00614.72
7.3.80.0050.00514.63
7.3.70.0030.01014.69
7.3.60.0110.00414.52
7.3.50.0030.00614.41
7.3.40.0070.01114.60
7.3.30.0030.01114.59
7.3.20.0000.01316.54
7.3.10.0110.00316.48
7.3.00.0030.01016.36
7.2.330.0140.01116.40
7.2.320.0030.01316.21
7.2.310.0130.00316.21
7.2.300.0120.00616.50
7.2.290.0100.00616.58
7.2.260.0060.01314.77
7.2.250.0060.01014.74
7.2.240.0000.01214.58
7.2.230.0070.00715.09
7.2.220.0070.01114.86
7.2.210.0140.00014.80
7.2.200.0100.00314.93
7.2.190.0120.00414.81
7.2.180.0070.00314.86
7.2.170.0060.01215.00
7.2.160.0000.01315.00
7.2.150.0060.00616.93
7.2.140.0070.00716.72
7.2.130.0030.00716.48
7.2.120.0040.00416.42
7.2.110.0060.00616.80
7.2.100.0090.00616.83
7.2.90.0040.01516.75
7.2.80.0110.00716.59
7.2.70.0090.00916.85
7.2.60.0030.00816.77
7.2.50.0030.00716.89
7.2.40.0100.00316.67
7.2.30.0040.00716.86
7.2.20.0070.00716.79
7.2.10.0060.00616.86
7.2.00.0050.00818.00
7.1.330.0080.00315.81
7.1.320.0100.00315.59
7.1.310.0130.00015.91
7.1.300.0060.00615.60
7.1.290.0060.01015.62
7.1.280.0040.01215.46
7.1.270.0000.00815.77
7.1.260.0060.00615.75
7.1.250.0050.00515.73
7.1.240.0070.00715.66
7.1.230.0060.00615.55
7.1.220.0000.01015.86
7.1.210.0100.00315.46
7.1.200.0070.00815.63
7.1.190.0050.00315.79
7.1.180.0040.00715.62
7.1.170.0140.00015.60
7.1.160.0090.00615.59
7.1.150.0060.00315.73
7.1.140.0070.00715.73
7.1.130.0030.01015.55
7.1.120.0070.01115.79
7.1.110.0040.00815.70
7.1.100.0050.00817.05
7.1.90.0070.01015.86
7.1.80.0060.01315.77
7.1.70.0050.00616.36
7.1.60.0050.00917.89
7.1.50.0080.01116.18
7.1.40.0040.00715.81
7.1.30.0000.01515.76
7.1.20.0060.00915.54
7.1.10.0070.00715.55
7.1.00.0050.03918.93
7.0.330.0040.01115.40
7.0.320.0030.00515.27
7.0.310.0070.01115.54
7.0.300.0030.01015.39
7.0.290.0060.00615.34
7.0.280.0040.00815.21
7.0.270.0130.00015.28
7.0.260.0070.01015.16
7.0.250.0100.00315.27
7.0.240.0030.01215.54
7.0.230.0070.00715.42
7.0.220.0070.01115.31
7.0.210.0060.00615.04
7.0.200.0080.00515.00
7.0.190.0120.00315.40
7.0.180.0060.00615.27
7.0.170.0000.01515.06
7.0.160.0030.01015.44
7.0.150.0090.00615.55
7.0.140.0070.00715.12
7.0.130.0090.00615.40
7.0.120.0050.00315.29
7.0.110.0000.01415.40
7.0.100.0100.04517.69
7.0.90.0190.03217.73
7.0.80.0090.03717.66
7.0.70.0130.02917.62
7.0.60.0080.03217.50
7.0.50.0080.03417.89
7.0.40.0100.03316.86
7.0.30.0170.02716.86
7.0.20.0050.03916.91
7.0.10.0050.04116.81
7.0.00.0150.03016.84
5.6.400.0060.00914.00
5.6.390.0000.00914.21
5.6.380.0030.00714.30
5.6.370.0120.00414.17
5.6.360.0040.00814.06
5.6.350.0130.00314.11
5.6.340.0060.00313.79
5.6.330.0040.01514.25
5.6.320.0030.00814.42
5.6.310.0100.00314.09
5.6.300.0070.00714.18
5.6.290.0100.00714.23
5.6.280.0090.00614.36
5.6.270.0070.00714.11
5.6.260.0030.01014.27
5.6.250.0070.03417.45
5.6.240.0120.03417.43
5.6.230.0100.03117.30
5.6.220.0070.03717.53
5.6.210.0150.02817.43
5.6.200.0070.04017.68
5.6.190.0080.03317.69
5.6.180.0050.04717.48
5.6.170.0100.03117.46
5.6.160.0110.03417.67
5.6.150.0150.03417.64
5.6.140.0090.03117.57
5.6.130.0090.03417.66
5.6.120.0120.03517.61
5.6.110.0050.03817.49
5.6.100.0080.03517.61
5.6.90.0110.03217.57
5.6.80.0150.02717.37
5.6.70.0160.03517.32
5.6.60.0110.03717.29
5.6.50.0080.04017.22
5.6.40.0120.02817.26
5.6.30.0100.03017.30
5.6.20.0070.03117.21
5.6.10.0070.03317.21
5.6.00.0100.02817.24

preferences:
68.42 ms | 403 KiB | 5 Q