This is down to changes that were made for new versions of ZPE.
The system variable as it is known, was added in version 1.7.4 of ZPE/YASS and is designed to hold information about several things. More than anything, it is to avoid the over complication of adding several functions to perform the same thing.
The system variable is an associative array global variable that contains several values such as the number of processors available to the system, the line separator for the operating system, the current working directory, the document root, the script start time, the executable path, the operating system information and much more.
Using the system variable is easy:
//Will print the whole system variable print($_SYSTEM)
The output from this should be the standard style of output from an associative array, which matches the key to value pairs in an unordered set.
Using ZPE 1.7.5's
beautify function, the display can be much cleaner and
easier to read:
//Will print the whole system variable print(beautify($_SYSTEM))
The result would look more like:
SCRIPT_PATH => /zpe-exec CWD => /Users/zpe START_TIME => Thu Mar 28 12:35:52 GMT 2019 HOME_DIR => /Users/zpe DOCUMENT_ROOT => /Users/zpe AVAILABLE_PROCESSORS => 32 EXEC_PATH => /Users/zpe/Programs/ZPE
S1s and S2s really enjoyed the lesson on cybercrime using the lesson on How to Rob A Bank on… https://t.co/MxjDYE2JFu
7 months ago
S2s doing really well in hardware test! Also really enjoying doing tests electronically rather than on paper.… https://t.co/ritdfcW6Mw
7 months ago
S1 and S2 pupils listing input and output devices and giving answers such as keyboard and mouse but there were also… https://t.co/dGxDkYqFxo
8 months ago