3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function aa() { print "ok\n"; } static function __callstatic($a, $b) { var_dump($a); } } foo::aa(); $b = 'AA'; foo::$b(); foo::__construct();

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.0090.00918.19
8.3.50.0070.00922.03
8.3.40.0070.01418.92
8.3.30.0000.01419.07
8.3.20.0040.00420.29
8.3.10.0040.00420.61
8.3.00.0000.00819.22
8.2.180.0100.00716.38
8.2.170.0090.01222.96
8.2.160.0040.01120.41
8.2.150.0000.00824.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0040.00421.00
8.2.110.0090.00020.25
8.2.100.0080.00417.74
8.2.90.0040.00419.28
8.2.80.0030.00617.97
8.2.70.0060.00317.48
8.2.60.0000.00817.78
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0040.00419.34
8.2.20.0080.00017.60
8.2.10.0060.00317.98
8.2.00.0000.00817.68
8.1.280.0120.00325.92
8.1.270.0040.00423.84
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0060.00323.91
8.1.230.0110.00019.01
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.01017.10
8.1.190.0030.00617.10
8.1.180.0000.00818.10
8.1.170.0050.00318.50
8.1.160.0040.00421.98
8.1.150.0040.00418.86
8.1.140.0030.00817.17
8.1.130.0000.00717.64
8.1.120.0040.00417.17
8.1.110.0040.00417.22
8.1.100.0040.00417.33
8.1.90.0000.00717.29
8.1.80.0070.00017.35
8.1.70.0030.00317.27
8.1.60.0080.00017.57
8.1.50.0000.00817.42
8.1.40.0000.00717.42
8.1.30.0040.00417.61
8.1.20.0030.00617.41
8.1.10.0040.00417.43
8.1.00.0040.00417.50
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0000.00818.38
8.0.270.0080.00017.18
8.0.260.0030.00317.15
8.0.250.0040.00416.90
8.0.240.0000.00717.00
8.0.230.0040.00416.96
8.0.220.0040.00416.78
8.0.210.0030.00316.84
8.0.200.0030.00316.98
8.0.190.0050.00516.97
8.0.180.0040.00416.79
8.0.170.0030.00516.99
8.0.160.0040.00416.99
8.0.150.0040.00416.82
8.0.140.0060.00316.77
8.0.130.0030.00313.31
8.0.120.0080.00016.77
8.0.110.0040.00416.73
8.0.100.0000.00717.00
8.0.90.0040.00416.72
8.0.80.0060.00916.80
8.0.70.0080.00016.90
8.0.60.0050.00216.90
8.0.50.0040.00416.75
8.0.30.0090.01217.27
8.0.20.0160.00317.40
8.0.10.0040.00416.87
8.0.00.0040.01316.62
7.4.330.0030.00315.00
7.4.320.0060.00016.43
7.4.300.0030.00316.50
7.4.290.0030.00316.39
7.4.280.0040.00416.50
7.4.270.0000.00716.64
7.4.260.0040.00416.38
7.4.250.0000.00816.46
7.4.240.0020.00516.56
7.4.230.0030.00316.42
7.4.220.0030.01416.51
7.4.210.0030.01416.63
7.4.200.0070.00016.71
7.4.160.0060.00916.57
7.4.150.0130.00417.40
7.4.140.0120.00917.86
7.4.130.0090.00916.54
7.4.120.0160.00416.57
7.4.110.0120.00416.55
7.4.100.0100.00716.50
7.4.90.0130.01116.46
7.4.80.0070.01319.39
7.4.70.0060.00916.53
7.4.60.0140.00316.61
7.4.50.0040.00416.45
7.4.40.0060.01116.43
7.4.30.0100.00716.39
7.4.00.0070.01014.80
7.3.330.0030.00313.18
7.3.320.0020.00213.37
7.3.310.0070.00016.21
7.3.300.0030.00516.35
7.3.290.0160.00416.34
7.3.280.0070.00816.36
7.3.270.0100.00717.40
7.3.260.0150.00916.53
7.3.250.0090.00816.37
7.3.240.0070.01416.63
7.3.230.0060.01116.54
7.3.210.0120.00916.55
7.3.200.0000.01619.39
7.3.190.0120.00916.40
7.3.180.0090.00916.46
7.3.170.0060.00916.54
7.3.160.0090.00916.39
7.2.330.0100.00716.64
7.2.320.0120.00616.69
7.2.310.0040.01916.23
7.2.300.0060.00916.66
7.2.290.0130.00316.34
7.2.60.0000.01516.66
7.2.00.0000.01219.56
7.1.200.0030.01315.56
7.1.100.0070.00717.80
7.1.70.0000.01517.11
7.1.60.0150.00919.61
7.1.50.0030.02016.89
7.1.00.0070.07322.45
7.0.200.0040.00414.70
7.0.140.0070.07022.01
7.0.60.0100.07319.95
7.0.50.0100.04317.86
7.0.40.0130.04320.05
7.0.30.0300.06320.27
7.0.20.0300.08320.21
7.0.10.0330.06720.12
7.0.00.0100.08020.23
5.6.280.0000.07721.05
5.6.210.0030.04020.70
5.6.200.0070.08318.29
5.6.190.0100.07720.77
5.6.180.0170.09020.48
5.6.170.0270.03020.50
5.6.160.0030.09320.61
5.6.150.0070.04718.19
5.6.140.0170.07018.15
5.6.130.0070.04018.28
5.6.120.0030.08321.08
5.6.110.0100.08020.89
5.6.100.0070.08720.98
5.6.90.0130.08721.10
5.6.80.0130.07020.53
5.6.70.3470.02720.39
5.5.350.0000.08320.32
5.5.340.0130.03018.05
5.5.330.0030.05720.53
5.5.320.0270.08020.38
5.5.310.0100.04320.34
5.5.300.0030.04317.91
5.5.290.0000.04717.98
5.5.280.0230.06320.85
5.5.270.0200.07320.68
5.5.260.0030.04020.66
5.5.250.0170.07020.59
5.5.240.0070.06020.19
5.4.450.0530.04719.50
5.4.440.0070.05019.18
5.4.430.0100.05019.13
5.4.420.0630.04019.50
5.4.410.0370.04019.32
5.4.400.0500.04019.22
5.4.390.0300.04318.88
5.4.380.0370.05318.56
5.4.370.1470.05018.53
5.4.360.0300.06018.79
5.4.350.0400.06018.74
5.4.340.0300.06018.74
5.4.320.0060.03712.50
5.4.310.0060.04212.50
5.4.300.0080.03612.50
5.4.290.0120.03712.49
5.4.280.0050.03812.40
5.4.270.0040.04012.39
5.4.260.0070.03712.39
5.4.250.0060.04412.40
5.4.240.0060.03912.40
5.4.230.0060.04212.39
5.4.220.0080.03912.39
5.4.210.0100.04312.39
5.4.200.0100.04012.39
5.4.190.0060.04712.38
5.4.180.0040.04112.38
5.4.170.0050.03612.39
5.4.160.0060.04112.39
5.4.150.0070.03812.38
5.4.140.0090.03812.07
5.4.130.0060.04112.06
5.4.120.0040.03712.01
5.4.110.0090.03812.02
5.4.100.0070.03312.01
5.4.90.0070.04212.01
5.4.80.0100.04412.01
5.4.70.0070.03912.01
5.4.60.0040.03512.01
5.4.50.0020.03712.01
5.4.40.0120.02712.00
5.4.30.0060.03412.00
5.4.20.0040.04711.99
5.4.10.0060.04111.99
5.4.00.0070.04111.48
5.3.290.0070.04112.80
5.3.280.0070.04512.71
5.3.270.0060.03912.72
5.3.260.0070.04912.72
5.3.250.0080.04112.72
5.3.240.0070.04512.72
5.3.230.0060.04012.71
5.3.220.0080.03512.68
5.3.210.0040.04312.68
5.3.200.0100.03512.68
5.3.190.0070.04512.67
5.3.180.0060.03512.68
5.3.170.0080.04012.67
5.3.160.0060.04212.68
5.3.150.0040.04312.68
5.3.140.0070.04912.66
5.3.130.0060.04012.66
5.3.120.0070.04812.66
5.3.110.0040.04612.66
5.3.100.0080.04512.12
5.3.90.0070.03512.10
5.3.80.0030.03912.10
5.3.70.0060.03612.10
5.3.60.0030.04012.08
5.3.50.0070.03612.03
5.3.40.0030.03912.03
5.3.30.0050.03611.98
5.3.20.0060.03611.77
5.3.10.0060.03511.73
5.3.00.0030.03811.73
5.2.170.0030.0319.23
5.2.160.0050.0289.23
5.2.150.0040.0309.23
5.2.140.0030.0419.22
5.2.130.0050.0299.19
5.2.120.0050.0339.18
5.2.110.0040.0309.19
5.2.100.0060.0329.18
5.2.90.0070.0339.18
5.2.80.0080.0319.18
5.2.70.0050.0299.18
5.2.60.0040.0309.13
5.2.50.0060.0339.10
5.2.40.0060.0309.08
5.2.30.0060.0469.05
5.2.20.0060.0369.04
5.2.10.0030.0308.95
5.2.00.0030.0308.81
5.1.60.0050.0358.09
5.1.50.0070.0328.09
5.1.40.0080.0268.07
5.1.30.0050.0348.42
5.1.20.0060.0308.44
5.1.10.0040.0258.17
5.1.00.0040.0308.17
5.0.50.0040.0236.64
5.0.40.0030.0206.50
5.0.30.0050.0306.32
5.0.20.0070.0166.29
5.0.10.0050.0196.26
5.0.00.0050.0436.25
4.4.90.0030.0174.78
4.4.80.0020.0164.76
4.4.70.0050.0144.76
4.4.60.0030.0164.75
4.4.50.0020.0164.77
4.4.40.0010.0324.71
4.4.30.0050.0174.76
4.4.20.0020.0224.85
4.4.10.0030.0154.85
4.4.00.0040.0294.76
4.3.110.0060.0224.67
4.3.100.0020.0194.66
4.3.90.0050.0134.63
4.3.80.0010.0264.58
4.3.70.0040.0174.63
4.3.60.0030.0154.63
4.3.50.0030.0164.63
4.3.40.0020.0264.54
4.3.30.0010.0173.30
4.3.20.0040.0223.28
4.3.10.0020.0223.24
4.3.00.0030.01716.70

preferences:
47.1 ms | 401 KiB | 5 Q