News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Begin of file language?

Started by edi67, November 09, 2008, 04:55:32 AM

Previous topic - Next topic

edi67

One silly question but i not understood the REAL begin code for every file language some begin with <? someone with <?php others <php

What is correct for begin ??
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Compuart

I would say '<php' is invalid, '<?php' is preferred and '<?' is allowed, though discouraged.
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

edi67

Quote from: Compuart on November 09, 2008, 05:22:45 AM
I would say '<php' is invalid, '<?php' is preferred and '<?' is allowed, though discouraged.

Thx for explain me better, sorry but the end always ?>  ?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Compuart

Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Advertisement: