3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $t= How are you doing; $y= I am doing very well today; $greetings=array("bad,good,great"); echo $t; echo "<br>"; echo "Study PHP at $y"; echo "<br>"; echo "My car is a {$greetings[0]}"; </body> </html>

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.0140.04212.36
5.4.270.0110.05412.36
5.4.260.0070.04012.36
5.4.250.0090.04912.36
5.4.240.0080.04812.36
5.4.230.0070.04312.36
5.4.220.0110.04612.35
5.4.210.0070.04912.35
5.4.200.0080.05312.35
5.4.190.0090.05012.35
5.4.180.0070.05212.35
5.4.170.0090.04912.36
5.4.160.0100.04512.36
5.4.150.0050.05112.35
5.4.140.0100.05012.04
5.4.130.0110.04212.02
5.4.120.0070.05111.98
5.4.110.0090.05011.98
5.4.100.0050.05011.99
5.4.90.0090.05111.98
5.4.80.0170.06111.98
5.4.70.0090.05611.98
5.4.60.0050.05711.98
5.4.50.0090.05411.98
5.4.40.0090.05411.96
5.4.30.0110.04711.96
5.4.20.0060.05511.96
5.4.10.0110.05211.96
5.4.00.0070.05511.46
5.3.280.0100.05112.71
5.3.270.0120.05112.72
5.3.260.0100.06412.72
5.3.250.0070.05112.72
5.3.240.0060.05312.72
5.3.230.0210.04012.71
5.3.220.0090.04312.68
5.3.210.0140.04912.68
5.3.200.0080.04312.68
5.3.190.0070.04812.67
5.3.180.0100.03912.67
5.3.170.0050.04312.67
5.3.160.0070.04912.68
5.3.150.0070.03612.67
5.3.140.0080.05712.66
5.3.130.0070.05312.65
5.3.120.0050.05512.66
5.3.110.0080.05412.66
5.3.100.0130.04612.12
5.3.90.0140.04412.09
5.3.80.0100.04912.07
5.3.70.0070.04912.07
5.3.60.0100.03512.06
5.3.50.0090.04412.00
5.3.40.0120.04612.00
5.3.30.0060.04811.94
5.3.20.0080.04111.70
5.3.10.0110.04811.67
5.3.00.0080.05111.66
5.2.170.0220.0729.15
5.2.160.0090.0529.15
5.2.150.0080.0449.15
5.2.140.0080.0539.14
5.2.130.0040.0549.11
5.2.120.0080.0389.11
5.2.110.0060.0389.11
5.2.100.0060.0419.11
5.2.90.0050.0449.11
5.2.80.0060.0439.11
5.2.70.0060.0439.11
5.2.60.0080.0409.06
5.2.50.0060.0409.04
5.2.40.0150.0479.00
5.2.30.0040.0458.98
5.2.20.0050.0508.97
5.2.10.0060.0388.90
5.2.00.0060.0418.75
5.1.60.0030.0378.04
5.1.50.0050.0348.04
5.1.40.0100.0588.03
5.1.30.0100.0528.38
5.1.20.0080.0448.40
5.1.10.0060.0428.13
5.1.00.0070.0388.12
5.0.50.0080.0296.60
5.0.40.0150.0616.46
5.0.30.0020.0736.27
5.0.20.0050.0216.25
5.0.10.0030.0236.22
5.0.00.0050.0326.21
4.4.90.0050.0204.78
4.4.80.0040.0194.75
4.4.70.0050.0164.75
4.4.60.0040.0154.76
4.4.50.0050.0174.77
4.4.40.0060.0384.70
4.4.30.0030.0224.76
4.4.20.0030.0184.84
4.4.10.0110.0274.85
4.4.00.0020.0264.76
4.3.110.0040.0154.67
4.3.100.0050.0134.67
4.3.90.0060.0114.64
4.3.80.0040.0234.59
4.3.70.0020.0154.63
4.3.60.0020.0154.63
4.3.50.0030.0154.63
4.3.40.0020.0254.53
4.3.30.0010.0173.27
4.3.20.0020.0163.25
4.3.10.0050.0133.22
4.3.00.0270.01313.64

preferences:
139.26 ms | 1394 KiB | 7 Q