/PHP-7.3/ext/standard/tests/assert/ |
H A D | assert_basic4.phpt | 2 assert() - basic - test initial values using ini.get and assert_options 27 Initial values: assert_options(ASSERT_ACTIVE) => [0] 28 Initial values: assert_options(ASSERT_WARNING) => [0] 29 Initial values: assert_options(ASSERT_BAIL) => [0] 30 Initial values: assert_options(ASSERT_QUIET_EVAL) => [0] 31 Initial values: assert_options(ASSERT_CALLBACK) => [f1] 32 Initial values: ini.get("assert.active") => [0] 33 Initial values: ini.get("assert.warning") => [0] 34 Initial values: ini.get("assert.bail") => [0] 35 Initial values: ini.get("assert.quiet_eval") => [0] [all …]
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation9.phpt | 19 // integer values 25 // float values 28 echo "-- Float values --\n"; 31 // string values 37 // boolean values 43 // null values 53 -- Integer values -- 67 -- Float values -- 81 -- String values -- 95 -- Boolean values -- [all …]
|
H A D | array_flip_variation4.phpt | 11 * Trying different invalid values for 'input' array argument 30 // float values 36 // bool values 42 // null values 63 *** Testing array_flip() : different invalid values in 'input' array argument *** 65 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 67 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 69 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 71 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d 73 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d [all …]
|
H A D | uasort_basic2.phpt | 2 Test uasort() function : basic functionality - duplicate values 14 * Parameters : $value1 and $value2 - values to be compared 15 * Return value : 0 - if both values are same 32 // increasing values 34 echo "-- Numeric array with increasing values --\n"; 38 // decreasing values 40 echo "-- Numeric array with decreasing values --\n"; 44 // increasing and decreasing values 54 -- Numeric array with increasing values -- 70 -- Numeric array with decreasing values -- [all …]
|
H A D | array_sum_variation7.phpt | 24 echo "-- array with string values --\n"; 29 echo "-- array with bool values --\n"; 34 echo "-- array with null values --\n"; 61 echo "-- array with object values --\n"; 64 // Mixed values 66 echo "-- array with mixed values --\n"; 74 -- array with string values -- 76 -- array with bool values -- 78 -- array with null values -- 82 -- array with object values -- [all …]
|
H A D | shuffle_variation3.phpt | 12 * types of values, are passed to 'array_arg' argument 19 // array with positive int values 22 // array with negative int values 25 // array with positive float values 28 // array with negative float values 34 // array with bool values 37 // array with positive hexa values 40 // array with negative hexa values 43 // array with positive octal values 46 // array with negative octal values [all …]
|
H A D | shuffle_variation4.phpt | 12 * having different types of values, are passed to 'array_arg' argument 19 // array with positive int values 22 // array with negative int values 25 // array with positive float values 28 // array with negative float values 34 // array with bool values 37 // array with positive hexa values 40 // array with negative hexa values 43 // array with positive octal values 46 // array with negative octal values [all …]
|
H A D | array_sum_variation4.phpt | 2 Test array_sum() function : usage variations - array with duplicate values 11 * Checking array_sum() with integer and float array containing duplicate values 14 echo "*** Testing array_sum() : array with duplicate values ***\n"; 16 // integer array with duplicate values 21 // float array with duplicate values 29 *** Testing array_sum() : array with duplicate values ***
|
H A D | array_combine_variation5.phpt | 2 Test array_combine() function : usage variations - associative array with different values(Bug#4342… 5 /* Prototype : array array_combine(array $keys, array $values) 7 * and the elements of the second as the corresponding values 13 * associative arrays having different possible values to $keys argument and 14 * associative arrays having different possible values to $values argument. 17 echo "*** Testing array_combine() : assoc array with diff values to both \$keys and \$values argume… 45 // arrays with integer values 50 // arrays with float values 54 // arrays with string values 62 // array with mixed values [all …]
|
H A D | array_combine_variation6.phpt | 5 /* Prototype : array array_combine(array $keys, array $values) 7 * and the elements of the second as the corresponding values 13 * binary values for $keys and $values argument. 18 // array with binary values 22 // array with binary value for $keys and $values argument 25 // array with binary value for $values argument
|
H A D | array_walk_variation3.phpt | 2 Test array_walk() function : usage variations - 'input' array with different values 18 * Parameters : $value - array entries(values) 21 * Description : prints the array values with keys and count value 28 echo "*** Testing array_walk() : 'input' array with different values***\n"; 33 // integer values 39 // string values 42 // bool values 45 // null values 65 *** Testing array_walk() : 'input' array with different values***
|
H A D | array_fill_variation3.phpt | 2 Test array_fill() function : usage variations - unexpected values for 'val' argument 11 * testing array_fill() by passing different unexpected values for 'val' argument 35 //array of different values for 'val' argument 36 $values = array( 52 echo "--- Testing array_fill() with different values for 'val' argument ---\n"; 54 for($index = 0; $index < count($values); $index ++) 57 $val = $values[$index]; 68 --- Testing array_fill() with different values for 'val' argument ---
|
/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | bug_38546.phpt | 33 $values = [ 39 $st->bindParam(1, $values['uid'], PDO::PARAM_INT); 58 $values = [ 68 $st->bindParam(4, $values['uid'], PDO::PARAM_INT); 84 $values = [ 94 $st->bindParam(4, $values['uid'], PDO::PARAM_INT); 111 $values = [ 121 $st->bindParam(4, $values['uid'], PDO::PARAM_INT); 138 $values = [ 148 $st->bindParam(4, $values['uid'], PDO::PARAM_INT); [all …]
|
/PHP-7.3/ext/pgsql/tests/ |
H A D | bug65119.phpt | 11 function test(Array $values, $conn_str) { 15 pg_copy_from($connection, "bug65119", $values, "\t", "NULL"); 19 $values = Array(1,2,3); 20 var_dump($values); 21 test($values, $conn_str); 22 var_dump($values);
|
/PHP-7.3/ext/standard/tests/math/ |
H A D | number_format_basic.phpt | 5 $values = array(1234.5678, 19 for ($i = 0; $i < count($values); $i++) { 20 $res = number_format($values[$i]); 25 for ($i = 0; $i < count($values); $i++) { 26 $res = number_format($values[$i], 2); 31 for ($i = 0; $i < count($values); $i++) { 32 $res = number_format($values[$i], 2, '.', ' '); 37 for ($i = 0; $i < count($values); $i++) { 38 $res = number_format($values[$i], 2, ',' , ' ');
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | ucwords_variation1.phpt | 11 * Test ucwords() by passing different values including scalar and non scalar values 30 // array with different values 31 $values = array ( 33 // integer values 39 // hex values 45 // octal values 49 // float values 56 // array values 63 // boolean values 100 for($index = 0; $index < count($values); $index ++) { [all …]
|
H A D | join_variation1.phpt | 2 Test join() function : usage variations - unexpected values for 'glue' argument 35 // array with different values 36 $values = array ( 38 // integer values 44 // float values 51 // array values 58 // boolean values 71 // null values 87 // when $glue argument is supplied with different values 90 for($index = 0; $index < count($values); $index ++) { [all …]
|
H A D | chop_variation2.phpt | 2 Test chop() function : usage variations - unexpected values for charlist argument 32 // array with different values 33 $values = array ( 35 // integer values 41 // float values 48 // array values 55 // boolean values 68 // null values 85 // when $charlist argument is supplied with different values 89 for($index = 0; $index < count($values); $index ++) { [all …]
|
H A D | number_format_basic.phpt | 13 $values = array(1234.5678, 27 for ($i = 0; $i < count($values); $i++) { 28 $res = number_format($values[$i]); 33 for ($i = 0; $i < count($values); $i++) { 34 $res = number_format($values[$i], 2); 39 for ($i = 0; $i < count($values); $i++) { 40 $res = number_format($values[$i], 2, '.', ' '); 45 for ($i = 0; $i < count($values); $i++) { 46 $res = number_format($values[$i], 2, ',' , ' ');
|
H A D | strncasecmp_variation4.phpt | 28 /* array with different values */ 29 $values = array ( 30 /* integer values */ 36 /* float values */ 43 /* hexadecimal values */ 47 /* octal values */ 52 /* array values */ 59 /* boolean values */ 90 $str1 = $values[$index]; 91 $str2 = $values[$index]; [all …]
|
/PHP-7.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-7.3/ext/pdo_dblib/tests/ |
H A D | bug_38955.phpt | 15 $db->query("INSERT INTO php_test(val) values(1)"); 16 $db->query("INSERT INTO php_test(val) values(2)"); 17 $db->query("INSERT INTO php_test(val) values(3)"); 18 $db->query("INSERT INTO php_test(val) values(4)"); 23 $db->query("INSERT INTO php_test(val) values(5)"); 24 $db->query("INSERT INTO php_test(val) values(6)"); 25 $db->query("INSERT INTO php_test(val) values(7)"); 26 $db->query("INSERT INTO php_test(val) values(8)");
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | var_export_basic2.phpt | 2 Test var_export() function with valid boolean values 12 echo "*** Testing var_export() with valid boolean values ***\n"; 13 // different valid boolean values 23 /* Loop to check for above boolean values with var_export() */ 24 echo "\n*** Output for boolean values ***\n"; 37 *** Testing var_export() with valid boolean values *** 39 *** Output for boolean values ***
|
H A D | var_export_basic7.phpt | 2 Test var_export() function with valid null values 11 echo "*** Testing var_export() with valid null values ***\n"; 13 // different valid null values 24 /* Loop to check for above null values with var_export() */ 25 echo "\n*** Output for null values ***\n"; 38 *** Testing var_export() with valid null values *** 40 *** Output for null values ***
|