3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{}; $a = spl_object_id(new test(1)); $b = spl_object_id(new test(2)); 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.40.0040.01118.42
8.3.30.0120.00618.59
8.3.20.0060.00320.29
8.3.10.0080.00023.64
8.3.00.0060.00319.25
8.2.170.0110.01122.96
8.2.160.0040.01119.30
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00021.02
8.2.120.0000.00726.35
8.2.110.0090.00020.44
8.2.100.0120.00017.78
8.2.90.0060.00317.63
8.2.80.0000.00818.78
8.2.70.0040.00417.80
8.2.60.0000.00917.93
8.2.50.0080.00018.10
8.2.40.0040.00420.24
8.2.30.0000.00719.32
8.2.20.0030.00717.87
8.2.10.0000.00818.05
8.2.00.0040.00418.29
8.1.270.0040.00420.32
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0130.00718.56
8.1.230.0060.00617.71
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0080.00017.35
8.1.180.0000.00918.10
8.1.170.0040.00418.65
8.1.160.0070.00018.94
8.1.150.0070.00020.20
8.1.140.0020.00517.68
8.1.130.0030.00618.86
8.1.120.0020.00517.32
8.1.110.0000.01117.37
8.1.100.0030.00717.32
8.1.90.0030.00717.29
8.1.80.0100.00017.43
8.1.70.0060.00317.41
8.1.60.0040.00417.58
8.1.50.0000.00817.45
8.1.40.0000.00717.44
8.1.30.0030.00517.50
8.1.20.0030.00617.58
8.1.10.0080.00017.53
8.1.00.0060.00317.46
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0040.00418.29
8.0.270.0070.00017.15
8.0.260.0000.00716.80
8.0.250.0040.00416.90
8.0.240.0070.00016.90
8.0.230.0000.00716.88
8.0.220.0040.00416.83
8.0.210.0030.00316.69
8.0.200.0040.00416.90
8.0.190.0030.00616.88
8.0.180.0070.00016.79
8.0.170.0060.00316.90
8.0.160.0040.00416.84
8.0.150.0030.00316.79
8.0.140.0000.00716.77
8.0.130.0030.00313.30
8.0.120.0080.00016.82
8.0.110.0050.00216.75
8.0.100.0050.00216.85
8.0.90.0040.00416.95
8.0.80.0060.01016.88
8.0.70.0040.00416.73
8.0.60.0040.00416.85
8.0.50.0050.00316.68
8.0.30.0100.00817.04
8.0.20.0100.01317.40
8.0.10.0070.00016.97
8.0.00.0110.00916.69
7.4.330.0000.00515.55
7.4.320.0060.00016.55
7.4.300.0000.00616.47
7.4.290.0000.00816.46
7.4.280.0040.00416.39
7.4.270.0040.00416.44
7.4.260.0050.00216.47
7.4.250.0000.00716.53
7.4.240.0040.00416.52
7.4.230.0070.00016.57
7.4.220.0070.00016.54
7.4.210.0070.01116.47
7.4.200.0080.00016.34
7.4.160.0110.00616.31
7.4.150.0100.00717.40
7.4.140.0140.00717.86
7.4.130.0030.01516.40
7.4.120.0110.00816.40
7.4.110.0110.01116.31
7.4.100.0140.00716.28
7.4.90.0130.00316.47
7.4.80.0030.01919.39
7.4.70.0040.01716.38
7.4.60.0150.00316.44
7.4.50.0040.01416.15
7.4.40.0070.01016.27
7.4.00.0030.00814.88
7.3.330.0000.00613.15
7.3.320.0000.00713.11
7.3.310.0030.00316.07
7.3.300.0070.00016.22
7.3.290.0090.00616.12
7.3.280.0070.00716.19
7.3.270.0110.00717.40
7.3.260.0100.01016.28
7.3.250.0110.00916.30
7.3.240.0080.01016.27
7.3.230.0140.00716.39
7.3.210.0060.01216.09
7.3.200.0030.01816.52
7.3.190.0090.00616.57
7.3.180.0110.00516.14
7.3.170.0130.00616.30
7.3.160.0140.00316.26
7.2.330.0030.01416.60
7.2.320.0100.00716.52
7.2.310.0080.00816.34
7.2.300.0100.00716.63
7.2.290.0090.00916.43
7.2.60.0080.00816.77
7.2.10.0150.01517.88
7.2.00.0190.00617.73
7.1.200.0130.00015.53
7.1.130.0230.01316.73
7.1.120.0210.00616.69
7.1.110.0190.00615.88
7.1.100.0130.01016.07
7.1.90.0260.00915.48
7.1.80.0310.00616.21
7.1.70.0260.01215.00
7.1.60.0400.01732.89
7.1.50.0340.01233.01
7.1.40.0310.01432.63
7.1.30.0290.01032.51
7.1.20.0340.01032.40
7.1.10.0150.01214.61
7.1.00.0320.00614.73

preferences:
53.91 ms | 400 KiB | 5 Q