If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Using braces and semicolons

Started by chinmay.sahoo, 05-21-2016, 06:05:20

Previous topic - Next topic

chinmay.sahooTopic starter

Like ActionScript, PHP consists of a series of statements normally executed in the sequence they appear in the script (unless the statements are inside a function, in which case both languages wait until the function is called before executing them). Each statement in PHP must be followed by a semicolon.

Statements can be grouped together between curly braces ({}), for example when you create a conditional test, loop, or function. Although ActionScript recommends a semicolon after the closing curly brace of an anonymous function, you should never use a semicolon after a closing curly brace in PHP.



If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...