(PCC)::[How-to-Use-a-constant-inside-a-function-(when-it-is-defined-outside-the-function)-in-php]::[php]
<!DOCTYPE html> <html> <body> <?php define("GREETING", "Welcome to bookofnetwork.com!"); function myTest() { echo GREETING; } myTest(); ?> </body> </html>