Previous Page
assertNotNull()

Solar_Test
assertNotRegex()

Next Page
assertNotSame()

assertNotRegex()

public bool assertNotRegex ( mixed $actual, mixed $expect )

Asserts that a value does not match a regular expression pattern using preg_match().

Parameters

  • (mixed) $actual: The variable to test.
  • (mixed) $expect: The regular expression pattern.

Returns

  • (bool) The assertion result.

Description

Asserts that a value does not match a regular expression pattern using preg_match().