3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo ($foo = new stdClass) { var_dump($foo); } foo();

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.5.30.0080.00920.36
8.5.20.0040.00320.25
8.5.10.0120.00620.11
8.5.00.0090.00219.96
8.4.180.0150.00625.51
8.4.170.0100.01023.82
8.4.160.0100.01123.86
8.4.150.0080.00416.83
8.4.140.0100.01217.37
8.4.130.0120.00817.80
8.4.120.0120.00820.69
8.4.110.0090.01022.33
8.4.100.0110.01017.46
8.4.90.0080.01320.30
8.4.80.0060.00217.65
8.4.70.0090.01117.64
8.4.60.0130.00618.79
8.4.50.0060.00220.10
8.4.40.0130.00719.27
8.4.30.0030.01617.58
8.4.20.0100.01017.34
8.4.10.0090.00019.29
8.3.300.0130.00820.80
8.3.290.0120.01020.77
8.3.280.0140.00618.20
8.3.270.0150.00416.57
8.3.260.0070.00616.41
8.3.250.0140.00618.72
8.3.240.0100.00916.56
8.3.230.0120.00816.34
8.3.220.0130.00617.16
8.3.210.0100.00916.61
8.3.200.0080.00116.43
8.3.190.0120.00717.22
8.3.180.0110.00916.53
8.3.170.0030.00618.88
8.3.160.0100.01017.19
8.3.150.0070.01016.97
8.3.140.0110.00716.43
8.3.130.0190.00318.26
8.3.120.0060.00318.96
8.3.110.0080.00816.79
8.3.100.0110.00716.63
8.3.50.0150.00316.63
8.2.300.0150.00918.38
8.2.290.0040.00421.91
8.2.280.0130.00718.33
8.2.270.0150.00416.93
8.2.260.0040.00416.25
8.2.250.0070.01018.33
8.2.240.0000.01616.96
8.2.230.0040.00416.43
8.2.220.0060.01316.48
8.1.340.0120.00919.88
8.1.330.0120.00622.00
8.1.320.0130.00516.02
8.1.310.0150.00018.58
8.1.300.0060.00316.64
7.0.100.1550.06519.90
7.0.90.0580.05819.98
7.0.80.0150.05519.94
7.0.70.0730.05820.09
7.0.60.0880.06219.98
7.0.50.0820.04820.34
7.0.40.0970.05820.27
7.0.30.0720.06320.26
7.0.20.0900.06520.26
7.0.10.0180.05020.38
7.0.00.0670.05820.31
5.6.250.0130.05320.58
5.6.240.0170.05020.70
5.6.230.0120.05720.58
5.6.220.0120.07220.70
5.6.210.0170.06320.61
5.6.200.0180.05721.04
5.6.190.0120.05821.07
5.6.180.0070.06021.09
5.6.170.0070.06021.04
5.6.160.0150.05321.02
5.6.150.0100.05721.11
5.6.140.0150.05021.08
5.6.130.0100.06321.13
5.6.120.0080.07521.15
5.6.110.0120.07221.05
5.6.100.0170.05320.96
5.6.90.0120.06721.00
5.6.80.0080.05720.44
5.6.70.0150.04820.37
5.6.60.0080.05320.46
5.6.50.0080.05320.50
5.6.40.0130.04820.43
5.6.30.0120.05020.49
5.6.20.0000.06220.42
5.6.10.0120.05220.48
5.6.00.0100.05220.38

preferences:
47.76 ms | 881 KiB | 5 Q