3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo ($x = new stdclass) { var_dump($x); } 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.00916.51
8.5.20.0110.00716.59
8.5.10.0100.00720.16
8.5.00.0130.00919.91
8.4.180.0090.01319.54
8.4.170.0090.01323.77
8.4.160.0090.01323.85
8.4.150.0070.00516.80
8.4.140.0150.00617.36
8.4.130.0070.00317.92
8.4.120.0120.00622.35
8.4.110.0140.00622.60
8.4.100.0130.00817.30
8.4.90.0140.00618.43
8.4.80.0130.00717.73
8.4.70.0090.00417.52
8.4.60.0120.00818.76
8.4.50.0060.00220.33
8.4.40.0170.00319.34
8.4.30.0160.00317.36
8.4.20.0150.00417.46
8.4.10.0130.00317.35
8.3.300.0090.01120.70
8.3.290.0110.01018.25
8.3.280.0120.00818.14
8.3.270.0150.00416.50
8.3.260.0120.00716.68
8.3.250.0060.00418.48
8.3.240.0120.00716.49
8.3.230.0100.01016.27
8.3.220.0100.00816.98
8.3.210.0060.00818.33
8.3.200.0060.00316.40
8.3.190.0090.00317.21
8.3.180.0090.00716.50
8.3.170.0030.00717.12
8.3.160.0050.00318.21
8.3.150.0120.00620.76
8.3.140.0000.00816.81
8.3.130.0100.00718.23
8.3.120.0080.00019.11
8.3.110.0040.00418.23
8.3.100.0040.00418.41
8.3.50.0130.00618.30
8.2.300.0100.01118.00
8.2.290.0100.00520.22
8.2.280.0060.00318.24
8.2.270.0000.01816.92
8.2.260.0050.00318.98
8.2.250.0060.00316.49
8.2.240.0030.00617.13
8.2.230.0000.00818.21
8.2.220.0030.00618.22
8.1.340.0110.00719.83
8.1.330.0110.00821.61
8.1.320.0120.00815.78
8.1.310.0050.00316.34
8.1.300.0000.00819.96
5.4.230.0160.04312.38
5.4.220.0160.04612.38
5.4.210.0180.03912.38
5.4.200.0180.04012.38
5.4.190.0170.04412.38
5.4.180.0210.03812.38
5.4.170.0140.04512.38
5.4.160.0200.04312.38
5.4.150.0420.08212.38
5.4.140.0160.04212.07
5.4.130.0180.04112.05
5.4.120.0170.04012.01
5.4.110.0150.04312.02
5.4.100.0120.04812.01
5.4.90.0160.04512.01
5.4.80.0100.04912.01
5.4.70.0200.04112.00
5.4.60.0270.03512.01
5.4.50.0270.06312.01
5.4.40.0140.04712.00
5.4.30.0170.04212.00
5.4.20.0170.04311.98
5.4.10.0340.08512.00
5.4.00.0190.03811.49
5.3.280.0160.05012.71
5.3.270.0200.04412.72
5.3.260.0170.04912.72
5.3.250.0200.04812.72
5.3.240.0180.04412.72
5.3.230.0200.04212.71
5.3.220.0180.04612.68
5.3.210.0140.04912.68
5.3.200.0180.05612.68
5.3.190.0220.04712.68
5.3.180.0240.04012.67
5.3.170.0320.06412.67
5.3.160.0190.04512.67
5.3.150.0160.04512.67
5.3.140.0160.04612.66
5.3.130.0150.04612.66
5.3.120.0180.04612.66
5.3.110.0160.04912.66
5.3.100.0170.04412.12
5.3.90.0210.03912.08
5.3.80.0160.04512.07
5.3.70.0140.04912.07
5.3.60.0230.04412.06
5.3.50.0130.04912.00
5.3.40.0180.05912.00
5.3.30.0130.04711.96
5.3.20.0220.04311.75
5.3.10.0150.04511.71
5.3.00.0220.06911.69

preferences:
56.86 ms | 940 KiB | 5 Q