This is a question regarding the correct times to use either the single vs double quotes.
I define a variable inside variables.php:
define('NAME', 'john Smith');
When I include this file inside another file:
include('variables.php');
echo NAME;
I don't get the desired result: John Smith
However, this only works on one of my servers. When I change the include function to have double quotes, it works!
include("variables.php");
echo NAME;
result: John Smith
Is this a certain setting in apache or php.ini ? Or does the latest version of PHP only allow perfection with single & double quotes?