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('ReflectionFunction',array('a')); $a('phpinfo');

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.0070.00718.43
8.3.50.0100.00317.95
8.3.40.0120.00318.80
8.3.30.0070.00718.96
8.3.20.0040.00420.29
8.3.10.0000.00823.50
8.3.00.0030.00619.38
8.2.180.0140.00016.50
8.2.170.0100.01022.96
8.2.160.0030.01020.47
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00422.12
8.2.110.0060.00320.40
8.2.100.0040.00718.09
8.2.90.0040.00419.28
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0000.00817.91
8.2.50.0050.00318.07
8.2.40.0000.00919.88
8.2.30.0040.00417.90
8.2.20.0040.00417.71
8.2.10.0040.00418.05
8.2.00.0040.00417.73
8.1.280.0130.00725.92
8.1.270.0050.00323.82
8.1.260.0040.00426.35
8.1.250.0020.00528.09
8.1.240.0060.00323.88
8.1.230.0070.00419.03
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0050.00317.13
8.1.180.0040.00418.10
8.1.170.0040.00418.47
8.1.160.0000.00721.98
8.1.150.0040.00418.80
8.1.140.0040.00417.38
8.1.130.0030.00317.72
8.1.120.0000.00717.40
8.1.110.0030.00617.37
8.1.100.0070.00017.27
8.1.90.0080.00017.29
8.1.80.0030.00317.40
8.1.70.0000.00717.34
8.1.60.0000.00817.52
8.1.50.0040.00417.55
8.1.40.0000.00817.57
8.1.30.0040.00417.68
8.1.20.0080.00017.61
8.1.10.0000.00717.46
8.1.00.0080.00017.41
8.0.300.0000.00718.77
8.0.290.0060.00316.63
8.0.280.0030.00318.31
8.0.270.0000.00717.19
8.0.260.0030.00317.14
8.0.250.0030.00316.88
8.0.240.0000.00716.98
8.0.230.0080.00016.92
8.0.220.0030.00316.86
8.0.210.0060.00016.89
8.0.200.0060.00016.85
8.0.190.0050.00316.86
8.0.180.0040.00416.80
8.0.170.0040.00416.94
8.0.160.0000.00716.77
8.0.150.0020.00516.86
8.0.140.0000.00816.89
8.0.130.0000.00513.36
8.0.120.0000.00816.73
8.0.110.0000.00716.81
8.0.100.0040.00416.75
8.0.90.0050.00316.68
8.0.80.0060.01316.86
8.0.70.0040.00416.90
8.0.60.0000.00717.00
8.0.50.0030.00516.79
8.0.30.0110.00816.93
8.0.20.0110.01117.40
8.0.10.0000.00716.85
8.0.00.0070.01016.48
7.4.330.0050.00015.00
7.4.320.0000.00616.46
7.4.300.0000.00716.61
7.4.290.0000.00816.49
7.4.280.0050.00316.50
7.4.270.0040.00416.62
7.4.260.0030.00316.48
7.4.250.0070.00016.56
7.4.240.0020.00516.49
7.4.230.0000.00716.52
7.4.220.0040.01416.63
7.4.210.0090.00616.59
7.4.200.0000.00716.59
7.4.160.0130.00316.31
7.4.150.0080.00817.40
7.4.140.0090.00817.86
7.4.130.0110.00916.52
7.4.120.0140.00616.60
7.4.110.0160.00616.63
7.4.100.0120.01116.46
7.4.90.0070.01016.73
7.4.80.0100.00719.39
7.4.70.0150.00616.43
7.4.60.0060.01016.36
7.4.50.0040.00416.31
7.4.40.0100.01016.36
7.4.30.0070.01016.25
7.4.00.0030.01214.92
7.3.330.0030.00313.30
7.3.320.0020.00213.09
7.3.310.0070.00016.32
7.3.300.0000.00616.30
7.3.290.0070.00716.28
7.3.280.0120.00616.27
7.3.270.0120.00617.40
7.3.260.0070.01116.26
7.3.250.0080.00916.43
7.3.240.0070.01016.49
7.3.230.0110.00616.39
7.3.210.0130.00316.46
7.3.200.0140.00819.39
7.3.190.0090.00916.52
7.3.180.0000.01616.25
7.3.170.0070.00816.37
7.3.160.0030.01316.36
7.3.120.0050.01214.52
7.3.110.0070.00714.61
7.3.100.0070.00715.02
7.3.90.0060.01014.70
7.3.80.0050.00514.64
7.3.70.0070.01014.75
7.3.60.0040.00714.93
7.3.50.0060.00914.91
7.3.40.0100.00714.80
7.3.30.0030.01314.87
7.3.20.0000.00916.41
7.3.10.0090.00316.64
7.3.00.0040.00916.65
7.2.330.0030.01416.63
7.2.320.0160.00616.68
7.2.310.0130.00316.30
7.2.300.0080.00816.26
7.2.290.0110.00616.59
7.2.240.0060.00815.04
7.2.230.0040.00815.07
7.2.220.0000.01315.03
7.2.210.0060.00914.85
7.2.200.0070.01114.73
7.2.190.0120.00014.68
7.2.180.0080.00414.81
7.2.170.0030.00814.80
7.2.160.0110.00814.90
7.2.150.0060.00916.82
7.2.140.0030.00616.81
7.2.130.0060.01116.71
7.2.120.0050.00716.65
7.2.110.0040.00916.82
7.2.100.0070.00516.81
7.2.90.0080.00416.76
7.2.80.0060.00916.58
7.2.70.0050.00516.63
7.2.60.0050.00916.84
7.2.50.0060.00816.63
7.2.40.0130.00216.76
7.2.30.0070.00316.91
7.2.20.0050.00916.86
7.2.10.0020.01016.68
7.2.00.0050.00917.53
7.1.330.0070.00715.66
7.1.320.0060.00615.86
7.1.310.0060.01215.59
7.1.300.0030.00815.39
7.1.290.0070.01115.41
7.1.280.0030.01315.55
7.1.270.0040.00815.48
7.1.260.0060.00615.69
7.1.250.0020.01115.68
7.1.200.0120.00315.57
7.1.100.0040.00818.14
7.1.70.0030.00916.73
7.1.60.0100.01319.32
7.1.50.0060.01616.86
7.1.00.0100.07022.49
7.0.200.0030.00716.70
7.0.140.0030.06722.18
7.0.60.0130.03019.93
7.0.50.0030.05717.84
7.0.40.0100.07020.11
7.0.30.0470.06320.26
7.0.20.0270.04720.07
7.0.10.0170.04320.30
7.0.00.0000.06020.25
5.6.280.0070.06720.93
5.6.210.0070.08020.51
5.6.200.0000.04318.24
5.6.190.0130.07720.45
5.6.180.0270.07020.34
5.6.170.0200.03720.71
5.6.160.0100.03720.57
5.6.150.0100.03718.18
5.6.140.0070.08318.23
5.6.130.0100.04318.14
5.6.120.0170.07720.95
5.6.110.0100.07721.02
5.6.100.0030.09021.14
5.6.90.0070.09021.10
5.6.80.0030.05720.41
5.5.350.0130.08020.34
5.5.340.0030.08718.07
5.5.330.0170.06320.32
5.5.320.0230.04020.42
5.5.310.0270.03720.24
5.5.300.0100.06717.95
5.5.290.0100.04317.91
5.5.280.0000.05020.98
5.5.270.0130.04320.79
5.5.260.0230.06320.87
5.5.250.0030.04320.55
5.5.240.0270.06320.29
5.4.450.0070.06019.59
5.4.440.0770.06319.20
5.4.430.0730.06719.69
5.4.420.0630.00019.36
5.4.410.0630.00019.45
5.4.400.0600.00019.13
5.4.390.0630.00019.16
5.4.380.0630.00019.16
5.4.370.0700.00019.08
5.4.360.0830.00019.03
5.4.350.0630.00019.07
5.4.340.0060.03412.02
5.4.320.0070.03512.50
5.4.310.0060.03712.50
5.4.300.0060.03612.51
5.4.290.0040.04012.50
5.4.280.0040.03712.40
5.4.270.0070.03512.40
5.4.260.0060.04012.40
5.4.250.0050.03912.40
5.4.240.0060.03512.40
5.4.230.0080.03612.39
5.4.220.0060.03512.39
5.4.210.0100.03712.39
5.4.200.0050.04012.39
5.4.190.0050.03612.39
5.4.180.0040.03912.39
5.4.170.0080.03612.39
5.4.160.0080.03412.39
5.4.150.0090.03312.39
5.4.140.0070.03512.07
5.4.130.0050.03712.06
5.4.120.0060.03612.02
5.4.110.0050.03512.02
5.4.100.0050.03512.02
5.4.90.0100.03312.02
5.4.80.0060.03612.01
5.4.70.0080.03212.01
5.4.60.0030.03812.01
5.4.50.0100.03112.01
5.4.40.0100.03612.00
5.4.30.0070.03312.00
5.4.20.0040.03612.00
5.4.10.0030.03712.00
5.4.00.0050.03611.49
5.3.290.0060.03812.80
5.3.280.0050.03812.70
5.3.270.0050.04012.72
5.3.260.0090.03912.72
5.3.250.0060.03612.72
5.3.240.0060.03612.72
5.3.230.0050.03812.71
5.3.220.0070.03512.68
5.3.210.0040.04012.68
5.3.200.0090.03312.68
5.3.190.0080.03612.68
5.3.180.0070.04112.67
5.3.170.0030.04012.66
5.3.160.0070.03512.68
5.3.150.0060.03612.67
5.3.140.0030.03812.66
5.3.130.0030.04112.66
5.3.120.0040.04012.66
5.3.110.0060.03712.66
5.3.100.0060.03612.12
5.3.90.0060.03512.11
5.3.80.0070.03612.09
5.3.70.0060.03612.10
5.3.60.0070.03512.08
5.3.50.0040.03812.03
5.3.40.0070.03512.05
5.3.30.0070.03411.99
5.3.20.0080.03311.77
5.3.10.0060.03411.73
5.3.00.0050.04011.72
5.2.170.0050.0299.23
5.2.160.0040.0299.23
5.2.150.0050.0309.23
5.2.140.0050.0309.22
5.2.130.0070.0269.19
5.2.120.0070.0299.18
5.2.110.0040.0299.20
5.2.100.0040.0299.19
5.2.90.0060.0289.19
5.2.80.0040.0329.18
5.2.70.0040.0319.18
5.2.60.0050.0309.13
5.2.50.0050.0319.10
5.2.40.0040.0299.07
5.2.30.0060.0289.05
5.2.20.0020.0319.04
5.2.10.0050.0348.95
5.2.00.0050.0298.81
5.1.60.0050.0238.09
5.1.50.0030.0268.09
5.1.40.0030.0268.07
5.1.30.0060.0258.42
5.1.20.0050.0268.44
5.1.10.0050.0248.16
5.1.00.0050.0248.16
5.0.50.0030.0216.64
5.0.40.0040.0196.50
5.0.30.0050.0306.32
5.0.20.0040.0196.28
5.0.10.0030.0206.26
5.0.00.0030.0326.25
4.4.90.0040.0144.78
4.4.80.0030.0154.75
4.4.70.0020.0164.75
4.4.60.0020.0164.76
4.4.50.0030.0154.77
4.4.40.0020.0264.70
4.4.30.0030.0194.76
4.4.20.0050.0134.85
4.4.10.0040.0144.84
4.4.00.0020.0264.76
4.3.110.0010.0184.66
4.3.100.0020.0164.67
4.3.90.0040.0144.63
4.3.80.0020.0254.58
4.3.70.0030.0154.63
4.3.60.0030.0144.63
4.3.50.0050.0134.63
4.3.40.0020.0294.54
4.3.30.0040.0143.30
4.3.20.0010.0193.28
4.3.10.0040.0163.24
4.3.00.0130.0207.48

preferences:
73.11 ms | 400 KiB | 5 Q