3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ['a','b','c']

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.210.0090.04012.33
5.4.200.0120.04312.33
5.4.190.0130.04312.33
5.4.180.0080.04612.33
5.4.170.0130.04612.34
5.4.160.0120.04412.33
5.4.150.0110.04312.33
5.4.140.0120.04512.02
5.4.130.0110.04512.00
5.4.120.0130.04511.96
5.4.110.0120.04611.96
5.4.100.0120.04611.96
5.4.90.0100.04511.96
5.4.80.0110.04911.96
5.4.70.0090.04511.95
5.4.60.0100.04211.95
5.4.50.0150.04111.95
5.4.40.0130.04311.94
5.4.30.0130.04011.94
5.4.20.0100.04411.94
5.4.10.0130.04611.94
5.4.00.0090.04411.43
5.3.270.0130.04912.73
5.3.260.0120.04712.72
5.3.250.0080.04912.72
5.3.240.0110.04412.72
5.3.230.0120.04312.71
5.3.220.0150.04812.68
5.3.210.0100.05312.68
5.3.200.0140.04712.68
5.3.190.0100.04712.67
5.3.180.0100.04612.67
5.3.170.0120.04912.67
5.3.160.0140.04712.67
5.3.150.0110.05512.67
5.3.140.0150.04512.66
5.3.130.0130.04712.66
5.3.120.0090.04912.66
5.3.110.0150.04512.66
5.3.100.0130.04112.12
5.3.90.0160.04912.08
5.3.80.0140.04812.08
5.3.70.0130.04712.08
5.3.60.0150.04612.06
5.3.50.0130.04712.00
5.3.40.0130.05912.00
5.3.30.0110.05111.94
5.3.20.0140.04411.71
5.3.10.0110.04511.67
5.3.00.0110.04211.66
5.2.170.0090.0369.16
5.2.160.0090.0349.16
5.2.150.0080.0379.16
5.2.140.0090.0369.16
5.2.130.0090.0349.12
5.2.120.0120.0349.12
5.2.110.0110.0359.13
5.2.100.0090.0389.12
5.2.90.0100.0389.12
5.2.80.0090.0349.11
5.2.70.0130.0539.11
5.2.60.0090.0379.07
5.2.50.0080.0399.04
5.2.40.0070.0379.01
5.2.30.0080.0368.99
5.2.20.0090.0368.98
5.2.10.0080.0358.90
5.2.00.0100.0338.76
5.1.60.0080.0298.05
5.1.50.0070.0308.04
5.1.40.0060.0318.03
5.1.30.0090.0328.38
5.1.20.0210.0408.40
5.1.10.0120.0528.13
5.1.00.0100.0378.12
5.0.50.0070.0256.60
5.0.40.0050.0256.46
5.0.30.0080.0366.27
5.0.20.0060.0246.25
5.0.10.0060.0256.22
5.0.00.0060.0396.22
4.4.90.0060.0194.78
4.4.80.0040.0224.76
4.4.70.0050.0214.76
4.4.60.0060.0194.76
4.4.50.0040.0214.77
4.4.40.0040.0304.71
4.4.30.0060.0174.76
4.4.20.0060.0184.84
4.4.10.0060.0214.85
4.4.00.0050.0324.76
4.3.110.0060.0194.67
4.3.100.0030.0224.67
4.3.90.0050.0194.63
4.3.80.0050.0294.58
4.3.70.0060.0224.63
4.3.60.0060.0214.63
4.3.50.0070.0184.63
4.3.40.0060.0294.54
4.3.30.0050.0183.28
4.3.20.0040.0193.26
4.3.10.0050.0203.22
4.3.00.0300.01314.20

preferences:
139.2 ms | 1394 KiB | 7 Q