/PHP-8.3/ext/standard/tests/strings/ |
H A D | vprintf_variation2.phpt | 2 Test vprintf() function : usage variations - unexpected values for args argument 6 * Test vprintf() when different unexpected values are passed to 31 //array of values to iterate over 32 $values = array( 80 foreach($values as $value) { 102 vprintf(): Argument #2 ($values) must be of type array, int given 105 vprintf(): Argument #2 ($values) must be of type array, int given 108 vprintf(): Argument #2 ($values) must be of type array, int given 111 vprintf(): Argument #2 ($values) must be of type array, int given 129 vprintf(): Argument #2 ($values) must be of type array, null given [all …]
|
H A D | number_format_basic.phpt | 7 $values = array(1234.5678, 20 for ($i = 0; $i < count($values); $i++) { 21 $res = number_format($values[$i]); 26 for ($i = 0; $i < count($values); $i++) { 27 $res = number_format($values[$i], 2); 32 for ($i = 0; $i < count($values); $i++) { 33 $res = number_format($values[$i], 2, '.', ' '); 38 for ($i = 0; $i < count($values); $i++) { 39 $res = number_format($values[$i], 2, ',' , ' ');
|
H A D | join_variation1.phpt | 2 Test join() function : usage variations - unexpected values for 'glue' argument 25 // array with different values 26 $values = array ( 28 // integer values 34 // float values 41 // array values 48 // boolean values 67 // when $glue argument is supplied with different values 70 for($index = 0; $index < count($values); $index ++) { 72 $glue = $values [$index]; [all …]
|
H A D | str_split_variation7.phpt | 2 Test str_split() function : usage variations - different integer values for 'split_length' with her… 6 * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_s… 9 echo "*** Testing str_split() : different integer values for 'split_length' with heredoc 'str' ***\… 15 //different values for 'split_length' 16 $values = array ( 26 //loop through each element of $values for 'split_length' 27 for($count = 0; $count < count($values); $count++) { 31 var_dump( str_split($str, $values[$count]) ); 38 *** Testing str_split() : different integer values for 'split_length' with heredoc 'str' ***
|
/PHP-8.3/ext/spl/tests/ |
H A D | SplFixedArray_setSize_destruct.phpt | 5 $values = new SplFixedArray(1); 6 $values->offsetSet(0, new HasDestructor()); 7 $values->offsetSet(0, false); 12 global $values; 13 var_dump($values); 14 $values->setSize($values->getSize() - 1); 16 var_dump($values); 20 $values->setSize(5); 21 $values->offsetSet(4, new HasDestructor());
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation9.phpt | 14 // integer values 20 // float values 23 echo "-- Float values --\n"; 26 // string values 32 // boolean values 38 // null values 48 -- Integer values -- 62 -- Float values -- 76 -- String values -- 90 -- Boolean values -- [all …]
|
H A D | array_flip_variation4.phpt | 2 Test array_flip() function : usage variations - 'input' argument with different invalid values for … 6 * Trying different invalid values for 'input' array argument 9 echo "*** Testing array_flip() : different invalid values in 'input' array argument ***\n"; 25 // float values 31 // bool values 37 // null values 58 *** Testing array_flip() : different invalid values in 'input' array argument *** 60 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 62 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d 64 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d [all …]
|
H A D | uasort_basic2.phpt | 2 Test uasort() function : basic functionality - duplicate values 20 // increasing values 22 echo "-- Numeric array with increasing values --\n"; 26 // decreasing values 28 echo "-- Numeric array with decreasing values --\n"; 32 // increasing and decreasing values 34 echo "-- Numeric array with increasing and decreasing values --\n"; 41 *** Testing uasort() : basic functionality with duplicate values *** 42 -- Numeric array with increasing values -- 58 -- Numeric array with decreasing values -- [all …]
|
H A D | array_sum_variation4.phpt | 2 Test array_sum() function : usage variations - array with duplicate values 6 * Checking array_sum() with integer and float array containing duplicate values 9 echo "*** Testing array_sum() : array with duplicate values ***\n"; 11 // integer array with duplicate values 16 // float array with duplicate values 24 *** Testing array_sum() : array with duplicate values ***
|
H A D | shuffle_variation4.phpt | 7 * having different types of values, are passed to 'array_arg' argument 14 // array with positive int values 17 // array with negative int values 20 // array with positive float values 23 // array with negative float values 29 // array with bool values 32 // array with positive hexa values 35 // array with negative hexa values 38 // array with positive octal values 41 // array with negative octal values [all …]
|
H A D | array_fill_variation3.phpt | 2 Test array_fill() function : usage variations - unexpected values for 'val' argument 6 * testing array_fill() by passing different unexpected values for 'val' argument 30 //array of different values for 'val' argument 31 $values = array( 47 echo "--- Testing array_fill() with different values for 'val' argument ---\n"; 49 for($index = 0; $index < count($values); $index ++) 52 $val = $values[$index]; 63 --- Testing array_fill() with different values for 'val' argument ---
|
H A D | shuffle_variation3.phpt | 7 * types of values, are passed to 'array_arg' argument 14 // array with positive int values 17 // array with negative int values 20 // array with positive float values 23 // array with negative float values 29 // array with bool values 32 // array with positive hexa values 35 // array with negative hexa values 38 // array with positive octal values 41 // array with negative octal values [all …]
|
H A D | array_diff_assoc_variation6.phpt | 20 //default keys => string values 23 //numeric keys => string values 29 //string keys => string values 35 //default keys => numeric values 38 //numeric keys => numeric values 43 //string keys => numeric values 48 //default keys => float values 51 //numeric keys => float values 56 //string keys => float values
|
H A D | array_walk_variation3.phpt | 2 Test array_walk() function : usage variations - 'input' array with different values 15 echo "*** Testing array_walk() : 'input' array with different values***\n"; 20 // integer values 26 // string values 29 // bool values 32 // null values 52 *** Testing array_walk() : 'input' array with different values***
|
/PHP-8.3/ext/standard/tests/assert/ |
H A D | assert_basic4.phpt | 2 assert() - basic - test initial values using ini.get and assert_options 19 echo "Initial values: ini.get(\"assert.active\") => [".ini_get("assert.active")."]\n"; 21 echo "Initial values: ini.get(\"assert.bail\") => [".ini_get("assert.bail")."]\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] 49 Initial values: assert_options(ASSERT_CALLBACK) => [f1] 50 Initial values: ini.get("assert.active") => [0] 51 Initial values: ini.get("assert.warning") => [0] 52 Initial values: ini.get("assert.bail") => [0] [all …]
|
/PHP-8.3/ext/pdo_mysql/tests/ |
H A D | bug_38546.phpt | 35 $values = [ 41 $st->bindParam(1, $values['uid'], PDO::PARAM_INT); 60 $values = [ 70 $st->bindParam(4, $values['uid'], PDO::PARAM_INT); 86 $values = [ 96 $st->bindParam(4, $values['uid'], PDO::PARAM_INT); 113 $values = [ 123 $st->bindParam(4, $values['uid'], PDO::PARAM_INT); 140 $values = [ 150 $st->bindParam(4, $values['uid'], PDO::PARAM_INT); [all …]
|
/PHP-8.3/ext/pgsql/tests/ |
H A D | bug65119.phpt | 13 function test(Array $values, $conn_str) { 17 pg_copy_from($connection, "bug65119", $values, "\t", "NULL"); 21 $values = Array(1,2,3); 22 var_dump($values); 23 test($values, $conn_str); 24 var_dump($values);
|
/PHP-8.3/ext/pdo_dblib/tests/ |
H A D | bug_38955.phpt | 16 $db->query("INSERT INTO php_test(val) values(1)"); 17 $db->query("INSERT INTO php_test(val) values(2)"); 18 $db->query("INSERT INTO php_test(val) values(3)"); 19 $db->query("INSERT INTO php_test(val) values(4)"); 24 $db->query("INSERT INTO php_test(val) values(5)"); 25 $db->query("INSERT INTO php_test(val) values(6)"); 26 $db->query("INSERT INTO php_test(val) values(7)"); 27 $db->query("INSERT INTO php_test(val) values(8)");
|
/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | var_export_basic7.phpt | 2 Test var_export() function with valid null values 5 echo "*** Testing var_export() with valid null values ***\n"; 7 // different valid null values 18 /* Loop to check for above null values with var_export() */ 19 echo "\n*** Output for null values ***\n"; 31 *** Testing var_export() with valid null values *** 33 *** Output for null values ***
|
H A D | var_export_basic2.phpt | 2 Test var_export() function with valid boolean values 6 echo "*** Testing var_export() with valid boolean values ***\n"; 7 // different valid boolean values 17 /* Loop to check for above boolean values with var_export() */ 18 echo "\n*** Output for boolean values ***\n"; 30 *** Testing var_export() with valid boolean values *** 32 *** Output for boolean values ***
|
/PHP-8.3/Zend/tests/ |
H A D | bug30889.phpt | 7 private $values; 10 $this->values = array('a' => 0); 14 print "set $name = $value ($name was ".$this->values[$name].")\n"; 15 $this->values[$name] = $value; 19 print "get $name (returns ".$this->values[$name].")\n"; 20 return $this->values[$name];
|
H A D | list_destructuring_to_special_variables.phpt | 7 public $values = []; 9 $this->values[$name] = $value; 14 public $values = []; 16 $this->values[$name] = $value; 29 var_dump($obj->values); 33 var_dump($arr->values);
|
/PHP-8.3/ext/standard/tests/math/ |
H A D | number_format_basic.phpt | 5 $values = array(1234.5678, 22 for ($i = 0; $i < count($values); $i++) { 23 $res = number_format($values[$i]); 28 for ($i = 0; $i < count($values); $i++) { 29 $res = number_format($values[$i], 2); 34 for ($i = 0; $i < count($values); $i++) { 35 $res = number_format($values[$i], 2, '.', ' '); 40 for ($i = 0; $i < count($values); $i++) { 41 $res = number_format($values[$i], 2, ',' , ' '); 46 for ($i = 0; $i < count($values); $i++) { [all …]
|
H A D | number_format_multichar.phpt | 5 $values = array(1234.5678, 18 for ($i = 0; $i < count($values); $i++) { 19 $res = number_format($values[$i], 2, '·', ' '); 24 for ($i = 0; $i < count($values); $i++) { 25 $res = number_format($values[$i], 2, '.' , ' '); 30 for ($i = 0; $i < count($values); $i++) { 31 $res = number_format($values[$i], 2, '·' , ' ');
|
/PHP-8.3/ext/imap/tests/ |
H A D | imap_timeout_basic.phpt | 14 echo "GET values:\n"; 20 echo "SET values:\n"; 28 echo "CHECK values:\n"; 38 GET values: 43 SET values: 47 CHECK values:
|