TwistPHP Documentation

compare

File path: dist/twist/Core/Utilities/Validate.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

compareValidate the comparison between two items/strings/integers.

Parameters

Name Type Description
$mxdValue1mixedn/a
$mxdValue2mixedn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$mxdValue1 'foo-123';
$mxdValue2 'foo-123';

//Call the function compare with the example vars
Twist::Validate() -> compare($mxdValue1$mxdValue2);