Home
last modified time | relevance | path

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

/php-src/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";
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 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";
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 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));
37 Deprecated: Function assert_options() is deprecated in %s on line %d
41 Deprecated: Function assert_options() is deprecated in %s on line %d
49 Deprecated: Function assert_options() is deprecated in %s on line %d
53 Deprecated: Function assert_options() is deprecated in %s on line %d
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"));
46 Deprecated: Function assert_options() is deprecated in %s on line %d
50 Deprecated: Function assert_options() is deprecated in %s on line %d
54 Deprecated: Function assert_options() is deprecated in %s on line %d
59 Deprecated: Function assert_options() is deprecated in %s on line %d
64 Deprecated: Function assert_options() is deprecated in %s on line %d
H A Dassert_options_error.phpt2 assert_options() - unknown assert option.
7 assert_options(1000);
13 Deprecated: Function assert_options() is deprecated in %s on line %d
14 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);
34 Deprecated: Function assert_options() is deprecated in %s on line %d
38 Deprecated: Function assert_options() is deprecated in %s on line %d
44 Deprecated: Function assert_options() is deprecated in %s on line %d
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));
35 Deprecated: Function assert_options() is deprecated in %s on line %d
43 Deprecated: Function assert_options() is deprecated in %s on line %d
48 Deprecated: Function assert_options() is deprecated in %s on line %d
H A Dassert03.phpt21 assert_options(ASSERT_ACTIVE,1);
22 assert_options(ASSERT_WARNING,0);
26 assert_options(ASSERT_CALLBACK, "a");
41 Deprecated: Function assert_options() is deprecated in %s on line %d
45 Deprecated: Function assert_options() is deprecated in %s on line %d
49 Deprecated: Function assert_options() is deprecated in %s on line %d
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));
33 Deprecated: Function assert_options() is deprecated in %s on line %d
43 Deprecated: Function assert_options() is deprecated in %s on line %d
H A Dassert_closures.phpt10 assert_options(ASSERT_CALLBACK, function () { echo "Hello World!\n"; });
18 Deprecated: Function assert_options() is deprecated in %s on line %d
H A Dassert_closures_multiple.phpt10 assert_options(ASSERT_CALLBACK, function ($f) {});
37 Deprecated: Function assert_options() is deprecated in %s on line %d
H A Dbug80290.phpt6 assert_options(ASSERT_CALLBACK, function($file, $line, $unused, $message) {
17 Deprecated: Function assert_options() is deprecated in %s on line %d
H A Dassert_basic3.phpt17 var_dump($rao=assert_options(ASSERT_BAIL, 1));
28 Deprecated: Function assert_options() is deprecated in %s on line %d
H A Dassert_error2.phpt19 var_dump($rao = assert_options(ASSERT_BAIL, 1));
30 Deprecated: Function assert_options() is deprecated in %s on line %d
/php-src/ext/standard/
H A Dassert.c250 PHP_FUNCTION(assert_options) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php2297 function assert_options(int $option, mixed $value = UNKNOWN): mixed {}
H A Dbasic_functions_arginfo.h2540 ZEND_FUNCTION(assert_options);

Completed in 46 milliseconds