3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array ( 0 => array ( 'admin_id' => '4', 'full_name' => 'Jesse Donat', 'timestamp' => 'Thu, 23 Oct 2014 03:34:40 +0000', ), 1 => array ( 'admin_id' => '4', 'full_name' => 'Jesse Donat', 'timestamp' => 'Thu, 23 Oct 2014 03:34:40 +0000', ), 2 => array ( 'bbq' => 'soda', ), ); print_r($data); $data = array_reduce($data, function ($c, $i) { if (!in_array($i, $carry) { $c[] = $i; }}, []); print_r($data);

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)
5.4.340.0630.05719.13
5.4.320.0330.04019.23
5.4.310.0430.06719.10
5.4.300.0500.06719.19
5.4.290.0400.04019.25
5.4.280.0430.04019.13
5.4.270.0400.03719.10
5.4.260.0330.03719.22
5.4.250.0400.04719.19
5.4.240.0300.04319.18
5.4.230.0400.03318.96
5.4.220.0370.03719.09
5.4.210.0430.02719.15
5.4.200.0430.03019.18
5.4.190.0300.05019.03
5.4.180.0400.03319.03
5.4.170.0030.03719.05
5.4.160.0300.03319.13
5.4.150.0430.03719.08
5.4.140.0430.03016.35
5.4.130.0300.04016.43
5.4.120.0330.03716.39
5.4.110.0470.04016.30
5.4.100.0430.03316.45
5.4.90.0470.03716.64
5.4.80.0330.03716.21
5.4.70.0370.03716.55
5.4.60.0430.03016.23
5.4.50.0370.03316.50
5.4.40.0430.04316.19
5.4.30.0370.04016.53
5.4.20.0400.03316.45
5.4.10.0470.05016.36
5.4.00.0500.06015.70
5.3.290.0430.04714.71
5.3.280.0370.03714.73
5.3.270.0400.03314.76
5.3.260.0200.03714.53
5.3.250.0400.03314.66
5.3.240.0470.02714.60
5.3.230.0400.03314.59
5.3.220.0370.04314.49
5.3.210.0330.04314.60
5.3.200.0400.04314.57
5.3.190.0400.03714.56
5.3.180.0370.04014.56
5.3.170.0430.03314.58
5.3.160.0330.04314.62
5.3.150.0430.03014.60
5.3.140.0300.04314.56
5.3.130.0500.06314.58
5.3.120.0370.03714.54
5.3.110.0370.03714.55
5.3.100.0530.04014.06
5.3.90.0500.04314.09
5.3.80.0570.06014.07
5.3.70.0530.06313.95
5.3.60.0700.04014.15
5.3.50.0530.04013.86
5.3.40.0500.04014.10
5.3.30.0630.06013.83
5.3.20.0600.06013.84
5.3.10.0470.07013.69
5.3.00.0500.03313.69
5.2.170.0570.04311.14
5.2.160.0400.03011.23
5.2.150.0430.02311.30
5.2.140.0500.05311.13
5.2.130.0400.04310.96
5.2.120.0430.02310.93
5.2.110.0470.04711.11
5.2.100.0400.04010.93
5.2.90.0470.03310.92
5.2.80.0370.03011.17
5.2.70.0370.03010.95
5.2.60.0370.03011.03
5.2.50.0430.04011.02
5.2.40.0330.03710.99
5.2.30.0300.03010.90
5.2.20.0330.02710.91
5.2.10.0370.02710.86
5.2.00.0470.04010.68
5.1.60.0300.02710.07
5.1.50.0100.0379.99
5.1.40.0000.0309.96
5.1.30.0030.03710.30
5.1.20.0100.03710.35
5.1.10.1270.02710.02
5.1.00.0070.03310.05
5.0.50.0070.0208.45
5.0.40.0000.0408.42
5.0.30.0100.0708.20
5.0.20.0100.0438.18
5.0.10.0030.0408.13
5.0.00.0000.0438.17
4.4.90.0170.0137.77
4.4.80.0300.0237.77
4.4.70.0130.0177.77
4.4.60.0200.0137.77
4.4.50.0170.0207.77
4.4.40.0200.0407.77
4.4.30.0000.0207.77
4.4.20.0100.0207.77
4.4.10.0000.0377.77
4.4.00.0070.0407.77
4.3.110.0070.0177.77
4.3.100.0070.0237.77
4.3.90.0070.0277.77
4.3.80.0070.0477.77
4.3.70.0000.0277.77
4.3.60.0000.0307.77
4.3.50.0030.0207.77
4.3.40.0030.0477.77
4.3.30.0030.0207.77
4.3.20.0000.0307.77
4.3.10.0100.0337.77
4.3.00.0070.0337.77

preferences:
140.78 ms | 1394 KiB | 7 Q