Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Returns the value of the variable.

Component Version macOS Windows Linux Server iOS SDK
PHP 2.9 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No


This function was deprecated.

MBS( "PHP.GetVariable"; VariableName )   More


Parameter Description Example
VariableName the name of the variable to return $name


Returns the value of the variable.


Set and query variable:

Set Variable [ $result ; Value: MBS( "PHP.SetVariable"; "c"; 5 ) ]
Set Variable [ $result ; Value: MBS("PHP.Run"; "$c = $c + 1; echo $c;") ]
Show Custom Dialog [ "c: " & MBS( "PHP.GetVariable";… ; "Result: " & MBS("PHP.GetResultString") ]

See also

Blog Entries

This function checks for a paid license.

Created 18th August 2014, last changed 23th January 2023

PHP.GetResultString - PHP.Init

💬 Ask a question or report a problem