3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tags = []; $tags[] = [ "name" => "Farmacia", "lastUpdated" => "2018-02-14 21:07:42" ]; $tags[] = [ "name" => "Farmacia2", "lastUpdated" => "2018-02-14 21:07:42" ]; $tags[] = [ "name" => "Farmacia3", "lastUpdated" => "2018-02-14 21:07:42" ]; $res = array_search('Farmacia', array_column($tags, 'name')); echo $res;

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.3.60.0060.00918.29
8.3.50.0100.00716.17
8.3.40.0030.01218.52
8.3.30.0070.00718.79
8.3.20.0030.00619.15
8.3.10.0040.00420.78
8.3.00.0040.01118.03
8.2.180.0160.00618.16
8.2.170.0170.00322.96
8.2.160.0140.00018.89
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00418.64
8.2.110.0090.00020.52
8.2.100.0150.00017.78
8.2.90.0080.00017.63
8.2.80.0080.00018.73
8.2.70.0050.00318.16
8.2.60.0040.00418.05
8.2.50.0050.00319.23
8.2.40.0050.00321.09
8.2.30.0000.00719.41
8.2.20.0040.00418.12
8.2.10.0040.00418.18
8.2.00.0040.00419.38
8.1.280.0090.00925.92
8.1.270.0050.00223.96
8.1.260.0100.01026.35
8.1.250.0070.00028.09
8.1.240.0030.00823.90
8.1.230.0110.00021.04
8.1.220.0040.00418.52
8.1.210.0040.00418.77
8.1.200.0000.00817.10
8.1.190.0060.00317.10
8.1.180.0080.00018.10
8.1.170.0000.00818.33
8.1.160.0030.00618.82
8.1.150.0040.00418.82
8.1.140.0040.00417.51
8.1.130.0030.00318.97
8.1.120.0040.00417.29
8.1.110.0000.00717.44
8.1.100.0030.00317.38
8.1.90.0080.00017.36
8.1.80.0030.00617.44
8.1.70.0050.00317.39
8.1.60.0000.00817.54
8.1.50.0000.00817.35
8.1.40.0060.00317.43
8.1.30.0050.00317.48
8.1.20.0000.00817.50
8.1.10.0050.00317.54
8.1.00.0020.00517.46
8.0.300.0040.00418.77
8.0.290.0050.00316.75
8.0.280.0000.00718.45
8.0.270.0070.00017.17
8.0.260.0000.00617.26
8.0.250.0030.00316.85
8.0.240.0040.00417.02
8.0.230.0000.00816.92
8.0.220.0040.00416.75
8.0.210.0040.00416.84
8.0.200.0000.00616.90
8.0.190.0040.00416.84
8.0.180.0000.00716.73
8.0.170.0030.00616.89
8.0.160.0040.00316.77
8.0.150.0070.00016.75
8.0.140.0020.00516.68
8.0.130.0000.00513.21
8.0.120.0040.00416.79
8.0.110.0040.00416.88
8.0.100.0050.00316.84
8.0.90.0030.00316.64
8.0.80.0120.00716.85
8.0.70.0040.00416.66
8.0.60.0000.00716.86
8.0.50.0000.00716.70
8.0.30.0060.01317.12
8.0.20.0110.00917.40
8.0.10.0000.00716.80
8.0.00.0050.01216.87
7.4.330.0000.00515.55
7.4.320.0030.00316.52
7.4.300.0030.00316.43
7.4.290.0030.00316.54
7.4.280.0080.00016.52
7.4.270.0030.00316.47
7.4.260.0050.00316.45
7.4.250.0040.00416.51
7.4.240.0070.00016.43
7.4.230.0070.00016.34
7.4.220.0000.00716.64
7.4.210.0060.00816.60
7.4.200.0040.00416.58
7.4.160.0090.01116.48
7.4.140.0110.00917.86
7.4.130.0210.00016.48
7.4.120.0100.00716.50
7.4.110.0170.00716.63
7.4.100.0160.00616.59
7.4.90.0000.01716.66
7.4.80.0090.00919.39
7.4.70.0070.01416.55
7.4.60.0070.01016.57
7.4.50.0050.00916.12
7.4.40.0060.01316.44
7.4.00.0140.00414.85
7.3.330.0020.00213.20
7.3.320.0000.00513.10
7.3.310.0050.00216.28
7.3.300.0040.00416.16
7.3.290.0000.00716.31
7.3.280.0110.00316.32
7.3.260.0100.00616.37
7.3.240.0080.00916.46
7.3.230.0060.01016.28
7.3.210.0140.00316.32
7.3.200.0060.00916.23
7.3.190.0110.01116.31
7.3.180.0060.00916.20
7.3.170.0100.00616.48
7.3.160.0060.01016.54
7.2.330.0040.01216.62
7.2.320.0110.01116.47
7.2.310.0090.00916.61
7.2.300.0070.01716.68
7.2.290.0060.01016.67
7.2.60.2540.00814.91
7.2.50.4220.00815.21
7.2.40.3920.01015.49
7.2.30.3820.01115.29
7.2.20.4140.01215.53
7.2.10.4080.00915.55
7.2.00.3940.00515.30
7.1.200.0060.00915.91
7.1.170.4060.01113.89
7.1.160.5120.00616.76
7.1.150.4240.01316.67
7.1.140.3800.01617.02
7.1.130.4470.01116.88
7.1.120.4190.01216.91
7.1.110.3770.01316.40
7.1.100.3990.00916.36
7.1.90.4100.01116.34
7.1.80.3540.00916.37
7.1.70.5370.01115.20
7.1.60.5310.01533.13
7.1.50.6320.01833.02
7.1.40.8310.01732.46
7.1.30.0330.01732.78
7.1.20.0380.01632.63
7.1.10.1230.01514.85
7.1.00.0870.01614.93

preferences:
56.38 ms | 400 KiB | 5 Q