Searched refs:assert_options (Results 1 – 17 of 17) sorted by relevance
/PHP-5.6/ext/standard/tests/assert/ |
H A D | assert_basic4.phpt | 11 // Check the initial settings for all assert_options 13 //Using assert_options; 14 echo "Initial values: assert_options(ASSERT_ACTIVE) => [".assert_options(ASSERT_ACTIVE)."]\n"; 15 echo "Initial values: assert_options(ASSERT_WARNING) => [".assert_options(ASSERT_WARNING)."]\n"; 16 echo "Initial values: assert_options(ASSERT_BAIL) => [".assert_options(ASSERT_BAIL)."]\n"; 17 echo "Initial values: assert_options(ASSERT_QUIET_EVAL) => [".assert_options(ASSERT_QUIET_EVAL)."]\… 18 echo "Initial values: assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n"; 28 Initial values: assert_options(ASSERT_ACTIVE) => [0] 29 Initial values: assert_options(ASSERT_WARNING) => [0] 30 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"; 38 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n"; 44 var_dump($rv=assert_options(ASSERT_CALLBACK, "f3")); 45 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n"; 52 var_dump($rc=assert_options(ASSERT_CALLBACK, "c1")); 53 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n"; 60 var_dump($rao=assert_options(ASSERT_CALLBACK)); 68 var_dump($rao=assert_options(ASSERT_CALLBACK)); 81 assert_options(ASSERT_CALLBACK) => [f2] 88 assert_options(ASSERT_CALLBACK) => [f3] [all …]
|
H A D | assert04.phpt | 12 assert_options(ASSERT_ACTIVE, 0); 17 assert_options(ASSERT_ACTIVE, 1); 20 /* Wrong parameter count in assert_options */ 21 assert_options(ASSERT_ACTIVE, 0, 2); 23 /* Wrong parameter name in assert_options */ 25 assert_options($test, 1); 32 assert_options(ASSERT_BAIL, 1); 41 Warning: assert_options() expects at most 2 parameters, 3 given in %s on line %d 43 Warning: assert_options() expects parameter 1 to be long, %unicode_string_optional% given in %s on …
|
H A D | assert.phpt | 25 assert_options(ASSERT_ACTIVE,1); 26 assert_options(ASSERT_QUIET_EVAL,1); 27 assert_options(ASSERT_WARNING,0); 31 assert_options(ASSERT_CALLBACK,"a"); 34 assert_options(ASSERT_CALLBACK,array("a","assert")); 38 assert_options(ASSERT_CALLBACK,array(&$obj,"assert"));
|
H A D | assert_error1.phpt | 21 //Wrong number of parameters for assert_options() 22 assert_options(ASSERT_WARNING, 1); 23 var_dump($rao = assert_options(ASSERT_CALLBACK, "f1", 1)); 26 //Unknown option for assert_options() 27 var_dump($rao=assert_options("F1", "f1")); 37 Warning: assert_options() expects at most 2 parameters, 3 given in %s on line %d 40 Warning: assert_options() expects parameter 1 to be long, string given in %s on line %d
|
H A D | assert03.phpt | 21 assert_options(ASSERT_ACTIVE,1); 22 assert_options(ASSERT_QUIET_EVAL,1); 23 assert_options(ASSERT_WARNING,0); 27 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_basic5.phpt | 2 assert() - basic - check switch on warnings using assert_options. 17 var_dump($rao=assert_options(ASSERT_WARNING, 1)); 24 var_dump($rao=assert_options(ASSERT_WARNING, 0));
|
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 | assert_basic6.phpt | 17 var_dump($rao = assert_options(ASSERT_BAIL, 1));
|
H A D | assert_error.phpt | 20 var_dump($ra0 = assert_options(ASSERT_QUIET_EVAL, 1));
|
H A D | assert_error2.phpt | 19 var_dump($rao = assert_options(ASSERT_BAIL, 1));
|
H A D | assert02.phpt | 27 assert_options(ASSERT_BAIL, 1);
|
/PHP-5.6/ext/standard/ |
H A D | php_assert.h | 30 PHP_FUNCTION(assert_options);
|
H A D | assert.c | 264 PHP_FUNCTION(assert_options) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3344 PHP_FE(assert_options, arginfo_assert_options)
|
Completed in 29 milliseconds