public variable in php

Solutions on MaxInterview for public variable in php by the best coders in the world

showing results for - "public variable in php"
Valentina
27 Mar 2019
1#only wide system is by using define()
2$name="variable name";
3$value="variable value / scalar"
4defined($name) || define($name, $value);