/php-src/ext/standard/ |
H A D | assert.c | 24 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 D | expect_001.phpt | 5 assert.exception=1 8 assert(true);
|
H A D | expect_empty_stmt_bug.phpt | 2 Empty statement in assert() shouldn't segfault 6 assert((function () { return true; })());
|
H A D | expect_014.phpt | 5 assert.exception=1 8 assert(false);
|
H A D | expect_013.phpt | 5 assert.exception=1 8 var_dump(assert(false));
|
H A D | expect_004.phpt | 5 assert.exception=1 9 assert(false, "I require this to succeed");
|
H A D | expect_005.phpt | 5 assert.exception=1 10 assert(true, "I require this to succeed");
|
H A D | expect_015.phpt | 8 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 D | expect_007.phpt | 5 assert.exception=1 16 assert (preg_match("~^([a-zA-Z0-9-]+)$~", $data["key"]), new HeaderMalfunctionError("malformed key …
|
H A D | expect_017.phpt | 8 var_dump(assert(false)); 9 var_dump(assert(true));
|
/php-src/ext/dom/tests/delayed_freeing/ |
H A D | gh9628_2.phpt | 30 \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 D | first_class_callable_assert3.phpt | 2 new class(...) in assert 6 assert(new class(...) {});
|
H A D | first_class_callable_assert2.phpt | 2 Foo(...) in attribute in assert 5 assert(function() {
|
H A D | gh11580.phpt | 2 GH-11580: assert() with ??= operator can lead to use-of-uninitialized-value 7 assert(y)[y] ??= y;
|
/php-src/ext/dom/tests/ |
H A D | DOMNode_insertBefore_error6.phpt | 16 assert($doc === true); 19 assert(!is_null($parent_node)); 23 assert($new_node !== false);
|
H A D | DOMNode_insertBefore_error4.phpt | 16 assert($doc === true); 19 assert(!is_null($parent_node)); 22 assert($new_node !== false);
|
H A D | DOMNode_insertBefore_error2.phpt | 16 assert($doc === true); 19 assert(!is_null($parent_node)); 22 assert($new_node !== false);
|
H A D | DOMNode_insertBefore_error5.phpt | 16 assert($doc === true); 19 assert(!is_null($parent_node)); 22 assert($new_node !== false);
|
/php-src/Zend/tests/function_arguments/ |
H A D | sensitive_parameter_correctly_captures_original.phpt | 23 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 D | typed_class_constants_ast_print.phpt | 7 assert(false && new class { 16 assert(false && new class {
|
/php-src/ext/dom/lexbor/patches/ |
H A D | 0001-Patch-utilities-and-data-structure-to-be-able-to-gen.patch | 76 + 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 D | ast-dumper.phpt | 7 assert((function () { 31 assert(function () {
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_driver_interface.phpt | 49 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 D | inflate_init_reuse.phpt | 16 assert($inflated === $uncompressed); 24 assert($inflated === $uncompressed);
|
/php-src/ext/standard/tests/assert/ |
H A D | bug80290.phpt | 11 assert(false, 'Dynamic message: ' . $x); 22 #0 %s(%d): assert(false, 'Dynamic message...')
|