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.0090.03412.36
5.4.270.0100.04612.36
5.4.260.0050.05212.36
5.4.250.0080.03912.36
5.4.240.0070.03512.36
5.4.230.0030.04012.35
5.4.220.0050.03712.35
5.4.210.0040.04112.36
5.4.200.0130.06012.36
5.4.190.0100.04812.35
5.4.180.0080.05612.35
5.4.170.0120.06512.36
5.4.160.0090.05112.36
5.4.150.0080.06412.35
5.4.140.0060.05412.04
5.4.130.0060.05112.02
5.4.120.0100.04511.98
5.4.110.0110.03411.98
5.4.100.0120.06111.98
5.4.90.0160.09111.98
5.4.80.0120.07511.98
5.4.70.0160.11911.98
5.4.60.0090.05011.98
5.4.50.0090.04911.98
5.4.40.0060.05211.96
5.4.30.0140.04211.96
5.4.20.0080.05011.96
5.4.10.0070.04011.96
5.4.00.0120.05311.46
5.3.280.0060.04212.71
5.3.270.0050.04412.72
5.3.260.0120.04812.72
5.3.250.0090.04912.72
5.3.240.0100.04612.72
5.3.230.0060.05312.70
5.3.220.0040.05212.68
5.3.210.0110.05012.68
5.3.200.0090.04012.68
5.3.190.0090.04112.68
5.3.180.0070.04612.68
5.3.170.0150.04012.67
5.3.160.0070.05012.68
5.3.150.0080.05612.67
5.3.140.0090.05612.66
5.3.130.0110.05512.66
5.3.120.0080.05612.66
5.3.110.0070.05612.66
5.3.100.0090.05712.12
5.3.90.0080.05212.09
5.3.80.0080.05012.08
5.3.70.0090.05312.08
5.3.60.0120.05012.06
5.3.50.0080.05412.00
5.3.40.0120.08612.00
5.3.30.0090.04611.93
5.3.20.0070.04411.70
5.3.10.0050.04711.67
5.3.00.0060.04511.66
5.2.170.0030.0359.15
5.2.160.0060.0469.15
5.2.150.0060.0439.15
5.2.140.0040.0379.14
5.2.130.0050.0419.11
5.2.120.0080.0379.12
5.2.110.0070.0369.11
5.2.100.0060.0379.11
5.2.90.0030.0359.11
5.2.80.0160.0499.11
5.2.70.0060.0419.11
5.2.60.0040.0459.05
5.2.50.0070.0419.03
5.2.40.0080.0389.00
5.2.30.0090.0418.99
5.2.20.0080.0378.97
5.2.10.0100.0328.90
5.2.00.0120.0358.76
5.1.60.0140.0358.04
5.1.50.0100.0378.04
5.1.40.0060.0388.02
5.1.30.0100.0418.38
5.1.20.0090.0388.40
5.1.10.0040.0368.12
5.1.00.0090.0438.12
5.0.50.0130.0416.60
5.0.40.0070.0256.45
5.0.30.0070.0396.27
5.0.20.0070.0226.25
5.0.10.0080.0446.21
5.0.00.0060.0526.21
4.4.90.0150.0454.77
4.4.80.0090.0314.76
4.4.70.0070.0304.75
4.4.60.0070.0234.75
4.4.50.0040.0294.77
4.4.40.0050.0444.70
4.4.30.0120.0244.76
4.4.20.0050.0284.85
4.4.10.0070.0294.85
4.4.00.0080.0384.75
4.3.110.0070.0284.67
4.3.100.0060.0244.66
4.3.90.0030.0244.64
4.3.80.0030.0354.59
4.3.70.0030.0224.63
4.3.60.0030.0244.63
4.3.50.0030.0234.63
4.3.40.0070.0314.54
4.3.30.0040.0213.27
4.3.20.0030.0223.25
4.3.10.0010.0233.21
4.3.00.0170.0207.53

preferences:
145.03 ms | 1394 KiB | 7 Q