/PHP-5.3/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.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.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 …]
|
/PHP-5.3/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.3/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.3/ext/sqlite/libsqlite/src/ |
H A D | insert.c | 160 v = sqliteGetVdbe(pParse); in sqliteInsert() 228 sqliteVdbeChangeP2(v, iInitCode, sqliteVdbeCurrentAddr(v)); in sqliteInsert() 233 sqliteVdbeChangeP2(v, iInitCode, sqliteVdbeCurrentAddr(v)); in sqliteInsert() 370 sqliteVdbeAddOp(v, OP_NotNull, -1, sqliteVdbeCurrentAddr(v)+3); in sqliteInsert() 432 sqliteVdbeAddOp(v, OP_NotNull, -1, sqliteVdbeCurrentAddr(v)+3); in sqliteInsert() 631 Vdbe *v; in sqliteGenerateConstraintChecks() local 644 assert( v!=0 ); in sqliteGenerateConstraintChecks() 691 sqliteVdbeChangeP2(v, addr, sqliteVdbeCurrentAddr(v)); in sqliteGenerateConstraintChecks() 873 Vdbe *v; in sqliteCompleteInsertion() local 878 assert( v!=0 ); in sqliteCompleteInsertion() [all …]
|
H A D | pragma.c | 130 Vdbe *v; in flagPragma() local 163 Vdbe *v = sqliteGetVdbe(pParse); in sqlitePragma() local 164 if( v==0 ) return; in sqlitePragma() 304 sqliteVdbeAddOp(v, OP_Dup, 0, 0); in sqlitePragma() 424 v = sqliteGetVdbe(pParse); in sqlitePragma() 452 v = sqliteGetVdbe(pParse); in sqlitePragma() 497 sqliteVdbeOp3(v, OP_String, 0, 0, in sqlitePragma() 622 sqliteVdbeChangeP1(v, addr+1, i); in sqlitePragma() 625 sqliteVdbeChangeP2(v, addr+7, i); in sqlitePragma() 674 sqliteVdbeChangeP2(v, jmp2, sqliteVdbeCurrentAddr(v)); in sqlitePragma() [all …]
|
H A D | delete.c | 141 v = sqliteGetVdbe(pParse); in sqliteDeleteFrom() 142 if( v==0 ){ in sqliteDeleteFrom() 160 sqliteVdbeAddOp(v, OP_Integer, 0, 0); in sqliteDeleteFrom() 177 sqliteVdbeAddOp(v, OP_Rewind, iCur, sqliteVdbeCurrentAddr(v)+2); in sqliteDeleteFrom() 222 end = sqliteVdbeMakeLabel(v); in sqliteDeleteFrom() 229 sqliteVdbeAddOp(v, OP_Dup, 0, 0); in sqliteDeleteFrom() 284 sqliteVdbeAddOp(v, OP_Goto, 0, addr); in sqliteDeleteFrom() 285 sqliteVdbeResolveLabel(v, end); in sqliteDeleteFrom() 297 sqliteVdbeAddOp(v, OP_SetCounts, 0, 0); in sqliteDeleteFrom() 346 sqliteVdbeAddOp(v, OP_Delete, iCur, in sqliteGenerateRowDelete() [all …]
|
H A D | copy.c | 38 Vdbe *v; in sqliteCopy() local 57 v = sqliteGetVdbe(pParse); in sqliteCopy() 58 if( v ){ in sqliteCopy() 61 sqliteVdbeDequoteP3(v, addr); in sqliteCopy() 66 end = sqliteVdbeMakeLabel(v); in sqliteCopy() 70 sqliteVdbeDequoteP3(v, addr); in sqliteCopy() 72 sqliteVdbeChangeP3(v, addr, "\t", 1); in sqliteCopy() 78 sqliteVdbeAddOp(v, OP_NewRecno, 0, 0); in sqliteCopy() 95 sqliteVdbeAddOp(v, OP_Goto, 0, addr); in sqliteCopy() 96 sqliteVdbeResolveLabel(v, end); in sqliteCopy() [all …]
|
H A D | update.c | 212 v = sqliteGetVdbe(pParse); in sqliteUpdate() 213 if( v==0 ) goto update_cleanup; in sqliteUpdate() 233 sqliteVdbeAddOp(v, OP_ListWrite, 0, 0); in sqliteUpdate() 242 sqliteVdbeAddOp(v, OP_Integer, 0, 0); in sqliteUpdate() 259 sqliteVdbeAddOp(v, OP_Dup, 0, 0); in sqliteUpdate() 264 sqliteVdbeAddOp(v, OP_Dup, 0, 0); in sqliteUpdate() 347 sqliteVdbeAddOp(v, OP_Dup, 0, 0); in sqliteUpdate() 398 sqliteVdbeAddOp(v, OP_AddImm, 1, 0); in sqliteUpdate() 423 sqliteVdbeChangeP2(v, jumpInst, sqliteVdbeCurrentAddr(v)); in sqliteUpdate() 424 sqliteVdbeAddOp(v, OP_ListReset, 0, 0); in sqliteUpdate() [all …]
|
H A D | where.c | 828 sqliteVdbeAddOp(v, OP_NotNull, -nColumn, sqliteVdbeCurrentAddr(v)+3); in sqliteWhereBegin() 832 sqliteAddIdxKeyType(v, pIdx); in sqliteWhereBegin() 885 sqliteVdbeAddOp(v, OP_ForceInt, in sqliteWhereBegin() 912 start = sqliteVdbeCurrentAddr(v); in sqliteWhereBegin() 931 start = sqliteVdbeCurrentAddr(v); in sqliteWhereBegin() 1033 sqliteVdbeAddOp(v, OP_NotNull, -nCol, sqliteVdbeCurrentAddr(v)+3); in sqliteWhereBegin() 1037 sqliteAddIdxKeyType(v, pIdx); in sqliteWhereBegin() 1089 sqliteVdbeAddOp(v, OP_NotNull, -nCol, sqliteVdbeCurrentAddr(v)+3); in sqliteWhereBegin() 1093 sqliteAddIdxKeyType(v, pIdx); in sqliteWhereBegin() 1114 start = sqliteVdbeCurrentAddr(v); in sqliteWhereBegin() [all …]
|
/PHP-5.3/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.3/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.3/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.3/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 …]
|
/PHP-5.3/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);
|
/PHP-5.3/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-5.3/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"]=>
|