3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('key' => 'value'); array_map(function($k, $v){var_dump($k, $v)}, array_keys($arr), $arr);

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.310.0130.04719.20
5.4.300.0230.04719.22
5.4.290.0230.06318.98
5.4.280.0230.03719.09
5.4.270.0200.03318.95
5.4.260.0330.07019.14
5.4.250.0300.06019.21
5.4.240.0230.06319.14
5.4.230.0370.03318.87
5.4.220.0300.06319.08
5.4.210.0270.04718.99
5.4.200.0330.06718.93
5.4.190.0330.06019.08
5.4.180.0270.04018.98
5.4.170.0270.07319.29
5.4.160.0200.07319.11
5.4.150.0200.05019.11
5.4.140.0230.03016.33
5.4.130.0270.06316.30
5.4.120.0270.05716.48
5.4.110.0170.04316.40
5.4.100.0230.06016.55
5.4.90.0200.06016.40
5.4.80.0230.05716.53
5.4.70.0170.06016.44
5.4.60.0230.06716.43
5.4.50.0200.04016.57
5.4.40.0300.06316.33
5.4.30.0270.06316.34
5.4.20.0200.04716.50
5.4.10.0170.03716.34
5.4.00.0200.06715.80
5.3.290.0200.04014.57
5.3.280.0300.06714.51
5.3.270.0330.05314.68
5.3.260.0200.07014.62
5.3.250.0130.05314.61
5.3.240.0230.07314.52
5.3.230.0200.04314.61
5.3.220.0230.04314.57
5.3.210.0230.04714.72
5.3.200.0270.06314.54
5.3.190.0270.07314.61
5.3.180.0230.06714.57
5.3.170.0300.06314.65
5.3.160.0230.07014.78
5.3.150.0100.05714.78
5.3.140.0300.04014.63
5.3.130.0330.06314.59
5.3.120.0300.06714.56
5.3.110.0300.06314.71
5.3.100.0270.05714.16
5.3.90.0270.06314.11
5.3.80.0200.07714.03
5.3.70.0170.07713.93
5.3.60.0230.06714.05
5.3.50.0200.07013.92
5.3.40.0300.05713.96
5.3.30.0200.03313.81
5.3.20.0170.06313.60
5.3.10.0230.03713.57
5.3.00.0200.06313.66
5.2.170.0400.02712.41
5.2.160.0270.05312.41
5.2.150.0200.03012.41
5.2.140.0130.03712.41
5.2.130.0170.06012.41
5.2.120.0100.05312.41
5.2.110.0130.03012.41
5.2.100.0300.02712.41
5.2.90.0270.04012.41
5.2.80.0230.03712.41
5.2.70.0200.06012.41
5.2.60.0170.03312.41
5.2.50.0130.04312.41
5.2.40.0170.05012.41
5.2.30.0170.03312.41
5.2.20.0200.03312.41
5.2.10.0100.05312.41
5.2.00.0130.03712.41
5.1.60.0100.05312.41
5.1.50.0200.03712.41
5.1.40.0200.01712.41
5.1.30.0130.02312.41
5.1.20.0130.03312.41
5.1.10.0130.03312.41
5.1.00.0230.01712.41
5.0.50.0130.02312.41
5.0.40.0100.02712.41
5.0.30.0100.02712.41
5.0.20.0070.04012.41
5.0.10.0170.02712.41
5.0.00.0130.04312.41
4.4.90.0170.02312.41
4.4.80.0100.03312.41
4.4.70.0100.02312.41
4.4.60.0100.02012.41
4.4.50.0100.02712.41
4.4.40.0130.03712.41
4.4.30.0100.01312.41
4.4.20.0070.01312.41
4.4.10.0070.03712.41
4.4.00.0130.04012.41
4.3.110.0130.03012.41
4.3.100.0170.01712.41
4.3.90.0130.02312.41
4.3.80.0070.03012.41
4.3.70.0130.03012.41
4.3.60.0100.02312.41
4.3.50.0070.02712.41
4.3.40.0030.04712.41
4.3.30.0030.03712.41
4.3.20.0100.03312.41
4.3.10.0030.02712.41
4.3.00.0030.02312.41

preferences:
138.39 ms | 1394 KiB | 7 Q