$x = "world";
echo "hello
$x";
echo "hello
$GLOBALS['x']";
?>
In
the above code the first statement prints hello world but second doesn't print
anything.Why superglobals are not accessible in double quotes?
No comments:
Post a Comment