/PHP-7.2/tests/lang/ |
H A D | foreachLoop.012.phpt | 80 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 D | foreachLoop.014.phpt | 82 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 D | foreachLoop.013.phpt | 80 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 D | foreachLoop.015.phpt | 82 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 D | foreachLoop.005.phpt | 6 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 D | foreachLoop.001.phpt | 8 foreach ($a as $v) { 9 var_dump($v); 11 foreach ($a as $k => $v) { 12 var_dump($k, $v); 15 var_dump($k, $v); 19 foreach (array("d","e","f") as $v) { 20 var_dump($v); 23 var_dump($k, $v); 26 var_dump($k, $v); 31 foreach ($a as $v); [all …]
|
H A D | foreachLoop.016.phpt | 10 $v = 'changed'; 18 $v = 'changed'; 28 $v = 'changed'; 36 $v = 'changed'; 44 $v = 'changed'; 52 $v = 'changed'; 60 $v = 'changed'; 68 $v = 'changed'; 76 $v = 'changed'; 84 $v = 'changed'; [all …]
|
H A D | foreachLoop.003.phpt | 7 foreach ($a as $v) { 8 var_dump($v); 12 foreach ($a as $v) { 13 var_dump($v); 17 foreach ($a as $v) { 18 var_dump($v); 22 foreach ($a as $v) { 23 var_dump($v); 27 foreach ($a as $v) { 28 var_dump($v);
|
/PHP-7.2/ext/hash/ |
H A D | hash_gost.c | 170 (v[5] >> 16) ^ v[5] ^ (v[6] >> 16) ^ (v[7] << 16) ^ (v[7] >> 16) ^ \ 173 v[2] ^ (v[2] >> 16) ^ (v[3] << 16) ^ (v[4] >> 16) ^ (v[5] << 16) ^ \ 181 (v[3] << 16) ^ (v[4] >> 16) ^ v[4] ^ (v[5] << 16) ^ (v[6] << 16) ^ \ 183 h[4] = (v[0] >> 16) ^ (v[1] << 16) ^ v[1] ^ (v[2] >> 16) ^ v[2] ^ \ 184 (v[3] << 16) ^ (v[3] >> 16) ^ v[3] ^ (v[4] << 16) ^ (v[5] >> 16) ^ \ 187 (v[1] & 0xffff0000) ^ (v[2] << 16) ^ v[2] ^ (v[3] >> 16) ^ v[3] ^ \ 188 (v[4] << 16) ^ (v[4] >> 16) ^ v[4] ^ (v[5] << 16) ^ (v[6] << 16) ^ \ 190 h[6] = v[0] ^ v[2] ^ (v[2] >> 16) ^ v[3] ^ (v[3] << 16) ^ v[4] ^ \ 191 (v[4] >> 16) ^ (v[5] << 16) ^ (v[5] >> 16) ^ v[5] ^ (v[6] << 16) ^ \ 192 (v[6] >> 16) ^ v[6] ^ (v[7] << 16) ^ v[7]; \ [all …]
|
/PHP-7.2/Zend/tests/ |
H A D | bug54039.phpt | 6 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 D | foreach_017.phpt | 8 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 …]
|
H A D | bug40509.phpt | 9 $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-7.2/ext/date/tests/ |
H A D | date_time_immutable.phpt | 19 $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-7.2/Zend/ |
H A D | zend_globals_macros.h | 34 # define CG(v) ZEND_TSRMG(compiler_globals_id, zend_compiler_globals *, v) argument 36 # define CG(v) (compiler_globals.v) 44 # define EG(v) ZEND_TSRMG(executor_globals_id, zend_executor_globals *, v) argument 46 # define EG(v) (executor_globals.v) argument 52 # define LANG_SCNG(v) ZEND_TSRMG(language_scanner_globals_id, zend_php_scanner_globals *, v) argument 55 # define LANG_SCNG(v) (language_scanner_globals.v) argument 62 # define INI_SCNG(v) ZEND_TSRMG(ini_scanner_globals_id, zend_ini_scanner_globals *, v) argument 65 # define INI_SCNG(v) (ini_scanner_globals.v) argument
|
H A D | zend_gc.h | 50 #define GC_ADDRESS(v) \ argument 51 ((v) & ~GC_COLOR) 52 #define GC_INFO_GET_COLOR(v) \ argument 55 do {(v) = ((v) & GC_COLOR) | (a);} while (0) 57 do {(v) = ((v) & ~GC_COLOR) | (c);} while (0) 58 #define GC_INFO_SET_BLACK(v) \ argument 59 do {(v) = (v) & ~GC_COLOR;} while (0) 60 #define GC_INFO_SET_PURPLE(v) \ argument 61 do {(v) = (v) | GC_COLOR;} while (0) 115 #define GC_G(v) ZEND_TSRMG(gc_globals_id, zend_gc_globals *, v) argument [all …]
|
/PHP-7.2/ext/com_dotnet/ |
H A D | com_handlers.c | 37 VARIANT v; in com_property_read() local 68 VARIANT v; in com_property_write() local 88 VARIANT v; in com_read_dimension() local 125 VARIANT v; in com_write_dimension() local 161 VariantChangeType(&v, &v, 0, vt); in com_write_dimension() 371 VARIANT v; in com_call_method() local 475 VARIANT v; in com_object_cast() local 486 VariantCopy(&v, &obj->v); in com_object_cast() 489 VariantCopy(&v, &obj->v); in com_object_cast() 512 res = VariantChangeType(&v, &v, 0, vt); in com_object_cast() [all …]
|
H A D | com_iterator.c | 36 VARIANT v; /* cached element */ member 51 VariantClear(&I->v); in com_iter_dtor() 92 VariantClear(&I->v); in com_iter_move_forwards() 143 VARIANT v; in php_com_iter_get() local 153 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get() 159 VariantInit(&v); in php_com_iter_get() 168 VariantInit(&I->v); in php_com_iter_get() 170 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 …]
|
H A D | com_saproxy.c | 99 VARIANT v; in saproxy_read_dimension() local 113 VariantInit(&v); in saproxy_read_dimension() 160 VARIANT v; in saproxy_read_dimension() local 162 VariantInit(&v); in saproxy_read_dimension() 184 V_VT(&v) = vt; in saproxy_read_dimension() 211 VARIANT v; in saproxy_write_dimension() local 226 VariantInit(&v); in saproxy_write_dimension() 259 VariantChangeType(&v, &v, 0, vt); in saproxy_write_dimension() 479 VARIANT v; in saproxy_iter_get_data() local 491 VariantInit(&v); in saproxy_iter_get_data() [all …]
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | bug40754.phpt | 6 $v = 2147483647; 8 var_dump(substr("abcde", 1, $v)); 9 var_dump(substr_replace("abcde", "x", $v, $v)); 11 var_dump(strspn("abcde", "abc", $v, $v)); 12 var_dump(strcspn("abcde", "abc", $v, $v)); 14 var_dump(substr_count("abcde", "abc", $v, $v)); 15 var_dump(substr_compare("abcde", "abc", $v, $v)); 17 var_dump(stripos("abcde", "abc", $v)); 20 var_dump(strpos("abcde", "abc", $v)); 21 var_dump(stripos("abcde", "abc", $v)); [all …]
|
/PHP-7.2/ext/opcache/tests/ |
H A D | bool_not_cv.phpt | 2 $v = !$v/(bool)$v checks for undefined variables 13 $v = !$v; 14 var_export($v); 19 $v = (bool)$v; 20 var_export($v); 29 Notice: Undefined variable: v in %s on line 4 33 Notice: Undefined variable: v in %s on line 10
|
/PHP-7.2/tests/basic/ |
H A D | precision.phpt | 16 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-7.2/ext/spl/tests/ |
H A D | array_019.phpt | 6 $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);
|
H A D | iterator_028.phpt | 12 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 17 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 22 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 27 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 32 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 37 foreach($it as $v) echo $it->getDepth() . ": $v\n";
|
/PHP-7.2/ext/phar/tests/ |
H A D | phar_oo_008.phpt | 20 foreach($f as $k => $v) 22 echo "$k=>$v\n"; 28 foreach($f as $k => $v) 30 echo "$k=>$v\n"; 42 $v = $phar['a.csv']; 45 while(!$v->eof()) 47 echo $v->key() . "=>" . join('|',$v->fgetcsv()) . "\n"; 51 $v->rewind(); 52 while(!$v->eof()) 54 $l = $v->fgetcsv(); [all …]
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | getopt_004.phpt | 4 -v -v1 -v=10 --v --v=100 10 var_dump(getopt("v::", array("v::"))); 14 ["v"]=>
|