3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public static $a = 'no'; public static function a() { echo self::$a; } function __destruct() { echo 'b'; } } $a = array('XMLReader','open'); $a('http://3v4l.org/sf2mG');

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.0080.00819.01
8.3.30.0090.00619.42
8.3.20.0040.00420.53
8.3.10.0050.00324.03
8.3.00.0060.00319.63
8.2.170.0070.01422.96
8.2.160.0110.00420.73
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0030.00522.42
8.2.110.0090.00022.36
8.2.100.0080.00418.15
8.2.90.0040.00419.38
8.2.80.0030.00517.97
8.2.70.0000.00917.75
8.2.60.0040.00418.05
8.2.50.0000.01018.07
8.2.40.0060.00320.18
8.2.30.0030.00518.30
8.2.20.0000.00717.88
8.2.10.0080.00018.26
8.2.00.0050.00317.79
8.1.270.0060.00324.24
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00523.96
8.1.230.0080.00419.39
8.1.220.0040.00417.91
8.1.210.0080.00018.77
8.1.200.0100.00017.48
8.1.190.0080.00017.48
8.1.180.0030.00518.10
8.1.170.0040.00418.84
8.1.160.0040.00422.25
8.1.150.0040.00418.99
8.1.140.0040.00417.63
8.1.130.0000.00718.03
8.1.120.0000.00717.60
8.1.110.0060.00317.60
8.1.100.0070.00017.54
8.1.90.0040.00417.64
8.1.80.0030.00617.70
8.1.70.0030.00317.59
8.1.60.0030.00617.68
8.1.50.0000.00817.55
8.1.40.0030.00517.61
8.1.30.0060.00317.91
8.1.20.0000.00817.90
8.1.10.0000.00917.80
8.1.00.0080.00017.68
8.0.300.0040.00418.77
8.0.290.0000.00817.00
8.0.280.0070.00018.55
8.0.270.0040.00417.43
8.0.260.0050.00217.51
8.0.250.0000.00817.09
8.0.240.0070.00017.04
8.0.230.0000.00717.18
8.0.220.0040.00417.06
8.0.210.0000.00717.02
8.0.200.0070.00017.28
8.0.190.0030.00617.03
8.0.180.0040.00417.15
8.0.170.0030.00617.23
8.0.160.0030.00317.06
8.0.150.0000.00817.02
8.0.140.0050.00317.08
8.0.130.0030.00313.59
8.0.120.0050.00517.13
8.0.110.0040.00417.18
8.0.100.0050.00217.23
8.0.90.0070.00017.16
8.0.80.0060.01217.13
8.0.70.0000.00817.18
8.0.60.0080.00017.13
8.0.50.0000.00817.12
8.0.30.0100.01217.36
8.0.20.0100.01217.43
8.0.10.0000.00717.32
8.0.00.0090.00916.93
7.4.330.0050.00015.46
7.4.320.0030.00316.62
7.4.300.0070.00016.72
7.4.290.0030.00316.60
7.4.280.0040.00416.74
7.4.270.0000.00816.63
7.4.260.0000.00716.61
7.4.250.0040.00416.93
7.4.240.0020.00516.89
7.4.230.0070.00016.76
7.4.220.0170.00716.77
7.4.210.0040.01116.74
7.4.200.0050.00316.86
7.4.150.0130.00717.40
7.4.140.0080.01117.86
7.4.130.0090.00916.69
7.4.120.0110.00716.72
7.4.110.0180.00016.81
7.4.100.0030.01416.75
7.4.90.0130.00616.64
7.4.80.0090.01019.39
7.4.70.0080.01116.68
7.4.60.0100.00716.69
7.4.50.0020.00216.63
7.4.40.0150.00316.63
7.4.30.0120.00516.80
7.4.00.0030.01414.90
7.3.330.0060.00013.39
7.3.320.0000.00613.50
7.3.310.0020.00516.43
7.3.300.0040.00416.53
7.3.290.0130.00516.48
7.3.280.0090.00716.53
7.3.270.0070.01017.40
7.3.260.0110.00616.61
7.3.250.0120.00616.56
7.3.240.0060.01316.82
7.3.230.0000.01916.43
7.3.210.0070.01416.86
7.3.200.0130.00619.39
7.3.190.0130.00616.80
7.3.180.0110.00716.80
7.3.170.0090.00916.59
7.3.160.0070.01016.84
7.2.330.0060.01216.70
7.2.320.0120.00616.55
7.2.310.0100.01016.69
7.2.300.0100.00716.87
7.2.290.0030.01616.80
7.2.60.0130.00316.71
7.2.00.0060.00319.66
7.1.200.0060.00916.09
7.1.100.0030.01018.27
7.1.70.0000.00917.28
7.1.60.0070.02019.32
7.1.50.0030.02317.44
7.1.00.0170.06722.69
7.0.200.0000.00917.06
7.0.140.0070.06722.47
7.0.60.0070.07720.58
7.0.50.0000.04318.23
7.0.40.0030.06320.72
7.0.30.0230.04320.57
7.0.20.0270.06320.70
7.0.10.0130.08320.70
7.0.00.0100.04020.69
5.6.280.0030.07321.33
5.6.210.0170.07720.95
5.6.200.0030.04018.59
5.6.190.0070.07321.17
5.6.180.0200.08321.10
5.6.170.0330.05720.86
5.6.160.0070.05020.95
5.6.150.0070.04318.72
5.6.140.0100.06318.64
5.6.130.0100.05018.59
5.6.120.0070.05021.14
5.6.110.0070.06721.49
5.6.100.0230.07321.60
5.6.90.0070.04021.59
5.6.80.0100.08021.05
5.5.350.0170.07321.02
5.5.340.0100.07718.28
5.5.330.0100.05720.91
5.5.320.0270.04320.75
5.5.310.0170.04320.71
5.5.300.0070.05318.43
5.5.290.0070.03718.54
5.5.280.0130.03321.43
5.5.270.0070.05321.30
5.5.260.0170.08321.27
5.5.250.0070.06021.13
5.5.240.0200.07720.51
5.4.450.0830.05719.61
5.4.440.0870.05719.75
5.4.430.0870.07319.80
5.4.420.0870.00019.69
5.4.410.0630.00019.65
5.4.400.0630.00019.54
5.4.390.0630.00019.50
5.4.380.0670.00019.36
5.4.370.0630.00019.49
5.4.360.0600.00019.39
5.4.350.0670.00019.50
5.4.340.0080.03512.24
5.4.320.0050.04312.73
5.4.310.0060.03912.73
5.4.300.0070.03812.73
5.4.290.0090.03912.73
5.4.280.0090.03712.63
5.4.270.0070.03612.62
5.4.260.0080.03512.62
5.4.250.0090.04112.63
5.4.240.0060.03612.63
5.4.230.0070.04012.62
5.4.220.0110.04012.61
5.4.210.0090.03412.62
5.4.200.0040.03912.62
5.4.190.0110.03112.61
5.4.180.0070.03612.61
5.4.170.0080.03812.63
5.4.160.0100.03612.61
5.4.150.0070.03812.61
5.4.140.0070.03812.30
5.4.130.0070.03612.29
5.4.120.0100.03412.24
5.4.110.0060.03512.24
5.4.100.0060.03512.24
5.4.90.0080.04112.23
5.4.80.0090.03612.24
5.4.70.0040.03712.24
5.4.60.0090.04312.23
5.4.50.0110.04512.23
5.4.40.0110.03912.22
5.4.30.0060.03812.21
5.4.20.0090.03512.22
5.4.10.0030.03912.22
5.4.00.0060.04111.71
5.3.290.0050.04112.80
5.3.280.0100.03612.71
5.3.270.0110.03512.72
5.3.260.0080.04312.72
5.3.250.0070.04812.71
5.3.240.0050.04212.72
5.3.230.0050.04012.71
5.3.220.0040.04312.68
5.3.210.0050.04112.68
5.3.200.0120.03912.68
5.3.190.0070.03712.68
5.3.180.0080.03512.68
5.3.170.0060.03712.66
5.3.160.0040.03912.68
5.3.150.0060.03712.67
5.3.140.0040.04012.66
5.3.130.0070.03812.66
5.3.120.0070.03812.66
5.3.110.0060.03912.66
5.3.100.0040.03912.12
5.3.90.0060.03712.10
5.3.80.0110.03212.10
5.3.70.0060.03912.09
5.3.60.0050.03712.08
5.3.50.0040.03812.03
5.3.40.0040.03912.04
5.3.30.0040.03611.99
5.3.20.0030.03811.77
5.3.10.0060.04411.73
5.3.00.0060.04111.72
5.2.170.0040.0339.23
5.2.160.0040.0299.23
5.2.150.0070.0359.23
5.2.140.0060.0309.23
5.2.130.0060.0309.19
5.2.120.0070.0299.19
5.2.110.0090.0319.19
5.2.100.0040.0339.19
5.2.90.0060.0369.19
5.2.80.0050.0339.18
5.2.70.0040.0449.18
5.2.60.0030.0319.13
5.2.50.0070.0339.10
5.2.40.0060.0359.07
5.2.30.0060.0329.05
5.2.20.0100.0289.04
5.2.10.0030.0328.95
5.2.00.0080.0268.81
5.1.60.0060.0248.09
5.1.50.0060.0268.09
5.1.40.0060.0258.07
5.1.30.0090.0348.42
5.1.20.0060.0278.45
5.1.10.0040.0268.16
5.1.00.0050.0258.17
5.0.50.0030.0216.64
5.0.40.0040.0236.50
5.0.30.0040.0326.32
5.0.20.0040.0216.29
5.0.10.0020.0226.26
5.0.00.0050.0356.25
4.4.90.0020.0174.78
4.4.80.0030.0154.75
4.4.70.0020.0174.75
4.4.60.0040.0174.76
4.4.50.0040.0144.77
4.4.40.0030.0244.71
4.4.30.0050.0154.76
4.4.20.0030.0194.85
4.4.10.0060.0164.85
4.4.00.0040.0254.76
4.3.110.0020.0224.67
4.3.100.0020.0194.67
4.3.90.0030.0174.63
4.3.80.0000.0284.58
4.3.70.0020.0184.63
4.3.60.0020.0154.63
4.3.50.0030.0174.62
4.3.40.0020.0284.54
4.3.30.0050.0173.30
4.3.20.0050.0203.28
4.3.10.0000.0173.23
4.3.00.0170.0237.48

preferences:
36.73 ms | 400 KiB | 5 Q