Searched refs:assert_options (Results 1 – 19 of 19) sorted by relevance
/php-src/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"; 34 Initial values: assert_options(ASSERT_ACTIVE) => [0] 39 Initial values: assert_options(ASSERT_WARNING) => [0] 44 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"; 63 var_dump($rao=assert_options(ASSERT_CALLBACK)); 71 var_dump($rao=assert_options(ASSERT_CALLBACK)); 77 assert_options(ASSERT_CALLBACK, 3.141); 78 var_dump($rao = assert_options(ASSERT_CALLBACK)); 104 assert_options(ASSERT_CALLBACK) => [f2] 119 assert_options(ASSERT_CALLBACK) => [f3] [all …]
|
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)); 37 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 41 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 49 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 53 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
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")); 46 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 50 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 54 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 59 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 64 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
H A D | assert_options_error.phpt | 2 assert_options() - unknown assert option. 7 assert_options(1000); 13 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 14 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); 34 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 38 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 44 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
H A D | assert03.phpt | 21 assert_options(ASSERT_ACTIVE,1); 22 assert_options(ASSERT_WARNING,0); 26 assert_options(ASSERT_CALLBACK, "a"); 41 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 45 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 49 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
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)); 35 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 43 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 48 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
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)); 33 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 43 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
H A D | assert_closures.phpt | 10 assert_options(ASSERT_CALLBACK, function () { echo "Hello World!\n"; }); 18 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
H A D | assert_closures_multiple.phpt | 10 assert_options(ASSERT_CALLBACK, function ($f) {}); 37 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
H A D | bug80290.phpt | 6 assert_options(ASSERT_CALLBACK, function($file, $line, $unused, $message) { 17 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
H A D | assert_basic3.phpt | 17 var_dump($rao=assert_options(ASSERT_BAIL, 1)); 28 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
H A D | assert_error2.phpt | 19 var_dump($rao = assert_options(ASSERT_BAIL, 1)); 30 Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
|
/php-src/Zend/tests/ |
H A D | gh16293_002.phpt | 6 @assert_options(ASSERT_EXCEPTION, 0); 7 @assert_options(ASSERT_BAIL, 1); 8 @assert_options(ASSERT_CALLBACK, function () {
|
H A D | gh16293_001.phpt | 6 @assert_options(ASSERT_EXCEPTION, 0); 7 @assert_options(ASSERT_BAIL, 1); 8 @assert_options(ASSERT_CALLBACK, 'f1');
|
/php-src/ext/standard/ |
H A D | assert.c | 255 PHP_FUNCTION(assert_options) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 2285 function assert_options(int $option, mixed $value = UNKNOWN): mixed {}
|
H A D | basic_functions_arginfo.h | 2511 ZEND_FUNCTION(assert_options);
|
Completed in 39 milliseconds