Want to know more?
Language - Variables
<?php
arr get_defined_vars ( )
?>
<?php
$arr01 = get_defined_vars();
echo '<pre>';
print_r($arr01);
echo '</pre>';
?>
<?php
$arr02a = [ 1, '2', 3, 'four'];
$vr02 = 'This is one more string!';
$arr02b = get_defined_vars();
echo '<pre>';
print_r($arr02b);
echo '</pre>';
?>
<?php
// The result of this exercise will depend
// of the configuration of your system
$vr03 = $_SERVER;
$arr03 = get_defined_vars();
echo '<pre>';
print_r($arr03);
echo '</pre>';
?>
<?php
$a = $b = $c = "anything call me";
$abc = get_defined_vars();
echo '<pre>';
print_r($abc);
echo '</pre>';
?>