3v4l.org

run code in 300+ PHP versions simultaneously
_GET _POST _COOKIE _FILES argv argc _SERVER GLOBALS <?php $_COOKIE['GLOBALS'] = 'echo'; $GLOBALS= $GLOBALS['next']= next($GLOBALS)[ $GLOBALS['next']['next']= next($GLOBALS)['GLOBALS'] ][ $next['GLOBALS']=next($GLOBALS[GLOBALS]['GLOBALS'])[$next['next']] ][ $next['GLOBALS']=next($next['GLOBALS']) ][ $GLOBALS[next]['next']($GLOBALS['next']['GLOBALS']) ] =next(neXt($next['next'])); foreach($GLOBALS as $var_name => $value) { echo $var_name; echo ' '; } ?>

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.3.60.0070.00718.56
8.3.50.0340.00721.00
8.3.40.0170.00318.73
8.3.30.0140.00018.96
8.3.20.0040.00420.35
8.3.10.0040.00423.53
8.3.00.0080.00019.38
8.2.180.0130.00616.50
8.2.170.0110.00322.96
8.2.160.0080.01220.52
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00722.24
8.2.110.0060.00320.16
8.2.100.0120.00017.91
8.2.90.0030.00519.05
8.2.80.0030.00617.97
8.2.70.0090.00017.38
8.2.60.0060.00317.93
8.2.50.0000.00818.07
8.2.40.0040.00419.76
8.2.30.0040.00417.87
8.2.20.0070.00017.54
8.2.10.0040.00417.95
8.2.00.0040.00417.48
8.1.280.0140.01425.92
8.1.270.0030.00623.91
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0060.00618.98
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.11
8.1.190.0040.00417.10
8.1.180.0060.00318.10
8.1.170.0000.01018.36
8.1.160.0000.00721.95
8.1.150.0000.00818.80
8.1.140.0050.00217.22
8.1.130.0030.00317.30
8.1.120.0030.00517.25
8.1.110.0000.00717.21
8.1.100.0040.00417.40
8.1.90.0050.00317.29
8.1.80.0000.00717.35
8.1.70.0000.00817.34
8.1.60.0060.00317.41
8.1.50.0000.00817.45
8.1.40.0000.00817.41
8.1.30.0040.00417.51
8.1.20.0060.00317.52
8.1.10.0040.00417.38
8.1.00.0000.00717.31
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0030.00318.48
8.0.270.0040.00417.28
8.0.260.0070.00016.84
8.0.250.0030.00317.07
8.0.240.0080.00017.05
8.0.230.0000.00716.90
8.0.220.0030.00417.02
8.0.210.0030.00316.88
8.0.200.0060.00017.05
8.0.190.0050.00317.04
8.0.180.0050.00316.89
8.0.170.0060.00316.91
8.0.160.0000.00816.92
8.0.150.0030.00316.93
8.0.140.0060.00616.75
8.0.130.0000.00613.46
8.0.120.0030.00616.95
8.0.110.0030.00516.98
8.0.100.0020.00517.04
8.0.90.0020.00516.95
8.0.80.0130.00316.93
8.0.70.0000.00716.83
8.0.60.0000.00716.80
8.0.50.0000.00716.82
8.0.30.0150.00517.26
8.0.20.0190.00317.40
8.0.10.0000.00816.91
8.0.00.0090.00817.12
7.4.330.0050.00015.00
7.4.320.0030.00316.51
7.4.300.0000.00716.45
7.4.290.0000.00716.52
7.4.280.0040.00416.54
7.4.270.0030.00316.52
7.4.260.0050.00316.41
7.4.250.0030.00516.56
7.4.240.0050.00216.57
7.4.230.0000.00716.63
7.4.220.0160.00916.55
7.4.210.0120.00316.67
7.4.200.0000.00716.37
7.4.160.0080.00816.67
7.4.150.0090.01217.40
7.4.140.0110.00917.86
7.4.130.0100.00716.47
7.4.120.0090.00816.67
7.4.110.0120.00916.49
7.4.100.0080.00816.55
7.4.90.0080.01116.72
7.4.80.0090.00919.39
7.4.70.0070.01316.68
7.4.60.0100.00616.51
7.4.50.0030.00316.43
7.4.40.0110.00916.61
7.4.30.0100.00716.36
7.4.00.0040.01214.80
7.3.330.0000.00613.18
7.3.320.0020.00213.11
7.3.310.0030.00316.19
7.3.300.0000.00616.35
7.3.290.0070.00716.30
7.3.280.0080.00916.36
7.3.270.0180.00017.40
7.3.260.0090.00616.30
7.3.250.0120.00816.41
7.3.240.0110.00516.33
7.3.230.0080.01216.44
7.3.210.0090.00916.57
7.3.200.0030.02319.39
7.3.190.0070.01116.51
7.3.180.0070.01016.58
7.3.170.0100.00616.37
7.3.160.0040.01216.49
7.3.10.0070.00316.57
7.3.00.0030.01016.92
7.2.330.0070.01116.86
7.2.320.0160.00716.86
7.2.310.0090.01516.73
7.2.300.0150.00316.68
7.2.290.0030.02016.84
7.2.130.0000.00916.83
7.2.120.0030.00616.72
7.2.110.0150.00016.99
7.2.100.0000.01217.00
7.2.90.0080.00417.00
7.2.80.0040.00816.87
7.2.70.0130.00316.86
7.2.60.0060.00816.84
7.2.50.0070.00716.97
7.2.40.0040.01217.06
7.2.30.0040.00816.88
7.2.20.0100.00316.88
7.2.10.0000.01116.71
7.2.00.0060.00618.25
7.1.250.0070.00715.72
7.1.200.0040.00815.74
7.1.100.0000.01118.17
7.1.70.0000.00717.04
7.1.60.0110.01419.32
7.1.50.0130.01017.11
7.1.00.0030.07722.57
7.0.200.0040.00416.74
7.0.140.0030.06722.00
7.0.60.0070.07720.03
7.0.50.0100.08317.66
7.0.40.0000.06320.27
7.0.30.0570.06720.21
7.0.20.0370.06320.18
7.0.10.0130.07720.00
7.0.00.0070.05020.31
5.6.210.0100.06020.52
5.6.200.0100.08318.13
5.6.190.0200.05720.67
5.6.180.0300.08320.41
5.6.170.0200.04720.50
5.6.160.0070.04020.44
5.6.150.0130.07018.22
5.6.140.0070.07318.22
5.6.130.0030.08718.19
5.6.120.0100.08021.00
5.6.110.0000.04720.99
5.6.100.0070.05021.02
5.6.90.0030.05021.03
5.6.80.0100.03320.29
5.6.70.4400.03320.43
5.5.350.0130.08020.35
5.5.340.0100.08017.92
5.5.330.0170.07720.36
5.5.320.0230.03320.34
5.5.310.0270.07020.29
5.5.300.0030.05718.01
5.5.290.0100.08317.87
5.5.280.0100.08020.87
5.5.270.0130.03720.79
5.5.260.0130.05320.89
5.5.250.0170.07020.69
5.5.240.0030.07720.24
5.4.450.1300.04719.57
5.4.440.0630.06319.15
5.4.430.0700.05719.37
5.4.420.0670.00019.52
5.4.410.0630.00019.04
5.4.400.0630.00019.22
5.4.390.0600.00019.09
5.4.380.0670.00019.18
5.4.370.0600.00019.04
5.4.360.0630.00018.95
5.4.350.0630.00019.07
5.4.340.0050.03511.98
5.4.320.0050.03812.46
5.4.310.0060.03812.46
5.4.300.0050.03712.46
5.4.290.0060.03812.46
5.4.280.0070.03312.36
5.4.270.0060.03712.36
5.4.260.0060.03712.36
5.4.250.0080.03512.36
5.4.240.0080.03412.36
5.4.230.0030.04012.35
5.4.220.0020.04012.35
5.4.210.0060.03512.35
5.4.200.0070.03712.35
5.4.190.0060.03612.35
5.4.180.0040.03812.34
5.4.170.0050.03612.36
5.4.160.0050.03712.35
5.4.150.0030.03912.35
5.4.140.0040.03812.03
5.4.130.0060.04112.02
5.4.120.0070.03711.98
5.4.110.0090.03211.98
5.4.100.0060.03511.98
5.4.90.0070.03511.97
5.4.80.0060.03711.97
5.4.70.0080.03211.97
5.4.60.0070.03411.97
5.4.50.0040.03811.97
5.4.40.0060.03611.96
5.4.30.0050.03811.96
5.4.20.0110.03311.95
5.4.10.0050.03611.96
5.4.00.0060.03611.45
5.3.290.0100.04212.80
5.3.280.0050.04112.71
5.3.270.0100.03712.73
5.3.260.0080.04012.72
5.3.250.0150.03612.72
5.3.240.0080.03812.72
5.3.230.0040.04012.70
5.3.220.0050.03812.68
5.3.210.0060.03912.68
5.3.200.0080.03412.68
5.3.190.0050.03912.68
5.3.180.0090.03412.68
5.3.170.0070.03612.67
5.3.160.0070.03912.68
5.3.150.0080.03512.67
5.3.140.0030.03812.66
5.3.130.0080.03612.66
5.3.120.0070.03712.66
5.3.110.0110.03412.66
5.3.100.0040.03812.12
5.3.90.0100.03112.08
5.3.80.0100.03212.08
5.3.70.0110.03112.07
5.3.60.0090.03612.06
5.3.50.0070.03512.00
5.3.40.0130.02912.00
5.3.30.0100.03211.95
5.3.20.0100.03111.73
5.3.10.0130.03411.70
5.3.00.0080.04111.68
5.2.170.0080.0319.18
5.2.160.0060.0309.18
5.2.150.0070.0299.18
5.2.140.0030.0329.18
5.2.130.0050.0309.14
5.2.120.0070.0279.14
5.2.110.0060.0299.15
5.2.100.0020.0369.14
5.2.90.0030.0309.14
5.2.80.0070.0289.14
5.2.70.0060.0299.14
5.2.60.0070.0299.09
5.2.50.0070.0319.07
5.2.40.0070.0269.04
5.2.30.0050.0329.01
5.2.20.0050.0289.00
5.2.10.0040.0308.92
5.2.00.0050.0288.78
5.1.60.0050.0228.07
5.1.50.0060.0238.07
5.1.40.0060.0228.05
5.1.30.0060.0278.40
5.1.20.0080.0328.42
5.1.10.0020.0298.14
5.1.00.0060.0278.14
5.0.50.0020.0236.63
5.0.40.0030.0226.49
5.0.30.0020.0326.29
5.0.20.0040.0196.27
5.0.10.0030.0206.25
5.0.00.0050.0316.24
4.4.90.0000.0204.78
4.4.80.0020.0174.75
4.4.70.0030.0174.75
4.4.60.0010.0204.75
4.4.50.0030.0164.77
4.4.40.0060.0244.71
4.4.30.0040.0144.76
4.4.20.0030.0154.85
4.4.10.0020.0204.85
4.4.00.0020.0264.76
4.3.110.0010.0174.66
4.3.100.0070.0164.66
4.3.90.0020.0154.64
4.3.80.0020.0254.58
4.3.70.0040.0134.63
4.3.60.0020.0154.63
4.3.50.0050.0134.62
4.3.40.0020.0254.54
4.3.30.0010.0163.29
4.3.20.0010.0163.26
4.3.10.0010.0163.23
4.3.00.0300.02714.27

preferences:
36.85 ms | 401 KiB | 5 Q