3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foobar {} $foo='foo'; $bar='bar'; new ($foo . $bar);

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.01116.63
8.3.50.0120.00522.84
8.3.40.0100.00718.73
8.3.30.0140.00018.92
8.3.20.0040.00420.22
8.3.10.0080.00020.21
8.3.00.0050.00319.26
8.2.180.0070.01116.63
8.2.170.0140.00322.96
8.2.160.0060.00922.14
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00819.67
8.2.110.0030.00722.30
8.2.100.0030.00618.66
8.1.280.0170.00325.92
8.1.270.0000.01423.96
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0060.00318.38
8.1.230.0060.00318.62
5.4.320.0070.03512.52
5.4.310.0060.03812.51
5.4.300.0040.03812.51
5.4.290.0080.03612.50
5.4.280.0090.03812.41
5.4.270.0050.03812.40
5.4.260.0050.04412.41
5.4.250.0100.04312.40
5.4.240.0060.03912.41
5.4.230.0040.04112.40
5.4.220.0080.03912.40
5.4.210.0070.03512.40
5.4.200.0070.03812.39
5.4.190.0060.03712.39
5.4.180.0060.03712.39
5.4.170.0090.03312.40
5.4.160.0070.03612.40
5.4.150.0060.03612.39
5.4.140.0060.03912.09
5.4.130.0110.03412.06
5.4.120.0060.03512.03
5.4.110.0080.03312.03
5.4.100.0080.03312.03
5.4.90.0060.03612.02
5.4.80.0060.04212.02
5.4.70.0110.03912.02
5.4.60.0050.03712.02
5.4.50.0080.03912.02
5.4.40.0090.03612.01
5.4.30.0070.03812.01
5.4.20.0060.03912.00
5.4.10.0100.03012.00
5.4.00.0020.03811.50
5.3.290.0070.04112.80
5.3.280.0040.03912.71
5.3.270.0050.04012.72
5.3.260.0040.04012.72
5.3.250.0070.03512.71
5.3.240.0040.03912.72
5.3.230.0060.04312.71
5.3.220.0090.03812.68
5.3.210.0050.03812.68
5.3.200.0090.04112.68
5.3.190.0070.04112.68
5.3.180.0060.03812.68
5.3.170.0080.03312.67
5.3.160.0050.03612.68
5.3.150.0080.03412.68
5.3.140.0070.04312.66
5.3.130.0070.03712.66
5.3.120.0090.03412.65
5.3.110.0040.04012.66
5.3.100.0060.03612.12
5.3.90.0100.03112.10
5.3.80.0090.03412.09
5.3.70.0090.03412.09
5.3.60.0060.03412.07
5.3.50.0030.03812.02
5.3.40.0060.04012.02
5.3.30.0060.03411.98
5.3.20.0060.04111.77
5.3.10.0010.04411.73
5.3.00.0090.03911.71
5.2.170.0060.0299.22
5.2.160.0060.0339.21
5.2.150.0050.0419.21
5.2.140.0070.0389.21
5.2.130.0060.0289.17
5.2.120.0080.0329.18
5.2.110.0060.0289.18
5.2.100.0090.0249.18
5.2.90.0080.0289.17
5.2.80.0040.0309.17
5.2.70.0070.0319.17
5.2.60.0070.0319.13
5.2.50.0090.0309.09
5.2.40.0060.0289.07
5.2.30.0070.0329.05
5.2.20.0070.0269.04
5.2.10.0030.0318.94
5.2.00.0070.0288.80
5.1.60.0060.0238.08
5.1.50.0070.0228.08
5.1.40.0090.0208.06
5.1.30.0050.0268.41
5.1.20.0070.0298.43
5.1.10.0020.0318.16
5.1.00.0020.0278.16
5.0.50.0030.0216.64
5.0.40.0010.0216.50
5.0.30.0020.0316.30
5.0.20.0030.0236.27
5.0.10.0040.0266.26
5.0.00.0040.0306.25
4.4.90.0020.0244.78
4.4.80.0040.0204.76
4.4.70.0020.0164.75
4.4.60.0010.0174.75
4.4.50.0040.0134.77
4.4.40.0010.0264.70
4.4.30.0020.0164.76
4.4.20.0040.0244.84
4.4.10.0070.0134.85
4.4.00.0010.0334.76
4.3.110.0020.0214.66
4.3.100.0040.0184.66
4.3.90.0020.0194.64
4.3.80.0020.0244.58
4.3.70.0050.0114.63
4.3.60.0010.0164.63
4.3.50.0050.0204.63
4.3.40.0030.0234.54
4.3.30.0010.0193.30
4.3.20.0020.0173.28
4.3.10.0010.0163.23
4.3.00.0030.01318.15

preferences:
42.4 ms | 401 KiB | 5 Q