/PHP-5.5/ext/gd/libgd/ |
H A D | gd_gif_in.c | 268 for (i=((im->colorsTotal-1)); (i>=0); i--) { in gdImageCreateFromGifCtx() 285 for (i = 0; i < number; ++i) { in ReadColorMap() 358 for (i=0;i<rv;i++) { in GetDataBlock() 444 for (i = 0; i < sd->clear_code; ++i) { in LWZReadByte_() 446 sd->table[1][i] = i; in LWZReadByte_() 468 for (i = 0; i < sd->clear_code; ++i) { in LWZReadByte_() 470 sd->table[1][i] = i; in LWZReadByte_() 574 for (i=0; (i<gdMaxColors); i++) { in ReadImage() 575 im->red[i] = cmap[CM_RED][i]; in ReadImage() 576 im->green[i] = cmap[CM_GREEN][i]; in ReadImage() [all …]
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | number_format_basic.phpt | 27 for ($i = 0; $i < count($values); $i++) { 28 $res = number_format($values[$i]); 33 for ($i = 0; $i < count($values); $i++) { 34 $res = number_format($values[$i], 2); 39 for ($i = 0; $i < count($values); $i++) { 40 $res = number_format($values[$i], 2, '.', ' '); 45 for ($i = 0; $i < count($values); $i++) { 46 $res = number_format($values[$i], 2, ',' , ' ');
|
/PHP-5.5/ext/date/tests/ |
H A D | bug17988.phpt | 7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n"; 8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n"; 9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MET"))."\n"; 10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MEST"))."\n"; 11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n"; 12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; 13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; 14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n"; 15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n"; 16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n"; [all …]
|
H A D | bug32086.phpt | 9 echo $i = strtotime("2004-11-01 +1 day"), "\n"; 13 echo date("Y-m-d H:i:s T\n", $g); 14 echo date("Y-m-d H:i:s T\n", $i); 15 echo date("Y-m-d H:i:s T\n", $j); 16 echo date("Y-m-d H:i:s T\n", $k); 17 echo date("Y-m-d H:i:s T\n", $l); 24 echo date("Y-m-d H:i:s T\n", $g); 25 echo date("Y-m-d H:i:s T\n", $i); 26 echo date("Y-m-d H:i:s T\n", $j); 27 echo date("Y-m-d H:i:s T\n", $k); [all …]
|
H A D | date_diff.phpt | 14 for ( $i = 0; $i < COUNT * 12; $i++ ) 17 $dates[$i] = $d->add( new DateInterval( "P{$i}D" ) ); 20 for ( $i = 0; $i < COUNT; $i++) 22 // echo $dates[$i]->format( "Y-m-d\n" ); 25 $diff = date_diff( $dates[$i], $dates[$j] ); 28 $dates[$i]->format( 'Y-m-d' ), 35 $current = clone $dates[$i]; 48 $dates[$i]->format( 'Y-m-d' ), " + ",
|
/PHP-5.5/scripts/dev/ |
H A D | check_parameters.php | 218 for ($i = 0; $i < $len; ++$i) { 219 switch($char = $m[1][0][$i]) { 226 if ($i == $len-1) { 255 error("unknown char ('&') at column $i"); 270 error("unknown char ('$char') at column $i"); 323 for ($i = 0; $i < count($lines); ++$i) { 324 $j += strlen($lines[$i]) + strlen(@$lines[++$i]); 332 for ($i = 0; $i < count($split); $i+=2) { 336 check_function(preg_replace('/\s*,\s*/S', '::', $split[$i][0]), $f, $split[$i][1]); 352 for ($i = 1; $i < $argc; $i++) { variable [all …]
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | serialization_objects_004.phpt | 43 string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;r:2;}" 44 string(22) "a:2:{i:0;i:1;i:1;i:1;}" 45 string(30) "a:2:{i:0;s:1:"a";i:1;s:1:"a";}" 46 string(22) "a:2:{i:0;b:1;i:1;b:1;}" 47 string(18) "a:2:{i:0;N;i:1;N;}" 48 string(26) "a:2:{i:0;a:0:{}i:1;a:0:{}}"
|
H A D | bug70219.phpt | 16 $inner = 'ryat|a:1:{i:0;a:1:{i:1;'; 17 $exploit = 'a:2:{i:0;C:3:"obj":'.strlen($inner).':{'.$inner.'}i:1;R:4;}'; 21 for ($i = 0; $i < 5; $i++) { 22 $v[$i] = 'hi'.$i;
|
/PHP-5.5/Zend/tests/ |
H A D | add_006.phpt | 8 $i = 75636; 14 $c = $i + $s1; 17 $c = $i + $s2; 20 $c = $i + $s3; 23 $c = $i + $s4; 26 $c = $s1 + $i; 29 $c = $s2 + $i; 32 $c = $s3 + $i; 35 $c = $s4 + $i;
|
/PHP-5.5/TSRM/ |
H A D | TSRM.c | 167 int i; in tsrm_shutdown() local 170 for (i=0; i<tsrm_tls_table_size; i++) { in tsrm_shutdown() 244 for (i=0; i<tsrm_tls_table_size; i++) { in ts_allocate_id() 287 for (i=0; i<id_count; i++) { in allocate_new_resource() 391 for (i=0; i<thread_resources->count; i++) { in tsrm_free_interpreter_context() 396 for (i=0; i<thread_resources->count; i++) { in tsrm_free_interpreter_context() 456 for (i=0; i<thread_resources->count; i++) { in ts_free_thread() 461 for (i=0; i<thread_resources->count; i++) { in ts_free_thread() 498 for (i=0; i<thread_resources->count; i++) { in ts_free_worker_threads() 503 for (i=0; i<thread_resources->count; i++) { in ts_free_worker_threads() [all …]
|
/PHP-5.5/ext/phar/tests/ |
H A D | bug13727.phpt | 16 for ($i = 0; $i < 4*1024; $i++){ 17 echo("$i\n"); 20 file_put_contents("$fileDir/$i", ""); 21 $p->addFile("$fileDir/$i", "$dirName"); 23 echo("\n Written Files($i)\n"); 30 for ($i = 0; $i < 4*1024; $i++){ 31 unlink("$fileDir/$i");
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug70166.phpt | 5 $inner = 'x:i:1;a:0:{};m:a:0:{}'; 6 $exploit = 'a:2:{i:0;C:11:"ArrayObject":'.strlen($inner).':{'.$inner.'}i:1;R:5;}'; 10 for($i = 0; $i < 5; $i++) { 11 $v[$i] = 'hi'.$i;
|
H A D | bug70169.phpt | 5 $inner = 'i:1;'; 6 $exploit = 'a:2:{i:0;C:19:"SplDoublyLinkedList":'.strlen($inner).':{'.$inner.'}i:1;R:3;}'; 10 for($i = 0; $i < 5; $i++) { 11 $v[$i] = 'hi'.$i;
|
H A D | bug70168.phpt | 5 $inner = 'x:i:1;O:8:"stdClass":0:{};m:a:0:{}'; 6 $exploit = 'a:2:{i:0;C:16:"SplObjectStorage":'.strlen($inner).':{'.$inner.'}i:1;R:3;}'; 10 for($i = 0; $i < 5; $i++) { 11 $v[$i] = 'hi'.$i;
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | bug26615.phpt | 10 …exec($_ENV['TEST_PHP_EXECUTABLE'].' -n -r \'for($i=1;$i<=5000;$i++) print "$i\n";\' | tr \'\n\' \'… 12 …exec($_ENV['TEST_PHP_EXECUTABLE'].' -n -r "for($i=1;$i<=5000;$i++) echo $i,\' \';"', $out, $status…
|
/PHP-5.5/ext/hash/ |
H A D | hash_sha.c | 176 #define W(i) ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \ argument 490 for(i = 0; i < 16; i++) { in SHA256Transform() 491 W[i] = x[i]; in SHA256Transform() 493 for(i = 16; i < 64; i++) { in SHA256Transform() 494 W[i] = SHA256_F5(W[i-2]) + W[i-7] + SHA256_F4(W[i-15]) + W[i-16]; in SHA256Transform() 497 for (i = 0; i < 64; i++) { in SHA256Transform() 800 for(i = 0; i < 16; i++) { in SHA512Transform() 801 W[i] = x[i]; in SHA512Transform() 803 for(i = 16; i < 80; i++) { in SHA512Transform() 804 W[i] = SHA512_F5(W[i-2]) + W[i-7] + SHA512_F4(W[i-15]) + W[i-16]; in SHA512Transform() [all …]
|
H A D | hash_snefru.c | 38 int i; in ph() local 39 for (i = 0; i < 16; i++) in ph() 40 printf ("%08lx", h[i]); printf("\n"); in ph() 125 int i, j; in SnefruTransform() local 127 for (i = 0, j = 0; i < 32; i += 4, ++j) { in SnefruTransform() 128 context->state[8+j] = ((input[i] & 0xff) << 24) | ((input[i+1] & 0xff) << 16) | in SnefruTransform() 129 ((input[i+2] & 0xff) << 8) | (input[i+3] & 0xff); in SnefruTransform() 159 i = 32 - context->length; in PHP_SNEFRUUpdate() 164 for (; i + 32 <= len; i += 32) { in PHP_SNEFRUUpdate() 176 php_hash_uint32 i, j; in PHP_SNEFRUFinal() local [all …]
|
/PHP-5.5/ext/opcache/ |
H A D | zend_persist.c | 62 uint i; in zend_hash_persist() local 127 for (i = 0; i < ht->nTableSize; i++) { in zend_hash_persist() 369 for (i = 0; i < op_array->num_args; i++) { 414 int i; local 416 for (i = 0; i < op_array->last_var; i++) { 466 int i; local 469 for (i = 0; i < ce->default_properties_count; i++) { 476 int i; local 479 for (i = 0; i < ce->default_static_members_count; i++) { 547 i++; [all …]
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_diff_key.phpt | 13 $i = 1; 20 echo "------ Test $i --------\n";$i++;// 1 24 echo "------ Test $i --------\n";$i++;// 2 28 echo "------ Test $i --------\n";$i++;// 3 32 echo "------ Test $i --------\n";$i++;// 4 36 echo "------ Test $i --------\n";$i++;// 5 41 echo "------ Test $i --------\n";$i++;// 6 46 echo "------ Test $i --------\n";$i++;// 7 50 echo "------ Test $i --------\n";$i++;// 8 55 echo "------ Test $i --------\n";$i++;// 9
|
H A D | array_chunk.phpt | 7 for ($i = 0; $i < (sizeof($array) + 1); $i++) { 8 echo "[$i]\n"; 9 var_dump (@array_chunk ($array, $i)); 10 var_dump (@array_chunk ($array, $i, TRUE)); 11 var_dump (@array_chunk ($array, $i, FALSE));
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | closures_002.phpt | 8 $i = 0; 9 register_tick_function(function () use (&$i) { $i++; }); 12 echo "$i\n"; 13 echo "$i\n"; 14 var_dump ($i != 0); 15 echo "$i\n";
|
/PHP-5.5/ext/soap/ |
H A D | php_xml.h | 47 #define FOREACHATTRNODE(n,c,i) FOREACHATTRNODEEX(n,c,NULL,i) argument 54 i = get_attribute_ex(n,c,ns); \ 56 i = n; \ 58 if (i != NULL) { \ 59 n = i; 61 #define FOREACHNODE(n,c,i) FOREACHNODEEX(n,c,NULL,i) argument 62 #define FOREACHNODEEX(n,c,ns,i) \ argument 68 i = get_node_ex(n,c,NULL); \ 70 i = n; \ 72 if(i != NULL) { \ [all …]
|
/PHP-5.5/ext/standard/tests/math/ |
H A D | number_format_multichar.phpt | 19 for ($i = 0; $i < count($values); $i++) { 20 $res = number_format($values[$i], 2, '·', ' '); 25 for ($i = 0; $i < count($values); $i++) { 26 $res = number_format($values[$i], 2, '.' , ' '); 31 for ($i = 0; $i < count($values); $i++) { 32 $res = number_format($values[$i], 2, '·' , ' ');
|
/PHP-5.5/ext/dba/tests/ |
H A D | dba_cdb_read.phpt | 25 for ($i=1; $i<8; $i++) { 26 echo dba_exists($i, $db_file) ? "Y" : "N"; 42 for ($i=0; $i < strlen($keys); $i++) { 43 $key = substr($keys, $i, 1); 48 for ($i=0; $i < strlen($keys); $i++) { 49 $key = substr($keys, $i, 1);
|
/PHP-5.5/ext/opcache/Optimizer/ |
H A D | optimize_temp_vars_5.c | 63 for (i = 0; i < T; i++) { \ 68 taken_T[i] = 1; \ 69 if (i > max) { \ 70 max = i; \ 82 int i; local 125 map_T[currT] = i; 146 map_T[currT] = i; 161 map_T[currT] = i; 173 map_T[currT] = i; 175 taken_T[i] = 0; [all …]
|