Home
last modified time | relevance | path

Searched refs:value2 (Results 1 – 25 of 111) sorted by relevance

12345

/php-src/ext/standard/tests/file/
H A Dparse_ini_file_variation2.phpt12 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 Dparse_ini_file_variation1.phpt12 value2=original
15 value2=different
34 ["value2"]=>
41 ["value2"]=>
50 ["value2"]=>
57 ["value2"]=>
/php-src/ext/bcmath/tests/number/operators/
H A Dcompare.phpt24 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 Dcompare_with_invalid_types.phpt18 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 Dsub_int.phpt16 foreach ($values as $value2) {
17 echo "{$value1} - {$value2}\n";
18 $ret = $num1 - ((int) $value2);
19 $ret2 = ((int) $value1) - (new BcMath\Number($value2));
H A Dadd_int.phpt16 foreach ($values as $value2) {
17 echo "{$value1} + {$value2}\n";
18 $ret = $num1 + ((int) $value2);
19 $ret2 = ((int) $value1) + (new BcMath\Number($value2));
H A Dmul_int.phpt16 foreach ($values as $value2) {
17 echo "{$value1} * {$value2}\n";
18 $ret = $num1 * ((int) $value2);
19 $ret2 = ((int) $value1) * (new BcMath\Number($value2));
H A Ddiv_int.phpt17 foreach ($values as $value2) {
18 echo "{$value1} / {$value2}\n";
19 $ret = $num1 / ((int) $value2);
20 $ret2 = ((int) $value1) / (new BcMath\Number($value2));
H A Dmod_int.phpt17 foreach ($values as $value2) {
18 echo "{$value1} % {$value2}\n";
19 $ret = $num1 % ((int) $value2);
20 $ret2 = ((string) $value1) % (new BcMath\Number($value2));
H A Dmod_string.phpt17 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 Ddivmod_with_scale.phpt26 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 Ddiv_with_scale.phpt26 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 Dmul_with_scale.phpt26 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 Dmod_with_scale.phpt26 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 Dsub_with_scale.phpt28 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 Dadd_with_scale.phpt28 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 Duasort_variation7.phpt13 $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 Dusort_variation7.phpt11 $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 Dusort_variation9.phpt11 function cmp_function($value1, $value2)
13 if($value1 == $value2) {
16 else if($value1 > $value2) {
26 $value2 = 100;
34 2 => &$value2,
H A Duasort_variation10.phpt10 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 Dattribute_arguments.phpt99 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 Dprocessinginstruction.phpt10 $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 Darray_merge_recursive_variation7.phpt13 $value2 = "hello";
15 $value4 = &$value2;
21 2 => &$value2,
24 $value4 => &$value2
28 $arr2 = array($value4 => "hello", &$value2);
H A Darray_fill_object.phpt29 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 Dbug46304.phpt7 define('ns1\ns2\const2','value2');
28 value2
29 value2
30 value2

Completed in 29 milliseconds

12345