3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars = array("'zen','alto','i10'); echo $cars[0]; ?>

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.290.0100.04912.46
5.4.280.0110.04812.36
5.4.270.0090.04912.36
5.4.260.0090.04812.36
5.4.250.0130.04212.36
5.4.240.0080.04812.36
5.4.230.0150.06512.35
5.4.220.0080.05312.35
5.4.210.0120.05012.35
5.4.200.0100.05212.35
5.4.190.0070.04212.34
5.4.180.0110.04912.34
5.4.170.0120.04312.36
5.4.160.0110.04712.36
5.4.150.0120.05812.35
5.4.140.0100.06512.04
5.4.130.0090.05012.02
5.4.120.0120.04911.98
5.4.110.0050.05711.98
5.4.100.0060.05011.98
5.4.90.0080.05111.98
5.4.80.0070.05111.98
5.4.70.0110.05411.98
5.4.60.0080.05011.98
5.4.50.0100.04911.98
5.4.40.0080.05011.96
5.4.30.0090.04911.96
5.4.20.0120.04811.96
5.4.10.0080.05011.96
5.4.00.0060.05411.45
5.3.280.0070.05412.71
5.3.270.0080.05612.72
5.3.260.0100.05612.72
5.3.250.0120.05412.72
5.3.240.0110.05312.72
5.3.230.0130.05012.71
5.3.220.0090.05712.68
5.3.210.0060.06112.68
5.3.200.0080.05312.68
5.3.190.0090.05312.68
5.3.180.0050.05512.68
5.3.170.0050.05712.67
5.3.160.0070.05412.68
5.3.150.0070.05512.67
5.3.140.0100.05112.66
5.3.130.0080.05612.66
5.3.120.0100.05312.65
5.3.110.0080.05512.65
5.3.100.0090.05012.12
5.3.90.0070.05312.08
5.3.80.0060.05212.08
5.3.70.0090.05112.07
5.3.60.0090.05112.06
5.3.50.0110.04912.00
5.3.40.0100.05012.00
5.3.30.0090.05211.95
5.3.20.0090.05011.73
5.3.10.0120.04811.70
5.3.00.0100.05811.68
5.2.170.0040.0479.18
5.2.160.0060.0439.19
5.2.150.0070.0449.18
5.2.140.0060.0469.18
5.2.130.0050.0459.14
5.2.120.0040.0539.14
5.2.110.0150.0509.15
5.2.100.0050.0449.15
5.2.90.0100.0419.14
5.2.80.0090.0429.14
5.2.70.0110.0399.14
5.2.60.0080.0409.09
5.2.50.0070.0429.06
5.2.40.0150.0519.04
5.2.30.0090.0429.02
5.2.20.0080.0409.00
5.2.10.0050.0378.93
5.2.00.0050.0368.78
5.1.60.0070.0318.07
5.1.50.0060.0258.07
5.1.40.0070.0288.04
5.1.30.0090.0348.39
5.1.20.0130.0258.42
5.1.10.0070.0378.15
5.1.00.0050.0408.14
5.0.50.0060.0276.63
5.0.40.0030.0266.48
5.0.30.0060.0356.29
5.0.20.0030.0246.26
5.0.10.0040.0206.24
5.0.00.0030.0356.24
4.4.90.0030.0164.78
4.4.80.0020.0174.76
4.4.70.0020.0174.76
4.4.60.0040.0154.76
4.4.50.0030.0164.77
4.4.40.0060.0314.71
4.4.30.0080.0244.76
4.4.20.0070.0374.85
4.4.10.0040.0264.85
4.4.00.0000.0394.76
4.3.110.0050.0214.67
4.3.100.0060.0184.66
4.3.90.0020.0224.63
4.3.80.0050.0374.59
4.3.70.0050.0214.63
4.3.60.0020.0234.63
4.3.50.0040.0214.63
4.3.40.0020.0324.54
4.3.30.0010.0223.28
4.3.20.0060.0173.26
4.3.10.0020.0213.22
4.3.00.0170.0206.68

preferences:
141.37 ms | 1386 KiB | 7 Q