Welcome Guest, Not a member yet? Register   Sign In
Data to View
#7

(04-10-2015, 08:59 PM)RobertSF Wrote: The only thing is the religious war between <?= and <?php echo. I prefer the first, but Codeigniter coding rules/conventions require the second. Also, many Open Source projects won't accept pull requests using the first. Just be aware of it. Smile
Where does CI specify to use full PHP open tags?
http://www.codeigniter.com/user_guide/ge...tive-echos

There's even a setting in config to use short tags, which will convert to full open tags via regex if php.ini doesn't allow them.
Reply


Messages In This Thread
Data to View - by Urastor - 04-10-2015, 03:50 PM
RE: Data to View - by ivantcholakov - 04-10-2015, 05:31 PM
RE: Data to View - by RobertSF - 04-10-2015, 05:43 PM
RE: Data to View - by Urastor - 04-10-2015, 07:10 PM
RE: Data to View - by RobertSF - 04-10-2015, 08:59 PM
RE: Data to View - by Urastor - 04-11-2015, 08:10 AM
RE: Data to View - by CroNiX - 04-11-2015, 10:01 AM
RE: Data to View - by Urastor - 04-11-2015, 11:09 AM
RE: Data to View - by InsiteFX - 04-12-2015, 03:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB