3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['foo' => 'bar', 'value' => 'America'], ['value' => 'England', 'bar' => 'food'], ]; $find = 'America'; var_export( array_any( $array, fn($row) => in_array($find, $row) ) );

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.10.0070.01216.53
8.5.00.0110.01219.95
8.4.160.0110.01023.56
8.4.150.0020.00114.05
8.4.140.0170.00517.52
8.4.130.0130.00717.64
8.4.120.0100.01020.48
8.4.110.0050.00419.91
8.4.100.0110.01017.67
8.4.90.0130.00720.52
8.4.80.0110.00518.76
8.4.70.0090.01318.79
8.4.60.0110.01018.56
8.4.50.0090.01018.52
8.4.40.0030.00617.52
8.4.30.0470.00017.58
8.4.20.0370.02017.21
8.4.10.0380.01017.44
8.3.280.0120.00918.41
8.3.270.0100.01116.60
8.3.260.0100.00916.77
8.3.250.0110.00918.80
8.3.240.0090.00916.48
8.3.230.0110.00816.85
8.3.220.0120.01018.92
8.3.210.0100.01018.31
8.3.200.0060.00216.79
8.3.190.0150.00317.20
8.3.180.0140.00418.98
8.3.170.0100.00716.94
8.3.160.0310.01816.63
8.3.150.0400.00716.30
8.3.140.0380.00816.55
8.3.130.0380.00416.45
8.3.120.0370.00316.45
8.3.110.0330.00716.46
8.3.100.0370.00716.21
8.3.90.0270.01316.35
8.3.80.0350.01316.70
8.3.70.0320.00816.55
8.3.60.0190.00316.41
8.3.50.0180.00516.34
8.3.40.0150.00417.05
8.3.30.0190.01117.47
8.3.20.0190.01217.42
8.3.10.0260.01017.47
8.3.00.0210.00017.52
8.2.290.0130.00716.60
8.2.280.0050.00318.62
8.2.270.0310.00716.60
8.2.260.0370.00316.46
8.2.250.0280.01016.75
8.2.240.0410.00616.95
8.2.230.0250.01716.21
8.2.220.0280.01116.21
8.2.210.0300.00816.41
8.2.200.0190.01916.53
8.2.190.0340.00316.19
8.2.180.0270.01016.28
8.2.170.0400.00417.80
8.2.160.0260.01017.75
8.2.150.0340.00317.37
8.2.140.0340.00717.25
8.2.130.0340.00617.51
8.2.120.0330.00617.63
8.2.110.0330.00617.35
8.2.100.0290.00917.59
8.2.90.0350.00417.32
8.2.80.0340.00417.34
8.2.70.0290.01317.14
8.2.60.0250.00717.62
8.2.50.0240.00817.30
8.2.40.0260.00417.50
8.2.30.0190.00917.01
8.2.20.0170.00317.43
8.2.10.0160.00017.53
8.2.00.0100.01017.48
8.1.320.0040.00517.94

preferences:
34.09 ms | 403 KiB | 5 Q