3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_meta = array ( 'interest' => array ( '0' => ''), 'type' => array ( '0' => ''), 'user_status' => array ( '0' => 'deny'), 'firstname' => array ( '0' => ''),'lastname' => array ( '0' => 'B' ) , 'email' => 'email@cc.com' ); $names = array_map( function($person) { return $person[0]; }, $user_meta));

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.260.0130.04318.83
5.4.250.0170.06718.84
5.4.240.0070.06018.95
5.4.230.0070.08018.78
5.4.220.0100.07318.88
5.4.210.0170.05318.89
5.4.200.0100.06319.01
5.4.190.0130.07318.89
5.4.180.0170.04318.73
5.4.170.0070.07018.89
5.4.160.0030.05318.91
5.4.150.0170.04318.98
5.4.140.0100.04716.30
5.4.130.0070.04716.52
5.4.120.0170.05716.34
5.4.110.0100.05016.46
5.4.100.0070.07016.46
5.4.90.0070.05316.25
5.4.80.0170.06016.34
5.4.70.0130.04316.60
5.4.60.0130.04316.28
5.4.50.0070.05016.38
5.4.40.0130.04016.38
5.4.30.0130.04716.47
5.4.20.0030.05316.43
5.4.10.0200.04016.38
5.4.00.0100.04315.94
5.3.280.0170.05714.61
5.3.270.0000.05714.61
5.3.260.0030.05314.69
5.3.250.0070.05014.68
5.3.240.0070.05014.69
5.3.230.0130.04314.50
5.3.220.0070.05014.40
5.3.210.0100.05014.55
5.3.200.0100.04714.74
5.3.190.0070.07314.70
5.3.180.0100.04714.55
5.3.170.0000.05714.64
5.3.160.0030.05314.55
5.3.150.0100.04714.70
5.3.140.0000.06314.64
5.3.130.0070.05014.52
5.3.120.0070.06014.54
5.3.110.0030.08014.63
5.3.100.0100.04714.12
5.3.90.0130.04314.15
5.3.80.0070.05014.08
5.3.70.0030.05714.00
5.3.60.0070.04714.02
5.3.50.0030.05314.03
5.3.40.0100.05013.96
5.3.30.0030.07713.73
5.3.20.0070.04713.79
5.3.10.0100.07013.63
5.3.00.0030.05313.66
5.2.170.0030.04711.07
5.2.160.0030.05011.16
5.2.150.0000.06311.06
5.2.140.0000.04711.14
5.2.130.0030.04011.12
5.2.120.0100.03711.02
5.2.110.0030.04011.02
5.2.100.0070.03711.01
5.2.90.0000.04311.01
5.2.80.0070.04011.11
5.2.70.0100.05311.01
5.2.60.0070.05311.00
5.2.50.0030.04011.02
5.2.40.0000.04311.00
5.2.30.0000.04310.97
5.2.20.0200.02311.07
5.2.10.0070.03711.03
5.2.00.0030.04010.80
5.1.60.0030.0339.94
5.1.50.0000.0379.96
5.1.40.0000.03710.17
5.1.30.0030.03710.33
5.1.20.0030.04010.11
5.1.10.0030.0379.95
5.1.00.0000.03710.10
5.0.50.0100.0338.52
5.0.40.0100.0338.46
5.0.30.0030.0408.28
5.0.20.0070.0238.36
5.0.10.0070.0238.14
5.0.00.0130.0508.11
4.4.90.0030.0206.00
4.4.80.0000.0236.00
4.4.70.0100.0206.00
4.4.60.0000.0236.00
4.4.50.0030.0206.00
4.4.40.0000.0336.00
4.4.30.0000.0236.00
4.4.20.0030.0236.00
4.4.10.0000.0236.00
4.4.00.0070.0276.00
4.3.110.0000.0236.00
4.3.100.0000.0236.00
4.3.90.0030.0306.00
4.3.80.0030.0436.00
4.3.70.0030.0206.00
4.3.60.0030.0176.00
4.3.50.0000.0236.00
4.3.40.0030.0436.00
4.3.30.0070.0236.00
4.3.20.0000.0236.00
4.3.10.0030.0206.00
4.3.00.0030.0209.27

preferences:
140.05 ms | 1394 KiB | 7 Q