MFA Posted April 1, 2013 Share Posted April 1, 2013 (edited) 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? Edited April 1, 2013 by MFA Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.