Online Web Code Test | Write and Run

PuStudy.Com Start write and Run your Web Code Online Work, PuStudy.Com Provide Online Web Editor, Every Language Code Work in this Editor, Editor Work Like as - Html, Php, Css, Bootstrap, Asp, jQuery Etc.

$x = 5; // global scope
function myTest() {
    // using x inside this function will generate an error
    echo "

Variable x inside function is: $x

"; } myTest(); echo "

Variable x outside function is: $x

"; ?>