Home
last modified time | relevance | path

Searched refs:assert (Results 51 – 75 of 199) sorted by relevance

12345678

/php-src/ext/standard/
H A Dassert.c24 ZEND_BEGIN_MODULE_GLOBALS(assert)
31 ZEND_END_MODULE_GLOBALS(assert)
33 ZEND_DECLARE_MODULE_GLOBALS(assert)
35 #define ASSERTG(v) ZEND_MODULE_GLOBALS_ACCESSOR(assert, v)
137 PHP_MINIT_FUNCTION(assert) /* {{{ */ in PHP_MINIT_FUNCTION() argument
139 ZEND_INIT_MODULE_GLOBALS(assert, php_assert_init_globals, NULL); in PHP_MINIT_FUNCTION()
147 PHP_MSHUTDOWN_FUNCTION(assert) /* {{{ */ in PHP_MSHUTDOWN_FUNCTION() argument
157 PHP_RSHUTDOWN_FUNCTION(assert) /* {{{ */ in PHP_RSHUTDOWN_FUNCTION() argument
168 PHP_MINFO_FUNCTION(assert) /* {{{ */ in PHP_MINFO_FUNCTION() argument
175 PHP_FUNCTION(assert) in PHP_FUNCTION() argument
/php-src/Zend/tests/assert/
H A Dexpect_001.phpt5 assert.exception=1
8 assert(true);
H A Dexpect_empty_stmt_bug.phpt2 Empty statement in assert() shouldn't segfault
6 assert((function () { return true; })());
H A Dexpect_014.phpt5 assert.exception=1
8 assert(false);
H A Dexpect_013.phpt5 assert.exception=1
8 var_dump(assert(false));
H A Dexpect_004.phpt5 assert.exception=1
9 assert(false, "I require this to succeed");
H A Dexpect_005.phpt5 assert.exception=1
10 assert(true, "I require this to succeed");
H A Dexpect_015.phpt8 assert(0 && ($a = function () {
27 assert(0 && ($a = function &(array &$a, ?X $b = null) use ($c,&$d) : ?X {
76 assert(0 && ($a = function &(array &$a, X $b = null, int|float $c) use ($c,&$d) : X {
112 assert(0 && ($a = function &(?array &$a, X $b = null) use ($c,&$d) : X {
128 assert(0 && ($a = function &(array &...$a) {
145 assert(0 && ($a = function (): ?static {
174 assert(0 && ($a = function () {
190 assert(0 && ($a = function &(array &$a, ?X $b = null) use($c, &$d): ?X {
273 assert(0 && ($a = function &(?array &$a, X $b = null) use($c, &$d): X {
285 assert(0 && ($a = function &(array &...$a) {
[all …]
H A Dexpect_007.phpt5 assert.exception=1
16 assert (preg_match("~^([a-zA-Z0-9-]+)$~", $data["key"]), new HeaderMalfunctionError("malformed key …
H A Dexpect_017.phpt8 var_dump(assert(false));
9 var_dump(assert(true));
/php-src/ext/dom/tests/delayed_freeing/
H A Dgh9628_2.phpt30 \assert(\count($spans) === 2);
33 \assert($span instanceof \DOMElement);
34 \assert($span->ownerDocument === $doc);
38 \assert($span instanceof \DOMElement);
/php-src/Zend/tests/
H A Dfirst_class_callable_assert3.phpt2 new class(...) in assert
6 assert(new class(...) {});
H A Dfirst_class_callable_assert2.phpt2 Foo(...) in attribute in assert
5 assert(function() {
H A Dgh11580.phpt2 GH-11580: assert() with ??= operator can lead to use-of-uninitialized-value
7 assert(y)[y] ??= y;
/php-src/ext/dom/tests/
H A DDOMNode_insertBefore_error6.phpt16 assert($doc === true);
19 assert(!is_null($parent_node));
23 assert($new_node !== false);
H A DDOMNode_insertBefore_error4.phpt16 assert($doc === true);
19 assert(!is_null($parent_node));
22 assert($new_node !== false);
H A DDOMNode_insertBefore_error2.phpt16 assert($doc === true);
19 assert(!is_null($parent_node));
22 assert($new_node !== false);
H A DDOMNode_insertBefore_error5.phpt16 assert($doc === true);
19 assert(!is_null($parent_node));
22 assert($new_node !== false);
/php-src/Zend/tests/function_arguments/
H A Dsensitive_parameter_correctly_captures_original.phpt23 assert($testFrame['args'][1] instanceof SensitiveParameterValue);
45 assert($testFrame['args'][1] instanceof SensitiveParameterValue);
47 assert($testFrame['args'][2] instanceof SensitiveParameterValue);
49 assert($testFrame['args'][3] instanceof SensitiveParameterValue);
/php-src/Zend/tests/type_declarations/
H A Dtyped_class_constants_ast_print.phpt7 assert(false && new class {
16 assert(false && new class {
/php-src/ext/dom/lexbor/patches/
H A D0001-Patch-utilities-and-data-structure-to-be-able-to-gen.patch76 + assert entry[0] < 2**32
77 + assert entry[1] < 2**32
78 + assert entry[2] < 2**32
90 + assert entry[0] < 2**32
91 + assert entry[1] < 2**32
92 + assert entry[2] < 2**32
/php-src/Zend/tests/enum/
H A Dast-dumper.phpt7 assert((function () {
31 assert(function () {
/php-src/ext/mysqli/tests/
H A Dmysqli_class_mysqli_driver_interface.phpt49 assert(mysqli_get_client_info() === $driver->client_info);
52 assert(mysqli_get_client_version() === $driver->client_version);
57 assert(in_array($driver->report_mode, [
70 assert($driver->report_mode === MYSQLI_REPORT_STRICT);
/php-src/ext/zlib/tests/
H A Dinflate_init_reuse.phpt16 assert($inflated === $uncompressed);
24 assert($inflated === $uncompressed);
/php-src/ext/standard/tests/assert/
H A Dbug80290.phpt11 assert(false, 'Dynamic message: ' . $x);
22 #0 %s(%d): assert(false, 'Dynamic message...')

Completed in 97 milliseconds

12345678