0

What is the usage of curly {} bracket in php

11th Sep 2018, 8:05 AM
naveen kumar
naveen kumar - avatar
2 Respuestas
+ 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/
11th Sep 2018, 8:48 AM
Mickel
Mickel - avatar
+ 1
Just like in most other languages. :-)
11th Sep 2018, 9:13 AM
Jan Štěch
Jan Štěch - avatar