3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{}; $a = spl_object_hash(new test(1)); $b = spl_object_hash(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.60.0140.00716.63
8.3.50.0090.00617.86
8.3.40.0110.00418.80
8.3.30.0120.00318.57
8.3.20.0060.00320.16
8.3.10.0000.00823.61
8.3.00.0040.00419.25
8.2.180.0140.00418.16
8.2.170.0110.00422.96
8.2.160.0120.00622.14
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0090.00021.06
8.2.120.0070.00026.35
8.2.110.0080.00022.08
8.2.100.0080.00317.78
8.2.90.0080.00017.72
8.2.80.0040.00419.19
8.2.70.0000.00817.80
8.2.60.0030.00617.93
8.2.50.0040.00418.16
8.2.40.0040.00420.42
8.2.30.0000.00719.38
8.2.20.0060.00318.06
8.2.10.0040.00417.95
8.2.00.0030.00618.12
8.1.280.0100.00625.92
8.1.270.0040.00420.25
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00422.19
8.1.230.0040.00720.88
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0080.00017.22
8.1.180.0000.00718.10
8.1.170.0050.00318.59
8.1.160.0000.00718.74
8.1.150.0050.00320.27
8.1.140.0040.00417.56
8.1.130.0000.00718.74
8.1.120.0030.00817.30
8.1.110.0050.00517.27
8.1.100.0000.00917.38
8.1.90.0080.00417.40
8.1.80.0000.01017.36
8.1.70.0070.00017.39
8.1.60.0030.00517.48
8.1.50.0030.00617.46
8.1.40.0060.00317.39
8.1.30.0040.00417.60
8.1.20.0000.00817.55
8.1.10.0050.00317.51
8.1.00.0040.00417.43
8.0.300.0040.00420.06
8.0.290.0050.00316.63
8.0.280.0000.00718.38
8.0.270.0070.00017.11
8.0.260.0000.00716.63
8.0.250.0000.00716.95
8.0.240.0030.00616.73
8.0.230.0000.00716.80
8.0.220.0040.00416.87
8.0.210.0000.00716.70
8.0.200.0060.00016.81
8.0.190.0080.00016.80
8.0.180.0040.00416.71
8.0.170.0040.00416.86
8.0.160.0000.00716.76
8.0.150.0030.00316.79
8.0.140.0070.00016.80
8.0.130.0000.00513.30
8.0.120.0050.00316.68
8.0.110.0040.00416.83
8.0.100.0040.00416.64
8.0.90.0000.00716.65
8.0.80.0070.00716.83
8.0.70.0040.00416.86
8.0.60.0040.00416.85
8.0.50.0050.00316.65
8.0.30.0060.01116.96
8.0.20.0120.00917.40
8.0.10.0000.00816.84
8.0.00.0140.00716.64
7.4.330.0000.00515.55
7.4.320.0000.00616.48
7.4.300.0000.00616.55
7.4.290.0080.00016.39
7.4.280.0070.00016.43
7.4.270.0030.00616.44
7.4.260.0000.00716.35
7.4.250.0070.00016.40
7.4.240.0000.00716.48
7.4.230.0000.00716.30
7.4.220.0040.00316.62
7.4.210.0070.00716.48
7.4.200.0000.00716.28
7.4.160.0120.00616.54
7.4.150.0130.00317.40
7.4.140.0120.00717.86
7.4.130.0090.00916.39
7.4.120.0110.00816.49
7.4.110.0100.00916.49
7.4.100.0090.00616.52
7.4.90.0110.01116.55
7.4.80.0140.00719.39
7.4.70.0090.00916.52
7.4.60.0120.00516.54
7.4.50.0070.01016.50
7.4.40.0110.00616.50
7.4.00.0000.01314.73
7.3.330.0060.00013.04
7.3.320.0000.00513.16
7.3.310.0070.00015.94
7.3.300.0040.00416.13
7.3.290.0070.01116.17
7.3.280.0090.00916.20
7.3.270.0090.00817.40
7.3.260.0100.01116.25
7.3.250.0130.00716.27
7.3.240.0120.00716.34
7.3.230.0030.01416.50
7.3.210.0060.01016.28
7.3.200.0100.00616.25
7.3.190.0070.00716.13
7.3.180.0120.00916.53
7.3.170.0130.00516.24
7.3.160.0080.01016.48
7.2.330.0170.00016.60
7.2.320.0100.01316.58
7.2.310.0100.00716.37
7.2.300.0090.01216.65
7.2.290.0080.00816.25
7.2.60.0060.00716.57
7.2.10.0170.01417.70
7.2.00.0220.01217.87
7.1.200.0040.00815.64
7.1.130.0230.00816.47
7.1.120.0110.01316.62
7.1.110.0230.00316.20
7.1.100.0170.00615.84
7.1.90.0160.00916.07
7.1.80.0240.01215.95
7.1.70.0230.01015.14
7.1.60.0380.01333.25
7.1.50.0280.01032.62
7.1.40.0310.00732.47
7.1.30.1170.01432.63
7.1.20.0310.01032.75
7.1.10.0240.01414.75
7.1.00.0230.01214.75

preferences:
58.88 ms | 401 KiB | 5 Q