3v4l.org

run code in 300+ PHP versions simultaneously
<?php $all = array(array("class"=>array(("peter","15","male"),array("mary","24","female"),array("jason","22","male")))); print_r($all);

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.320.0270.04319.22
5.4.310.0200.03319.26
5.4.300.0230.03319.08
5.4.290.0270.03719.05
5.4.280.0170.04319.00
5.4.270.0130.04019.10
5.4.260.0170.04319.26
5.4.250.0200.04018.96
5.4.240.0200.04319.08
5.4.230.0130.07018.94
5.4.220.0270.03719.19
5.4.210.0170.04018.86
5.4.200.0170.05719.20
5.4.190.0130.04319.14
5.4.180.0170.03318.83
5.4.170.0170.03719.07
5.4.160.0170.03718.97
5.4.150.0200.03319.21
5.4.140.0170.03316.40
5.4.130.0170.03316.66
5.4.120.0170.06316.33
5.4.110.0170.06716.59
5.4.100.0200.05716.56
5.4.90.0300.05716.37
5.4.80.0200.06716.26
5.4.70.0170.04716.52
5.4.60.0300.05716.44
5.4.50.0200.06716.16
5.4.40.0230.06716.43
5.4.30.0170.07316.53
5.4.20.0130.05316.53
5.4.10.0200.04716.55
5.4.00.0170.06715.82
5.3.290.0230.05014.71
5.3.280.0300.05714.43
5.3.270.0170.05714.70
5.3.260.0330.06014.45
5.3.250.0300.07014.46
5.3.240.0230.04014.46
5.3.230.0200.07314.50
5.3.220.0200.07014.40
5.3.210.0130.05014.52
5.3.200.0200.06314.42
5.3.190.0300.06314.43
5.3.180.0200.04714.47
5.3.170.0230.04714.58
5.3.160.0170.04314.50
5.3.150.0170.03714.55
5.3.140.0230.06314.50
5.3.130.0330.04014.46
5.3.120.0330.06314.50
5.3.110.0270.04314.38
5.3.100.0130.06713.89
5.3.90.0270.06013.88
5.3.80.0270.04013.96
5.3.70.0300.06313.96
5.3.60.0230.06014.05
5.3.50.0130.07713.85
5.3.40.0200.04313.79
5.3.30.0200.04713.89
5.3.20.0100.04313.63
5.3.10.0330.03013.60
5.3.00.0270.06713.48
5.2.170.0200.02712.20
5.2.160.0130.03012.20
5.2.150.0230.05712.20
5.2.140.0270.03012.20
5.2.130.0130.06712.20
5.2.120.0170.05712.20
5.2.110.0230.04312.20
5.2.100.0200.03012.20
5.2.90.0170.04712.20
5.2.80.0230.05712.20
5.2.70.0170.04012.20
5.2.60.0200.05312.20
5.2.50.0230.05712.20
5.2.40.0170.05712.20
5.2.30.0270.03312.20
5.2.20.0170.03312.20
5.2.10.0100.06012.20
5.2.00.0200.06012.20
5.1.60.0070.05012.20
5.1.50.0200.02312.20
5.1.40.0130.03312.20
5.1.30.0100.04012.20
5.1.20.0230.05012.20
5.1.10.0100.06012.20
5.1.00.0170.03312.20
5.0.50.0100.03312.20
5.0.40.0100.04312.20
5.0.30.0100.05712.20
5.0.20.0070.02712.20
5.0.10.0030.02712.20
5.0.00.0030.04712.20
4.4.90.0100.03312.20
4.4.80.0030.02312.20
4.4.70.0070.03012.20
4.4.60.0030.02012.20
4.4.50.0000.03312.20
4.4.40.0130.05012.20
4.4.30.0200.02312.20
4.4.20.0070.02712.20
4.4.10.0100.03312.20
4.4.00.0070.05712.20
4.3.110.0100.03312.20
4.3.100.0070.02012.20
4.3.90.0030.03012.20
4.3.80.0070.05012.20
4.3.70.0070.02012.20
4.3.60.0030.02312.20
4.3.50.0130.03012.20
4.3.40.0170.04012.20
4.3.30.0100.03312.20
4.3.20.0030.03312.20
4.3.10.0030.02712.20
4.3.00.0030.02012.20

preferences:
141.16 ms | 1394 KiB | 7 Q