/PHP-5.3/ext/standard/tests/assert/ |
H A D | assert_basic4.phpt | 2 assert() - basic - test initial values using ini.get and assert_options 28 Initial values: assert_options(ASSERT_ACTIVE) => [0] 29 Initial values: assert_options(ASSERT_WARNING) => [0] 30 Initial values: assert_options(ASSERT_BAIL) => [0] 31 Initial values: assert_options(ASSERT_QUIET_EVAL) => [0] 32 Initial values: assert_options(ASSERT_CALLBACK) => [f1] 33 Initial values: ini.get("assert.active") => [0] 34 Initial values: ini.get("assert.warning") => [0] 35 Initial values: ini.get("assert.bail") => [0] 36 Initial values: ini.get("assert.quiet_eval") => [0] [all …]
|
/PHP-5.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 ---
|
H A D | array_diff_assoc_variation6.phpt | 6 * Description: Returns the entries of $arr1 that have values which are not 26 //default keys => string values 29 //numeric keys => string values 35 //string keys => string values 41 //default keys => numeric values 44 //numeric keys => numeric values 49 //string keys => numeric values 54 //defualt keys => float values 57 //numeric keys => float values 62 //string keys => float values
|
H A D | array_walk_recursive_variation3.phpt | 2 Test array_walk_recursive() 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_recursive() : 'input' array with different values***\n"; 33 // integer values 39 // string values 42 // bool values 45 // null values 65 *** Testing array_walk_recursive() : 'input' array with different values***
|
/PHP-5.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 | 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 arugment 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 …]
|
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 87 // when $glue arugment is supplied with different values 90 for($index = 0; $index < count($values); $index ++) { 92 $glue = $values [$index]; [all …]
|
H A D | strncasecmp_variation11.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 …]
|
H A D | strncasecmp_variation10.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 */ 88 for($index = 0; $index < count($values); $index ++) { 90 $str1 = $values[$index]; [all …]
|
/PHP-5.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-5.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];
|
/PHP-5.3/ext/sybase_ct/tests/ |
H A D | test_long.phpt | 20 // Create table and insert some values 22 var_dump(sybase_query('insert test_long values ('.(LONG_MAX - 1).')')); 23 var_dump(sybase_query('insert test_long values ('.(LONG_MAX).')')); 24 var_dump(sybase_query('insert test_long values ('.(LONG_MAX + 1).')')); 25 var_dump(sybase_query('insert test_long values ('.(LONG_MIN + 1).')')); 26 var_dump(sybase_query('insert test_long values ('.(LONG_MIN).')')); 27 var_dump(sybase_query('insert test_long values ('.(LONG_MIN - 1).')')); 29 // Select values
|
/PHP-5.3/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 41 PHPAPI void mysqlnd_minfo_print_hash(zval *values) in mysqlnd_minfo_print_hash() argument 46 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(values), &pos_values); in mysqlnd_minfo_print_hash() 47 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(values), in mysqlnd_minfo_print_hash() 68 zend_hash_move_forward_ex(Z_ARRVAL_P(values), &pos_values); in mysqlnd_minfo_print_hash() 72 PHPAPI void mysqlnd_minfo_print_hash(zval *values) in mysqlnd_minfo_print_hash() argument 77 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(values), &pos_values); in mysqlnd_minfo_print_hash() 88 zend_hash_move_forward_ex(Z_ARRVAL_P(values), &pos_values); in mysqlnd_minfo_print_hash() 100 zval values; in PHP_MINFO_FUNCTION() local 132 mysqlnd_get_client_stats(&values); in PHP_MINFO_FUNCTION() 133 mysqlnd_minfo_print_hash(&values); in PHP_MINFO_FUNCTION() [all …]
|