MFA Posted April 1, 2013 Share Posted April 1, 2013 HiI am wondering whether starting (<?php) and stopping (?>) PHP several times throughout a script has an affect on the speed of which it is processed. Sometimes I have a few lines of HTML in between sections of PHP language. Would it more efficient if I just echo'd this HTML section (in PHP) or does it not make a difference? Link to comment https://forums.phpfreaks.com/topic/276368-starting-and-stopping-php-several-times/ Share on other sites More sharing options...
trq Posted April 1, 2013 Share Posted April 1, 2013 This kind of micro optimisation is not worth considering. If your code is clearer breaking in and out of php tags, do so. Link to comment https://forums.phpfreaks.com/topic/276368-starting-and-stopping-php-several-times/#findComment-1422205 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.