3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'a', 'b' ]; var_dump( array_key_exists(0, $array) );

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.5.20.0040.00420.17
8.5.10.0090.00916.69
8.5.00.0090.01122.97
8.4.170.0080.01524.06
8.4.160.0100.01121.97
8.4.150.0020.00014.05
8.4.140.0130.01117.41
8.4.130.0100.00617.59
8.4.120.0080.00720.52
8.4.110.0110.00717.38
8.4.100.0130.00517.59
8.4.90.0120.00617.30
8.4.80.0190.00217.40
8.4.70.0190.00317.64
8.4.60.0190.00317.54
8.4.50.0160.00517.33
8.4.40.0160.00617.57
8.4.30.0170.00517.19
8.4.20.0180.00517.52
8.4.10.0170.00417.45
8.3.300.0110.00920.79
8.3.290.0080.01220.70
8.3.280.0140.00718.26
8.3.270.0060.01316.67
8.3.260.0120.00716.84
8.3.250.0180.00316.46
8.3.240.0140.00516.43
8.3.230.0200.00216.47
8.3.220.0150.00616.15
8.3.210.0180.00216.34
8.3.200.0170.00416.63
8.3.190.0210.00216.33
8.3.180.0160.00516.27
8.3.170.0200.00516.55
8.3.160.0190.00416.21
8.3.150.0180.00516.15
8.3.140.0200.00216.29
8.3.130.0170.00416.06
8.3.120.0180.00316.19
8.3.110.0140.00616.19
8.3.100.0190.00316.14
8.3.90.0180.00316.71
8.3.80.0160.00516.61
8.3.70.0190.00316.53
8.3.60.0170.00316.49
8.3.50.0190.00316.60
8.3.40.0170.00517.37
8.3.30.0150.00217.36
8.3.20.0140.00517.31
8.3.10.0120.00617.50
8.3.00.0080.00217.41
8.2.300.0110.01220.36
8.2.290.0120.00516.54
8.2.280.0130.00316.59
8.2.270.0120.00716.29
8.2.260.0150.00316.45
8.2.250.0130.00616.57
8.2.240.0160.00216.62
8.2.230.0150.00516.43
8.2.220.0130.00516.02
8.2.210.0140.00516.42
8.2.200.0150.00316.38
8.2.190.0170.00316.28
8.2.180.0160.00416.36
8.2.170.0160.00417.46
8.2.160.0170.00417.32
8.2.150.0150.00517.55
8.2.140.0180.00217.35
8.2.130.0170.00317.46
8.2.120.0180.00217.64
8.2.110.0150.00517.58
8.2.100.0160.00517.50
8.2.90.0150.00517.24
8.2.80.0130.00517.23
8.2.70.0140.00617.63
8.2.60.0150.00417.40
8.2.50.0150.00417.44
8.2.40.0180.00217.77
8.2.30.0150.00517.39
8.2.20.0140.00317.35
8.2.10.0110.00817.14
8.2.00.0140.00317.15
8.1.340.0120.00921.60

preferences:
31.81 ms | 403 KiB | 5 Q