Answers for "php make function global"

PHP
2

globals in php

$GLOBALS['a'] = 'localhost';

function body(){

    echo $GLOBALS['a'];
}
Posted by: Guest on October-17-2021
0

php globals

$GLOBALS["foo"]
Posted by: Guest on October-21-2020

Code answers related to "php make function global"

Browse Popular Code Answers by Language