Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 739) sorted by relevance

12345678910>>...30

/php-src/tests/lang/
H A DforeachLoop.012.phpt80 iteration 0: $k=0; $v=v.0
94 iteration 0: $k=0; $v=v.0
95 iteration 1: $k=1; $v=v.1
111 iteration 0: $k=0; $v=v.0
112 iteration 1: $k=1; $v=v.1
113 iteration 2: $k=2; $v=v.2
131 iteration 0: $k=0; $v=v.0
132 iteration 1: $k=1; $v=v.1
133 iteration 2: $k=2; $v=v.2
134 iteration 3: $k=3; $v=v.3
[all …]
H A DforeachLoop.014.phpt82 iteration 0: $k=0; $v=v.0
96 iteration 0: $k=0; $v=v.0
97 iteration 1: $k=1; $v=v.1
113 iteration 0: $k=0; $v=v.0
114 iteration 1: $k=1; $v=v.1
115 iteration 2: $k=2; $v=v.2
133 iteration 0: $k=0; $v=v.0
134 iteration 1: $k=1; $v=v.1
135 iteration 2: $k=2; $v=v.2
136 iteration 3: $k=3; $v=v.3
[all …]
H A DforeachLoop.015.phpt82 iteration 0: $k=0; $v=v.0
96 iteration 0: $k=0; $v=v.0
114 iteration 0: $k=0; $v=v.0
115 iteration 1: $k=1; $v=v.1
135 iteration 0: $k=0; $v=v.0
136 iteration 1: $k=1; $v=v.1
155 iteration 0: $k=0; $v=v.0
169 iteration 0: $k=0; $v=v.0
170 iteration 1: $k=0; $v=v.1
186 iteration 0: $k=0; $v=v.0
[all …]
H A DforeachLoop.013.phpt80 iteration 0: $k=0; $v=v.0
94 iteration 0: $k=0; $v=v.0
112 iteration 0: $k=0; $v=v.0
113 iteration 1: $k=1; $v=v.1
133 iteration 0: $k=0; $v=v.0
134 iteration 1: $k=1; $v=v.1
153 iteration 0: $k=0; $v=v.0
167 iteration 0: $k=0; $v=v.0
168 iteration 1: $k=0; $v=v.1
184 iteration 0: $k=0; $v=v.0
[all …]
H A DforeachLoop.005.phpt6 foreach ($a as $k=>&$v){
8 echo "After changing \$a directly, \$v@$k is: $v\n";
11 //After changing $a directly, $v@0 is: changed.0
12 //After changing $a directly, $v@1 is: changed.1
13 //After changing $a directly, $v@2 is: changed.2
15 //After changing $a directly, $v@0 is: changed.0
16 //After changing $a directly, $v@1 is: original.1
17 //After changing $a directly, $v@2 is: original.2
21 After changing $a directly, $v@0 is: changed.0
22 After changing $a directly, $v@1 is: changed.1
[all …]
H A DforeachLoop.016.phpt8 foreach($a as $k=>&$v) {
9 $v = 'changed';
17 $v = 'changed';
27 $v = 'changed';
35 $v = 'changed';
43 $v = 'changed';
52 $v = 'changed';
62 $v = 'changed';
71 $v = 'changed';
80 $v = 'changed';
[all …]
/php-src/ext/hash/
H A Dhash_gost.c166 (v[5] >> 16) ^ v[5] ^ (v[6] >> 16) ^ (v[7] << 16) ^ (v[7] >> 16) ^ \
169 v[2] ^ (v[2] >> 16) ^ (v[3] << 16) ^ (v[4] >> 16) ^ (v[5] << 16) ^ \
177 (v[3] << 16) ^ (v[4] >> 16) ^ v[4] ^ (v[5] << 16) ^ (v[6] << 16) ^ \
179 h[4] = (v[0] >> 16) ^ (v[1] << 16) ^ v[1] ^ (v[2] >> 16) ^ v[2] ^ \
180 (v[3] << 16) ^ (v[3] >> 16) ^ v[3] ^ (v[4] << 16) ^ (v[5] >> 16) ^ \
183 (v[1] & 0xffff0000) ^ (v[2] << 16) ^ v[2] ^ (v[3] >> 16) ^ v[3] ^ \
184 (v[4] << 16) ^ (v[4] >> 16) ^ v[4] ^ (v[5] << 16) ^ (v[6] << 16) ^ \
186 h[6] = v[0] ^ v[2] ^ (v[2] >> 16) ^ v[3] ^ (v[3] << 16) ^ v[4] ^ \
187 (v[4] >> 16) ^ (v[5] << 16) ^ (v[5] >> 16) ^ v[5] ^ (v[6] << 16) ^ \
188 (v[6] >> 16) ^ v[6] ^ (v[7] << 16) ^ v[7]; \
[all …]
/php-src/Zend/tests/
H A Dbug54039.phpt6 static $v = 0;
7 ++$v;
8 echo "Outer function increments \$v to $v\n";
10 echo "Inner function reckons \$v is $v\n";
19 static $v = 0;
21 echo "Inner function reckons \$v is $v\n";
23 ++$v;
24 echo "Outer function increments \$v to $v\n";
33 $v .= 'b';
36 echo "Inner function reckons \$v is $v\n";
[all …]
H A Dbug40509.phpt9 $c = $arr["v"];
10 foreach ($c as $v) {}
13 $arr["v"] = array("a");
15 var_dump(key($arr["v"]));
17 var_dump(key($arr["v"]));
18 foreach ($arr["v"] as $k => $v) {
21 var_dump(key($arr["v"]));
/php-src/ext/date/tests/
H A Ddate_time_immutable.phpt19 $z = $v;
23 $z = $v;
29 $z = $v;
33 $z = $v;
39 $z = $v;
43 $z = $v;
49 $z = $v;
53 $z = $v;
57 $z = $v;
63 $z = $v;
[all …]
/php-src/Zend/
H A Dzend_globals_macros.h34 # define CG(v) ZEND_TSRMG_FAST(compiler_globals_offset, zend_compiler_globals *, v) argument
36 # define CG(v) (compiler_globals.v)
44 # define EG(v) ZEND_TSRMG_FAST(executor_globals_offset, zend_executor_globals *, v) argument
46 # define EG(v) (executor_globals.v) argument
52 # define LANG_SCNG(v) ZEND_TSRMG_FAST(language_scanner_globals_offset, zend_php_scanner_globals *, argument
56 # define LANG_SCNG(v) (language_scanner_globals.v) argument
63 # define INI_SCNG(v) ZEND_TSRMG_FAST(ini_scanner_globals_offset, zend_ini_scanner_globals *, v) argument
67 # define INI_SCNG(v) (ini_scanner_globals.v) argument
/php-src/ext/ffi/tests/
H A D007.phpt11 $v = $ffi->new("int*[3]");
12 $v[0] = $ffi->new("int[1]", false);
13 $v[1] = $ffi->new("int[1]", false);
14 $v[2] = $v[1];
15 $v[1][0] = 42;
16 var_dump($v[0] == $v[1]);
17 var_dump($v[1] == $v[2]);
18 FFI::free($v[0]);
19 FFI::free($v[1]);
/php-src/Zend/tests/foreach/
H A Dforeach_017.phpt8 foreach($a as &$v) {
9 echo "$v\n";
20 foreach($a as &$v) {
21 echo "$v\n";
32 foreach($a as &$v) {
33 echo "$v\n";
46 foreach($a as &$v) {
47 echo "$v\n";
58 foreach($a as &$v) {
59 echo "$v\n";
[all …]
/php-src/Zend/tests/named_params/
H A Dreferences.phpt10 $v = [0 => 0, 1 => 0, 32 => 0, 33 => 0];
11 test(p32: $v[32], p33: $v[33], p00: $v[0], p01: $v[1]);
12 echo "$v[0] $v[1] $v[32] $v[33]\n";
30 $v = [0 => 0, 1 => 0, 32 => 0, 33 => 0];
31 test(p32: $v[32], p33: $v[33], p00: $v[0], p01: $v[1]);
32 echo "$v[0] $v[1] $v[32] $v[33]\n";
/php-src/ext/com_dotnet/
H A Dcom_handlers.c31 VARIANT v; in com_property_read() local
63 VARIANT v; in com_property_write() local
83 VARIANT v; in com_read_dimension() local
120 VARIANT v; in com_write_dimension() local
156 VariantChangeType(&v, &v, 0, vt); in com_write_dimension()
256 VARIANT v; in PHP_FUNCTION() local
436 VARIANT v; in com_object_cast() local
447 VariantCopy(&v, &obj->v); in com_object_cast()
450 VariantCopy(&v, &obj->v); in com_object_cast()
478 res = VariantChangeType(&v, &v, 0, vt); in com_object_cast()
[all …]
H A Dcom_iterator.c32 VARIANT v; /* cached element */ member
47 VariantClear(&I->v); in com_iter_dtor()
88 VariantClear(&I->v); in com_iter_move_forwards()
140 VARIANT v; in php_com_iter_get() local
151 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get()
158 VariantInit(&v); in php_com_iter_get()
167 VariantInit(&I->v); in php_com_iter_get()
169 if (V_ISARRAY(&obj->v)) { in php_com_iter_get()
204 &dp, &v, NULL, NULL))) { in php_com_iter_get()
215 VariantClear(&v); in php_com_iter_get()
[all …]
/php-src/ext/opcache/tests/
H A Dbool_not_cv.phpt2 $v = !$v/(bool)$v checks for undefined variables
13 $v = !$v;
14 var_export($v);
19 $v = (bool)$v;
20 var_export($v);
29 Warning: Undefined variable $v in %s on line 4
33 Warning: Undefined variable $v in %s on line 10
/php-src/ext/standard/tests/strings/
H A Dbug40754.phpt6 $v = 2147483647;
8 var_dump(substr("abcde", 1, $v));
9 var_dump(substr_replace("abcde", "x", $v, $v));
10 var_dump(strspn("abcde", "abc", $v, $v));
11 var_dump(strcspn("abcde", "abc", $v, $v));
14 var_dump(substr_count("abcde", "abc", $v, $v));
20 substr_compare("abcde", "abc", $v, $v);
26 stripos("abcde", "abc", $v);
44 strpos("abcde", "abc", $v);
50 stripos("abcde", "abc", $v);
[all …]
/php-src/ext/phar/tests/
H A Dphar_oo_008.phpt19 foreach($f as $k => $v)
21 echo "$k=>$v\n";
27 foreach($f as $k => $v)
29 echo "$k=>$v\n";
41 /** @var MyCSVFile $v */
42 $v = $phar['a.csv'];
45 while(!$v->eof())
47 echo $v->key() . "=>" . join('|', $v->fgetcsv(escape: '')) . "\n";
51 $v->rewind();
52 while(!$v->eof())
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dgetopt_004.phpt4 -v -v1 -v=10 --v --v=100
10 var_dump(getopt("v::", array("v::")));
14 ["v"]=>
/php-src/tests/basic/
H A Dprecision.phpt16 echo join(' ', $v).PHP_EOL;
17 var_dump(serialize($v));
18 var_export($v);echo PHP_EOL;
27 echo join(' ', $v).PHP_EOL;
28 var_dump(serialize($v));
37 echo join(' ', $v).PHP_EOL;
38 var_dump(serialize($v));
48 var_dump(serialize($v));
58 var_dump(serialize($v));
68 var_dump(serialize($v));
[all …]
/php-src/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt9 "123 \t\n\r\v\f",
11 " \t\n\r\v\f123",
13 " \t\n\r\v\f123 \t\n\r\v\f",
16 "123.0 \t\n\r\v\f",
18 " \t\n\r\v\f123.0",
20 " \t\n\r\v\f123 \t\n\r\v\f",
23 "123e0 \t\n\r\v\f",
25 " \t\n\r\v\f123e0",
27 " \t\n\r\v\f123e0 \t\n\r\v\f"
/php-src/ext/mbstring/tests/
H A Dmb_str_split_utf8_utf16.phpt37 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
43 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
49 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
55 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
61 printf(" l:%d v:%s", strlen($chunk), unpack("H*", $chunk)[1]);
77 UTF-8: l:2 v:3132 l:5 v:33f09280a9
78 BAD UTF-8: l:2 v:3132 l:3 v:33f092
79 UTF-16BE: l:4 v:d800dc00 l:4 v:dbffdfff
80 UTF-16LE: l:4 v:00d800dc l:4 v:ffdbffdf
81 BAD UTF-16BE: l:4 v:d800dc00 l:2 v:003f l:2 v:003f
[all …]
/php-src/ext/spl/tests/
H A Darray_019.phpt6 $ar = new ArrayObject(array(1)); foreach($ar as &$v) var_dump($v);
7 $ar = new ArrayIterator(array(2)); foreach($ar as &$v) var_dump($v);
8 $ar = new RecursiveArrayIterator(array(3)); foreach($ar as &$v) var_dump($v);
18 $ar = new ArrayIteratorEx(array(4)); foreach($ar as $v) var_dump($v);
19 $ar = new ArrayIteratorEx(array(5)); foreach($ar as &$v) var_dump($v);
/php-src/ext/standard/tests/file/
H A Dfscanf.phpt11 var_dump(fscanf($fp, "%d", $v));
12 var_dump($v);
16 var_dump(fscanf($fp, "%s", $v));
17 var_dump($v);
26 var_dump($v);
30 $v = array();
34 fscanf($fp, "", $v, $v1);
38 var_dump($v);
42 $v = array();
50 var_dump($v);
[all …]

Completed in 31 milliseconds

12345678910>>...30