3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomethingMagicAndTerriblyUgly { public $foo = null; private $bar = null; } var_dump(array_key_exists('foo', (array) (new SomethingMagicAndTerriblyUgly))); var_dump(array_key_exists('bar', (array) (new SomethingMagicAndTerriblyUgly)));

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.120.0110.01022.34
8.4.110.0050.00318.75
8.4.100.0110.01117.72
8.4.90.0120.00820.82
8.4.80.0050.00519.14
8.4.70.0120.00818.05
8.4.60.0130.00818.58
8.4.50.0150.00520.52
8.4.40.0060.01320.70
8.4.30.0030.01018.66
8.4.20.0100.01024.17
8.4.10.0130.00321.29
8.3.250.0100.00618.59
8.3.240.0110.00716.47
8.3.230.0110.00717.07
8.3.220.0100.00919.00
8.3.210.0140.00416.57
8.3.200.0060.00316.50
8.3.190.0080.01018.94
8.3.180.0120.00718.37
8.3.170.0120.00617.02
8.3.160.0050.00220.01
8.3.150.0140.00316.43
8.3.140.0160.00317.03
8.3.130.0030.01718.33
8.3.120.0030.00619.11
8.3.110.0070.00320.94
8.3.100.0040.00424.06
8.3.90.0030.00626.77
8.3.80.0080.00016.75
8.3.70.0110.00416.58
8.3.60.0070.00716.50
8.3.50.0140.00323.64
8.3.40.0070.00721.14
8.3.30.0040.01418.73
8.3.20.0090.00924.18
8.3.10.0090.00024.66
8.3.00.0040.00426.16
8.2.290.0090.01017.12
8.2.280.0140.00618.10
8.2.270.0120.00617.13
8.2.260.0070.01116.46
8.2.250.0040.00416.45
8.2.240.0120.00619.10
8.2.230.0060.00322.58
8.2.220.0050.00537.54
8.2.210.0030.01526.77
8.2.200.0090.00316.50
8.2.190.0090.01216.58
8.2.180.0140.00025.92
8.2.170.0070.00719.01
8.2.160.0080.00822.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.13
8.2.110.0040.00420.18
8.2.100.0000.01117.66
8.2.90.0060.00317.75
8.2.80.0050.00318.66
8.2.70.0040.00717.50
8.2.60.0070.00417.91
8.2.50.0040.00418.07
8.2.40.0030.00518.09
8.2.30.0030.00518.05
8.2.20.0050.00318.09
8.2.10.0080.00019.17
8.2.00.0000.00718.98
8.1.330.0120.00515.92
8.1.320.0070.00215.86
8.1.310.0030.01018.59
8.1.300.0040.00420.29
8.1.290.0090.00030.84
8.1.280.0120.00325.92
8.1.270.0100.01022.05
8.1.260.0030.00526.35
8.1.250.0000.00728.09
8.1.240.0110.00023.77
8.1.230.0080.00322.75
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.09
8.1.190.0040.00417.10
8.1.180.0030.00618.10
8.1.170.0050.00318.61
8.1.160.0040.00418.84
8.1.150.0040.00418.83
8.1.140.0060.00318.75
8.1.130.0030.00319.94
8.1.120.0000.00817.30
8.1.110.0030.00617.43
8.1.100.0000.00817.37
8.1.90.0050.00217.41
8.1.80.0070.00317.46
8.1.70.0030.00317.39
8.1.60.0050.00517.53
8.1.50.0030.00517.46
8.1.40.0040.00417.36
8.1.30.0000.00817.61
8.1.20.0000.00917.59
8.1.10.0000.00817.50
8.1.00.0060.00317.36
8.0.300.0040.00418.87
8.0.290.0000.00816.75
8.0.280.0000.00718.29
8.0.270.0000.00717.95
8.0.260.0000.00618.37
8.0.250.0070.00016.80
8.0.240.0060.00016.94
8.0.230.0000.00816.82
8.0.220.0000.00716.77
8.0.210.0050.00316.80
8.0.200.0030.00616.68
8.0.190.0040.00416.75
8.0.180.0000.00816.75
8.0.170.0030.00616.82
8.0.160.0030.00316.67
8.0.150.0070.00016.74
8.0.140.0040.00416.63
8.0.130.0000.00613.14
8.0.120.0040.00416.72
8.0.110.0080.00016.78
8.0.100.0020.00516.63
8.0.90.0000.00816.55
8.0.80.0100.01016.77
8.0.70.0040.00416.58
8.0.60.0030.00516.63
8.0.50.0030.00416.66
8.0.30.0070.01116.72
8.0.20.0120.00816.99
8.0.10.0040.00417.04
8.0.00.0120.01216.36
7.4.330.0000.00415.55
7.4.320.0000.00816.50
7.4.300.0060.00016.50
7.4.290.0030.00316.45
7.4.280.0070.00016.49
7.4.270.0070.00016.35
7.4.260.0000.00513.11
7.4.250.0070.00016.31
7.4.240.0030.00516.45
7.4.230.0030.00316.54
7.4.220.0040.00316.48
7.4.210.0080.00716.54
7.4.200.0000.00716.31
7.4.130.0160.00816.42
7.4.120.0100.00616.46
7.4.110.0140.00316.54
7.4.100.0030.01316.50
7.4.90.0090.01016.35
7.4.80.0070.01016.48
7.4.70.0140.00416.34
7.4.60.0120.00616.36
7.4.50.0030.01316.26
7.4.40.0150.00316.45
7.4.30.0110.00716.51
7.4.20.0030.01316.49
7.4.10.0180.00316.49
7.4.00.0170.00016.50
7.3.330.0070.00016.05
7.3.320.0000.00613.10
7.3.310.0000.00716.10
7.3.300.0070.00016.25
7.3.290.0060.01016.18
7.3.280.0030.01716.20
7.3.260.0110.00716.48
7.3.230.0060.01216.23
7.3.220.0130.00316.46
7.3.210.0100.00716.34
7.3.200.0070.01016.43
7.3.190.0060.01116.32
7.3.180.0120.00616.09
7.3.170.0060.01016.07
7.3.160.0090.00916.20
7.3.150.0090.01016.25
7.3.140.0060.01216.13
7.3.130.0060.01216.21
7.3.120.0160.00416.46
7.3.110.0140.00516.48
7.3.100.0070.01116.24
7.3.90.0060.01116.37
7.3.80.0090.00916.19
7.3.70.0090.00916.21
7.3.60.0070.01016.28
7.3.50.0070.01016.27
7.3.40.0150.00416.24
7.3.30.0100.00716.38
7.3.20.0090.01116.27
7.3.10.0090.00916.32
7.3.00.0060.01216.30
7.2.330.0070.01016.26
7.2.320.0120.00616.64
7.2.310.0060.01216.40
7.2.300.0090.00916.14
7.2.290.0040.01516.29
7.2.280.0030.01316.55
7.2.270.0100.00716.31
7.2.260.0070.01016.60
7.2.250.0090.00916.24
7.2.240.0070.01116.28
7.2.230.0090.00916.24
7.2.220.0060.01216.31
7.2.210.0040.01216.35
7.2.200.0110.00716.21
7.2.190.0070.01116.30
7.2.180.0100.00716.38
7.2.170.0100.00716.25
7.2.160.0110.00816.53
7.2.150.0120.00616.61
7.2.140.0090.01016.59
7.2.130.0060.01316.32
7.2.120.0130.00516.48
7.2.110.0040.01416.40
7.2.100.0090.00916.59
7.2.90.0070.01116.40
7.2.80.0120.00616.38
7.2.70.0140.00316.51
7.2.60.0100.00716.24
7.2.50.0130.00516.38
7.2.40.0110.00816.61
7.2.30.0110.00716.58
7.2.20.0120.00616.27
7.2.10.0130.00616.25
7.2.00.0090.00916.58

preferences:
28.84 ms | 403 KiB | 5 Q