Use Syntax Does alternative change performance? [duplicate]

4

Using the Alternative Syntax for Control Structures brings huge changes in the number of code lines of a project, but is there any change in performance?

    
asked by anonymous 21.01.2016 / 19:44

2 answers

1

This would hardly have any effect on performance. PHP and other script languages already lose performance (compared to compiled ones) because they are interpreted. Performance should be the when you find some bottleneck in the system (slowness), but first it is necessary to measure this, otherwise how will you know?

    
21.01.2016 / 20:00
0

The amount of extra script is too small (it can be said to be insignificant), so that the processing will be quick and with no visible changes.

    
21.01.2016 / 19:54