Previous Page
dump()

Solar_Test
error()

Next Page
fail()

error()

public void error ( int $code, string $text, string $file, int $line )

Error handler for this test; throws a test failure.

Parameters

  • (int) $code: The PHP error level code.
  • (string) $text: The PHP error string.
  • (string) $file: The file where the error occurred.
  • (int) $line: The line number in that file.

Returns

  • (void)

Description

Error handler for this test; throws a test failure.