where's them curly braces at??? { } | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

where's them curly braces at??? { }

19th Oct 2016, 8:06 PM
Jonathan de Kock
Jonathan de Kock - avatar
2 Answers
+ 1
you can write like that if (true) echo "true"; else echo "false"; without the curly braces if you want to write only one statement (one line of code)
2nd Nov 2016, 2:53 PM
Hasan Al-Yazidi
Hasan Al-Yazidi - avatar
+ 1
it is a programming language server side
16th Dec 2016, 2:43 PM
Ahmad Yazdani
Ahmad Yazdani - avatar