3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'tag_name' => 'google', 'number' => 1 ), array( 'tag_name' => 'technology', 'number' => 2 ) ); echo array_search(array('tag_name' => 'google', 'number' => 1), $input);

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.0110.00718.29
8.3.50.0130.00316.29
8.3.40.0140.00418.54
8.3.30.0110.00718.65
8.3.20.0080.00021.79
8.3.10.0000.00823.66
8.3.00.0040.00421.82
8.2.180.0150.00016.75
8.2.170.0100.00722.96
8.2.160.0070.00722.12
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00020.52
8.2.120.0070.00026.35
8.2.110.0100.00022.24
8.2.100.0040.00817.72
8.2.90.0050.00319.01
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0050.00317.93
8.2.50.0040.00418.10
8.2.40.0040.00420.44
8.2.30.0000.00719.23
8.2.20.0000.00718.09
8.2.10.0040.00417.98
8.2.00.0050.00317.96
8.1.280.0070.00725.92
8.1.270.0030.00622.07
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0070.01023.92
8.1.230.0000.01217.66
8.1.220.0000.00817.74
8.1.210.0030.00718.77
8.1.200.0060.00317.13
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00818.45
8.1.160.0040.00418.76
8.1.150.0070.00018.80
8.1.140.0070.00018.99
8.1.130.0030.00317.71
8.1.120.0040.00417.43
8.1.110.0000.00817.32
8.1.100.0050.00317.27
8.1.90.0070.00317.34
8.1.80.0000.00717.43
8.1.70.0030.00317.36
8.1.60.0000.00817.49
8.1.50.0040.00417.43
8.1.40.0030.00617.46
8.1.30.0060.00317.59
8.1.20.0030.00517.55
8.1.10.0030.00917.53
8.1.00.0000.00817.42
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0070.00018.36
8.0.270.0000.00817.23
8.0.260.0060.00017.16
8.0.250.0040.00316.85
8.0.240.0030.00316.81
8.0.230.0000.00716.78
8.0.220.0000.00716.72
8.0.210.0040.00416.82
8.0.200.0060.00016.88
8.0.190.0040.00416.84
8.0.180.0050.00216.89
8.0.170.0000.00916.88
8.0.160.0080.00016.86
8.0.150.0040.00416.79
8.0.140.0030.00416.80
8.0.130.0000.00613.30
8.0.120.0000.00816.75
8.0.110.0040.00416.77
8.0.100.0000.00716.87
8.0.90.0000.00816.84
8.0.80.0140.00716.73
8.0.70.0020.00516.66
8.0.60.0000.00716.71
8.0.50.0070.00016.80
8.0.30.0100.00917.13
8.0.20.0090.01317.40
8.0.10.0040.00416.93
8.0.00.0080.01116.71
7.4.330.0060.00015.55
7.4.320.0030.00316.49
7.4.300.0030.00316.32
7.4.290.0040.00416.56
7.4.280.0050.00516.27
7.4.270.0000.00716.38
7.4.260.0000.00716.35
7.4.250.0000.00716.29
7.4.240.0040.00416.40
7.4.230.0020.00516.59
7.4.220.0000.00816.45
7.4.210.0120.00816.34
7.4.200.0070.00016.51
7.4.160.0070.00816.44
7.4.150.0070.01617.40
7.4.140.0100.00717.86
7.4.130.0140.00316.52
7.4.120.0120.00916.45
7.4.110.0070.01116.32
7.4.100.0100.00716.54
7.4.90.0130.00616.51
7.4.80.0110.00619.39
7.4.70.0070.01316.29
7.4.60.0100.00716.39
7.4.50.0040.01216.40
7.4.40.0110.00416.52
7.4.30.0100.00716.60
7.4.00.0060.00914.60
7.3.330.0000.00512.96
7.3.320.0050.00012.96
7.3.310.0040.00416.08
7.3.300.0000.00716.11
7.3.290.0030.00316.09
7.3.280.0080.00816.06
7.3.270.0130.01017.40
7.3.260.0100.00916.19
7.3.250.0110.00916.38
7.3.240.0090.01016.17
7.3.230.0130.00716.16
7.3.210.0090.01316.21
7.3.200.0120.00316.25
7.3.190.0080.01116.35
7.3.180.0090.00616.13
7.3.170.0100.01016.11
7.3.160.0130.00316.09
7.2.330.0110.01116.41
7.2.320.0130.00316.67
7.2.310.0110.01116.22
7.2.300.0060.01016.18
7.2.290.0060.01016.62
7.2.60.0040.01116.75
7.2.00.0120.00917.70
7.1.200.0000.01015.71
7.1.120.0150.00916.77
7.1.110.0170.01115.94
7.1.100.0190.01316.11
7.1.90.0220.00716.18
7.1.80.0160.00615.93
7.1.70.0320.00615.30
7.1.60.0300.00333.32
7.1.50.0250.01232.94
7.1.40.0290.00732.45
7.1.30.0230.01332.50
7.1.20.0250.01132.63
7.1.10.0140.00714.70
7.1.00.0130.01014.71

preferences:
62.3 ms | 401 KiB | 5 Q