New course! Every coder should learn Generative AI!
Try a free lesson0
What is the usage of curly {} bracket in php
2 Answers
+ 5
They are used to define a block of code in the functions, and also have some other uses:
https://www.phpknowhow.com/basics/usage-of-brackets/
+ 1
Just like in most other languages. :-)