Home
last modified time | relevance | path

Searched refs:assert_options (Results 1 – 19 of 19) sorted by relevance

/PHP-8.0/ext/standard/tests/assert/
H A Dassert_basic4.phpt2 assert() - basic - test initial values using ini.get and assert_options
10 // Check the initial settings for all assert_options
12 //Using assert_options;
13 echo "Initial values: assert_options(ASSERT_ACTIVE) => [".assert_options(ASSERT_ACTIVE)."]\n";
14 echo "Initial values: assert_options(ASSERT_WARNING) => [".assert_options(ASSERT_WARNING)."]\n";
15 echo "Initial values: assert_options(ASSERT_BAIL) => [".assert_options(ASSERT_BAIL)."]\n";
16 echo "Initial values: assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
25 Initial values: assert_options(ASSERT_ACTIVE) => [0]
26 Initial values: assert_options(ASSERT_WARNING) => [0]
27 Initial values: assert_options(ASSERT_BAIL) => [0]
[all …]
H A Dassert_variation.phpt30 echo "Initial values: assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
37 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
44 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
52 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
59 var_dump($rao=assert_options(ASSERT_CALLBACK));
67 var_dump($rao=assert_options(ASSERT_CALLBACK));
73 assert_options(ASSERT_CALLBACK, 3.141);
74 var_dump($rao = assert_options(ASSERT_CALLBACK));
85 assert_options(ASSERT_CALLBACK) => [f2]
92 assert_options(ASSERT_CALLBACK) => [f3]
[all …]
H A Dassert.phpt24 assert_options(ASSERT_ACTIVE,1);
25 assert_options(ASSERT_WARNING,0);
29 assert_options(ASSERT_CALLBACK,"a");
32 assert_options(ASSERT_CALLBACK,array("a","assert"));
36 assert_options(ASSERT_CALLBACK,array(&$obj,"assert"));
H A Dassert_basic6.phpt13 assert_options(ASSERT_CALLBACK, "f1");
14 var_dump(assert_options(ASSERT_CALLBACK));
24 assert_options(ASSERT_CALLBACK, null);
25 var_dump(assert_options(ASSERT_CALLBACK));
H A Dassert_options_error.phpt2 assert_options() - unknown assert option.
7 assert_options(1000);
13 assert_options(): Argument #1 ($option) must be an ASSERT_* constant
H A Dassert04.phpt12 assert_options(ASSERT_ACTIVE, 0);
16 assert_options(ASSERT_ACTIVE, 1);
23 assert_options(ASSERT_BAIL, 1);
H A Dassert_basic5.phpt2 assert() - basic - check switch on warnings using assert_options.
17 var_dump($rao=assert_options(ASSERT_WARNING, 1));
22 var_dump($rao=assert_options(ASSERT_WARNING, 0));
H A Dassert03.phpt21 assert_options(ASSERT_ACTIVE,1);
22 assert_options(ASSERT_WARNING,0);
26 assert_options(ASSERT_CALLBACK, "a");
H A Dassert_basic2.phpt21 var_dump($o = assert_options(ASSERT_CALLBACK));
24 var_dump($o= assert_options(ASSERT_CALLBACK, "f2"));
25 var_dump($n= assert_options(ASSERT_CALLBACK));
H A Dassert_closures.phpt10 assert_options(ASSERT_CALLBACK, function () { echo "Hello World!\n"; });
H A Dassert_basic3.phpt17 var_dump($rao=assert_options(ASSERT_BAIL, 1));
H A Dbug80290.phpt6 assert_options(ASSERT_CALLBACK, function($file, $line, $unused, $message) {
H A Dassert_error2.phpt19 var_dump($rao = assert_options(ASSERT_BAIL, 1));
/PHP-8.0/tests/lang/
H A Dzend_throw_exception_001.phpt5 assert_options(ASSERT_EXCEPTION, true);
/PHP-8.0/Zend/tests/ast/
H A Dzend-pow-assign.phpt9 assert_options(ASSERT_WARNING);
/PHP-8.0/Zend/tests/
H A Dast_serialize_backtick_literal.phpt9 assert_options(ASSERT_WARNING);
/PHP-8.0/ext/standard/
H A Dassert.c207 PHP_FUNCTION(assert_options) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php533 function assert_options(int $option, mixed $value = UNKNOWN): mixed {} function
H A Dbasic_functions_arginfo.h2445 ZEND_FUNCTION(assert_options);
3079 ZEND_FE(assert_options, arginfo_assert_options)

Completed in 82 milliseconds