3v4l.org

run code in 300+ PHP versions simultaneously
<?php class User { public $id; } $jane = new User; $jane->id = 1; $mary = new User; $mary->id = 1; var_dump(spl_object_hash($jane), spl_object_hash($mary)); var_dump($mary === $jane);

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.0070.01018.18
8.3.50.0090.00916.40
8.3.40.0070.01118.50
8.3.30.0120.00318.67
8.3.20.0040.00420.16
8.3.10.0000.00821.90
8.3.00.0040.00418.04
8.2.180.0070.00716.47
8.2.170.0130.00722.96
8.2.160.0070.01320.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0030.00617.63
8.2.110.0060.00322.10
8.2.100.0120.00019.23
8.2.90.0000.00719.13
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0040.00418.04
8.2.50.0080.00018.07
8.2.40.0000.00819.46
8.2.30.0060.00320.50
8.2.20.0000.00817.61
8.2.10.0000.00817.87
8.2.00.0000.00817.98
8.1.280.0070.01125.92
8.1.270.0100.00323.79
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0040.00422.52
8.1.230.0060.00617.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0090.00017.25
8.1.190.0040.00417.00
8.1.180.0040.00418.10
8.1.170.0090.00018.53
8.1.160.0070.00021.86
8.1.150.0070.00018.82
8.1.140.0040.00417.38
8.1.130.0030.00317.64
8.1.120.0000.00717.41
8.1.110.0040.00417.36
8.1.100.0000.00717.32
8.1.90.0000.00717.43
8.1.80.0070.00017.40
8.1.70.0030.00317.32
8.1.60.0000.00817.59
8.1.50.0030.00517.37
8.1.40.0080.00017.45
8.1.30.0080.00017.53
8.1.20.0040.00417.41
8.1.10.0000.00717.55
8.1.00.0060.00317.50
8.0.300.0030.00518.77
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0030.00317.13
8.0.260.0030.00317.09
8.0.250.0040.00416.79
8.0.240.0000.00816.88
8.0.230.0070.00016.88
8.0.220.0000.01016.78
8.0.210.0070.00016.74
8.0.200.0000.00716.86
8.0.190.0080.00016.88
8.0.180.0000.00816.84
8.0.170.0040.00416.75
8.0.160.0040.00416.91
8.0.150.0000.00816.63
8.0.140.0040.00416.70
8.0.130.0000.00513.26
8.0.120.0040.00416.81
8.0.110.0050.00316.76
8.0.100.0040.00416.69
8.0.90.0000.00716.70
8.0.80.0030.01316.88
8.0.70.0080.00016.71
8.0.60.0000.00716.70
8.0.50.0040.00416.65
8.0.30.0110.00617.03
8.0.20.0080.01017.40
8.0.10.0000.00716.85
8.0.00.0100.00816.61
7.4.330.0060.00015.12
7.4.320.0070.00016.61
7.4.300.0000.00616.51
7.4.290.0000.00716.52
7.4.280.0040.00416.60
7.4.270.0040.00416.62
7.4.260.0040.00416.58
7.4.250.0070.00016.45
7.4.240.0030.00316.56
7.4.230.0030.00316.41
7.4.220.0070.01016.54
7.4.210.0150.00016.62
7.4.200.0030.00316.49
7.4.160.0060.00916.73
7.4.150.0160.00617.40
7.4.140.0150.00717.86
7.4.130.0070.01016.45
7.4.120.0050.01216.50
7.4.110.0060.01216.45
7.4.100.0100.01316.46
7.4.90.0110.00716.49
7.4.80.0060.01019.39
7.4.70.0060.01616.53
7.4.60.0060.00916.43
7.4.50.0020.00216.59
7.4.40.0100.00716.52
7.4.30.0150.00816.50
7.4.00.0060.00914.81
7.3.330.0000.00613.13
7.3.320.0030.00313.26
7.3.310.0030.00316.19
7.3.300.0040.00416.34
7.3.290.0050.01116.32
7.3.280.0100.00816.29
7.3.270.0070.01117.40
7.3.260.0050.01316.41
7.3.250.0060.01116.30
7.3.240.0150.00816.34
7.3.230.0090.01216.46
7.3.210.0040.01916.34
7.3.200.0070.01016.48
7.3.190.0040.01216.37
7.3.180.0060.00916.65
7.3.170.0060.00916.27
7.3.160.0080.00816.52
7.2.330.0100.00616.37
7.2.320.0040.01716.53
7.2.310.0070.01116.54
7.2.300.0090.00916.72
7.2.290.0100.00716.67
7.2.110.0210.00316.69
7.2.60.0080.00416.70
7.2.00.0040.01219.05
7.1.200.0030.00915.53
7.1.100.0000.00817.91
7.1.70.0040.00417.28
7.1.60.0120.01219.19
7.1.50.0090.01516.95
7.1.00.0000.08022.31
7.0.200.0070.00316.61
7.0.60.0100.07020.04
7.0.50.0070.07017.73
7.0.40.0130.07720.14
7.0.30.0230.03320.12
7.0.20.0200.08720.24
7.0.10.0000.04720.21
7.0.00.0030.04020.32
5.6.210.0000.04320.62
5.6.200.0100.07018.12
5.6.190.0030.06020.52
5.6.180.0570.06320.57
5.6.170.0300.05720.44
5.6.160.0070.07020.50
5.6.150.0000.04018.12
5.6.140.0100.06718.23
5.6.130.0100.08318.22
5.6.120.0070.05320.99
5.6.110.0100.08320.91
5.6.100.0130.07720.98
5.6.90.0130.07320.98
5.6.80.0070.08020.40
5.5.350.0000.08320.52
5.5.340.0070.08018.05
5.5.330.0070.04320.13
5.5.320.1670.04720.34
5.5.310.0170.07720.30
5.5.300.0070.07717.96
5.5.290.0100.04718.03
5.5.280.0070.04020.87
5.5.270.0130.05020.95
5.5.260.0070.04020.73
5.5.250.0070.07720.79
5.5.240.0100.02720.26
5.4.450.1070.05719.34
5.4.440.0900.06319.29
5.4.430.0900.08019.58
5.4.420.1270.06319.60
5.4.410.0800.06019.35
5.4.400.0800.05319.29
5.4.390.0900.07719.15
5.4.380.0970.08019.14
5.4.370.0870.05019.31
5.4.360.0870.06019.15
5.4.350.0730.05719.14
5.4.340.1270.07719.14
5.4.320.1100.04718.98
5.4.310.1030.06019.06
5.4.300.1030.05719.25
5.4.290.1070.07319.26
5.4.280.1170.07019.30
5.4.270.0970.05319.23
5.4.260.0730.05319.28
5.4.250.0770.07718.86
5.4.240.0730.05319.25
5.4.230.1070.05319.36
5.4.220.0970.06019.36
5.4.210.0730.05719.03
5.4.200.0800.04319.27
5.4.190.0730.05319.27
5.4.180.0730.05319.25
5.4.170.0930.03719.11
5.4.160.0630.06319.14
5.4.150.0670.08318.85
5.4.140.0770.05016.56
5.4.130.1070.04016.51
5.4.120.0870.04316.50
5.4.110.0730.05716.61
5.4.100.0970.06316.54
5.4.90.0700.05016.64
5.4.80.0700.05316.17
5.4.70.0200.03316.52
5.4.60.0300.06016.33
5.4.50.0000.04316.57
5.4.40.0300.05716.43
5.4.30.0100.03316.52
5.4.20.0300.04316.43
5.4.10.0200.03316.52

preferences:
53.13 ms | 401 KiB | 5 Q