/PHP-5.4/tests/lang/ |
H A D | foreachLoop.012.phpt | 81 iteration 0: $k=0; $v=v.0 95 iteration 0: $k=0; $v=v.0 96 iteration 1: $k=1; $v=v.1 112 iteration 0: $k=0; $v=v.0 113 iteration 1: $k=1; $v=v.1 114 iteration 2: $k=2; $v=v.2 132 iteration 0: $k=0; $v=v.0 133 iteration 1: $k=1; $v=v.1 134 iteration 2: $k=2; $v=v.2 135 iteration 3: $k=3; $v=v.3 [all …]
|
H A D | foreachLoop.013.phpt | 81 iteration 0: $k=0; $v=v.0 95 iteration 0: $k=0; $v=v.0 96 iteration 1: $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 135 iteration 2: $k=0; $v=v.0 136 iteration 3: $k=0; $v=v.0 151 iteration 0: $k=0; $v=v.0 [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=0; $v=v.0 113 iteration 0: $k=0; $v=v.0 114 iteration 1: $k=1; $v=v.1 134 iteration 0: $k=0; $v=v.0 135 iteration 1: $k=1; $v=v.1 136 iteration 2: $k=0; $v=v.0 137 iteration 3: $k=0; $v=v.0 152 iteration 0: $k=0; $v=v.0 [all …]
|
H A D | foreachLoop.015.phpt | 83 iteration 0: $k=0; $v=v.0 97 iteration 0: $k=0; $v=v.0 98 iteration 1: $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 137 iteration 2: $k=0; $v=v.0 138 iteration 3: $k=0; $v=v.0 153 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-5.4/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-5.4/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 | 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-5.4/Zend/ |
H A D | zend_globals_macros.h | 34 # define CG(v) TSRMG(compiler_globals_id, zend_compiler_globals *, v) argument 37 # define CG(v) (compiler_globals.v) 45 # define EG(v) TSRMG(executor_globals_id, zend_executor_globals *, v) argument 47 # define EG(v) (executor_globals.v) argument 53 # define LANG_SCNG(v) TSRMG(language_scanner_globals_id, zend_php_scanner_globals *, v) argument 56 # define LANG_SCNG(v) (language_scanner_globals.v) argument 63 # define INI_SCNG(v) TSRMG(ini_scanner_globals_id, zend_ini_scanner_globals *, v) argument 66 # define INI_SCNG(v) (ini_scanner_globals.v) argument
|
H A D | zend_gc.h | 50 #define GC_ADDRESS(v) \ argument 53 (v) = ((gc_root_buffer*)((((zend_uintptr_t)(v)) & GC_COLOR) | ((zend_uintptr_t)(a)))) 54 #define GC_GET_COLOR(v) \ argument 56 #define GC_SET_COLOR(v, c) \ argument 57 (v) = ((gc_root_buffer*)((((zend_uintptr_t)(v)) & ~GC_COLOR) | (c))) 58 #define GC_SET_BLACK(v) \ argument 59 (v) = ((gc_root_buffer*)(((zend_uintptr_t)(v)) & ~GC_COLOR)) 60 #define GC_SET_PURPLE(v) \ argument 61 (v) = ((gc_root_buffer*)(((zend_uintptr_t)(v)) | GC_PURPLE)) 135 #define GC_G(v) TSRMG(gc_globals_id, zend_gc_globals *, v) argument [all …]
|
/PHP-5.4/ext/ereg/regex/ |
H A D | regexec.c | 24 #define CLEAR(v) ((v) = 0) argument 26 #define SET1(v, n) ((v) |= (unsigned)1 << (n)) argument 27 #define ISSET(v, n) ((v) & ((unsigned)1 << (n))) argument 33 #define SETUP(v) ((v) = 0) argument 37 #define ISSTATEIN(v, o) ((v) & (o)) argument 71 #define CLEAR(v) memset(v, 0, m->g->nstates) argument 72 #define SET0(v, n) ((v)[n] = 0) argument 73 #define SET1(v, n) ((v)[n] = 1) argument 74 #define ISSET(v, n) ((v)[n]) argument 86 #define ISSTATEIN(v, o) ((v)[o]) argument [all …]
|
/PHP-5.4/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-5.4/ext/com_dotnet/ |
H A D | com_handlers.c | 36 VARIANT v; in com_property_read() local 70 VARIANT v; in com_property_write() local 91 VARIANT v; in com_read_dimension() local 131 VARIANT v; in com_write_dimension() local 162 VariantChangeType(&v, &v, 0, vt); in com_write_dimension() 372 VARIANT v; in com_call_method() local 492 VARIANT v; in com_object_cast() local 503 VariantCopy(&v, &obj->v); in com_object_cast() 506 VariantCopy(&v, &obj->v); in com_object_cast() 527 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() 96 VariantClear(&I->v); in com_iter_move_forwards() 148 VARIANT v; in php_com_iter_get() local 158 if (V_VT(&obj->v) != VT_DISPATCH && !V_ISARRAY(&obj->v)) { in php_com_iter_get() 164 VariantInit(&v); in php_com_iter_get() 172 VariantInit(&I->v); in php_com_iter_get() 174 if (V_ISARRAY(&obj->v)) { in php_com_iter_get() 208 &dp, &v, NULL, NULL))) { in php_com_iter_get() 219 VariantClear(&v); in php_com_iter_get() [all …]
|
H A D | com_variant.c | 86 V_ARRAY(v) = sa; in safe_array_from_zval() 93 V_VT(v) = VT_NULL; in safe_array_from_zval() 126 V_DISPATCH(v) = V_DISPATCH(&obj->v); in php_com_variant_from_zval() 130 V_VARIANTREF(v) = &obj->v; in php_com_variant_from_zval() 145 V_VT(v) = VT_I4; in php_com_variant_from_zval() 150 V_VT(v) = VT_R8; in php_com_variant_from_zval() 179 switch (V_VT(v)) { in php_com_zval_from_variant() 449 res = VariantChangeType(&obj->v, &obj->v, 0, (VARTYPE)vt); in PHP_FUNCTION() 532 vleft = &obj->v; in variant_binary_operation() 539 vleft = &obj->v; in variant_binary_operation() [all …]
|
/PHP-5.4/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 …]
|
H A D | phpinfo_004.phpt | 30 <tr><td class="e">Phar EXT version </td><td class="v">%s </td></tr> 31 <tr><td class="e">Phar API version </td><td class="v">1.1.1 </td></tr> 41 <tr class="v"><td> 46 <tr><td class="e">phar.cache_list</td><td class="v"><i>no value</i></td><td class="v"><i>no value</… 47 <tr><td class="e">phar.readonly</td><td class="v">Off</td><td class="v">Off</td></tr> 48 <tr><td class="e">phar.require_hash</td><td class="v">Off</td><td class="v">Off</td></tr> 54 <tr><td class="e">Phar EXT version </td><td class="v">%s </td></tr> 65 <tr class="v"><td> 70 <tr><td class="e">phar.cache_list</td><td class="v"><i>no value</i></td><td class="v"><i>no value</… 71 <tr><td class="e">phar.readonly</td><td class="v">On</td><td class="v">Off</td></tr> [all …]
|
/PHP-5.4/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-5.4/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"]=>
|
/PHP-5.4/ext/standard/html_tables/ |
H A D | html_table_gen.php | 192 foreach ($map as $v) { $mappy[hexdec($v[0])] = hexdec($v[1]); } 258 foreach ($a as $k => $v) { 259 if (is_numeric($v)) 335 foreach ($map as $v) { 336 if (hexdec($v[0]) >= $e['range'][0] && hexdec($v[0]) <= $e['range'][1]) 337 $mappy[hexdec($v[1])] = array(hexdec($v[0]), strtolower($v[2])); 346 $v[1], " */\n"; 463 foreach ($multicp_rows as &$v) { ksort($v); } 464 unset($v); 482 unset($v["default"]); [all …]
|
/PHP-5.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 200 if (v >= '0' && v <= '9') { in mbfl_filt_conv_html_dec() 201 v = v - '0'; in mbfl_filt_conv_html_dec() 202 } else if (v >= 'A' && v <= 'F') { in mbfl_filt_conv_html_dec() 203 v = v - 'A' + 10; in mbfl_filt_conv_html_dec() 204 } else if (v >= 'a' && v <= 'f') { in mbfl_filt_conv_html_dec() 205 v = v - 'a' + 10; in mbfl_filt_conv_html_dec() 210 ent = ent * 16 + v; in mbfl_filt_conv_html_dec() 219 int v = buffer[pos]; in mbfl_filt_conv_html_dec() local 220 if (v >= '0' && v <= '9') { in mbfl_filt_conv_html_dec() 221 v = v - '0'; in mbfl_filt_conv_html_dec() [all …]
|