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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

PHP.ExistsVariable

Checks if a variable exists.

Component Version macOS Windows Linux Server iOS SDK
PHP 2.9 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "PHP.ExistsVariable"; VariableName )   More

Parameters

Parameter Description Example
VariableName the name of the variable. $name

Result

Returns true if the variable exists, false if it does not.

Description

Checks if a variable exists.

Examples

Check if variable FilePath exists:

$r = MBS( "PHP.ExistsVariable"; "FilePath" )

Check if the PHP variable with the name in the FileMaker variable FilePath exists:

$r = MBS( "PHP.ExistsVariable"; $FilePath )

Blog Entries

Created 18th August 2014, last changed 18th August 2014


PHP.Execute - PHP.GetResultContainer

Feedback: Report problem or ask question.