3v4l.org

run code in 300+ PHP versions simultaneously
<?php $map = new WeakMap; $obj = new stdClass; $map[$obj] = 42; var_dump($map);

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.4.20.0130.00619.68
8.4.10.0050.00322.34
8.3.150.0060.01318.11
8.3.140.0150.00016.93
8.3.130.0040.00818.59
8.3.120.0060.00318.79
8.3.110.0040.00420.94
8.3.100.0050.00319.98
8.3.90.0080.00026.77
8.3.80.0000.00916.63
8.3.70.0100.00716.63
8.3.60.0170.00316.75
8.3.50.0070.01023.50
8.3.40.0230.00918.08
8.3.30.0260.00417.91
8.3.20.0210.00620.72
8.3.10.0180.00522.84
8.3.00.0190.00321.69
8.2.260.0110.00716.49
8.2.250.0000.00816.49
8.2.240.0070.01019.04
8.2.230.0000.00922.58
8.2.220.0100.00024.06
8.2.210.0040.00426.77
8.2.200.0040.00718.16
8.2.190.0100.01016.58
8.2.180.0170.00325.92
8.2.170.0260.00918.29
8.2.160.0190.00520.23
8.2.150.0180.00421.57
8.2.140.0210.00820.89
8.2.130.0180.00321.69
8.2.120.0220.00317.99
8.2.110.0260.00519.92
8.2.100.0210.00717.71
8.2.90.0250.00417.79
8.2.80.0200.00817.61
8.2.70.0180.00817.25
8.2.60.0220.00217.44
8.2.50.0170.00718.21
8.2.40.0120.01119.08
8.2.30.0090.01318.24
8.2.20.0190.00317.69
8.2.10.0160.00918.19
8.2.00.0180.00818.23
8.1.310.0150.00318.56
8.1.300.0110.00417.71
8.1.290.0000.00930.84
8.1.280.0100.01025.92
8.1.270.0220.00320.56
8.1.260.0180.00721.67
8.1.250.0240.00722.66
8.1.240.0160.01319.65
8.1.230.0150.00719.04
8.1.220.0180.00717.43
8.1.210.0120.01217.82
8.1.200.0160.00317.11
8.1.190.0140.00717.05
8.1.180.0150.00418.00
8.1.170.0130.00617.88
8.1.160.0150.00318.09
8.1.150.0220.00317.94
8.1.140.0130.01217.83
8.1.130.0200.00317.11
8.1.120.0090.00917.27
8.1.110.0120.01017.24
8.1.100.0200.01117.18
8.1.90.0190.00517.24
8.1.80.0090.00617.28
8.1.70.0140.00917.30
8.1.60.0200.00517.38
8.1.50.0160.00417.22
8.1.40.0060.00517.32
8.1.30.0160.00517.41
8.1.20.0080.00717.50
8.1.10.0190.00517.31
8.1.00.0190.00417.26
8.0.300.0130.00818.35
8.0.290.0100.00916.56
8.0.280.0160.00717.20
8.0.270.0190.00416.63
8.0.260.0170.00416.54
8.0.250.0150.00816.65
8.0.240.0180.00516.57
8.0.230.0230.00416.49
8.0.220.0260.00216.52
8.0.210.0140.00416.61
8.0.200.0190.00516.68
8.0.190.0160.00416.72
8.0.180.0120.00716.56
8.0.170.0200.00516.67
8.0.160.0180.00616.65
8.0.150.0140.00716.50
8.0.140.0110.01016.64
8.0.130.0170.00615.54
8.0.120.0120.00315.75
8.0.110.0120.00515.95
8.0.100.0100.00516.19
8.0.90.0070.00516.35
8.0.80.0140.00916.29
8.0.70.0100.01016.28
8.0.60.0100.00715.87
8.0.50.0130.00615.93
8.0.30.0110.00716.53
8.0.20.0110.00716.67
8.0.10.0090.00916.70
8.0.00.0100.00916.65
7.4.330.0170.00616.90
7.4.320.0130.01016.18
7.4.300.0080.00316.43
7.4.290.0170.00416.14
7.4.280.0110.00516.33
7.4.270.0120.00416.43
7.4.260.0060.00616.29
7.4.250.0140.00415.47
7.4.240.0150.00315.59
7.4.230.0110.00415.71
7.4.220.0090.00615.74
7.4.210.0100.00816.00
7.4.200.0100.00815.69
7.4.190.0100.00715.81
7.4.180.0100.00815.79
7.4.160.0100.00716.26
7.4.150.0100.00816.22
7.4.140.0110.00816.21
7.4.130.0120.00716.23
7.4.120.0120.00716.30
7.4.110.0120.00816.31
7.4.100.0130.00716.30
7.4.90.0120.00816.31
7.4.80.0130.00816.41
7.4.70.0120.00916.27
7.4.60.0120.00916.31
7.4.50.0120.00816.29
7.4.40.0140.00716.24
7.4.30.0110.00916.31
7.4.20.0110.00916.29
7.4.10.0130.00816.31
7.4.00.0100.00816.27
7.3.330.0130.00816.02
7.3.320.0130.00715.14
7.3.310.0170.00115.26
7.3.300.0100.00615.44
7.3.290.0110.00615.72
7.3.280.0130.00515.80
7.3.270.0120.00716.09
7.3.260.0120.00716.10
7.3.250.0110.00816.19
7.3.240.0120.00716.18
7.3.230.0120.00716.21
7.3.220.0110.00916.16
7.3.210.0120.00916.17
7.3.200.0140.00816.16
7.3.190.0130.00816.20
7.3.180.0140.00816.15
7.3.170.0130.00716.72
7.3.160.0110.00916.17
7.3.150.0130.00716.18
7.3.140.0130.00816.20
7.3.130.0120.00816.20
7.3.120.0110.00816.19
7.3.110.0120.00816.17
7.3.100.0110.00916.22
7.3.90.0130.00816.25
7.3.80.0130.00816.18
7.3.70.0120.00816.15
7.3.60.0120.00816.17
7.3.50.0120.00816.17
7.3.40.0120.00816.19
7.3.30.0110.00916.26
7.3.20.0150.00816.47
7.3.10.0170.00816.47
7.3.00.0130.00916.53
7.2.340.0190.01016.17
7.2.330.0160.01016.21
7.2.320.0180.00816.23
7.2.310.0180.00816.24
7.2.300.0160.00816.23
7.2.290.0160.00916.24
7.2.280.0150.01116.23
7.2.270.0180.00816.25
7.2.260.0160.00916.25
7.2.250.0160.01016.21
7.2.240.0170.00916.27
7.2.230.0160.01016.29
7.2.220.0170.00816.23
7.2.210.0180.00816.25
7.2.200.0180.00916.32
7.2.190.0170.00816.27
7.2.180.0160.00916.29
7.2.170.0160.01016.27
7.2.160.0170.00916.30
7.2.150.0190.00916.65
7.2.140.0160.00916.67
7.2.130.0250.00816.75
7.2.120.0190.00816.72
7.2.110.0190.00916.72
7.2.100.0180.00816.73
7.2.90.0210.00816.73
7.2.80.0180.00916.70
7.2.70.0180.00916.70
7.2.60.0170.00916.66
7.2.50.0190.01016.70
7.2.40.0210.00816.76
7.2.30.0200.00916.74
7.2.20.0170.01016.72
7.2.10.0180.00816.72
7.2.00.0200.00816.69

preferences:
59.97 ms | 403 KiB | 5 Q