Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Declares the variables in inside of PHP.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PHP | 2.9 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
Parameter | Description | Example |
---|---|---|
VariableName | the name of the variable | |
TextValue | the value of the variable |
Returns OK on success.
Set varibale and output it:
Set Variable [ $result ; Value: MBS( "PHP.SetVariable"; "c"; 5 ) ]
Set Variable [ $result ; Value: MBS("PHP.Run"; "echo $c;") ]
Set Field [ Simple_php::result ; MBS("PHP.GetResultString") ]
Created 18th August 2014, last changed 1st April 2019
Feedback: Report problem or ask question.