eight.php
<?php
function myTest() {
$x = 5; // local scope
echo "<p>Variable x inside function is: $x</p>";
}
myTest();
// using x outside the function will generate an error
echo "<p>Variable x outside function is: $x</p>";
?>
=
Midjourney oter.ai aiva googlegemin dall-e copilot jasper copilot openaiplayground
No comments:
Post a Comment