| Comment | Line | Code | Result | Test | 
|---|---|---|---|---|
| check test ok | 20 | 
$result = 15; | [0.003 ms] 15 | Ok | 
| check test Error | 25 | 
$result = 100; | [0.001 ms] 100 | Error | 
| checkEqual test ok, result is int | 30 | 
$result = 15; | [0.001 ms] 15 | Ok | 
| checkEqual test ok, result is array | 35 | 
$result = [1,2]; | [0.000 ms] array ( 0 => 1, 1 => 2, ) | Ok | 
| checkEqual Error, result is a string, not float | 40 | 
$result = "3.25"; | [0.001 ms] '3.25' | Error | 
| checkNotEqual test ok | 45 | 
$result = 3.25; | [0.001 ms] 3.25 | Ok | 
| checkNotEqual test Error | 50 | 
$result = null; | [0.000 ms] NULL | Error | 
| checkEqualHex test ok | 55 | 
//If the result is a string,  | [0.000 ms] '71 23' | Ok | 
| checkEqualHex test Error | 62 | 
$result = "test\n"; | [0.000 ms] '74 65 73 74 0A' | Error | 
| checkContains test ok | 67 | 
//The test is ok if the elements of the list | [0.001 ms] 'A B CDE F' | Ok | 
| checkContains test Error | 74 | 
$result = "A B C D E F"; | [0.001 ms] 'A B C D E F' | Error | 
| checkHTML test ok | 79 | 
//ok if the string is valid html | [0.001 ms] '<td class=\'c1\'>123</td>' | Ok | 
| checkHTML test Error invalid HTML | 84 | 
$result = "<td class='c1'>123</tr>"; | User Warning: Ln:1 - Unexpected end tag : tr (phpcheck.php line 230) [0.001 ms] '<td class=\'c1\'>123</tr>' | Error | 
| checkHTML test ok | 88 | 
//ok if the string is valid html | [0.001 ms] '<td class=\'c1\'>123</td>' | Ok | 
| checkHTML test Error: class not c1 | 95 | 
$result = "<td class='other'>123</td>"; | [0.000 ms] '<td class=\'other\'>123</td>' | Error | 
| checkOutput ok | 100 | 
//startOutput used | [0.001 ms] 'Hello world' | Ok | 
| checkOutput Error | 105 | 
//startOutput used | [0.000 ms] 'Hello my world' | Error | 
| check Exception: ok | 110 | 
//the code that throws an exception  | [0.002 ms] 'Exception: Exception ""' | Ok | 
| check Exception: Error | 118 | 
$checkFct = function(){ | [0.001 ms] '' | Error | 
| check Exception and typ: ok | 124 | 
$checkFct = function(){ | [0.001 ms] 'Exception: InvalidArgumentException ""' | Ok | 
| check Exception and typ: Error | 130 | 
$checkFct = function(){ | [0.001 ms] 'Exception: InvalidArgumentException ""' | Error | 
| checkMultipletest ok 3 * 4 | 141 | 
$expected = 12;
 | [0.003 ms] 12 | Ok | 
| checkMultipletest error 3 * 4 | 141 | 
$expected = 13;
 | [0.001 ms] 12 | Error |