#only wide system is by using define() $name="variable name"; $value="variable value / scalar" defined($name) || define($name, $value);