3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{}; $a = spl_object_id(new test()); $b = spl_object_id(new test()); var_dump($a, $b);

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.0130.00616.38
8.3.50.0110.00418.00
8.3.40.0070.00718.44
8.3.30.0070.01118.62
8.3.20.0070.00020.36
8.3.10.0030.00523.57
8.3.00.0000.00819.13
8.2.180.0100.01016.50
8.2.170.0070.00722.96
8.2.160.0070.00719.15
8.2.150.0030.00624.18
8.2.140.0030.00624.66
8.2.130.0050.00321.00
8.2.120.0040.00426.35
8.2.110.0050.00522.12
8.2.100.0000.01217.66
8.2.90.0000.00817.72
8.2.80.0000.00719.29
8.2.70.0000.00817.93
8.2.60.0080.00017.93
8.2.50.0060.00318.10
8.2.40.0040.00420.57
8.2.30.0040.00419.37
8.2.20.0030.00618.08
8.2.10.0000.00817.91
8.2.00.0000.00818.10
8.1.280.0070.00725.92
8.1.270.0050.00320.20
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00322.14
8.1.230.0040.00720.96
8.1.220.0040.00417.74
8.1.210.0030.00918.77
8.1.200.0040.00417.23
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0000.00718.59
8.1.160.0040.00418.86
8.1.150.0070.00020.17
8.1.140.0050.00217.70
8.1.130.0030.00318.79
8.1.120.0100.00017.37
8.1.110.0030.00617.38
8.1.100.0000.00817.37
8.1.90.0030.00717.23
8.1.80.0030.00617.29
8.1.70.0000.00717.30
8.1.60.0040.00417.43
8.1.50.0040.00417.43
8.1.40.0070.00017.38
8.1.30.0000.00717.55
8.1.20.0070.00317.42
8.1.10.0040.00417.49
8.1.00.0030.00617.46
8.0.300.0040.00420.04
8.0.290.0050.00316.61
8.0.280.0030.00318.26
8.0.270.0030.00317.25
8.0.260.0000.00816.67
8.0.250.0060.00016.89
8.0.240.0000.00716.94
8.0.230.0030.00316.80
8.0.220.0030.00316.77
8.0.210.0030.00316.84
8.0.200.0000.00616.88
8.0.190.0000.00716.90
8.0.180.0000.00716.80
8.0.170.0030.00616.93
8.0.160.0040.00416.80
8.0.150.0040.00416.71
8.0.140.0080.00016.77
8.0.130.0000.00513.21
8.0.120.0040.00416.69
8.0.110.0000.00816.80
8.0.100.0040.00416.94
8.0.90.0080.00016.65
8.0.80.0040.01116.84
8.0.70.0040.00416.81
8.0.60.0070.00016.63
8.0.50.0000.00716.92
8.0.30.0100.01016.93
8.0.20.0100.01117.40
8.0.10.0070.00016.82
8.0.00.0080.00916.68
7.4.330.0050.00015.55
7.4.320.0040.00416.59
7.4.300.0060.00016.42
7.4.290.0000.00716.38
7.4.280.0040.00416.43
7.4.270.0090.00016.50
7.4.260.0080.00016.54
7.4.250.0030.00316.51
7.4.240.0070.00016.50
7.4.230.0080.00016.36
7.4.220.0040.00416.61
7.4.210.0030.01016.41
7.4.200.0040.00416.58
7.4.160.0090.00916.39
7.4.150.0110.00917.40
7.4.140.0090.01417.86
7.4.130.0110.00716.53
7.4.120.0130.00816.46
7.4.110.0110.00816.50
7.4.100.0030.01316.55
7.4.90.0040.01216.42
7.4.80.0100.01019.39
7.4.70.0090.01216.28
7.4.60.0180.01116.44
7.4.50.0070.01116.40
7.4.40.0040.01316.44
7.4.00.0000.01314.71
7.3.330.0040.00413.25
7.3.320.0030.00313.05
7.3.310.0000.00716.22
7.3.300.0030.00316.01
7.3.290.0060.01216.18
7.3.280.0110.00516.13
7.3.270.0070.01017.40
7.3.260.0070.01216.25
7.3.250.0100.01016.31
7.3.240.0130.00416.23
7.3.230.0040.01216.21
7.3.210.0190.00316.32
7.3.200.0070.01416.25
7.3.190.0110.00516.17
7.3.180.0070.01416.24
7.3.170.0110.01016.17
7.3.160.0110.00616.26
7.2.330.0090.00916.38
7.2.320.0150.01216.42
7.2.310.0070.00916.37
7.2.300.0130.00416.38
7.2.290.0060.00916.41
7.2.60.0130.00316.60
7.2.10.0210.00917.55
7.2.00.0280.00917.73
7.1.200.0040.01115.61
7.1.130.0220.00716.86
7.1.120.0190.01016.75
7.1.110.0190.01416.18
7.1.100.0270.00816.14
7.1.90.0240.01416.00
7.1.80.0200.01315.95
7.1.70.0210.01415.28
7.1.60.0310.01633.27
7.1.50.0330.01332.91
7.1.40.1170.00732.67
7.1.30.0230.02032.57
7.1.20.0390.01232.53
7.1.10.0300.00314.55
7.1.00.0250.00614.83

preferences:
31.17 ms | 400 KiB | 5 Q