3v4l.org

run code in 300+ PHP versions simultaneously
<?php $classPath = 'stdclass'; $a = new (str_replace('/', '\\', $classPath))(); var_dump($a);

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.70.0140.00416.38
8.3.60.0130.00318.43
8.3.50.0100.01020.96
8.3.40.0110.00418.82
8.3.30.0070.00718.92
8.3.20.0080.00020.10
8.3.10.0070.00023.74
8.3.00.0060.00319.13
8.2.180.0100.00716.38
8.2.170.0090.00622.96
8.2.160.0030.01620.35
8.2.150.0060.00324.18
8.2.140.0110.00724.66
8.2.130.0040.00426.16
8.2.120.0000.00819.67
8.2.110.0040.00422.11
8.2.100.0100.00018.64
8.1.280.0170.00325.92
8.1.270.0040.00420.65
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0050.00518.55
8.1.230.0030.00618.46
5.4.340.0090.03212.01
5.4.320.0090.03712.50
5.4.310.0020.04212.49
5.4.300.0070.03712.50
5.4.290.0060.04412.50
5.4.280.0030.03912.39
5.4.270.0060.03712.39
5.4.260.0050.03912.39
5.4.250.0120.03912.39
5.4.240.0070.03412.39
5.4.230.0040.03912.38
5.4.220.0040.04012.38
5.4.210.0080.03412.38
5.4.200.0050.04112.38
5.4.190.0080.03612.38
5.4.180.0030.03812.38
5.4.170.0050.04712.39
5.4.160.0100.03712.38
5.4.150.0090.03612.38
5.4.140.0090.03812.07
5.4.130.0100.03112.05
5.4.120.0090.03712.01
5.4.110.0050.03812.01
5.4.100.0070.03412.01
5.4.90.0070.03912.01
5.4.80.0070.04012.01
5.4.70.0060.03412.00
5.4.60.0060.03412.01
5.4.50.0100.03712.00
5.4.40.0080.03212.00
5.4.30.0070.04411.99
5.4.20.0070.03811.99
5.4.10.0060.03711.99
5.4.00.0040.03711.48
5.3.290.0040.04912.80
5.3.280.0100.04212.71
5.3.270.0040.05012.72
5.3.260.0040.04512.71
5.3.250.0070.03612.72
5.3.240.0090.03612.72
5.3.230.0060.04112.70
5.3.220.0070.04212.68
5.3.210.0120.03712.68
5.3.200.0100.04412.68
5.3.190.0090.03912.68
5.3.180.0070.04212.67
5.3.170.0050.04112.67
5.3.160.0060.04212.67
5.3.150.0080.04612.68
5.3.140.0080.04112.66
5.3.130.0090.04712.66
5.3.120.0070.04212.66
5.3.110.0070.03812.66
5.3.100.0080.04312.12
5.3.90.0040.03812.08
5.3.80.0040.03912.08
5.3.70.0070.03612.07
5.3.60.0050.03912.07
5.3.50.0050.03712.00
5.3.40.0050.03712.00
5.3.30.0050.03611.95
5.3.20.0030.03911.73
5.3.10.0070.03811.70
5.3.00.0070.03611.68
5.2.170.0040.0319.18
5.2.160.0040.0339.18
5.2.150.0070.0369.18
5.2.140.0090.0309.18
5.2.130.0070.0289.14
5.2.120.0090.0299.14
5.2.110.0050.0319.14
5.2.100.0060.0319.14
5.2.90.0050.0309.14
5.2.80.0070.0369.14
5.2.70.0060.0309.14
5.2.60.0040.0329.09
5.2.50.0100.0279.06
5.2.40.0060.0279.03
5.2.30.0050.0369.01
5.2.20.0080.0299.00
5.2.10.0090.0298.92
5.2.00.0060.0328.78
5.1.60.0030.0288.06
5.1.50.0060.0268.06
5.1.40.0050.0268.05
5.1.30.0060.0268.40
5.1.20.0050.0278.41
5.1.10.0040.0278.14
5.1.00.0030.0268.14
5.0.50.0040.0206.62
5.0.40.0020.0216.48
5.0.30.0020.0336.29
5.0.20.0080.0196.27
5.0.10.0040.0206.24
5.0.00.0050.0356.23
4.4.90.0030.0194.78
4.4.80.0050.0164.75
4.4.70.0060.0134.75
4.4.60.0080.0264.75
4.4.50.0030.0214.77
4.4.40.0060.0264.71
4.4.30.0060.0174.76
4.4.20.0020.0164.84
4.4.10.0040.0174.85
4.4.00.0060.0244.76
4.3.110.0060.0174.66
4.3.100.0030.0204.66
4.3.90.0050.0124.63
4.3.80.0040.0244.58
4.3.70.0030.0174.63
4.3.60.0030.0184.63
4.3.50.0090.0164.63
4.3.40.0060.0284.54
4.3.30.0050.0153.28
4.3.20.0030.0153.27
4.3.10.0020.0183.22
4.3.00.0000.0238.63

preferences:
29.61 ms | 401 KiB | 5 Q