/PHP-5.4/ext/session/tests/ |
H A D | session_decode_variation1.phpt | 19 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;")); 21 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;")); 23 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;")); 25 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;")); 27 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;"));
|
/PHP-5.4/scripts/dev/generate-phpt/src/ |
H A D | gtTestSubject.php | 47 for( $i = 0; $i < count( $this->mandatoryArgumentNames ); $i++) { 48 $this->extraArgumentList .= "\$".$this->mandatoryArgumentNames[$i].", "; 53 for( $i = 0; $i < count( $this->optionalArgumentNames ); $i++) { 54 $this->extraArgumentList .= "\$".$this->optionalArgumentNames[$i].", "; 79 for( $i = 0; $i < count( $this->mandatoryArgumentNames ) - 1; $i++) { 80 $this->shortArgumentList .= "\$".$this->mandatoryArgumentNames[$i].", "; 104 for( $i = 0; $i < count( $this->mandatoryArgumentNames ); $i++) { 105 $this->allowedArgumentLists[0] .= "\$".$this->mandatoryArgumentNames[$i].", "; 110 for( $i = 0; $i < count( $this->optionalArgumentNames ); $i++) { 111 …s->allowedArgumentLists[] = $this->allowedArgumentLists[$i]."\$".$this->optionalArgumentNames[$i].… [all …]
|
/PHP-5.4/win32/ |
H A D | select.c | 42 int n_handles = 0, i; in php_select() local 64 for (i = 0; i < max_fd; i++) { in php_select() 65 if (SAFE_FD_ISSET(i, rfds) || SAFE_FD_ISSET(i, wfds) || SAFE_FD_ISSET(i, efds)) { in php_select() 69 if (SAFE_FD_ISSET(i, rfds)) { in php_select() 70 FD_SET((uint)i, &sock_read); in php_select() 72 if (SAFE_FD_ISSET(i, wfds)) { in php_select() 73 FD_SET((uint)i, &sock_write); in php_select() 75 if (SAFE_FD_ISSET(i, efds)) { in php_select() 78 if (i > sock_max_fd) { in php_select() 79 sock_max_fd = i; in php_select() [all …]
|
/PHP-5.4/ext/mbstring/libmbfl/filters/ |
H A D | mk_sb_tbl.awk | 16 for (i = 3; i <= length(str); i++) { 17 n = index("0123456789abcdefABCDEF", substr(str, i, 1)) - 1 50 i = 160; 52 …4x, 0x%04x, 0x%04x, 0x%04x, 0x%04x", tbl[i++], tbl[i++], tbl[i++], tbl[i++], tbl[i++], tbl[i++], t… 53 if (i != 256) {
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | bug25671.phpt | 19 a:4:{i:0;s:19:"This is strung one.";i:1;s:19:"This is strung two.";i:2;a:2:{i:0;s:23:"This is anoth… 20 a:4:{i:0;s:19:"This is strung one.";i:1;s:19:"This is strung two.";i:2;a:2:{i:0;s:23:"This is anoth… 21 a:4:{i:0;s:16:"Thisisstringone.";i:1;s:16:"Thisisstringtwo.";i:2;a:2:{i:0;s:23:"This is another str… 22 a:4:{i:0;s:16:"Thisisstringone.";i:1;s:16:"Thisisstringtwo.";i:2;a:2:{i:0;s:23:"This is another str…
|
/PHP-5.4/ext/gd/libgd/ |
H A D | gd_png.c | 243 for (i = 0; i < num_trans; ++i) { in gdImageCreateFromPngCtx() 263 for (i = 0; i < 256; ++i) { in gdImageCreateFromPngCtx() 269 for (i = 0; i < 256; ++i) { in gdImageCreateFromPngCtx() 270 palette[i].red = palette[i].green = palette[i].blue = i; in gdImageCreateFromPngCtx() 338 for (i = 0; i < num_palette; ++i) { in gdImageCreateFromPngCtx() 538 for (i = 0; i < gdMaxColors; ++i) { in gdImagePngCtxEx() 544 for (i = 0; i < im->colorsTotal; ++i) { in gdImagePngCtxEx() 624 for (i = 0; i < im->colorsTotal; i++) { in gdImagePngCtxEx() 652 for (i = 0; i < colors; ++i) { in gdImagePngCtxEx() 694 for (i = 0; i < width; ++i) { in gdImagePngCtxEx() [all …]
|
/PHP-5.4/ext/fileinfo/libmagic/ |
H A D | ascmagic.c | 106 size_t mlen, i; in file_ascmagic_with_encoding() local 155 for (i = 0; i < ulen; i++) { in file_ascmagic_with_encoding() 156 if (ubuf[i] == '\n') { in file_ascmagic_with_encoding() 161 last_line_end = i; in file_ascmagic_with_encoding() 167 last_line_end = i; in file_ascmagic_with_encoding() 171 last_line_end = i; in file_ascmagic_with_encoding() 178 if (ubuf[i] == '\033') in file_ascmagic_with_encoding() 180 if (ubuf[i] == '\b') in file_ascmagic_with_encoding() 313 size_t i; in encode_utf8() local 316 for (i = 0; i < ulen; i++) { in encode_utf8() [all …]
|
H A D | encoding.c | 228 for (i = 0; i < nbytes; i++) { in looks_ascii() 247 for (i = 0; i < nbytes; i++) { in looks_latin1() 267 for (i = 0; i < nbytes; i++) { in looks_extended() 301 for (i = 0; i < nbytes; i++) { in file_looks_utf8() 337 i++; in file_looks_utf8() 341 if ((buf[i] & 0x80) == 0 || (buf[i] & 0x40)) in file_looks_utf8() 390 for (i = 2; i + 1 < nbytes; i += 2) { in looks_ucs16() 394 ubuf[(*ulen)++] = buf[i + 1] + 256 * buf[i]; in looks_ucs16() 396 ubuf[(*ulen)++] = buf[i] + 256 * buf[i + 1]; in looks_ucs16() 497 for (i = 0; i < nbytes; i++) { in from_ebcdic() [all …]
|
/PHP-5.4/Zend/tests/ |
H A D | bug40261.phpt | 10 for ($i=0; $i<$num; $i++) { 11 $a[$i] = Array(1); 14 for ($i=0; $i<$num; $i++) { 15 $b[$i] = $a[$i][0]; 19 for ($i=0; $i<$num; $i++) { 20 …$b[$i] = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678…
|
H A D | gc_023.phpt | 8 for ($i=0; $i < 9999; $i++) { 9 $a[$i] = array(array()); 10 $a[$i][0] = & $a[$i]; 16 for ($i=0; $i < 10001; $i++) { 17 $a[$i] = array(array()); 18 $a[$i][0] = & $a[$i];
|
H A D | bug40809.phpt | 15 for ($i=0; $i<$num; $i++) { 16 $a[$i] = Array(1); 18 for ($i=0; $i<$num; $i++) { 19 $b[$i] = $a[$i][0]; 23 for ($i=0;$i<$num_repeats;$i++) {
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | serialization_miscTypes_001.phpt | 95 for( $i = 0; $i < count($Variation_arr); $i++ ) { 97 echo "\n-- Iteration $i --\n"; 113 after serialization => string(13) "i:2147483647;" 129 after serialization => string(12) "i:267387171;" 133 after serialization => string(13) "i:-267387171;" 137 after serialization => string(13) "i:2147483647;" 153 after serialization => string(9) "i:342391;" 157 after serialization => string(10) "i:-342391;" 166 after serialization => string(57) "a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:12345666;i:4;i:-2344;}" 181 …i:0;i:0;i:1;i:1;i:2;i:2;i:3;d:3.3330000000000002;i:4;i:-4;i:5;d:-5.5549999999999997;i:6;b:1;i:7;b:… [all …]
|
H A D | bug68976.phpt | 20 $data = unserialize('a:2:{i:0;O:9:"evilClass":1:{s:4:"name";a:2:{i:0;i:1;i:1;i:2;}}i:1;R:4;}'); 22 for($i = 0; $i < 5; $i++) { 23 $v[$i] = $fakezval.$i;
|
H A D | serialization_arrays_005.phpt | 96 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;i:1;}}" 165 string(48) "a:3:{i:0;i:1;i:1;a:2:{i:0;i:1;i:1;R:2;}i:2;i:1;}" 234 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;R:3;}}" 303 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:3;i:1;i:1;}}" 372 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;R:3;}}" 448 string(74) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;i:1;i:1;a:3:{i:0;i:1;i:1;i:1;i:2;R:4;}}}"
|
/PHP-5.4/ext/interbase/ |
H A D | php_ibase_udf.c | 188 int i; in call_php() local 203 for (i = 0; i < argc; ++i) { in call_php() 206 argp[i] = &args[i]; in call_php() 221 ZVAL_STRING(argp[i], (char*)argv[i]->dsc_address,0); in call_php() 225 ZVAL_STRINGL(argp[i], (char*)argv[i]->dsc_address, argv[i]->dsc_length,0); in call_php() 235 ZVAL_LONG(argp[i], *(short*)argv[i]->dsc_address); in call_php() 244 ZVAL_LONG(argp[i], *(ISC_LONG*)argv[i]->dsc_address); in call_php() 257 ZVAL_DOUBLE(argp[i], ((double)l)/scales[-argv[i]->dsc_scale]); in call_php() 262 ZVAL_DOUBLE(argp[i], *(float*)argv[i]->dsc_address); in call_php() 266 ZVAL_DOUBLE(argp[i], *(double*)argv[i]->dsc_address); in call_php() [all …]
|
/PHP-5.4/ext/standard/ |
H A D | crypt_freesec.c | 232 for (i = 0; i < 8; i++) in _crypt_extended_init() 243 for (i = 0; i < 64; i++) in _crypt_extended_init() 253 for (i = 0; i < 64; i++) { in _crypt_extended_init() 262 for (i = 0; i < 56; i++) { in _crypt_extended_init() 271 for (i = 0; i < 48; i++) { in _crypt_extended_init() 280 for (i = 0; i < 256; i++) { in _crypt_extended_init() 299 for (i = 0; i < 128; i++) { in _crypt_extended_init() 333 for (i = 0; i < 32; i++) in _crypt_extended_init() 337 for (i = 0; i < 256; i++) { in _crypt_extended_init() 369 for (i = 0; i < 24; i++) { in setup_salt() [all …]
|
/PHP-5.4/ext/spl/tests/ |
H A D | SplFixedArray_serialize.phpt | 30 …lFixedArray":5:{i:0;s:3:"foo";i:1;N;i:2;i:42;i:3;O:8:"stdClass":1:{s:4:"prop";s:5:"value";}i:4;a:5…
|
H A D | bug45826.phpt | 72 string(84) "C:11:"ArrayObject":60:{x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:4;i:2;r:1;};m:a:0:{}}" 73 string(125) "x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:3;i:2;C:11:"ArrayObject":45:{x:i:0;a:3:{i:0;r:… 82 string(85) "C:12:"ArrayObject2":60:{x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:4;i:2;r:1;};m:a:0:{}}" 83 string(126) "x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:3;i:2;C:12:"ArrayObject2":45:{x:i:0;a:3:{i:0;r…
|
/PHP-5.4/Zend/ |
H A D | zend_stack.c | 93 int i; in zend_stack_destroy() local 96 for (i = 0; i < stack->top; i++) { in zend_stack_destroy() 97 efree(stack->elements[i]); in zend_stack_destroy() 121 int i; in zend_stack_apply() local 125 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply() 126 if (apply_function(stack->elements[i])) { in zend_stack_apply() 132 for (i=0; i<stack->top; i++) { in zend_stack_apply() 133 if (apply_function(stack->elements[i])) { in zend_stack_apply() 144 int i; in zend_stack_apply_with_argument() local 148 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply_with_argument() [all …]
|
H A D | zend_indent.c | 37 int i; in handle_whitespace() local 41 for (i=0; i<emit_whitespace[c]; i++) { in handle_whitespace() 57 int i; in zend_indent() local 72 for (i=0; i<LANG_SCNG(yy_leng); i++) { in zend_indent() 73 emit_whitespace[(unsigned char) LANG_SCNG(yy_text)[i]]++; in zend_indent() 103 for (i=0; i<nest_level; i++) { in zend_indent() 111 for (i=0; i<emit_whitespace['\n']; i++) { in zend_indent() 115 for (i=0; i<nest_level; i++) { in zend_indent()
|
/PHP-5.4/ext/standard/html_tables/ |
H A D | html_table_gen.php | 196 for ($i = 0; $i < 4; $i++) { variable 207 for ($i = 0; $i < 4; $i++) { variable 534 for ($i = 0; $i < 0x1E; $i++) { variable 603 for ($i = 0; $i < 0x1E; $i++) { variable 630 for ($i = 0; $i < 0x1E; $i++) { variable 631 if (isset($mstable[$i])) 753 for ($i = 0; $i < $numelems; $i++) { variable 754 if (empty($hashes[$i])) 773 for ($i = 0; $i < $numelems; $i++) { variable 774 if ($i == 0) echo "\t"; [all …]
|
/PHP-5.4/ext/pcre/pcrelib/ |
H A D | pcredemo.c | 61 int rc, i; in main() local 74 for (i = 1; i < argc; i++) in main() 83 if (argc - i != 2) in main() 89 pattern = argv[i]; in main() 90 subject = argv[i+1]; in main() 169 for (i = 0; i < rc; i++) in main() 172 int substring_length = ovector[2*i+1] - ovector[2*i]; in main() 217 for (i = 0; i < namecount; i++) in main() 380 for (i = 0; i < rc; i++) in main() 383 int substring_length = ovector[2*i+1] - ovector[2*i]; in main() [all …]
|
/PHP-5.4/ext/gd/tests/ |
H A D | colorresolve.phpt | 21 for ($i=0; $i<255; $i++) imagecolorresolve($im, $i,0,0); 27 for ($i=0; $i<256; $i++) { 28 if ($i == 246) { 29 imagecolorresolve($im, $i,10,10); 31 imagecolorresolve($im, $i,0,0); 51 for ($i=0; $i<255; $i++) imagecolorresolvealpha($im, $i,0,0,1); 57 for ($i=0; $i<256; $i++) { 58 if ($i == 246) { 59 imagecolorresolvealpha($im, $i,10,10,1); 61 imagecolorresolvealpha($im, $i,0,0,100);
|
/PHP-5.4/ext/date/lib/ |
H A D | parse_tz.c | 97 for (i = 0; i < tz->timecnt; i++) { in read_transistions() 133 for (i = 0; i < tz->typecnt; i++) { in read_types() 161 for (i = 0; i < tz->leapcnt; i++) { in read_types() 176 for (i = 0; i < tz->ttisstdcnt; i++) { in read_types() 177 tz->type[i].isstdcnt = buffer[i]; in read_types() 190 for (i = 0; i < tz->ttisgmtcnt; i++) { in read_types() 240 for (i = 0; i < tz->timecnt; i++) { in timelib_dump_tzinfo() 242 tz->trans[i], tz->trans[i], tz->trans_idx[i], in timelib_dump_tzinfo() 251 for (i = 0; i < tz->leapcnt; i++) { in timelib_dump_tzinfo() 369 for (i = 0; i < tz->timecnt; i++) { in fetch_timezone_offset() [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | bug26938.phpt | 12 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);' 19 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);' 23 for ($i=0;$i<6;$i++) 24 print "md5(line $i)= " . md5($out[$i]) . " (length " . 25 strlen($out[$i]) . ")\n";
|