Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2    Statistic  

PHP.ExistsVariable

Checks if a variable exists.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PHP 2.9 Yes Yes Yes Yes No

MBS( "PHP.ExistsVariable"; VariableName )

Parameters

Parameter Description Example value
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 )


PHP.Execute   -   PHP.GetResultContainer

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins