• Welcome to Simple Machines Community Forum. Please login or sign up.
January 27, 2022, 04:45:37 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


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: