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'; $_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.0060.00918.30
8.3.50.0160.00721.89
8.3.40.0110.00718.57
8.3.30.0040.01118.92
8.3.20.0070.00020.07
8.3.10.0080.00023.36
8.3.00.0040.00419.13
8.2.180.0130.00616.63
8.2.170.0040.01122.96
8.2.160.0070.00720.48
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00022.14
8.2.110.0090.00020.52
8.2.100.0070.00417.97
8.2.90.0040.00419.06
8.2.80.0040.00417.97
8.2.70.0050.00517.50
8.2.60.0030.00617.93
8.2.50.0000.00918.07
8.2.40.0040.00419.76
8.2.30.0000.00717.99
8.2.20.0040.00417.46
8.2.10.0040.00417.98
8.2.00.0000.00717.43
8.1.280.0090.00925.92
8.1.270.0030.00623.96
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.71
8.1.230.0000.01019.16
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0060.00317.11
8.1.190.0080.00017.10
8.1.180.0000.00718.10
8.1.170.0070.00318.47
8.1.160.0040.00422.00
8.1.150.0000.00718.66
8.1.140.0020.00517.27
8.1.130.0030.00317.80
8.1.120.0080.00017.23
8.1.110.0020.00517.23
8.1.100.0080.00017.37
8.1.90.0030.00317.22
8.1.80.0000.00817.22
8.1.70.0040.00417.32
8.1.60.0040.00417.45
8.1.50.0070.00017.37
8.1.40.0040.00417.36
8.1.30.0040.00417.42
8.1.20.0000.00717.44
8.1.10.0000.00817.27
8.1.00.0000.00717.20
8.0.300.0000.00718.77
8.0.290.0040.00416.88
8.0.280.0030.00518.45
8.0.270.0000.00817.30
8.0.260.0050.00317.25
8.0.250.0070.00017.06
8.0.240.0070.00017.00
8.0.230.0040.00416.98
8.0.220.0070.00016.94
8.0.210.0040.00416.94
8.0.200.0000.00616.87
8.0.190.0000.00716.92
8.0.180.0040.00417.00
8.0.170.0090.00016.97
8.0.160.0040.00417.02
8.0.150.0000.00716.96
8.0.140.0090.00016.91
8.0.130.0050.00013.32
8.0.120.0050.00216.95
8.0.110.0000.00816.94
8.0.100.0000.00716.79
8.0.90.0000.00717.00
8.0.80.0070.00916.83
8.0.70.0000.00716.98
8.0.60.0050.00316.79
8.0.50.0040.00316.79
8.0.30.0120.00917.26
8.0.20.0120.00617.40
8.0.10.0040.00417.05
8.0.00.0120.00516.90
7.4.330.0050.00015.00
7.4.320.0000.00716.65
7.4.300.0000.00616.60
7.4.290.0000.00716.52
7.4.280.0070.00016.61
7.4.270.0040.00416.45
7.4.260.0030.00316.56
7.4.250.0040.00416.61
7.4.240.0040.00316.60
7.4.230.0080.00016.41
7.4.220.0070.01116.56
7.4.210.0040.01016.63
7.4.200.0030.00316.35
7.4.160.0080.00816.60
7.4.150.0110.01417.40
7.4.140.0080.00817.86
7.4.130.0130.00516.43
7.4.120.0120.00616.54
7.4.110.0090.01016.35
7.4.100.0110.00516.44
7.4.90.0130.01016.40
7.4.80.0060.01319.39
7.4.70.0120.00616.46
7.4.60.0170.00316.38
7.4.50.0000.00916.48
7.4.40.0100.01316.52
7.4.30.0120.00216.68
7.4.00.0100.00614.80
7.3.330.0000.00513.33
7.3.320.0050.00013.23
7.3.310.0070.00016.46
7.3.300.0030.00316.41
7.3.290.0100.00316.40
7.3.280.0080.00716.42
7.3.270.0150.00517.40
7.3.260.0110.00716.62
7.3.250.0110.00816.38
7.3.240.0070.01116.43
7.3.230.0190.00416.43
7.3.210.0140.00316.36
7.3.200.0090.01219.39
7.3.190.0030.01716.61
7.3.180.0040.01116.36
7.3.170.0090.01016.45
7.3.160.0120.01116.41
7.2.330.0040.01316.70
7.2.320.0060.01316.46
7.2.310.0100.01016.70
7.2.300.0060.01116.34
7.2.290.0120.00616.43
7.2.60.0070.00716.86
7.2.00.0030.00919.60
7.1.200.0030.00915.82
7.1.100.0030.00917.97
7.1.70.0040.00417.22
7.1.60.0070.01819.32
7.1.50.0120.00316.70
7.1.00.0030.07722.36
7.0.200.0000.00816.76
7.0.140.0000.07722.21
7.0.60.0170.03719.94
7.0.50.0070.03717.77
7.0.40.0070.04020.12
7.0.30.0500.06320.09
7.0.20.0200.06720.16
7.0.10.0030.06320.13
7.0.00.0000.06720.19
5.6.280.0130.06320.91
5.6.210.0130.07320.50
5.6.200.0170.07018.16
5.6.190.0030.04720.41
5.6.180.0270.03720.44
5.6.170.0300.07720.49
5.6.160.0030.04320.54
5.6.150.0000.07318.22
5.6.140.0030.04018.18
5.6.130.0100.05018.12
5.6.120.0070.08320.84
5.6.110.0100.03720.98
5.6.100.0030.05021.00
5.6.90.0030.04320.98
5.6.80.0100.07720.50
5.5.350.0100.08720.46
5.5.340.0100.04717.89
5.5.330.0100.04020.40
5.5.320.0200.04320.17
5.5.310.0270.04720.27
5.5.300.0030.03717.90
5.5.290.0070.08318.03
5.5.280.0100.08320.69
5.5.270.0170.07320.63
5.5.260.0130.07720.75
5.5.250.0100.08020.46
5.5.240.0230.05720.14
5.4.450.0970.04319.53
5.4.440.0500.06719.10
5.4.430.0170.05019.46
5.4.420.0800.00019.49
5.4.410.0630.00019.52
5.4.400.0730.00019.33
5.4.390.0670.00018.98
5.4.380.0630.00019.00
5.4.370.0630.00018.99
5.4.360.0630.00019.05
5.4.350.0670.00019.16
5.4.340.0070.03411.97
5.4.320.0050.03712.46
5.4.310.0060.03712.45
5.4.300.0050.03812.46
5.4.290.0090.03712.45
5.4.280.0090.04012.35
5.4.270.0060.03612.35
5.4.260.0050.03912.35
5.4.250.0060.03612.35
5.4.240.0040.03712.35
5.4.230.0020.04012.34
5.4.220.0080.03512.34
5.4.210.0050.03512.34
5.4.200.0110.03512.34
5.4.190.0100.03312.34
5.4.180.0110.04012.34
5.4.170.0060.03412.35
5.4.160.0070.03312.35
5.4.150.0050.03512.34
5.4.140.0070.03412.03
5.4.130.0060.03412.01
5.4.120.0070.03311.98
5.4.110.0040.03611.97
5.4.100.0060.04011.96
5.4.90.0070.03511.97
5.4.80.0100.04011.96
5.4.70.0050.03511.96
5.4.60.0050.03511.96
5.4.50.0050.03611.96
5.4.40.0010.03911.95
5.4.30.0050.03611.95
5.4.20.0070.03411.95
5.4.10.0050.03511.95
5.4.00.0020.03911.45
5.3.290.0070.03612.80
5.3.280.0050.03812.71
5.3.270.0100.04412.72
5.3.260.0040.03912.72
5.3.250.0050.03812.72
5.3.240.0070.03612.72
5.3.230.0020.04112.71
5.3.220.0070.03512.68
5.3.210.0040.04012.68
5.3.200.0070.03412.68
5.3.190.0100.04012.68
5.3.180.0120.03412.68
5.3.170.0110.03412.66
5.3.160.0060.04412.67
5.3.150.0050.04512.67
5.3.140.0060.04412.66
5.3.130.0040.03912.66
5.3.120.0080.05712.66
5.3.110.0090.03912.66
5.3.100.0060.03712.12
5.3.90.0080.03412.09
5.3.80.0040.03812.07
5.3.70.0070.03612.07
5.3.60.0040.03712.06
5.3.50.0070.03412.00
5.3.40.0050.04512.00
5.3.30.0060.03511.95
5.3.20.0060.04211.73
5.3.10.0030.03811.70
5.3.00.0030.03911.69
5.2.170.0060.0289.19
5.2.160.0030.0309.19
5.2.150.0050.0289.18
5.2.140.0050.0299.18
5.2.130.0040.0299.14
5.2.120.0080.0249.14
5.2.110.0060.0279.15
5.2.100.0060.0319.14
5.2.90.0060.0299.14
5.2.80.0050.0359.14
5.2.70.0060.0279.13
5.2.60.0040.0309.09
5.2.50.0070.0279.06
5.2.40.0050.0279.04
5.2.30.0040.0389.02
5.2.20.0050.0329.00
5.2.10.0030.0308.92
5.2.00.0050.0298.79
5.1.60.0040.0238.07
5.1.50.0040.0248.06
5.1.40.0020.0268.05
5.1.30.0040.0268.40
5.1.20.0040.0268.43
5.1.10.0040.0268.14
5.1.00.0050.0258.15
5.0.50.0040.0206.63
5.0.40.0020.0206.48
5.0.30.0040.0296.29
5.0.20.0010.0216.27
5.0.10.0020.0226.25
5.0.00.0040.0296.23
4.4.90.0010.0234.78
4.4.80.0010.0164.75
4.4.70.0020.0164.75
4.4.60.0020.0164.76
4.4.50.0040.0134.77
4.4.40.0030.0244.71
4.4.30.0040.0134.76
4.4.20.0030.0154.84
4.4.10.0020.0164.85
4.4.00.0040.0244.76
4.3.110.0040.0244.67
4.3.100.0060.0114.66
4.3.90.0030.0144.63
4.3.80.0020.0254.58
4.3.70.0040.0134.63
4.3.60.0020.0174.63
4.3.50.0040.0144.63
4.3.40.0040.0224.54
4.3.30.0020.0153.29
4.3.20.0020.0163.26
4.3.10.0020.0163.23
4.3.00.0100.0237.51

preferences:
45.98 ms | 401 KiB | 5 Q