Is there a speed difference in alternative 'if' syntax in PHP? -


this question has answer here:

in php can use this:

if ($something) {   //then bla } 

or can use:

if ($something):    //then bla endif; 

source: http://php.net/manual/en/control-structures.alternative-syntax.php

is there speed difference in using second method?

no, isn't difference. snippet of code "converted" corresponding "lower-level-one".

moreover, speed difference give - approximately - input , complexity: in case, input doesn't change , complexity neither


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -