3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test implements ArrayAccess { function offsetGet($o){} function offsetUnset($o){} function offsetSet($o, $v){} function offsetExists($o){ var_dump($o);} } $arr = new Test; isset($arr[false]); isset($arr[0.12345]);

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.140.0150.00617.49
8.4.130.0120.00618.03
8.4.120.0030.00620.59
8.4.110.0160.00522.34
8.4.100.0130.00817.90
8.4.90.0110.00520.47
8.4.80.0110.01018.08
8.4.70.0060.00517.79
8.4.60.0100.01118.38
8.4.50.0110.00919.62
8.4.40.0100.01017.95
8.4.30.0060.01317.42
8.4.20.0100.01017.69
8.4.10.0130.00317.84
8.3.270.0130.00616.66
8.3.260.0110.00816.74
8.3.250.0110.00819.07
8.3.240.0120.00716.59
8.3.230.0130.00616.71
8.3.220.0100.00817.45
8.3.210.0120.00916.91
8.3.200.0050.00316.70
8.3.190.0110.00918.77
8.3.180.0100.00919.00
8.3.170.0110.00016.82
8.3.160.0140.00416.65
8.3.150.0090.00918.88
8.3.140.0120.00316.59
8.3.130.0000.00816.78
8.3.120.0060.00320.66
8.3.110.0050.00320.94
8.3.100.0040.00424.06
8.3.90.0090.00926.77
8.3.80.0040.00418.43
8.3.70.0150.00416.88
8.3.60.0110.00818.30
8.3.50.0100.00717.91
8.3.40.0040.01118.85
8.3.30.0150.00018.73
8.3.20.0030.00519.16
8.3.10.0040.00420.77
8.3.00.0040.00423.68
8.2.290.0110.00820.54
8.2.280.0090.01016.55
8.2.270.0130.00616.81
8.2.260.0150.00319.10
8.2.250.0000.01417.05
8.2.240.0060.00317.32
8.2.230.0090.00022.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0000.00916.88
8.2.190.0100.01016.58
8.2.180.0100.01018.54
8.2.170.0140.00022.96
8.2.160.0130.00020.37
8.2.150.0040.00424.18
8.2.140.0050.00224.66
8.2.130.0080.00021.04
8.2.120.0050.00226.35
8.2.110.0060.00322.00
8.2.100.0040.00718.02
8.2.90.0000.00819.22
8.2.80.0000.00817.97
8.2.70.0080.00017.93
8.2.60.0030.00618.03
8.2.50.0030.00618.10
8.2.40.0000.00719.48
8.2.30.0070.00019.36
8.2.20.0030.00518.11
8.2.10.0040.00418.23
8.2.00.0070.00019.52
8.1.330.0120.00520.28
8.1.320.0120.00715.97
8.1.310.0120.00316.87
8.1.300.0120.00015.97
8.1.290.0100.00030.84
8.1.280.0120.00325.92
8.1.270.0000.00822.14
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00320.68
8.1.230.0070.00420.97
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00617.48
8.1.190.0030.00617.22
8.1.180.0030.00618.10
8.1.170.0030.00618.65
8.1.160.0070.00018.95
8.1.150.0050.00318.80
8.1.140.0040.00417.64
8.1.130.0000.00719.05
8.1.120.0070.00017.46
8.1.110.0000.00817.45
8.1.100.0040.00417.30
8.1.90.0000.00717.43
8.1.80.0000.00717.47
8.1.70.0030.00517.38
8.1.60.0000.00817.61
8.1.50.0070.00017.54
8.1.40.0000.00817.50
8.1.30.0040.00417.65
8.1.20.0040.00417.61
8.1.10.0090.00017.44
8.1.00.0000.00817.43
8.0.300.0070.00018.77
8.0.290.0080.00016.75
8.0.280.0000.00718.43
8.0.270.0080.00017.17
8.0.260.0050.00317.27
8.0.250.0000.00616.84
8.0.240.0000.00616.91
8.0.230.0040.00416.80
8.0.220.0000.00716.91
8.0.210.0040.00316.80
8.0.200.0030.00716.86
8.0.190.0030.00516.93
8.0.180.0000.00816.96
8.0.170.0000.00916.87
8.0.160.0070.00016.78
8.0.150.0000.00716.82
8.0.140.0030.00316.74
8.0.130.0060.00013.31
8.0.120.0000.00716.84
8.0.110.0040.00416.95
8.0.100.0000.00716.83
8.0.90.0070.00016.92
8.0.80.0040.01316.89
8.0.70.0000.00816.75
8.0.60.0070.00016.91
8.0.50.0060.00316.95
8.0.30.0090.01017.04
8.0.20.0050.01417.40
8.0.10.0040.00417.13
8.0.00.0110.00616.73
7.4.330.0040.00015.55
7.4.320.0030.00316.63
7.4.300.0000.00816.55
7.4.290.0030.00316.49
7.4.280.0040.00416.55
7.4.270.0040.00416.66
7.4.260.0030.00316.56
7.4.250.0000.00816.46
7.4.240.0070.00016.48
7.4.230.0030.00316.60
7.4.220.0040.00416.61
7.4.210.0040.01116.54
7.4.200.0030.00316.54
7.4.160.0100.01016.53
7.4.140.0070.01117.86
7.4.130.0090.00816.61
7.4.120.0120.00716.47
7.4.110.0100.00716.78
7.4.100.0090.00816.65
7.4.90.0090.00916.53
7.4.80.0080.01119.39
7.4.70.0060.01316.58
7.4.60.0100.01316.46
7.4.50.0070.01016.36
7.4.40.0030.01616.44
7.4.00.0030.01014.95
7.3.330.0020.00213.11
7.3.320.0030.00313.07
7.3.310.0000.00716.22
7.3.300.0030.00316.26
7.3.290.0030.00316.20
7.3.280.0090.00516.18
7.3.260.0050.01216.35
7.3.240.0090.00816.33
7.3.230.0030.01416.34
7.3.210.0100.00716.41
7.3.200.0030.01316.56
7.3.190.0150.00416.17
7.3.180.0130.00316.43
7.3.170.0080.00816.25
7.3.160.0100.00716.26
7.2.330.0140.01016.63
7.2.320.0200.00016.67
7.2.310.0090.00916.70
7.2.300.0110.00716.46
7.2.290.0140.00316.75
7.2.70.0190.01114.92
7.2.60.0200.00714.58
7.2.50.0250.00414.73
7.2.40.1040.00615.02
7.2.30.0220.00614.93
7.2.20.0180.00914.82
7.2.10.0210.00614.90
7.2.00.0190.00815.04
7.1.200.0000.01215.71
7.1.170.0270.00013.77
7.1.160.0160.00913.62
7.1.150.0190.00613.55
7.1.140.0200.00713.70
7.1.130.0280.00913.89
7.1.120.0190.00813.62
7.1.110.0220.00313.96
7.1.100.0190.00613.71
7.1.90.0190.00613.99
7.1.80.0240.00313.62
7.1.70.0160.00913.88
7.1.60.0340.01031.74
7.1.50.0350.01132.03
7.1.40.0340.01431.88
7.1.30.0400.00731.79
7.1.20.0460.00031.66
7.1.10.0230.00313.54
7.1.00.0180.00713.89

preferences:
145.25 ms | 403 KiB | 5 Q