/php-src/Zend/tests/ |
H A D | gh8810_5.phpt | 2 GH-8810: Fix reported line number of multi-line assert call 6 assert( 12 Fatal error: Uncaught AssertionError: assert(false) in %s:3 14 #0 %s(3): assert(false, 'assert(false)')
|
H A D | bug71922.phpt | 2 Bug #71922: Crash on assert(new class{}); 5 assert.exception=1 10 assert(0 && new class { 19 Assertion failure: assert(0 && new class {
|
H A D | exception_011.phpt | 9 assert(false); 15 Fatal error: Uncaught AssertionError: assert(false) in %sexception_011.php:%d 17 #0 %sexception_011.php(%d): assert(false, 'assert(false)')
|
H A D | custom_assert_forbidden.phpt | 2 Defining a free-standing assert() function is deprecated 8 function assert() {} 12 Fatal error: Defining a custom assert() function is not allowed, as the function has special semant…
|
H A D | gh7900.phpt | 5 assert.exception=1 18 assert((fn(): never => 42) && false); 26 assert(fn(): never => 42 && false)
|
/php-src/Zend/tests/assert/ |
H A D | expect_002.phpt | 5 assert.exception=1 8 assert(false); 12 Fatal error: Uncaught AssertionError: assert(false) in %sexpect_002.php:%d 14 #0 %sexpect_002.php(%d): assert(false, 'assert(false)')
|
H A D | expect_009.phpt | 5 assert.exception=1 14 assert(false); 20 Fatal error: Uncaught AssertionError: assert(false) in %sexpect_009.php:%d 22 #0 %sexpect_009.php(%d): assert(false, 'assert(false)')
|
H A D | expect_010.phpt | 5 assert.exception=1 10 assert(false); 18 Fatal error: Uncaught AssertionError: assert(false) in %sexpect_010.php:%d 20 #0 %sexpect_010.php(%d): assert(false, 'assert(false)')
|
H A D | expect_019.phpt | 9 var_dump(\assert(false)); 10 var_dump(\assert(true)); 11 var_dump(assert(false)); 12 var_dump(assert(true));
|
H A D | expect_020.phpt | 8 assert(0 && ($a = function () { 13 echo 'assert(): ', $e->getMessage(), ' failed', PHP_EOL; 17 assert(): assert(0 && ($a = function () {
|
H A D | expect_003.phpt | 5 assert.exception=1 9 assert(false); 15 string(13) "assert(false)"
|
H A D | expect_006.phpt | 2 test looping assert (pass) 5 assert.exception=1 9 assert ($i < 100000, "The universe should make sense");
|
H A D | expect_012.phpt | 5 assert.exception=1 11 assert(false); 14 assert(true);
|
H A D | expect_011.phpt | 5 assert.exception=1 17 assert(false, (string) new MyExpectations()); 27 #0 %sexpect_011.php(%d): assert(false, '[Message]: MyEx...')
|
/php-src/Zend/tests/ast/ |
H A D | zend-pow-assign.phpt | 9 assert(false && ($a **= 2)); 11 echo 'assert(): ', $e->getMessage(), ' failed', PHP_EOL; 15 assert(): assert(false && ($a **= 2)) failed
|
H A D | ast_serialize_backtick_literal.phpt | 9 assert(false && `echo -n ""`); 11 echo 'assert(): ', $e->getMessage(), ' failed', PHP_EOL; 16 assert(): assert(false && `echo -n ""`) failed
|
/php-src/ext/standard/tests/assert/ |
H A D | assert_basic6.phpt | 2 assert() - Remove the assert callback 4 assert.active=1 17 assert(false); 28 assert(false); 44 assert(false) 55 assert(false)
|
H A D | assert_custom_exception.phpt | 2 Throwing custom exception object from assert() throws given object 5 assert.exception = 1 9 assert(false, new CustomException('Exception message'));
|
/php-src/Zend/tests/match/ |
H A D | 009_ast_export.phpt | 9 assert((function () { 17 echo 'assert(): ', $e->getMessage(), ' failed', PHP_EOL; 22 assert(): assert(function () {
|
/php-src/tests/lang/ |
H A D | zend_throw_exception_001.phpt | 6 $assert = 'assert'; 7 $assert(false);
|
/php-src/Zend/tests/type_declarations/ |
H A D | types_in_ast.phpt | 8 assert(0 && ($a = function (int $a, ?int $b, int $c = null): ?int { 16 echo 'assert(): ', $e->getMessage(), ' failed', PHP_EOL; 20 assert(): assert(0 && ($a = function (int $a, ?int $b, int $c = null): ?int {
|
/php-src/ext/dom/tests/ |
H A D | DOMNode_insertBefore_error3.phpt | 16 assert($doc === true); 19 assert(!is_null($parent_node)); 22 assert($new_node !== false); 27 assert(!is_null($ref_node));
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_interface.phpt | 162 assert(mysqli_get_client_info() === $mysqli->client_info); 172 assert(mysqli_errno($link) === $mysqli->errno); 177 assert(mysqli_error($link) === $mysqli->error); 182 assert(mysqli_error_list($link) === $mysqli->error_list); 183 assert(is_array($mysqli->error_list)); 190 assert(mysqli_insert_id($link) === $mysqli->insert_id); 195 assert(mysqli_sqlstate($link) === $mysqli->sqlstate); 206 assert(mysqli_info($link) == $mysqli->info); 211 assert(mysqli_thread_id($link) > $mysqli->thread_id); 249 assert(mysqli_connect_error() === $mysqli->connect_error); [all …]
|
H A D | mysqli_class_mysqli_stmt_interface.phpt | 97 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows); 100 assert(mysqli_stmt_errno($stmt) === $stmt->errno); 103 assert(mysqli_stmt_error($stmt) === $stmt->error); 106 assert(mysqli_stmt_error_list($stmt) === $stmt->error_list); 109 assert(mysqli_stmt_field_count($stmt) === $stmt->field_count); 112 assert($stmt->id > 0); 115 assert(mysqli_stmt_insert_id($stmt) === $stmt->insert_id); 118 assert(mysqli_stmt_num_rows($stmt) === $stmt->num_rows); 121 assert(mysqli_stmt_param_count($stmt) === $stmt->param_count); 124 assert(mysqli_stmt_sqlstate($stmt) === $stmt->sqlstate);
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | generate_name_perfect_hash_table.php | 8 assert(isset($matches[1])); 77 …assert(isset($encoding_pointer_array_name_mapping[$encoding_pointer]), "Missing entry for $encodin… 94 assert(isset($matches[1])); 102 assert(isset($matches[1]));
|