3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [1=>Maureen','John','Jason','Sam','Alexander']; var_Dump($array);

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.1030.04318.81
5.4.380.0930.05318.59
5.4.370.0830.06318.70
5.4.360.0800.05018.81
5.4.350.0930.05318.73
5.4.340.0830.05318.55
5.4.320.0670.06318.77
5.4.310.0730.05718.59
5.4.300.0900.06018.76
5.4.290.0970.09018.59
5.4.280.0800.05718.71
5.4.270.1100.06318.80
5.4.260.0770.05318.58
5.4.250.0830.05018.83
5.4.240.0800.05318.76
5.4.230.0970.05018.79
5.4.220.0730.06318.58
5.4.210.1000.04718.71
5.4.200.0830.04716.81
5.4.190.1030.05718.57
5.4.180.0830.06018.77
5.4.170.0900.04718.79
5.4.160.0800.05018.43
5.4.150.0870.05018.46
5.4.140.0730.05716.33
5.4.130.0870.05716.31
5.4.120.0830.05016.31
5.4.110.0800.05016.21
5.4.100.0830.04716.20
5.4.90.0970.05716.15
5.4.80.0970.04716.42
5.4.70.0970.05716.39
5.4.60.1070.04016.39
5.4.50.1030.04316.43
5.4.40.0900.06016.29
5.4.30.1170.05016.38
5.4.20.1000.05316.38
5.4.10.0930.05316.21
5.4.00.0970.04715.82
5.3.290.0700.06314.74
5.3.280.0730.05714.62
5.3.270.0870.06714.51
5.3.260.0900.05714.58
5.3.250.0800.05714.65
5.3.240.0730.05714.57
5.3.230.0970.05014.57
5.3.220.0970.05014.56
5.3.210.0970.05714.56
5.3.200.0970.05014.59
5.3.190.0700.06014.45
5.3.180.0830.04714.49
5.3.170.0730.05714.53
5.3.160.0700.06014.49
5.3.150.0900.04314.65
5.3.140.0730.05314.65
5.3.130.0800.06014.54
5.3.120.0800.05314.47
5.3.110.0970.03314.52
5.3.100.0770.05313.96
5.3.90.0730.06014.01
5.3.80.0930.05313.89
5.3.70.0900.05314.11
5.3.60.0930.05313.99
5.3.50.1000.05013.91
5.3.40.1030.05713.85
5.3.30.0970.05713.89
5.3.20.1000.05313.59
5.3.10.0970.05013.56
5.3.00.0830.05013.61
5.2.170.0670.04011.20
5.2.160.0630.04011.18
5.2.150.0630.05311.30
5.2.140.0700.04011.09
5.2.130.0670.05711.06
5.2.120.0630.03711.06
5.2.110.0670.04711.14
5.2.100.0630.03711.08
5.2.90.0600.04711.14
5.2.80.0870.04711.03
5.2.70.0870.03711.13
5.2.60.0870.06311.01
5.2.50.0770.04710.96
5.2.40.0630.04310.92
5.2.30.0670.03310.94
5.2.20.0630.04011.07
5.2.10.0500.04310.82
5.2.00.0570.04710.68
5.1.60.0570.02710.02
5.1.50.0570.03710.05
5.1.40.0570.03710.10
5.1.30.0500.03710.43
5.1.20.0570.04010.50
5.1.10.0470.04310.14
5.1.00.0630.04710.10
5.0.50.0430.0308.56
5.0.40.0330.0278.43
5.0.30.0330.0408.34
5.0.20.0300.0308.25
5.0.10.0330.0378.29
5.0.00.0300.0438.15
4.4.90.0300.0205.88
4.4.80.0400.0205.81
4.4.70.0400.0135.90
4.4.60.0330.0205.94
4.4.50.0270.0275.88
4.4.40.0270.0405.82
4.4.30.0370.0275.92
4.4.20.0270.0276.00
4.4.10.0330.0176.00
4.4.00.0370.0305.84
4.3.110.0330.0205.75
4.3.100.0300.0235.79
4.3.90.0400.0235.81
4.3.80.0270.0405.80
4.3.70.0330.0205.77
4.3.60.0330.0235.83
4.3.50.0300.0275.77
4.3.40.0300.0335.77
4.3.30.0170.0205.05
4.3.20.0170.0205.05
4.3.10.0100.0275.05
4.3.00.0030.0209.22

preferences:
134.23 ms | 1394 KiB | 7 Q