Here is a thread with some of our observations.
https://forums.aws.amazon.com/thread.jspa?threadID=261421&ts...
132 karma · joined June 21, 2011
https://forums.aws.amazon.com/thread.jspa?threadID=261421&ts...
<?php $a = 1; /* global scope */
function test() { echo $a }
test();
in javascript, $a would be 1 but in PHP it is undefined and won't produce output,