0

Why does the php echo function doesn't require parenthesis?

12th Jul 2018, 10:14 PM
gh tube
gh tube - avatar
2 Respostas
0
It's just a matter of syntax. That's how it was in Python 2. print "Hello"
12th Jul 2018, 10:18 PM
Dlite
Dlite - avatar
0
echo is not a function ,it is a language construct so no parentheses needed!
12th Jul 2018, 10:34 PM
MO ELomari
MO ELomari - avatar