3v4l.org

run code in 500+ PHP versions simultaneously
<?php $list[7362][0]['value'] = 'apple'; $list[7362][1]['value'] = 'orange'; $list[9215][0]['value'] = 'lemon'; $find = 'orange'; var_export( array_find_key( $list, fn($row) => array_any( $row, fn($sub) => $sub['value'] === $find ) ) );

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.30.0100.00717.99
8.5.20.0090.00919.36
8.5.10.0100.00816.67
8.5.00.0120.01019.71
8.4.180.0110.01019.45
8.4.170.0130.00822.52
8.4.160.0130.00823.85
8.4.150.0070.00616.85
8.4.140.0120.00817.55
8.4.130.0080.01217.72
8.4.120.0130.00822.07
8.4.110.0120.00718.96
8.4.100.0100.01217.82
8.4.90.0110.00917.89
8.4.80.0040.00517.67
8.4.70.0160.00417.76
8.4.60.0030.00517.79
8.4.50.0100.00919.46
8.4.40.0440.00617.24
8.4.30.0430.00717.34
8.4.20.0370.01017.58
8.4.10.0420.00817.40
8.3.300.0150.00620.71
8.3.290.0110.01118.40
8.3.280.0080.01220.33
8.3.270.0120.00716.82
8.3.260.0120.00816.87
8.3.250.0130.00618.69
8.3.240.0120.00716.55
8.3.230.0120.00716.86
8.3.220.0090.01017.01
8.3.210.0130.00616.64
8.3.200.0100.00818.94
8.3.190.0170.00216.67
8.3.180.0130.00518.63
8.3.170.0300.01516.41
8.3.160.0270.01816.35
8.3.150.0370.00916.61
8.3.140.0400.00516.43
8.3.130.0330.00716.59
8.3.120.0270.01016.52
8.3.110.0310.00716.36
8.3.100.0410.00616.62
8.3.90.0390.00616.59
8.3.80.0340.00316.74
8.3.70.0300.00616.56
8.3.60.0360.00716.53
8.3.50.0330.00316.73
8.3.40.0320.00917.41
8.3.30.0240.01517.50
8.3.20.0300.00917.39
8.3.10.0360.00017.41
8.3.00.0190.00317.40
8.2.300.0060.01518.26
8.2.290.0160.00320.57
8.2.280.0130.00718.57
8.2.270.0370.00316.73
8.2.260.0310.00916.40
8.2.250.0290.00916.84
8.2.240.0290.00916.45
8.2.230.0330.01116.32
8.2.220.0300.00716.58
8.2.210.0110.00816.36
8.2.200.0340.00316.67
8.2.190.0330.00616.30
8.2.180.0290.00916.85
8.2.170.0430.00017.48
8.2.160.0270.01317.59
8.2.150.0300.01017.38
8.2.140.0310.01017.41
8.2.130.0280.01217.36
8.2.120.0370.00317.40
8.2.110.0330.01117.46
8.2.100.0310.01017.48
8.2.90.0280.01117.50
8.2.80.0300.01017.70
8.2.70.0310.00917.58
8.2.60.0350.00417.70
8.2.50.0350.00517.34
8.2.40.0260.01217.64
8.2.30.0290.00717.45
8.2.20.0290.00717.43
8.2.10.0340.00317.60
8.2.00.0160.01717.59
8.1.340.0120.00717.82
8.1.320.0150.00416.30

preferences:
43.59 ms | 860 KiB | 5 Q