OK, I got the answer. It was not so clear to me in PHP documentation. Thanks
I know, this question is simple, but I unfortunately I cannot answer it by myself :(
So, the question is, when some developer uses the if
statement without braces, for how many lines next to if statement the if works?
More specific, let's say I have the following code:
if(1 == 1)
SayHello();
SayYourName('Nikos');
SayYourAge(32);
Will all of this function calls be executed if the 1
is equal to 1
? Or will it execute only the first one?