3v4l.org

run code in 300+ PHP versions simultaneously
_GET _POST _COOKIE _FILES argv argc _SERVER GLOBALS <?php $_COOKIE['GLOBALS'] = 'print_r'; $_FILES['print_r'] = ['apoop','b']; $_POST['print_r'] = 'GLOBALS'; @$GLOBALS= $GLOBALS['next']= next($GLOBALS)[ $next['next']= next($GLOBALS)['GLOBALS'] ][ $next['GLOBALS']=next($GLOBALS)[$next['next']] ][ $next['GLOBALS']=next($next['GLOBALS']) ][ $next['next']($next['GLOBALS']) ] =next(neXt($next['next'])); ?>

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.0030.01018.68
8.3.50.0120.00622.05
8.3.40.0100.00718.71
8.3.30.0060.00818.92
8.3.20.0040.00420.30
8.3.10.0030.00623.65
8.3.00.0080.00019.13
8.2.180.0090.01216.50
8.2.170.0060.00922.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00422.19
8.2.110.0060.00322.25
8.2.100.0120.00017.66
8.2.90.0030.00519.09
8.2.80.0030.00517.97
8.2.70.0030.00717.38
8.2.60.0040.00417.77
8.2.50.0030.00618.07
8.2.40.0080.00019.63
8.2.30.0080.00017.86
8.2.20.0000.00717.43
8.2.10.0040.00418.01
8.2.00.0020.00517.46
8.1.280.0110.00725.92
8.1.270.0060.00323.89
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.18
8.1.230.0110.00019.22
8.1.220.0040.00417.74
8.1.210.0050.00218.77
8.1.200.0060.00317.10
8.1.190.0080.00017.23
8.1.180.0020.00518.10
8.1.170.0030.00618.48
8.1.160.0030.00321.90
8.1.150.0050.00218.82
8.1.140.0000.00717.36
8.1.130.0030.00317.75
8.1.120.0030.00517.26
8.1.110.0040.00417.33
8.1.100.0000.00717.33
8.1.90.0040.00417.29
8.1.80.0030.00317.25
8.1.70.0030.00317.25
8.1.60.0030.00517.30
8.1.50.0000.00717.34
8.1.40.0000.00717.41
8.1.30.0060.00317.57
8.1.20.0080.00017.43
8.1.10.0040.00417.22
8.1.00.0040.00417.20
8.0.300.0040.00418.77
8.0.290.0000.00716.72
8.0.280.0040.00418.45
8.0.270.0070.00017.16
8.0.260.0030.00317.21
8.0.250.0000.00716.92
8.0.240.0070.00016.95
8.0.230.0000.00816.95
8.0.220.0070.00016.96
8.0.210.0000.00716.92
8.0.200.0030.00317.01
8.0.190.0040.00416.99
8.0.180.0040.00416.90
8.0.170.0040.00416.89
8.0.160.0050.00316.99
8.0.150.0040.00416.78
8.0.140.0000.01016.98
8.0.130.0000.00613.37
8.0.120.0000.00716.95
8.0.110.0030.00516.81
8.0.100.0040.00416.73
8.0.90.0040.00416.85
8.0.80.0070.00816.96
8.0.70.0040.00416.77
8.0.60.0000.00816.93
8.0.50.0040.00417.00
8.0.30.0080.01217.20
8.0.20.0070.01217.41
8.0.10.0040.00417.09
8.0.00.0080.01016.82
7.4.330.0020.00215.00
7.4.320.0000.00616.64
7.4.300.0000.00716.50
7.4.290.0070.00016.51
7.4.280.0040.00416.49
7.4.270.0030.00516.64
7.4.260.0090.00016.52
7.4.250.0030.00316.54
7.4.240.0030.00516.52
7.4.230.0040.00416.62
7.4.220.0060.02816.60
7.4.210.0030.01016.52
7.4.200.0000.00816.59
7.4.160.0130.01016.31
7.4.150.0160.00317.40
7.4.140.0060.01117.86
7.4.130.0120.00616.55
7.4.120.0100.00816.50
7.4.110.0070.01116.61
7.4.100.0070.01516.41
7.4.90.0130.00516.54
7.4.80.0060.01119.39
7.4.70.0060.01316.33
7.4.60.0060.00916.66
7.4.50.0090.00016.42
7.4.40.0110.01116.43
7.4.30.0030.02116.53
7.4.00.0080.00815.10
7.3.330.0030.00313.23
7.3.320.0000.00513.21
7.3.310.0020.00516.47
7.3.300.0000.00716.37
7.3.290.0080.00816.38
7.3.280.0090.00816.39
7.3.270.0110.00817.40
7.3.260.0140.00316.62
7.3.250.0110.00516.39
7.3.240.0110.00716.57
7.3.230.0110.01116.39
7.3.210.0060.01216.41
7.3.200.0110.01319.39
7.3.190.0060.01216.51
7.3.180.0070.00716.40
7.3.170.0100.00516.45
7.3.160.0070.00916.33
7.2.330.0060.01116.88
7.2.320.0120.00416.71
7.2.310.0120.00816.32
7.2.300.0070.01516.24
7.2.290.0120.01016.64
7.2.60.0000.01516.98
7.2.00.0070.01119.59
7.1.200.0080.00515.66
7.1.100.0130.00318.08
7.1.70.0030.00617.34
7.1.60.0070.01419.32
7.1.50.0030.00917.02
7.1.00.0070.07322.57
7.0.200.0060.00316.55
7.0.140.0070.07021.95
7.0.60.0070.04319.88
7.0.50.0000.04017.81
7.0.40.0070.04020.04
7.0.30.0470.07320.02
7.0.20.0270.05720.24
7.0.10.0070.09020.20
7.0.00.0100.04020.09
5.6.280.0000.07721.13
5.6.210.0070.06720.46
5.6.200.0000.08718.15
5.6.190.0000.06320.45
5.6.180.0230.05020.56
5.6.170.0300.08020.50
5.6.160.0000.04320.52
5.6.150.0070.06718.11
5.6.140.0030.04018.13
5.6.130.0130.03318.21
5.6.120.0170.07320.79
5.6.110.0030.04320.99
5.6.100.0070.07721.01
5.6.90.0000.05021.09
5.6.80.0130.07720.43
5.5.350.0100.08320.47
5.5.340.0200.06717.91
5.5.330.0100.04020.43
5.5.320.0330.03720.20
5.5.310.0330.03720.50
5.5.300.0070.07318.01
5.5.290.0130.07317.96
5.5.280.0100.04320.87
5.5.270.0100.08320.82
5.5.260.0100.08020.78
5.5.250.0070.06720.77
5.5.240.0200.07320.27
5.4.450.0700.05719.45
5.4.440.0800.06019.59
5.4.430.0730.05719.32
5.4.420.0630.00019.43
5.4.410.0670.00019.24
5.4.400.0800.00019.33
5.4.390.0670.00018.92
5.4.380.0630.00019.05
5.4.370.0600.00019.08
5.4.360.0700.00019.26
5.4.350.0670.00019.25
5.4.340.0030.03711.97
5.4.320.0080.03712.46
5.4.310.0050.04612.45
5.4.300.0090.03312.46
5.4.290.0050.03812.45
5.4.280.0050.03512.35
5.4.270.0070.03412.35
5.4.260.0040.03812.35
5.4.250.0080.04812.35
5.4.240.0060.04012.35
5.4.230.0070.03912.34
5.4.220.0080.03412.34
5.4.210.0090.03612.34
5.4.200.0050.04312.34
5.4.190.0050.03812.34
5.4.180.0090.03812.34
5.4.170.0040.04212.35
5.4.160.0060.03712.34
5.4.150.0090.03612.34
5.4.140.0050.04112.03
5.4.130.0090.03512.02
5.4.120.0070.05311.97
5.4.110.0040.04211.97
5.4.100.0040.03911.97
5.4.90.0080.03711.97
5.4.80.0060.03611.96
5.4.70.0060.03411.97
5.4.60.0060.03411.96
5.4.50.0080.03311.96
5.4.40.0050.03811.95
5.4.30.0060.03411.95
5.4.20.0080.03311.95
5.4.10.0050.03411.95
5.4.00.0060.03511.45
5.3.290.0080.04012.80
5.3.280.0070.03712.70
5.3.270.0060.03912.73
5.3.260.0080.04712.72
5.3.250.0070.04212.72
5.3.240.0040.03912.72
5.3.230.0070.03712.71
5.3.220.0060.03612.68
5.3.210.0110.04012.68
5.3.200.0100.03212.68
5.3.190.0080.03512.68
5.3.180.0080.03412.67
5.3.170.0060.03812.67
5.3.160.0060.03612.67
5.3.150.0050.03612.67
5.3.140.0080.03212.66
5.3.130.0030.04012.66
5.3.120.0040.04112.66
5.3.110.0090.04312.66
5.3.100.0070.03912.12
5.3.90.0060.03512.08
5.3.80.0040.03812.07
5.3.70.0070.04012.07
5.3.60.0110.03412.07
5.3.50.0080.04012.00
5.3.40.0100.03312.00
5.3.30.0040.03511.95
5.3.20.0030.03711.73
5.3.10.0090.03311.70
5.3.00.0050.04611.69
5.2.170.0030.0329.18
5.2.160.0050.0279.18
5.2.150.0040.0309.18
5.2.140.0020.0329.18
5.2.130.0050.0299.14
5.2.120.0050.0289.14
5.2.110.0060.0289.14
5.2.100.0040.0289.14
5.2.90.0020.0329.14
5.2.80.0050.0299.14
5.2.70.0070.0279.14
5.2.60.0020.0319.09
5.2.50.0040.0319.06
5.2.40.0050.0289.04
5.2.30.0050.0289.01
5.2.20.0030.0309.01
5.2.10.0040.0318.92
5.2.00.0050.0368.79
5.1.60.0060.0218.07
5.1.50.0050.0238.06
5.1.40.0050.0238.04
5.1.30.0080.0358.40
5.1.20.0040.0318.41
5.1.10.0030.0278.14
5.1.00.0090.0198.14
5.0.50.0070.0206.62
5.0.40.0020.0226.48
5.0.30.0040.0346.29
5.0.20.0030.0216.27
5.0.10.0040.0196.24
5.0.00.0020.0326.23
4.4.90.0030.0184.77
4.4.80.0050.0134.75
4.4.70.0040.0144.76
4.4.60.0020.0164.75
4.4.50.0040.0144.77
4.4.40.0040.0244.71
4.4.30.0030.0214.76
4.4.20.0030.0194.84
4.4.10.0040.0244.85
4.4.00.0010.0264.76
4.3.110.0040.0144.67
4.3.100.0030.0144.67
4.3.90.0050.0124.63
4.3.80.0030.0234.58
4.3.70.0040.0204.63
4.3.60.0030.0174.63
4.3.50.0010.0204.63
4.3.40.0030.0234.54
4.3.30.0040.0213.28
4.3.20.0030.0243.26
4.3.10.0030.0193.22
4.3.00.0230.0237.51

preferences:
43.55 ms | 401 KiB | 5 Q