3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [['name'=>'Charging'],['name'=>'Delta'],['name'=>'Baby']]; if(in_array('Charging',array_column($array, 'name'))){ echo "found"; }else{ echo "not-found"; }

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.70.0070.00916.77
8.5.60.0150.00316.77
8.5.50.0100.00716.60
8.5.30.0070.01119.42
8.5.20.0110.00719.41
8.5.10.0100.00820.16
8.5.00.0130.01319.94
8.4.210.0130.00921.36
8.4.180.0110.00925.36
8.4.170.0140.00719.45
8.4.160.0110.01123.79
8.4.150.0070.00517.74
8.4.140.0150.00717.25
8.4.130.0070.00319.37
8.4.120.0060.00420.71
8.4.110.0040.00522.54
8.4.100.0130.00817.63
8.4.90.0110.00918.65
8.4.80.0140.00817.45
8.4.70.0050.00417.65
8.4.60.0130.00618.99
8.4.50.0030.00618.55
8.4.40.0060.01317.85
8.4.30.0160.00318.75
8.4.20.0090.00018.11
8.4.10.0040.00423.55
8.3.300.0110.01020.30
8.3.290.0140.00818.35
8.3.280.0140.00818.22
8.3.270.0120.00716.54
8.3.260.0080.01016.73
8.3.250.0130.00618.78
8.3.240.0130.00516.40
8.3.230.0070.00816.48
8.3.220.0120.00616.92
8.3.210.0110.00616.69
8.3.200.0060.00216.49
8.3.190.0110.00817.17
8.3.180.0110.00316.67
8.3.170.0030.00617.09
8.3.160.0040.01120.08
8.3.150.0060.01318.42
8.3.140.0080.00816.88
8.3.130.0030.00716.65
8.3.120.0000.00818.80
8.3.110.0000.00820.94
8.3.100.0040.00416.52
8.3.90.0050.00326.77
8.3.80.0060.00318.31
8.3.70.0120.00916.58
8.3.60.0040.01116.48
8.3.50.0080.00618.23
8.3.40.0140.00720.07
8.3.30.0070.00718.42
8.3.20.0040.00424.18
8.3.10.0000.00724.66
8.3.00.0040.00426.16
8.2.300.0120.01018.05
8.2.290.0110.00822.39
8.2.280.0110.00818.11
8.2.270.0160.00317.34
8.2.260.0090.00616.42
8.2.250.0140.00316.71
8.2.240.0070.01119.05
8.2.230.0090.00922.58
8.2.220.0040.00424.06
8.2.210.0040.01126.77
8.2.200.0030.00616.75
8.2.190.0120.00318.55
8.2.180.0090.00625.92
8.2.170.0110.00318.91
8.2.160.0070.00722.96
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00819.36
8.2.110.0000.01022.25
8.2.100.0050.00617.72
8.2.90.0060.00617.84
8.2.80.0050.00318.04
8.2.70.0060.00318.04
8.2.60.0070.00317.97
8.2.50.0050.00318.10
8.2.40.0040.00419.41
8.2.30.0030.00519.27
8.2.20.0000.00719.05
8.2.10.0040.00417.86
8.2.00.0000.00719.07
8.1.340.0100.01117.56
8.1.330.0100.00721.82
8.1.320.0110.00816.13
8.1.310.0100.00718.14
8.1.300.0090.00919.55
8.1.290.0100.00030.84
8.1.280.0110.00325.92
8.1.270.0040.00424.66
8.1.260.0090.00026.35
8.1.250.0030.00628.09
8.1.240.0040.00422.19
8.1.230.0060.00622.69
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0090.00017.23
8.1.190.0080.00017.11
8.1.180.0040.00418.10
8.1.170.0030.00618.43
8.1.160.0020.00520.55
8.1.150.0050.00218.52
8.1.140.0040.00417.29
8.1.130.0050.00518.55
8.1.120.0090.00618.59
8.1.110.0120.00318.54
8.1.100.0040.00918.57
8.1.90.0150.00318.60
8.1.80.0120.00318.47
8.1.70.0140.00318.61
8.1.60.0100.00718.67
8.1.50.0180.00018.63
8.1.40.0140.00618.73
8.1.30.0120.00418.68
8.1.20.0130.00718.58
8.1.10.0150.00318.59
8.1.00.0060.01218.68
8.0.300.0000.00819.65
8.0.290.0040.00416.75
8.0.280.0070.00018.52
8.0.270.0040.00418.05
8.0.260.0120.00417.86
8.0.250.0030.01017.88
8.0.240.0040.00917.94
8.0.230.0130.00318.10
8.0.220.0080.00417.92
8.0.210.0020.00717.91
8.0.200.0000.01017.77
8.0.190.0100.00317.91
8.0.180.0160.00217.89
8.0.170.0110.00717.88
8.0.160.0120.00317.96
8.0.150.0170.00017.87
8.0.140.0080.00817.92
8.0.130.0040.01217.88
8.0.120.0080.00817.97
8.0.110.0080.00817.91
8.0.100.0090.00717.82
8.0.90.0100.00717.84
8.0.80.0100.00517.97
8.0.70.0060.00617.90
8.0.60.0060.00617.95
8.0.50.0130.00017.82
8.0.30.0080.00417.81
8.0.20.0110.00017.98
8.0.10.0060.00618.03

preferences:
40.78 ms | 1110 KiB | 5 Q