/php-src/ext/standard/tests/file/ |
H A D | parse_ini_file_variation2.phpt | 12 value2=off 15 value2=false 18 value2=no 21 value2= 25 value2="off" 28 value2="false" 31 value2="no" 34 value2="" 51 ["value2"]=> 58 ["value2"]=> [all …]
|
H A D | parse_ini_file_variation1.phpt | 12 value2=original 15 value2=different 34 ["value2"]=> 41 ["value2"]=> 50 ["value2"]=> 57 ["value2"]=>
|
/php-src/ext/bcmath/tests/number/operators/ |
H A D | compare.phpt | 24 foreach ($values2 as [$value2, $type2]) { 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 | compare_with_invalid_types.phpt | 18 foreach ($values2 as [$value2, $type2]) { 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 | sub_int.phpt | 16 foreach ($values as $value2) { 17 echo "{$value1} - {$value2}\n"; 18 $ret = $num1 - ((int) $value2); 19 $ret2 = ((int) $value1) - (new BcMath\Number($value2));
|
H A D | add_int.phpt | 16 foreach ($values as $value2) { 17 echo "{$value1} + {$value2}\n"; 18 $ret = $num1 + ((int) $value2); 19 $ret2 = ((int) $value1) + (new BcMath\Number($value2));
|
H A D | mul_int.phpt | 16 foreach ($values as $value2) { 17 echo "{$value1} * {$value2}\n"; 18 $ret = $num1 * ((int) $value2); 19 $ret2 = ((int) $value1) * (new BcMath\Number($value2));
|
H A D | div_int.phpt | 17 foreach ($values as $value2) { 18 echo "{$value1} / {$value2}\n"; 19 $ret = $num1 / ((int) $value2); 20 $ret2 = ((int) $value1) / (new BcMath\Number($value2));
|
H A D | mod_int.phpt | 17 foreach ($values as $value2) { 18 echo "{$value1} % {$value2}\n"; 19 $ret = $num1 % ((int) $value2); 20 $ret2 = ((string) $value1) % (new BcMath\Number($value2));
|
H A D | mod_string.phpt | 17 foreach ($values as $value2) { 18 echo "{$value1} % {$value2}\n"; 19 $ret = $num1 % ((string) $value2); 20 $ret2 = ((string) $value1) % (new BcMath\Number($value2));
|
/php-src/ext/bcmath/tests/number/methods/ |
H A D | divmod_with_scale.phpt | 26 foreach ($values2 as [$value2, $type]) { 27 [$func_quot, $func_rem] = bcdivmod($value1, (string) $value2, $scale); 28 [$method_quot, $method_rem] = $num->divmod($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 | 26 foreach ($values2 as [$value2, $type]) { 27 $func_ret = bcdiv($value1, (string) $value2, $scale); 28 $method_ret = $num->div($value2, $scale); 31 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
H A D | mul_with_scale.phpt | 26 foreach ($values2 as [$value2, $type]) { 27 $func_ret = bcmul($value1, (string) $value2, $scale); 28 $method_ret = $num->mul($value2, $scale); 31 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
H A D | mod_with_scale.phpt | 26 foreach ($values2 as [$value2, $type]) { 27 $func_ret = bcmod($value1, (string) $value2, $scale); 28 $method_ret = $num->mod($value2, $scale); 31 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
H A D | sub_with_scale.phpt | 28 foreach ($values2 as [$value2, $type]) { 29 $func_ret = bcsub($value1, (string) $value2, $scale); 30 $method_ret = $num->sub($value2, $scale); 33 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
H A D | add_with_scale.phpt | 28 foreach ($values2 as [$value2, $type]) { 29 $func_ret = bcadd($value1, (string) $value2, $scale); 30 $method_ret = $num->add($value2, $scale); 33 var_dump($value1, $value2, $scale, $func_ret, $method_ret);
|
/php-src/ext/standard/tests/array/sort/ |
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; } 57 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 61 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 65 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 69 Warning: {closure:%s:%d}(): Argument #2 ($value2) 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; } 57 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 61 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 65 Warning: {closure:%s:%d}(): Argument #2 ($value2) must be passed by reference, value given in %s on… 69 Warning: {closure:%s:%d}(): Argument #2 ($value2) 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) { 26 $value2 = 100; 34 2 => &$value2,
|
H A D | uasort_variation10.phpt | 10 function cmp_function($value1, $value2) 12 if($value1 == $value2) { 15 else if($value1 > $value2) { 27 $value2 = 100; 35 2 => &$value2,
|
/php-src/ext/zend_test/tests/ |
H A D | attribute_arguments.phpt | 99 string(6) "value2" 103 string(6) "value2" 115 string(6) "value2" 119 string(6) "value2" 131 string(6) "value2" 135 string(6) "value2" 140 string(6) "value2" 144 string(6) "value2" 156 string(6) "value2" 160 string(6) "value2"
|
/php-src/ext/dom/tests/manually_call_constructor/ |
H A D | processinginstruction.phpt | 10 $pi->__construct('name2', 'value2'); 30 string(6) "value2" 32 <container><?name2 value2?></container> 34 <container><?name2 value2?><?name3 value3?></container>
|
/php-src/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation7.phpt | 13 $value2 = "hello"; 15 $value4 = &$value2; 21 2 => &$value2, 24 $value4 => &$value2 28 $arr2 = array($value4 => "hello", &$value2);
|
H A D | array_fill_object.phpt | 29 function __construct($value1 , $value2) 32 $this->var2 = $value2; 41 function __construct($value1 , $value2 , $value3) 43 parent::__construct($value1 , $value2); 57 function __construct($value1 , $value2) 60 $this->var2 = $value2; 71 parent::__construct($value1 , $value2); 85 function __construct($value1 , $value2) 88 $this->var2 = $value2; 99 parent::__construct($value1 , $value2); [all …]
|
/php-src/Zend/tests/ |
H A D | bug46304.phpt | 7 define('ns1\ns2\const2','value2'); 28 value2 29 value2 30 value2
|