3v4l.org

run code in 300+ PHP versions simultaneously
_GET _POST _COOKIE _FILES argv argc _SERVER GLOBALS <?php $_COOKIE['GLOBALS'] = 'print_r'; $GLOBALS= $GLOBALS['next']= $_POST[ $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.0060.00918.30
8.3.50.0310.00821.11
8.3.40.0130.00318.45
8.3.30.0030.01018.96
8.3.20.0000.00720.38
8.3.10.0080.00023.43
8.3.00.0060.00319.13
8.2.180.0120.00916.50
8.2.170.0040.01122.96
8.2.160.0060.01020.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.06
8.2.110.0100.00019.14
8.2.100.0090.00317.84
8.2.90.0060.00318.92
8.2.80.0050.00317.97
8.2.70.0050.00317.38
8.2.60.0070.00017.80
8.2.50.0000.00818.07
8.2.40.0060.00319.80
8.2.30.0000.00917.82
8.2.20.0000.00717.50
8.2.10.0020.00517.92
8.2.00.0000.00917.61
8.1.280.0090.00625.92
8.1.270.0040.00423.90
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00021.18
8.1.230.0110.00017.42
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0100.00017.10
8.1.190.0050.00317.23
8.1.180.0000.00718.10
8.1.170.0000.00818.47
8.1.160.0000.00821.86
8.1.150.0000.00818.72
8.1.140.0000.00817.35
8.1.130.0030.00317.86
8.1.120.0030.00517.33
8.1.110.0040.00417.36
8.1.100.0070.00017.25
8.1.90.0070.00017.30
8.1.80.0050.00317.23
8.1.70.0040.00417.22
8.1.60.0050.00317.34
8.1.50.0040.00417.34
8.1.40.0000.00717.26
8.1.30.0040.00417.53
8.1.20.0040.00417.43
8.1.10.0050.00317.25
8.1.00.0000.00717.33
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.54
8.0.270.0070.00016.86
8.0.260.0000.00617.33
8.0.250.0030.00316.92
8.0.240.0040.00416.94
8.0.230.0030.00317.02
8.0.220.0040.00417.01
8.0.210.0050.00217.04
8.0.200.0000.00616.93
8.0.190.0040.00417.05
8.0.180.0000.00717.05
8.0.170.0000.00817.04
8.0.160.0000.00716.88
8.0.150.0000.00716.98
8.0.140.0100.00016.90
8.0.130.0060.00013.34
8.0.120.0040.00416.95
8.0.110.0040.00416.92
8.0.100.0000.00716.83
8.0.90.0080.00016.92
8.0.80.0040.01116.91
8.0.70.0070.00017.04
8.0.60.0040.00416.93
8.0.50.0000.00717.00
8.0.30.0110.00917.24
8.0.20.0090.01117.40
8.0.10.0050.00317.07
8.0.00.0060.01016.84
7.4.330.0040.00015.00
7.4.320.0030.00316.52
7.4.300.0060.00016.45
7.4.290.0000.00716.65
7.4.280.0000.00716.42
7.4.270.0030.00316.55
7.4.260.0030.00516.45
7.4.250.0030.00316.39
7.4.240.0040.00416.56
7.4.230.0030.00316.52
7.4.220.0120.00616.65
7.4.210.0140.00016.63
7.4.200.0040.00416.69
7.4.160.0100.01316.82
7.4.150.0140.01117.40
7.4.140.0140.01417.86
7.4.130.0060.01116.66
7.4.120.0110.00716.48
7.4.110.0030.01816.59
7.4.100.0100.00716.30
7.4.90.0090.00916.55
7.4.80.0030.01519.39
7.4.70.0000.02116.48
7.4.60.0000.01716.55
7.4.50.0030.00316.61
7.4.40.0090.01416.54
7.4.30.0110.00616.36
7.4.00.0030.01414.87
7.3.330.0000.00613.27
7.3.320.0020.00313.13
7.3.310.0000.00816.22
7.3.300.0040.00416.35
7.3.290.0070.00716.41
7.3.280.0070.01116.36
7.3.270.0110.01117.40
7.3.260.0060.01016.44
7.3.250.0050.01116.52
7.3.240.0170.00616.36
7.3.230.0050.01416.41
7.3.210.0070.01016.28
7.3.200.0100.01419.39
7.3.190.0110.01016.36
7.3.180.0060.00916.65
7.3.170.0090.00616.62
7.3.160.0000.01616.62
7.2.330.0090.00916.93
7.2.320.0120.00616.39
7.2.310.0160.00716.39
7.2.300.0030.01416.66
7.2.290.0110.01116.82
7.2.60.0040.01117.05
7.2.00.0000.01219.47
7.1.200.0080.00815.86
7.1.100.0040.01117.97
7.1.70.0000.00717.17
7.1.60.0100.01319.32
7.1.50.0100.01017.06
7.1.00.0000.08022.42
7.0.200.0070.00316.64
7.0.140.0030.07321.95
7.0.60.0130.07319.93
7.0.50.0070.08317.81
7.0.40.0030.04320.20
7.0.30.0400.07320.04
7.0.20.0200.06020.13
7.0.10.0030.05720.13
7.0.00.0100.06020.32
5.6.280.0030.07321.11
5.6.210.0130.07320.76
5.6.200.0000.05718.15
5.6.190.0070.07720.56
5.6.180.0270.04720.78
5.6.170.0370.07720.50
5.6.160.0100.03720.44
5.6.150.0030.04018.13
5.6.140.0230.03718.15
5.6.130.0030.05318.09
5.6.120.0000.06020.93
5.6.110.0030.04320.99
5.6.100.0200.06720.88
5.6.90.0000.04720.97
5.6.80.0100.05020.38
5.5.350.0100.08720.31
5.5.340.0030.07017.95
5.5.330.0030.07720.07
5.5.320.0230.05020.24
5.5.310.0230.07720.12
5.5.300.0070.03717.92
5.5.290.0000.05717.86
5.5.280.0200.06720.87
5.5.270.0070.03720.75
5.5.260.0200.08020.97
5.5.250.0100.07720.68
5.5.240.0200.08020.28
5.4.450.0930.07019.48
5.4.440.0330.06019.52
5.4.430.0700.06019.09
5.4.420.0670.00019.31
5.4.410.0670.00019.20
5.4.400.0630.00019.23
5.4.390.0600.00019.00
5.4.380.0700.00018.96
5.4.370.0600.00019.14
5.4.360.0630.00019.09
5.4.350.0630.00019.16
5.4.340.0050.03411.98
5.4.320.0040.03712.45
5.4.310.0070.03612.45
5.4.300.0050.03712.46
5.4.290.0050.03812.45
5.4.280.0090.04112.35
5.4.270.0080.03612.35
5.4.260.0100.04212.35
5.4.250.0040.04412.35
5.4.240.0110.03412.35
5.4.230.0080.03512.34
5.4.220.0050.03812.34
5.4.210.0050.03612.34
5.4.200.0080.03412.34
5.4.190.0050.03612.34
5.4.180.0020.03912.34
5.4.170.0070.03412.35
5.4.160.0040.03612.34
5.4.150.0070.03412.34
5.4.140.0090.03312.03
5.4.130.0040.03712.02
5.4.120.0030.04011.97
5.4.110.0070.03311.97
5.4.100.0070.03211.97
5.4.90.0050.03811.97
5.4.80.0020.04011.97
5.4.70.0090.03011.96
5.4.60.0100.02911.96
5.4.50.0060.03411.96
5.4.40.0060.03411.95
5.4.30.0080.03811.95
5.4.20.0070.03311.95
5.4.10.0050.03411.95
5.4.00.0080.03211.44
5.3.290.0080.04312.80
5.3.280.0070.03612.71
5.3.270.0080.04012.72
5.3.260.0050.04112.72
5.3.250.0090.04112.72
5.3.240.0110.03112.72
5.3.230.0080.04012.71
5.3.220.0090.03312.68
5.3.210.0090.03512.68
5.3.200.0080.03412.68
5.3.190.0070.03612.67
5.3.180.0080.04312.68
5.3.170.0060.04212.67
5.3.160.0070.03912.67
5.3.150.0060.03812.67
5.3.140.0060.04012.66
5.3.130.0060.03912.66
5.3.120.0080.03512.66
5.3.110.0070.04112.65
5.3.100.0050.03912.12
5.3.90.0090.03412.08
5.3.80.0030.03912.08
5.3.70.0070.03612.07
5.3.60.0080.03412.07
5.3.50.0060.03612.00
5.3.40.0060.03712.00
5.3.30.0040.03711.95
5.3.20.0050.03511.73
5.3.10.0090.03111.70
5.3.00.0090.03211.68
5.2.170.0040.0309.19
5.2.160.0050.0289.19
5.2.150.0070.0319.19
5.2.140.0020.0329.18
5.2.130.0040.0289.14
5.2.120.0060.0269.15
5.2.110.0060.0279.15
5.2.100.0020.0319.14
5.2.90.0060.0279.14
5.2.80.0080.0369.14
5.2.70.0050.0309.13
5.2.60.0050.0299.10
5.2.50.0040.0309.06
5.2.40.0040.0279.04
5.2.30.0020.0319.01
5.2.20.0060.0279.00
5.2.10.0020.0298.92
5.2.00.0050.0288.79
5.1.60.0030.0258.07
5.1.50.0020.0268.07
5.1.40.0050.0238.05
5.1.30.0030.0268.40
5.1.20.0050.0258.42
5.1.10.0090.0218.14
5.1.00.0030.0268.14
5.0.50.0020.0216.63
5.0.40.0020.0236.48
5.0.30.0030.0336.29
5.0.20.0040.0216.27
5.0.10.0030.0196.25
5.0.00.0030.0366.24
4.4.90.0030.0184.78
4.4.80.0050.0124.75
4.4.70.0010.0174.75
4.4.60.0030.0224.75
4.4.50.0030.0214.77
4.4.40.0010.0264.71
4.4.30.0020.0224.75
4.4.20.0030.0154.84
4.4.10.0020.0164.85
4.4.00.0020.0254.76
4.3.110.0020.0164.67
4.3.100.0040.0134.66
4.3.90.0030.0134.63
4.3.80.0040.0224.59
4.3.70.0030.0164.63
4.3.60.0010.0164.63
4.3.50.0040.0144.63
4.3.40.0040.0224.53
4.3.30.0030.0153.29
4.3.20.0020.0153.27
4.3.10.0020.0153.22
4.3.00.0130.0177.07

preferences:
39.32 ms | 401 KiB | 5 Q