Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php const scope

<?php
define("GREETING", "Welcome to W3Schools.com!");

function myTest() {
  echo GREETING;
}
 
myTest();
?>
 
PREVIOUS NEXT
Tagged: #php #const #scope
ADD COMMENT
Topic
Name
9+5 =