3v4l.org

run code in 300+ PHP versions simultaneously
<?php $closure = function(...$args) use(&$closure){ array_walk($args, function($arg) use($closure){ if(is_array($arg)){ $closure($arg); }else{ echo $arg; } }); }

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.390.0870.05318.84
5.4.380.1000.05018.58
5.4.370.1030.04718.84
5.4.360.1030.04718.73
5.4.350.1000.05018.78
5.4.340.1030.04718.45
5.4.320.0870.06318.73
5.4.310.0870.05718.50
5.4.300.0830.06018.80
5.4.290.0900.05718.79
5.4.280.1030.04318.73
5.4.270.0830.05318.56
5.4.260.0700.05718.56
5.4.250.0900.05718.75
5.4.240.0970.05018.84
5.4.230.0970.04718.43
5.4.220.0900.05718.74
5.4.210.0900.05318.43
5.4.200.0970.05316.54
5.4.190.0830.06018.71
5.4.180.0830.06018.77
5.4.170.0930.05718.73
5.4.160.1070.04018.76
5.4.150.0970.05018.81
5.4.140.0930.05316.21
5.4.130.0900.05316.18
5.4.120.1000.04316.30
5.4.110.0930.05316.42
5.4.100.0900.05316.32
5.4.90.1000.05316.31
5.4.80.1070.04016.41
5.4.70.0930.05016.39
5.4.60.0970.04716.21
5.4.50.0930.04716.26
5.4.40.0970.05016.40
5.4.30.1000.04716.22
5.4.20.1000.04316.26
5.4.10.0870.05316.14
5.4.00.0900.06015.78
5.3.290.1070.04714.86
5.3.280.0870.06314.60
5.3.270.1030.05714.65
5.3.260.1000.05314.63
5.3.250.1000.05314.70
5.3.240.0900.06014.70
5.3.230.1000.05314.72
5.3.220.1000.05014.76
5.3.210.0900.05314.67
5.3.200.1030.04314.70
5.3.190.0930.05314.62
5.3.180.1100.04314.73
5.3.170.1070.06014.56
5.3.160.0970.05014.69
5.3.150.1030.04714.67
5.3.140.0970.04714.59
5.3.130.1000.05714.66
5.3.120.0900.05714.68
5.3.110.1030.04714.71
5.3.100.0970.05314.15
5.3.90.0930.05014.05
5.3.80.1070.04014.14
5.3.70.0870.06014.14
5.3.60.0930.06314.20
5.3.50.0670.06013.99
5.3.40.0870.05714.00
5.3.30.0900.05014.13
5.3.20.0870.05313.75
5.3.10.0900.05713.68
5.3.00.0970.04713.70
5.2.170.0800.04711.07
5.2.160.0770.04011.28
5.2.150.0770.04011.18
5.2.140.0730.04711.13
5.2.130.0670.04711.25
5.2.120.0730.04011.11
5.2.110.0730.04011.10
5.2.100.0730.04311.06
5.2.90.0770.04311.03
5.2.80.0800.04011.07
5.2.70.0800.03711.10
5.2.60.0770.04311.05
5.2.50.0730.04711.17
5.2.40.0630.04310.98
5.2.30.0700.03310.94
5.2.20.0430.04711.00
5.2.10.0670.03710.85
5.2.00.0600.04310.74
5.1.60.0670.03010.01
5.1.50.0800.02710.01
5.1.40.0670.02710.05
5.1.30.0600.04010.38
5.1.20.0630.03310.42
5.1.10.0630.03310.16
5.1.00.0630.03710.20
5.0.50.0330.0278.57
5.0.40.0270.0308.46
5.0.30.0330.0408.34
5.0.20.0330.0238.37
5.0.10.0400.0208.19
5.0.00.0300.0438.19
4.4.90.0370.0175.84
4.4.80.0370.0175.91
4.4.70.0300.0235.93
4.4.60.0330.0235.91
4.4.50.0270.0275.84
4.4.40.0370.0305.85
4.4.30.0370.0175.82
4.4.20.0330.0205.95
4.4.10.0300.0205.98
4.4.00.0330.0275.89
4.3.110.0270.0235.79
4.3.100.0330.0175.82
4.3.90.0300.0175.81
4.3.80.0270.0335.77
4.3.70.0400.0175.80
4.3.60.0300.0205.84
4.3.50.0300.0305.80
4.3.40.0170.0435.83
4.3.30.0170.0274.64
4.3.20.0170.0234.54
4.3.10.0200.0204.52
4.3.00.0030.0277.30

preferences:
147.8 ms | 1394 KiB | 7 Q