3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = new Array(); $arr = ("ben", "garvey"); print "Array value is {$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.280.0070.04112.36
5.4.270.0080.04212.36
5.4.260.0090.03512.36
5.4.250.0080.03612.36
5.4.240.0050.04412.36
5.4.230.0130.04412.35
5.4.220.0080.04512.36
5.4.210.0050.04212.36
5.4.200.0050.04312.35
5.4.190.0100.03912.35
5.4.180.0120.03612.35
5.4.170.0090.04012.36
5.4.160.0070.03812.36
5.4.150.0090.03512.35
5.4.140.0080.03812.04
5.4.130.0060.03812.02
5.4.120.0070.03711.98
5.4.110.0080.04711.98
5.4.100.0110.04411.98
5.4.90.0100.04611.98
5.4.80.0090.04811.98
5.4.70.0050.05111.98
5.4.60.0100.04211.98
5.4.50.0100.04911.98
5.4.40.0100.04611.96
5.4.30.0120.04511.96
5.4.20.0110.04511.96
5.4.10.0060.04011.96
5.4.00.0060.03811.46
5.3.280.0050.04212.71
5.3.270.0080.04712.72
5.3.260.0040.04612.72
5.3.250.0110.04812.72
5.3.240.0100.05212.72
5.3.230.0110.06112.71
5.3.220.0060.04512.68
5.3.210.0080.03812.68
5.3.200.0120.04412.68
5.3.190.0070.04812.68
5.3.180.0100.04612.67
5.3.170.0120.04812.67
5.3.160.0120.04412.67
5.3.150.0130.04612.67
5.3.140.0120.05312.66
5.3.130.0120.06512.66
5.3.120.0080.05612.66
5.3.110.0140.05112.66
5.3.100.0100.04812.12
5.3.90.0040.05212.08
5.3.80.0100.03612.07
5.3.70.0190.05612.07
5.3.60.0110.05412.06
5.3.50.0120.05012.00
5.3.40.0110.08212.00
5.3.30.0120.05111.94
5.3.20.0150.07011.70
5.3.10.0100.07611.67
5.3.00.0070.04211.66
5.2.170.0100.0309.15
5.2.160.0140.0319.15
5.2.150.0060.0359.15
5.2.140.0050.0409.15
5.2.130.0050.0489.11
5.2.120.0060.0339.11
5.2.110.0110.0289.11
5.2.100.0050.0329.12
5.2.90.0050.0339.11
5.2.80.0050.0369.11
5.2.70.0050.0339.11
5.2.60.0090.0299.05
5.2.50.0040.0359.03
5.2.40.0080.0299.00
5.2.30.0120.0538.98
5.2.20.0060.0468.97
5.2.10.0080.0368.90
5.2.00.0100.0398.76
5.1.60.0150.0528.04
5.1.50.0060.0378.04
5.1.40.0090.0418.03
5.1.30.0110.0608.37
5.1.20.0080.0298.39
5.1.10.0070.0288.12
5.1.00.0070.0298.12
5.0.50.0050.0226.60
5.0.40.0070.0266.46
5.0.30.0060.0436.27
5.0.20.0220.0456.25
5.0.10.0020.0296.22
5.0.00.0080.0346.20
4.4.90.0030.0214.78
4.4.80.0030.0344.75
4.4.70.0120.0334.75
4.4.60.0030.0314.76
4.4.50.0020.0274.77
4.4.40.0040.0334.71
4.4.30.0010.0244.76
4.4.20.0030.0244.84
4.4.10.0060.0194.85
4.4.00.0060.0294.75
4.3.110.0040.0214.67
4.3.100.0040.0234.67
4.3.90.0060.0224.63
4.3.80.0050.0314.58
4.3.70.0040.0184.63
4.3.60.0050.0184.62
4.3.50.0040.0204.63
4.3.40.0040.0314.54
4.3.30.0040.0203.27
4.3.20.0020.0223.26
4.3.10.0020.0223.21
4.3.00.0200.01313.64

preferences:
139.86 ms | 1394 KiB | 7 Q