Home
last modified time | relevance | path

Searched refs:value1 (Results 1 – 25 of 115) sorted by relevance

12345

/php-src/ext/standard/tests/file/
H A Dparse_ini_file_variation2.phpt11 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 Dparse_ini_file_variation1.phpt11 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 Dcompare_with_invalid_types.phpt16 $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 Dcompare.phpt22 $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 Dsub_int.phpt13 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 Dadd_int.phpt13 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 Dmul_int.phpt13 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 Ddiv_int.phpt14 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 Dmod_int.phpt14 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 Dmod_string.phpt14 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 Dnatcasesort_variation6.phpt11 $value1 = 100;
16 $array = array( &$value1 , &$value2, &$value3);
20 echo "\n-- Change \$value1 --\n";
21 $value1 = -29;
41 -- Change $value1 --
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; }
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 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; }
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 Dusort_variation9.phpt11 function cmp_function($value1, $value2)
13 if($value1 == $value2) {
16 else if($value1 > $value2) {
25 $value1 = -5;
28 $value4 = &$value1;
H A Duasort_variation10.phpt10 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 Ddivmod_with_scale.phpt23 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 Ddiv_with_scale.phpt23 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 Dmul_with_scale.phpt23 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 Dmod_with_scale.phpt23 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 Dsub_with_scale.phpt25 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 Dadd_with_scale.phpt25 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 Darray_fill_object.phpt29 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 Dbug46304.phpt6 define('NS1\ns2\const1','value1');
25 value1
26 value1
27 value1
/php-src/ext/standard/tests/general_functions/
H A Ddebug_zval_dump_o.phpt24 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 Dbug80332_1.phpt10 $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

Completed in 21 milliseconds

12345