In addition to the macros discussed earlier, a few macros allow
easy creation of simple global variables. These are nice to know
in case you want to introduce global flags, for example. This is
somewhat bad practice, but Table Table 53-5
describes macros that do
exactly this task. They don't need any zval
allocation; you simply have to supply a variable name and value.
Table 53-5. Macros for Global Variable Creation
Macro
Syntax
SET_VAR_STRING(name, value)
Creates a new string.
SET_VAR_STRINGL(name, value,
length)
Creates a new string of the specified length. This macro
is faster than SET_VAR_STRING and also binary-safe.
SET_VAR_LONG(name, value)
Creates a new long.
SET_VAR_DOUBLE(name, value)
Creates a new double.
Php zend.variables.global Function syntax tag
zend.variables.global php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php zend.variables.global syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.