Home
last modified time | relevance | path

Searched refs:assert (Results 26 – 50 of 156) sorted by relevance

1234567

/PHP-5.5/ext/dom/tests/
H A DDOMNode_insertBefore_error4.phpt10 assert.bail=true
18 assert('$doc === true');
21 assert('!is_null($parent_node)');
24 assert('$new_node !== false');
H A DDOMNode_insertBefore_error2.phpt10 assert.bail=true
18 assert('$doc === true');
21 assert('!is_null($parent_node)');
24 assert('$new_node !== false');
H A DDOMNode_insertBefore_error5.phpt10 assert.bail=true
18 assert('$doc === true');
21 assert('!is_null($parent_node)');
24 assert('$new_node !== false');
H A DDOMDocument_loadHTMLfile_error2.phpt8 assert.bail=true
15 assert('$result === false');
18 assert('$result === false');
H A DDOMDocument_loadHTMLfile.phpt8 assert.bail=true
15 assert('$result === true');
H A DDOMDocument_loadHTMLfile_variation2.phpt8 assert.bail=true
15 assert('$result === true');
H A DDOMDocument_loadHTMLfile_variation1.phpt8 assert.bail=true
15 assert('$result === true');
H A DDOMDocument_loadHTMLfile_error1.phpt8 assert.bail=true
15 assert('$result === false');
H A Ddomdocumentload_test_method.php11 assert('$result === $expectedResult');
H A Ddomdocumentloadxml_test_method.php11 assert('$result === $expectedResult');
H A Ddomdocumentload_test_method_savexml.php11 assert('$result === $expectedResult');
H A Ddomdocumentloadxml_test_method_savexml.php11 assert('$result === $expectedResult');
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_class_mysqli_interface.phpt171 assert(mysqli_get_client_info() === $mysqli->client_info);
181 assert(mysqli_errno($link) === $mysqli->errno);
186 assert(mysqli_error($link) === $mysqli->error);
192 assert(mysqli_error_list($link) === $mysqli->error_list);
193 assert(is_array($mysqli->error_list));
196 assert(mysqli_field_count($link) === $mysqli->field_count);
201 assert(mysqli_insert_id($link) === $mysqli->insert_id);
206 assert(mysqli_sqlstate($link) === $mysqli->sqlstate);
222 assert(mysqli_info($link) == $mysqli->info);
227 assert(mysqli_thread_id($link) > $mysqli->thread_id);
[all …]
H A Dmysqli_class_mysqli_stmt_interface.phpt84 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows);
91 assert(mysqli_stmt_affected_rows($stmt) === $stmt->affected_rows);
94 assert(mysqli_stmt_errno($stmt) === $stmt->errno);
97 assert(mysqli_stmt_error($stmt) === $stmt->error);
100 assert(mysqli_stmt_error_list($stmt) === $stmt->error_list);
103 assert(mysqli_stmt_field_count($stmt) === $stmt->field_count);
106 assert($stmt->id > 0);
109 assert(mysqli_stmt_insert_id($stmt) === $stmt->insert_id);
112 assert(mysqli_stmt_num_rows($stmt) === $stmt->num_rows);
115 assert(mysqli_stmt_param_count($stmt) === $stmt->param_count);
[all …]
H A Dmysqli_class_mysqli_driver_interface.phpt62 assert(mysqli_get_client_info() === $driver->client_info);
65 assert(mysqli_get_client_version() === $driver->client_version);
68 assert($driver->driver_version > 0);
71 assert(in_array($driver->report_mode,
83 assert($driver->report_mode === MYSQLI_REPORT_STRICT);
85 assert(is_bool($driver->embedded));
H A Dmysqli_class_mysqli_result_interface.phpt20 assert(mysqli_fetch_row($res) === $row);
82 assert(($tmp = mysqli_field_tell($res)) === $mysqli_result->current_field);
87 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count);
92 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths);
99 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows);
104 assert(in_array($mysqli_result->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT)));
H A Dmysqli_class_mysqli_warning.phpt78 assert('' === $warning->message);
81 assert('' === $warning->sqlstate);
84 assert(0 === $warning->errno);
/PHP-5.5/ext/standard/
H A Dassert.c27 ZEND_BEGIN_MODULE_GLOBALS(assert)
34 ZEND_END_MODULE_GLOBALS(assert)
36 ZEND_DECLARE_MODULE_GLOBALS(assert)
96 PHP_MINIT_FUNCTION(assert) /* {{{ */ in PHP_MINIT_FUNCTION() argument
98 ZEND_INIT_MODULE_GLOBALS(assert, php_assert_init_globals, NULL); in PHP_MINIT_FUNCTION()
112 PHP_MSHUTDOWN_FUNCTION(assert) /* {{{ */ in PHP_MSHUTDOWN_FUNCTION() argument
122 PHP_RSHUTDOWN_FUNCTION(assert) /* {{{ */ in PHP_RSHUTDOWN_FUNCTION() argument
133 PHP_MINFO_FUNCTION(assert) /* {{{ */ in PHP_MINFO_FUNCTION() argument
141 PHP_FUNCTION(assert) in PHP_FUNCTION() argument
/PHP-5.5/main/streams/
H A Dmemory.c52 assert(ms != NULL); in php_stream_memory_write()
75 assert(buf!= NULL); in php_stream_memory_write()
88 assert(ms != NULL); in php_stream_memory_read()
99 assert(buf!= NULL); in php_stream_memory_read()
113 assert(ms != NULL); in php_stream_memory_close()
137 assert(ms != NULL); in php_stream_memory_seek()
208 assert(ms != NULL); in php_stream_memory_stat()
342 assert(ms != NULL); in _php_stream_memory_get_buffer()
366 assert(ts != NULL); in php_stream_temp_write()
398 assert(ts != NULL); in php_stream_temp_read()
[all …]
/PHP-5.5/tests/lang/
H A Dbug23922.phpt10 { assert('$this->foo == 1'); }
13 { assert($this->foo == 1); }
/PHP-5.5/ext/ereg/regex/
H A Dregcomp.c512 assert(i < NPAREN);
514 assert(i <= p->g->nsub);
833 assert(isalpha(ch));
936 assert(from <= to);
966 assert(copy == finish+4);
1132 assert(never);
1195 assert(fp != NULL);
1360 assert(finish >= start);
1390 assert(opnd < 1<<OPSHIFT);
1422 assert(HERE() == sn+1);
[all …]
/PHP-5.5/sapi/isapi/stresstest/
H A Dgetopt.c72 assert((argv[ap_optind][0] == '-') && argv[ap_optind][1]); in ap_getopt()
78 assert(dash); in ap_getopt()
128 assert(0); in ap_getopt()
/PHP-5.5/sapi/milter/
H A Dgetopt.c70 assert((argv[ap_php_optind][0] == '-') && argv[ap_php_optind][1]); in ap_php_getopt()
76 assert(dash); in ap_php_getopt()
126 assert(0); in ap_php_getopt()
/PHP-5.5/ext/openssl/tests/
H A Dsni_001.phpt34 assert($ary);
37 assert($cert);
46 assert($fh);
55 assert($fh);
64 assert($fh);
67 assert($r);
/PHP-5.5/ext/sockets/
H A Dmulticast.c460 assert(greq.gr_group.ss_family != 0); /* the caller has set this */ in _php_mcast_join_leave()
471 assert(group_len == sizeof(struct sockaddr_in)); in _php_mcast_join_leave()
490 assert(group_len == sizeof(struct sockaddr_in6)); in _php_mcast_join_leave()
524 assert(gsreq.gsr_group.ss_family != 0); in _php_mcast_source_op()
526 assert(gsreq.gsr_source.ss_family != 0); in _php_mcast_source_op()
539 assert(group_len == sizeof(struct sockaddr_in)); in _php_mcast_source_op()
540 assert(source_len == sizeof(struct sockaddr_in)); in _php_mcast_source_op()
585 assert(0); in _php_source_op_to_rfc3678_op()
602 assert(0); in _php_source_op_to_string()
619 assert(0); in _php_source_op_to_ipv4_op()

Completed in 62 milliseconds

1234567