3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = [ 'm' => 'n', ]; $second = [ 'm' => 'N', 'M' => 'n', ]; // wtf? var_export( array_diff_uassoc($first, $second, 'strcasecmp') );

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.0110.01116.56
8.5.00.0100.01219.94
8.4.150.0020.00014.05
8.4.140.0130.00717.30
8.4.130.0130.00817.61
8.4.120.0160.00620.55
8.4.110.0110.00817.88
8.4.100.0110.00918.71
8.4.90.0110.00920.21
8.4.80.0030.00518.70
8.4.70.0090.01120.59
8.4.60.0040.00518.68
8.4.50.0120.00920.11
8.4.40.0120.00617.41
8.4.30.0100.01018.77
8.4.20.0100.00721.04
8.4.10.0410.00817.40
8.3.280.0140.00618.20
8.3.270.0120.01016.63
8.3.260.0090.00316.50
8.3.250.0090.00918.92
8.3.240.0100.00817.20
8.3.230.0130.00516.51
8.3.220.0050.00218.76
8.3.210.0070.01216.50
8.3.200.0050.00616.51
8.3.190.0060.00217.01
8.3.180.0120.00818.52
8.3.170.0100.00017.17
8.3.160.0070.00716.94
8.3.150.0060.01217.30
8.3.140.0360.00916.27
8.3.130.0290.01016.35
8.3.120.0360.00616.30
8.3.110.0310.00616.24
8.3.100.0370.00416.31
8.3.90.0310.00716.24
8.3.80.0300.01116.17
8.3.70.0300.00816.35
8.3.60.0290.00316.24
8.3.50.0260.00816.43
8.3.40.0280.00417.25
8.3.30.0260.00417.28
8.3.20.0220.00617.25
8.3.10.0190.00617.28
8.3.00.0180.00417.38
8.2.290.0050.00220.60
8.2.280.0100.00916.60
8.2.270.0130.00616.75
8.2.260.0240.00516.27
8.2.250.0230.00616.39
8.2.240.0280.00416.44
8.2.230.0230.00716.28
8.2.220.0300.00716.38
8.2.210.0250.00716.27
8.2.200.0220.01216.42
8.2.190.0260.00616.36
8.2.180.0200.01016.45
8.2.170.0360.00617.52
8.2.160.0260.01217.51
8.2.150.0340.00817.29
8.2.140.0350.00417.46
8.2.130.0270.01317.37
8.2.120.0310.01017.36
8.2.110.0390.00517.40
8.2.100.0320.00717.44
8.2.90.0270.01017.44
8.2.80.0280.00617.31
8.2.70.0300.00717.29
8.2.60.0320.00317.39
8.2.50.0330.00217.35
8.2.40.0280.00717.40
8.2.30.0310.00517.46
8.2.20.0270.00717.37
8.2.10.0260.00917.40
8.2.00.0270.00817.38
8.1.320.0120.00718.09

preferences:
62.46 ms | 403 KiB | 5 Q