3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array([0] => 0); is_in_array('test');

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)
5.5.120.0170.07020.14
5.5.110.0030.06320.20
5.5.100.0030.04020.07
5.5.90.0030.04019.94
5.5.80.0030.07320.11
5.5.70.0030.08320.14
5.5.60.0130.06319.93
5.5.50.0070.05719.93
5.5.40.0100.07719.95
5.5.30.0100.04020.06
5.5.20.0100.07020.00
5.5.10.0100.05719.95
5.5.00.0030.07320.06
5.4.280.0170.06719.22
5.4.270.0070.03019.03
5.4.260.0000.04018.94
5.4.250.0070.06719.05
5.4.240.0030.07019.17
5.4.230.0070.05319.02
5.4.220.0130.07019.06
5.4.210.0030.07719.14
5.4.200.0070.04019.11
5.4.190.0070.07318.97
5.4.180.0030.04719.07
5.4.170.0070.04719.09
5.4.160.0100.07019.10
5.4.150.0070.04718.79
5.4.140.0100.07316.25
5.4.130.0030.05016.25
5.4.120.0000.04716.32
5.4.110.0100.06716.45
5.4.100.0100.06716.27
5.4.90.0130.05716.23
5.4.80.0070.06016.43
5.4.70.0100.05016.52
5.4.60.0070.06716.20
5.4.50.0030.07716.19
5.4.40.0130.06316.41
5.4.30.0070.04016.31
5.4.20.0100.07016.31
5.4.10.0000.04316.30
5.4.00.0000.04015.68
5.3.280.0100.07314.47
5.3.270.0100.07314.61
5.3.260.0030.04314.46
5.3.250.0130.06014.60
5.3.240.0100.07314.43
5.3.230.0030.04314.46
5.3.220.0030.05714.55
5.3.210.0200.06314.43
5.3.200.0030.07714.40
5.3.190.0100.03714.50
5.3.180.0100.05314.53
5.3.170.0070.03714.42
5.3.160.0100.07014.52
5.3.150.0030.06014.56
5.3.140.0100.07014.49
5.3.130.0030.08014.40
5.3.120.0030.06014.54
5.3.110.0130.03714.53
5.3.100.0070.03313.88
5.3.90.0100.06713.88
5.3.80.0100.07013.87
5.3.70.0070.07313.95
5.3.60.0030.07013.96
5.3.50.0100.07713.81
5.3.40.0200.05713.95
5.3.30.0170.05713.90
5.3.20.0100.07013.63
5.3.10.0070.06013.64
5.3.00.0100.07013.51
5.2.170.0030.06311.79
5.2.160.0000.06711.79
5.2.150.0000.06711.79
5.2.140.0070.03011.79
5.2.130.0030.03311.79
5.2.120.0030.03311.79
5.2.110.0000.03311.79
5.2.100.0000.05311.79
5.2.90.0000.03711.79
5.2.80.0130.05311.79
5.2.70.0100.05711.79
5.2.60.0030.06311.79
5.2.50.0100.05711.79
5.2.40.0030.06011.79
5.2.30.0070.06011.79
5.2.20.0130.04011.79
5.2.10.0000.04711.79
5.2.00.0100.02311.79
5.1.60.0000.03011.79
5.1.50.0030.02311.79
5.1.40.0030.03311.79
5.1.30.0000.06011.79
5.1.20.0030.05711.79
5.1.10.0130.02011.79
5.1.00.0000.06011.79
5.0.50.0000.02711.79
5.0.40.0100.03711.79
5.0.30.0130.05311.79
5.0.20.0030.03711.79
5.0.10.0000.02711.79
5.0.00.0070.03311.79
4.4.90.0030.03311.79
4.4.80.0030.01711.79
4.4.70.0030.01311.79
4.4.60.0000.03711.79
4.4.50.0030.02711.79
4.4.40.0000.02711.79
4.4.30.0070.02011.79
4.4.20.0030.03311.79
4.4.10.0030.02011.79
4.4.00.0100.04011.79
4.3.110.0070.02711.79
4.3.100.0030.03311.79
4.3.90.0070.02311.79
4.3.80.0000.02711.79
4.3.70.0000.03311.79
4.3.60.0000.03011.79
4.3.50.0000.02011.79
4.3.40.0000.05311.79
4.3.30.0070.03311.79
4.3.20.0000.03011.79
4.3.10.0030.03311.79
4.3.00.0030.02311.79

preferences:
141.45 ms | 1394 KiB | 7 Q