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

PHP.ExistsVariable

Checks if a variable exists.

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

Deprecated

This function was deprecated.

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

This function checks for a paid license.

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


PHP.Execute - PHP.GetResultContainer

💬 Ask a question or report a problem