3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'tag_name' => 'google', 'number' => 1, 'test' => 2 ), array( 'tag_name' => 'technology', 'number' => 2, 'test' => 3 ) ); echo array_search(array('tag_name' => 'technology', 'number' => 2), array_map(function($entry) { return array('tag_name' => $entry['tag_name'], 'number' => $entry['number']); }, $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.31
8.3.50.0100.00718.19
8.3.40.0060.01218.88
8.3.30.0040.01118.90
8.3.20.0070.00021.91
8.3.10.0040.00423.39
8.3.00.0000.00821.76
8.2.180.0140.00716.63
8.2.170.0000.01422.96
8.2.160.0110.00322.04
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0070.00020.47
8.2.120.0070.00026.35
8.2.110.0090.00021.08
8.2.100.0080.00417.84
8.2.90.0040.00419.40
8.2.80.0040.00417.97
8.2.70.0090.00017.46
8.2.60.0030.00618.05
8.2.50.0030.00718.10
8.2.40.0000.00720.43
8.2.30.0000.00719.38
8.2.20.0050.00218.05
8.2.10.0060.00318.00
8.2.00.0000.00718.06
8.1.280.0040.01625.92
8.1.270.0070.00022.10
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.74
8.1.230.0000.01217.72
8.1.220.0030.00517.74
8.1.210.0090.00018.77
8.1.200.0030.00517.36
8.1.190.0040.00417.00
8.1.180.0080.00018.10
8.1.170.0050.00320.34
8.1.160.0000.00718.86
8.1.150.0040.00418.81
8.1.140.0070.00019.12
8.1.130.0000.00717.83
8.1.120.0040.00417.46
8.1.110.0030.00717.37
8.1.100.0040.00417.43
8.1.90.0000.01017.48
8.1.80.0000.00717.40
8.1.70.0050.00217.46
8.1.60.0030.00517.65
8.1.50.0000.00817.41
8.1.40.0000.00817.52
8.1.30.0040.00417.69
8.1.20.0060.00317.65
8.1.10.0030.00517.52
8.1.00.0080.00017.53
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0040.00418.43
8.0.270.0040.00417.30
8.0.260.0030.00317.25
8.0.250.0000.00716.85
8.0.240.0000.00716.91
8.0.230.0040.00416.91
8.0.220.0050.00316.79
8.0.210.0000.00816.82
8.0.200.0030.00316.89
8.0.190.0040.00417.00
8.0.180.0040.00416.94
8.0.170.0060.00316.91
8.0.160.0000.00716.93
8.0.150.0000.00816.71
8.0.140.0040.00416.82
8.0.130.0050.00013.33
8.0.120.0040.00416.90
8.0.110.0050.00316.95
8.0.100.0030.00516.95
8.0.90.0040.00416.77
8.0.80.0070.01416.87
8.0.70.0040.00416.73
8.0.60.0040.00416.85
8.0.50.0000.00816.78
8.0.30.0100.01117.02
8.0.20.0140.00817.40
8.0.10.0050.00316.99
8.0.00.0070.01116.49
7.4.330.0000.00615.55
7.4.320.0030.00316.55
7.4.300.0000.00616.42
7.4.290.0000.00716.49
7.4.280.0030.00716.58
7.4.270.0040.00416.59
7.4.260.0000.00716.58
7.4.250.0000.00816.42
7.4.240.0040.00416.50
7.4.230.0020.00516.48
7.4.220.0040.00416.43
7.4.210.0080.01016.45
7.4.200.0030.00316.49
7.4.160.0110.00716.42
7.4.150.0100.01017.40
7.4.140.0090.00817.86
7.4.130.0110.00716.41
7.4.120.0090.00916.47
7.4.110.0130.00316.54
7.4.100.0130.00316.45
7.4.90.0130.00316.61
7.4.80.0110.01119.39
7.4.70.0110.00716.46
7.4.60.0140.00716.45
7.4.50.0030.00916.43
7.4.40.0110.00816.64
7.4.30.0160.00316.45
7.4.00.0030.01315.11
7.3.330.0000.00513.16
7.3.320.0000.00613.29
7.3.310.0000.00716.29
7.3.300.0040.00416.11
7.3.290.0030.00316.30
7.3.280.0120.00816.23
7.3.270.0140.00717.40
7.3.260.0110.00616.22
7.3.250.0090.00916.47
7.3.240.0120.01016.22
7.3.230.0080.00816.57
7.3.210.0070.01016.51
7.3.200.0110.01016.30
7.3.190.0090.00616.45
7.3.180.0120.00316.52
7.3.170.0170.00316.32
7.3.160.0050.01116.34
7.3.120.0070.00714.50
7.3.110.0060.01014.96
7.3.100.0040.01114.68
7.3.90.0070.00314.93
7.3.80.0030.00614.77
7.3.70.0080.00414.82
7.3.60.0060.01214.63
7.3.50.0080.00414.68
7.3.40.0090.00314.71
7.3.30.0030.01314.86
7.3.20.0040.01116.44
7.3.10.0050.00816.66
7.3.00.0050.00916.64
7.2.330.0070.01016.80
7.2.320.0090.00916.32
7.2.310.0100.00716.68
7.2.300.0170.00316.59
7.2.290.0120.00316.71
7.2.240.0060.00815.14
7.2.230.0090.00614.87
7.2.220.0040.00715.00
7.2.210.0060.00614.62
7.2.200.0040.01115.16
7.2.190.0080.00415.02
7.2.180.0120.00315.05
7.2.170.0030.01015.01
7.2.160.0030.01014.78
7.2.150.0040.01116.71
7.2.140.0070.01116.83
7.2.130.0050.01016.90
7.2.120.0090.00716.75
7.2.110.0080.00516.69
7.2.100.0140.00017.03
7.2.90.0060.00516.81
7.2.80.0080.00516.83
7.2.70.0030.01217.00
7.2.60.0050.00916.92
7.2.50.0030.01116.94
7.2.40.0090.00616.72
7.2.30.0040.01216.86
7.2.20.0080.00616.86
7.2.10.0030.01116.86
7.2.00.0170.00617.22
7.1.330.0060.00615.94
7.1.320.0030.00915.86
7.1.310.0070.00415.88
7.1.300.0040.01215.75
7.1.290.0100.00315.89
7.1.280.0070.00415.54
7.1.270.0100.00615.94
7.1.260.0070.00715.48
7.1.250.0030.00715.60
7.1.200.0090.00615.61
7.1.120.0250.00716.94
7.1.110.0270.01215.86
7.1.100.0170.01316.00
7.1.90.0270.00816.18
7.1.80.0240.00916.27
7.1.70.0790.01015.39
7.1.60.0400.01033.37
7.1.50.0440.00633.05
7.1.40.0560.02032.43
7.1.30.0420.01032.47
7.1.20.0420.00332.93
7.1.10.0240.00514.96
7.1.00.0220.00914.78

preferences:
43.34 ms | 400 KiB | 5 Q