3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{}; $a = spl_object_id(new test()); $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.0080.00618.67
8.3.30.0060.01018.45
8.3.20.0040.00420.34
8.3.10.0040.00421.89
8.3.00.0040.00419.25
8.2.170.0100.01022.96
8.2.160.0100.01019.25
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00421.07
8.2.120.0070.00026.35
8.2.110.0060.00320.47
8.2.100.0110.00617.78
8.2.90.0050.00317.50
8.2.80.0040.00418.61
8.2.70.0000.00817.80
8.2.60.0040.00417.80
8.2.50.0030.00518.10
8.2.40.0050.00320.42
8.2.30.0040.00419.27
8.2.20.0030.00617.97
8.2.10.0000.00817.88
8.2.00.0000.00818.25
8.1.270.0040.00420.29
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00318.93
8.1.230.0110.00017.77
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0050.00317.36
8.1.190.0000.00817.22
8.1.180.0060.00318.10
8.1.170.0000.00818.49
8.1.160.0030.00518.75
8.1.150.0030.00320.26
8.1.140.0000.00717.55
8.1.130.0030.00318.70
8.1.120.0050.00517.45
8.1.110.0050.00517.37
8.1.100.0040.00417.43
8.1.90.0030.00717.38
8.1.80.0030.00717.41
8.1.70.0040.00417.43
8.1.60.0050.00317.52
8.1.50.0040.00417.54
8.1.40.0070.00017.35
8.1.30.0000.00817.46
8.1.20.0040.00417.59
8.1.10.0040.00417.54
8.1.00.0050.00317.46
8.0.300.0030.00618.77
8.0.290.0000.00716.58
8.0.280.0030.00318.43
8.0.270.0080.00017.20
8.0.260.0030.00316.63
8.0.250.0050.00316.82
8.0.240.0040.00416.79
8.0.230.0000.00716.90
8.0.220.0070.00016.85
8.0.210.0030.00316.85
8.0.200.0060.00016.76
8.0.190.0040.00416.86
8.0.180.0000.00716.76
8.0.170.0050.00316.84
8.0.160.0020.00516.85
8.0.150.0070.00016.87
8.0.140.0040.00416.72
8.0.130.0000.00513.28
8.0.120.0030.00616.68
8.0.110.0080.00016.88
8.0.100.0040.00416.68
8.0.90.0040.00416.72
8.0.80.0070.00716.74
8.0.70.0070.00016.73
8.0.60.0080.00016.81
8.0.50.0040.00416.80
8.0.30.0110.00717.09
8.0.20.0080.01217.40
8.0.10.0000.00716.93
8.0.00.0100.00716.71
7.4.330.0000.00415.55
7.4.320.0030.00316.57
7.4.300.0000.00616.45
7.4.290.0000.00716.44
7.4.280.0000.00916.44
7.4.270.0000.00716.51
7.4.260.0040.00316.55
7.4.250.0040.00416.33
7.4.240.0070.00016.52
7.4.230.0030.00316.56
7.4.220.0040.00416.52
7.4.210.0100.00316.31
7.4.200.0040.00416.33
7.4.160.0080.00716.32
7.4.150.0030.01517.40
7.4.140.0100.00917.86
7.4.130.0070.01116.40
7.4.120.0140.00616.42
7.4.110.0030.01316.42
7.4.100.0060.01116.33
7.4.90.0070.01016.50
7.4.80.0240.00019.39
7.4.70.0000.01716.47
7.4.60.0060.01016.32
7.4.50.0060.00616.26
7.4.40.0130.00316.36
7.4.00.0060.01014.71
7.3.330.0050.00212.96
7.3.320.0080.00013.13
7.3.310.0030.00316.23
7.3.300.0040.00416.10
7.3.290.0100.00616.18
7.3.280.0060.01016.19
7.3.270.0060.01217.40
7.3.260.0100.00816.28
7.3.250.0090.00916.17
7.3.240.0100.00916.20
7.3.230.0030.01616.23
7.3.210.0120.00916.23
7.3.200.0100.00716.52
7.3.190.0070.01016.28
7.3.180.0140.00716.35
7.3.170.0120.00316.15
7.3.160.0140.00916.58
7.3.120.0060.00814.84
7.3.110.0100.01014.53
7.3.100.0000.01314.82
7.3.90.0070.01114.46
7.3.80.0040.01114.64
7.3.70.0000.01514.82
7.3.60.0060.01114.82
7.3.50.0060.00614.39
7.3.40.0120.00314.44
7.3.30.0070.01014.70
7.3.20.0070.01016.53
7.3.10.0070.00316.50
7.3.00.0060.00316.52
7.2.330.0160.00316.30
7.2.320.0160.00316.52
7.2.310.0060.01116.58
7.2.300.0130.01016.23
7.2.290.0100.00716.63
7.2.240.0000.01814.55
7.2.230.0030.01414.89
7.2.220.0070.00414.98
7.2.210.0110.00414.84
7.2.200.0070.01014.73
7.2.190.0060.00914.80
7.2.180.0030.00714.70
7.2.170.0100.00014.82
7.2.160.0070.01314.73
7.2.150.0070.01016.38
7.2.140.0110.00416.53
7.2.130.0030.00816.64
7.2.120.0080.00616.58
7.2.110.0070.00616.57
7.2.100.0050.01016.87
7.2.90.0070.00816.49
7.2.80.0050.00916.77
7.2.70.0070.00716.68
7.2.60.0070.00716.69
7.2.50.0060.00616.75
7.2.40.0080.00616.67
7.2.30.0050.00916.70
7.2.20.0060.00516.89
7.2.10.0110.01417.07
7.2.00.0160.00417.04
7.1.330.0090.00915.60
7.1.320.0110.00415.46
7.1.310.0040.01115.76
7.1.300.0100.00315.69
7.1.290.0080.00815.52
7.1.280.0110.00415.59
7.1.270.0190.00015.35
7.1.260.0060.00615.42
7.1.250.0090.00515.40
7.1.200.0000.01415.64
7.1.130.0130.00616.67
7.1.120.0360.00916.34
7.1.110.0250.00916.09
7.1.100.0090.00816.06
7.1.90.0540.00015.81
7.1.80.0270.00316.09
7.1.70.0040.00715.35
7.1.60.0470.01033.13
7.1.50.0350.01232.81
7.1.40.0480.01032.36
7.1.30.0290.01032.49
7.1.20.0330.01732.65
7.1.10.0350.00314.72
7.1.00.0360.00614.57

preferences:
47.05 ms | 400 KiB | 5 Q