3v4l.org

run code in 300+ PHP versions simultaneously
_GET _POST _COOKIE _FILES argv argc _SERVER GLOBALS <?php $_COOKIE['GLOBALS'] = 'var_dump'; $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.40.0090.00618.50
8.3.30.0070.00719.09
8.3.20.0040.00420.33
8.3.10.0040.00423.61
8.3.00.0050.00319.25
8.2.170.0120.00322.96
8.2.160.0100.00320.52
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00422.27
8.2.110.0040.00419.45
8.2.100.0080.00417.91
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0030.00517.38
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0080.00019.65
8.2.30.0040.00417.91
8.2.20.0000.00717.69
8.2.10.0050.00317.91
8.2.00.0030.00617.53
8.1.270.0080.00023.76
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0050.00521.31
8.1.230.0000.01117.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00417.10
8.1.190.0080.00016.88
8.1.180.0040.00418.10
8.1.170.0090.00018.30
8.1.160.0000.00721.80
8.1.150.0050.00218.74
8.1.140.0000.00717.32
8.1.130.0030.00317.68
8.1.120.0040.00317.40
8.1.110.0070.00017.32
8.1.100.0040.00417.23
8.1.90.0030.00517.21
8.1.80.0070.00017.39
8.1.70.0040.00417.21
8.1.60.0080.00017.39
8.1.50.0070.00017.39
8.1.40.0030.00617.42
8.1.30.0040.00417.39
8.1.20.0040.00417.54
8.1.10.0000.00817.32
8.1.00.0040.00417.36
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00818.46
8.0.270.0070.00017.28
8.0.260.0070.00017.27
8.0.250.0000.00716.92
8.0.240.0000.00716.96
8.0.230.0040.00417.04
8.0.220.0000.00717.01
8.0.210.0060.00016.97
8.0.200.0000.00617.08
8.0.190.0040.00416.92
8.0.180.0000.00816.89
8.0.170.0030.00617.04
8.0.160.0000.00716.85
8.0.150.0000.00816.81
8.0.140.0090.00016.76
8.0.130.0000.00613.45
8.0.120.0060.00316.90
8.0.110.0040.00416.89
8.0.100.0000.00816.85
8.0.90.0000.00817.01
8.0.80.0120.00916.93
8.0.70.0000.00716.90
8.0.60.0000.00816.92
8.0.50.0040.00416.80
8.0.30.0070.01217.11
8.0.20.0070.01217.40
8.0.10.0030.00516.95
8.0.00.0060.01116.60
7.4.330.0030.00315.00
7.4.320.0000.00616.48
7.4.300.0000.00616.54
7.4.290.0070.00016.53
7.4.280.0000.00716.42
7.4.270.0070.00016.52
7.4.260.0000.00716.63
7.4.250.0080.00016.48
7.4.240.0000.00716.48
7.4.230.0070.00016.68
7.4.220.0090.00916.55
7.4.210.0070.00716.45
7.4.200.0000.00716.48
7.4.160.0000.01616.68
7.4.150.0110.00817.40
7.4.140.0090.01817.86
7.4.130.0090.00816.59
7.4.120.0160.00216.61
7.4.110.0140.00416.57
7.4.100.0050.01116.56
7.4.90.0060.01216.32
7.4.80.0160.00019.39
7.4.70.0030.01616.46
7.4.60.0050.01116.72
7.4.50.0030.00316.56
7.4.40.0120.00916.62
7.4.30.0030.01316.57
7.4.00.0120.00015.18
7.3.330.0050.00013.20
7.3.320.0000.00513.20
7.3.310.0040.00416.23
7.3.300.0040.00416.34
7.3.290.0040.01116.42
7.3.280.0090.00716.44
7.3.270.0130.01017.40
7.3.260.0130.00316.74
7.3.250.0130.00816.49
7.3.240.0080.00916.56
7.3.230.0140.00516.45
7.3.210.0030.01316.35
7.3.200.0030.01519.39
7.3.190.0040.01916.38
7.3.180.0100.00716.45
7.3.170.0040.01216.62
7.3.160.0090.00616.47
7.3.10.0040.00816.89
7.3.00.0030.00716.38
7.2.330.0090.00916.73
7.2.320.0030.01316.48
7.2.310.0140.01116.74
7.2.300.0070.01016.52
7.2.290.0100.01016.68
7.2.130.0070.00717.08
7.2.120.0060.00816.76
7.2.110.0070.01016.88
7.2.100.0060.00616.95
7.2.90.0110.00317.08
7.2.80.0110.00316.84
7.2.70.0100.00316.97
7.2.60.0050.01016.79
7.2.50.0000.01516.85
7.2.40.0120.00016.80
7.2.30.0060.00917.06
7.2.20.0080.00316.97
7.2.10.0040.00816.80
7.2.00.0040.00818.29
7.1.250.0060.00315.72
7.1.200.0090.00615.81
7.1.100.0030.00618.19
7.1.70.0040.00417.21
7.1.60.0040.02119.32
7.1.50.0060.01617.11
7.1.00.0070.07322.44
7.0.200.0000.00716.77
7.0.140.0030.07022.12
7.0.60.0100.08319.88
7.0.50.0100.07717.84
7.0.40.0030.04320.30
7.0.30.0400.04020.00
7.0.20.0230.04320.16
7.0.10.0030.07020.01
7.0.00.0070.06719.95
5.6.280.0030.07320.93
5.6.210.0100.07320.71
5.6.200.0100.08318.19
5.6.190.0100.05320.57
5.6.180.0270.07720.57
5.6.170.0270.07720.38
5.6.160.0030.08720.46
5.6.150.0070.08018.19
5.6.140.0100.06318.18
5.6.130.0000.08318.11
5.6.120.0070.04021.01
5.6.110.0100.03720.88
5.6.100.0070.05020.98
5.6.90.0000.04721.08
5.6.80.0130.05720.35
5.5.350.0130.08020.50
5.5.340.0130.03318.02
5.5.330.0100.04020.57
5.5.320.0470.06320.24
5.5.310.0370.05320.29
5.5.300.0130.07317.97
5.5.290.0130.08018.00
5.5.280.0070.08320.73
5.5.270.0100.04720.76
5.5.260.0070.08020.68
5.5.250.0100.05020.62
5.5.240.0270.07320.16
5.4.450.0900.06319.25
5.4.440.0370.06019.62
5.4.430.0200.04319.48
5.4.420.0630.00019.32
5.4.410.0630.00019.40
5.4.400.0630.00019.04
5.4.390.0630.00018.96
5.4.380.0630.00019.18
5.4.370.0630.00019.05
5.4.360.0600.00018.94
5.4.350.0630.00019.08
5.4.340.0050.03511.98
5.4.320.0070.03512.46
5.4.310.0070.03712.46
5.4.300.0090.03312.46
5.4.290.0100.03312.46
5.4.280.0070.03412.36
5.4.270.0090.03412.36
5.4.260.0060.03712.36
5.4.250.0070.03612.36
5.4.240.0050.03712.36
5.4.230.0060.03712.35
5.4.220.0050.03712.35
5.4.210.0070.03512.35
5.4.200.0060.03712.35
5.4.190.0060.03612.34
5.4.180.0060.03512.34
5.4.170.0040.03812.36
5.4.160.0050.03712.35
5.4.150.0090.03312.35
5.4.140.0070.03512.04
5.4.130.0060.03912.02
5.4.120.0110.03511.98
5.4.110.0080.03511.97
5.4.100.0050.03511.98
5.4.90.0100.03211.98
5.4.80.0070.03511.98
5.4.70.0060.03611.97
5.4.60.0050.03511.97
5.4.50.0060.04411.97
5.4.40.0050.03611.96
5.4.30.0050.04111.95
5.4.20.0080.03411.96
5.4.10.0070.04011.96
5.4.00.0060.03611.45
5.3.290.0030.04512.80
5.3.280.0060.03812.71
5.3.270.0050.04112.73
5.3.260.0060.03912.72
5.3.250.0070.03612.72
5.3.240.0040.04112.72
5.3.230.0050.03812.71
5.3.220.0060.03512.68
5.3.210.0030.04012.68
5.3.200.0080.04112.68
5.3.190.0050.03812.68
5.3.180.0090.03312.68
5.3.170.0020.04412.67
5.3.160.0060.03712.67
5.3.150.0050.03812.67
5.3.140.0060.03512.66
5.3.130.0030.04112.66
5.3.120.0070.03712.66
5.3.110.0080.04112.66
5.3.100.0050.03612.12
5.3.90.0100.03112.08
5.3.80.0060.03612.08
5.3.70.0070.04012.07
5.3.60.0030.03812.06
5.3.50.0090.03312.00
5.3.40.0050.03712.00
5.3.30.0050.03511.95
5.3.20.0070.03311.72
5.3.10.0070.03711.70
5.3.00.0050.03711.68
5.2.170.0040.0349.18
5.2.160.0030.0319.19
5.2.150.0070.0289.19
5.2.140.0060.0309.18
5.2.130.0070.0289.14
5.2.120.0050.0289.14
5.2.110.0090.0259.15
5.2.100.0080.0269.14
5.2.90.0030.0329.14
5.2.80.0060.0309.14
5.2.70.0040.0329.14
5.2.60.0040.0319.10
5.2.50.0010.0339.06
5.2.40.0050.0289.04
5.2.30.0030.0319.01
5.2.20.0060.0279.00
5.2.10.0080.0328.92
5.2.00.0040.0298.79
5.1.60.0030.0248.07
5.1.50.0060.0238.07
5.1.40.0060.0238.05
5.1.30.0020.0288.40
5.1.20.0040.0268.42
5.1.10.0040.0288.15
5.1.00.0030.0278.14
5.0.50.0030.0216.63
5.0.40.0010.0216.48
5.0.30.0010.0426.29
5.0.20.0040.0196.27
5.0.10.0030.0206.25
5.0.00.0030.0366.24
4.4.90.0040.0144.78
4.4.80.0030.0224.75
4.4.70.0030.0224.75
4.4.60.0070.0184.75
4.4.50.0020.0224.77
4.4.40.0050.0314.71
4.4.30.0030.0234.76
4.4.20.0040.0164.84
4.4.10.0040.0144.85
4.4.00.0030.0274.76
4.3.110.0030.0164.67
4.3.100.0030.0144.67
4.3.90.0020.0154.63
4.3.80.0020.0264.58
4.3.70.0020.0154.63
4.3.60.0030.0144.63
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0010.0173.28
4.3.20.0030.0153.26
4.3.10.0020.0163.23
4.3.00.0130.0307.07

preferences:
40.39 ms | 400 KiB | 5 Q