Searched refs:assert_options (Results 1 – 19 of 19) sorted by relevance
/PHP-8.1/ext/standard/tests/assert/ |
H A D | assert_basic4.phpt | 2 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 D | assert_variation.phpt | 30 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 D | assert.phpt | 24 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 D | assert_basic6.phpt | 13 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 D | assert_options_error.phpt | 2 assert_options() - unknown assert option. 7 assert_options(1000); 13 assert_options(): Argument #1 ($option) must be an ASSERT_* constant
|
H A D | assert04.phpt | 12 assert_options(ASSERT_ACTIVE, 0); 16 assert_options(ASSERT_ACTIVE, 1); 23 assert_options(ASSERT_BAIL, 1);
|
H A D | assert_basic5.phpt | 2 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 D | assert03.phpt | 21 assert_options(ASSERT_ACTIVE,1); 22 assert_options(ASSERT_WARNING,0); 26 assert_options(ASSERT_CALLBACK, "a");
|
H A D | assert_basic2.phpt | 21 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 D | assert_closures.phpt | 10 assert_options(ASSERT_CALLBACK, function () { echo "Hello World!\n"; });
|
H A D | assert_basic3.phpt | 17 var_dump($rao=assert_options(ASSERT_BAIL, 1));
|
H A D | bug80290.phpt | 6 assert_options(ASSERT_CALLBACK, function($file, $line, $unused, $message) {
|
H A D | assert_error2.phpt | 19 var_dump($rao = assert_options(ASSERT_BAIL, 1));
|
/PHP-8.1/tests/lang/ |
H A D | zend_throw_exception_001.phpt | 5 assert_options(ASSERT_EXCEPTION, true);
|
/PHP-8.1/Zend/tests/ast/ |
H A D | zend-pow-assign.phpt | 9 assert_options(ASSERT_WARNING);
|
/PHP-8.1/Zend/tests/ |
H A D | ast_serialize_backtick_literal.phpt | 9 assert_options(ASSERT_WARNING);
|
/PHP-8.1/ext/standard/ |
H A D | assert.c | 207 PHP_FUNCTION(assert_options) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 707 function assert_options(int $option, mixed $value = UNKNOWN): mixed {} function
|
H A D | basic_functions_arginfo.h | 2455 ZEND_FUNCTION(assert_options); 3092 ZEND_FE(assert_options, arginfo_assert_options)
|
Completed in 37 milliseconds