/php-src/ext/standard/tests/file/ |
H A D | parse_ini_file_variation2.phpt | 11 value1=on 14 value1=true 17 value1=yes 20 value1=null 24 value1="on" 27 value1="true" 30 value1="yes" 33 value1="null" 49 ["value1"]=> 56 ["value1"]=> [all …]
|
H A D | parse_ini_file_variation1.phpt | 11 value1=original 14 value1=original 22 $a['section1']['value1'] = 'changed'; 32 ["value1"]=> 39 ["value1"]=> 48 ["value1"]=> 55 ["value1"]=>
|
/php-src/ext/bcmath/tests/number/operators/ |
H A D | compare_with_invalid_types.phpt | 16 $value1 = new BcMath\Number('100.0000'); 20 echo "{$value1} > {$type2}: " . ($value1 > $value2 ? 'true' : 'false') . "\n"; 21 echo "{$value1} >= {$type2}: " . ($value1 >= $value2 ? 'true' : 'false') . "\n"; 22 echo "{$value1} == {$type2}: " . ($value1 == $value2 ? 'true' : 'false') . "\n"; 23 echo "{$value1} <= {$type2}: " . ($value1 <= $value2 ? 'true' : 'false') . "\n"; 24 echo "{$value1} < {$type2}: " . ($value1 < $value2 ? 'true' : 'false') . "\n"; 27 echo "{$type2} > {$value1}: " . ($value2 > $value1 ? 'true' : 'false') . "\n"; 28 echo "{$type2} >= {$value1}: " . ($value2 >= $value1 ? 'true' : 'false') . "\n"; 29 echo "{$type2} == {$value1}: " . ($value2 == $value1 ? 'true' : 'false') . "\n"; 30 echo "{$type2} <= {$value1}: " . ($value2 <= $value1 ? 'true' : 'false') . "\n"; [all …]
|
H A D | compare.phpt | 22 $value1 = new BcMath\Number('100.0000'); 26 echo "{$value1} > {$value2}: " . ($value1 > $value2 ? 'true' : 'false') . "\n"; 27 echo "{$value1} >= {$value2}: " . ($value1 >= $value2 ? 'true' : 'false') . "\n"; 28 echo "{$value1} == {$value2}: " . ($value1 == $value2 ? 'true' : 'false') . "\n"; 29 echo "{$value1} <= {$value2}: " . ($value1 <= $value2 ? 'true' : 'false') . "\n"; 30 echo "{$value1} < {$value2}: " . ($value1 < $value2 ? 'true' : 'false') . "\n"; 33 echo "{$value2} > {$value1}: " . ($value2 > $value1 ? 'true' : 'false') . "\n"; 34 echo "{$value2} >= {$value1}: " . ($value2 >= $value1 ? 'true' : 'false') . "\n"; 35 echo "{$value2} == {$value1}: " . ($value2 == $value1 ? 'true' : 'false') . "\n"; 36 echo "{$value2} <= {$value1}: " . ($value2 <= $value1 ? 'true' : 'false') . "\n"; [all …]
|
H A D | sub_int.phpt | 13 foreach ($values as $value1) { 14 $num1 = new BcMath\Number($value1); 17 echo "{$value1} - {$value2}\n"; 19 $ret2 = ((int) $value1) - (new BcMath\Number($value2));
|
H A D | add_int.phpt | 13 foreach ($values as $value1) { 14 $num1 = new BcMath\Number($value1); 17 echo "{$value1} + {$value2}\n"; 19 $ret2 = ((int) $value1) + (new BcMath\Number($value2));
|
H A D | mul_int.phpt | 13 foreach ($values as $value1) { 14 $num1 = new BcMath\Number($value1); 17 echo "{$value1} * {$value2}\n"; 19 $ret2 = ((int) $value1) * (new BcMath\Number($value2));
|
H A D | div_int.phpt | 14 foreach ($values as $value1) { 15 $num1 = new BcMath\Number($value1); 18 echo "{$value1} / {$value2}\n"; 20 $ret2 = ((int) $value1) / (new BcMath\Number($value2));
|
H A D | mod_int.phpt | 14 foreach ($values as $value1) { 15 $num1 = new BcMath\Number($value1); 18 echo "{$value1} % {$value2}\n"; 20 $ret2 = ((string) $value1) % (new BcMath\Number($value2));
|
H A D | mod_string.phpt | 14 foreach ($values as $value1) { 15 $num1 = new BcMath\Number($value1); 18 echo "{$value1} % {$value2}\n"; 20 $ret2 = ((string) $value1) % (new BcMath\Number($value2));
|
/php-src/ext/standard/tests/array/sort/ |
H A D | natcasesort_variation6.phpt | 11 $value1 = 100; 16 $array = array( &$value1 , &$value2, &$value3); 20 echo "\n-- Change \$value1 --\n"; 21 $value1 = -29; 41 -- Change $value1 --
|
H A D | uasort_variation7.phpt | 13 $cmp_function = function($value1, $value2) { 14 if ($value1 == $value2) { return 0; } 15 else if ($value1 > $value2) { return 1; } 24 $cmp_function = function(&$value1, &$value2) { 25 if ($value1 == $value2) { return 0; } 26 else if ($value1 > $value2) { return 1; } 55 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 59 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 63 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 67 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on…
|
H A D | usort_variation7.phpt | 11 $cmp_function = function($value1, $value2) { 12 if ($value1 == $value2) { return 0; } 13 else if ($value1 > $value2) { return 1; } 25 $cmp_function = function(&$value1, &$value2) { 26 if ($value1 == $value2) { return 0; } 27 else if ($value1 > $value2) { return 1; } 55 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 59 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 63 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on… 67 Warning: {closure:%s:%d}(): Argument #1 ($value1) must be passed by reference, value given in %s on…
|
H A D | usort_variation9.phpt | 11 function cmp_function($value1, $value2) 13 if($value1 == $value2) { 16 else if($value1 > $value2) { 25 $value1 = -5; 28 $value4 = &$value1;
|
H A D | uasort_variation10.phpt | 10 function cmp_function($value1, $value2) 12 if($value1 == $value2) { 15 else if($value1 > $value2) { 26 $value1 = -5; 29 $value4 = &$value1;
|
/php-src/ext/bcmath/tests/number/methods/ |
H A D | divmod_with_scale.phpt | 23 foreach ($values1 as $value1) { 24 $num = new BcMath\Number($value1); 27 [$func_quot, $func_rem] = bcdivmod($value1, (string) $value2, $scale); 31 var_dump($value1, $value2, $scale, $func_quot, $method_quot); 35 var_dump($value1, $value2, $scale, $func_rem, $method_rem);
|
H A D | div_with_scale.phpt | 23 foreach ($values1 as $value1) { 24 $num = new BcMath\Number($value1); 27 $func_ret = bcdiv($value1, (string) $value2, $scale); 31 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
H A D | mul_with_scale.phpt | 23 foreach ($values1 as $value1) { 24 $num = new BcMath\Number($value1); 27 $func_ret = bcmul($value1, (string) $value2, $scale); 31 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
H A D | mod_with_scale.phpt | 23 foreach ($values1 as $value1) { 24 $num = new BcMath\Number($value1); 27 $func_ret = bcmod($value1, (string) $value2, $scale); 31 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
H A D | sub_with_scale.phpt | 25 foreach ($values1 as $value1) { 26 $num = new BcMath\Number($value1); 29 $func_ret = bcsub($value1, (string) $value2, $scale); 33 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
H A D | add_with_scale.phpt | 25 foreach ($values1 as $value1) { 26 $num = new BcMath\Number($value1); 29 $func_ret = bcadd($value1, (string) $value2, $scale); 33 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
/php-src/ext/standard/tests/array/ |
H A D | array_fill_object.phpt | 29 function __construct($value1 , $value2) 31 $this->member1 = $value1; 41 function __construct($value1 , $value2 , $value3) 43 parent::__construct($value1 , $value2); 57 function __construct($value1 , $value2) 59 $this->member1 = $value1; 71 parent::__construct($value1 , $value2); 85 function __construct($value1 , $value2) 87 $this->member1 = $value1; 99 parent::__construct($value1 , $value2); [all …]
|
/php-src/Zend/tests/ |
H A D | bug46304.phpt | 6 define('NS1\ns2\const1','value1'); 25 value1 26 value1 27 value1
|
/php-src/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_o.phpt | 24 var $value1 = 1; 121 ["value1"]=> 152 ["value1"]=> 172 ["value1"]=> 192 ["value1"]=> 212 ["value1"]=> 238 ["value1"]=> 258 ["value1"]=> 283 ["value1"]=> 303 ["value1"]=> [all …]
|
/php-src/ext/dom/tests/ |
H A D | bug80332_1.phpt | 10 $doc->loadHTML('<span attr1="value1" attr2="value2"></span>'); 47 Attribute [0] value: value1 51 Attribute [false] value: value1 59 Attribute [null] value: value1 71 Attribute ['0'] value: value1 75 Attribute ['0.5'] value: value1
|