any single inner-statement like this
if($something)
int $iAmInASingleIf2;
will have no scope and the variable $iAmInASingleIf2 will be declared in the parent scope as the if statement.
note: the scope is created when a '{' is encountered, hence the if has no scope
any single inner-statement like this
will have no scope and the variable $iAmInASingleIf2 will be declared in the parent scope as the if statement.
note: the scope is created when a '{' is encountered, hence the if has no scope