/PHP-5.4/ext/standard/tests/array/ |
H A D | array_sum.phpt | 8 $i = 0; 9 while ($i++ < 1000) { 10 $a[] = $i; 11 $b[] = (string)$i;
|
H A D | array_chunk_variation18.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.4/ext/standard/tests/math/ |
H A D | dechex_basic.phpt | 20 for ($i = 0; $i < count($values); $i++) { 21 $res = dechex($values[$i]);
|
/PHP-5.4/ext/spl/tests/ |
H A D | spl_iterator_recursive_getiterator_error.phpt | 8 $i = new ArrayIterator(array(1,1,1,1,1)); 9 $iii = new IteratorIterator($i); 11 function p ($i) { 12 foreach ($i as &$value) {}
|
/PHP-5.4/sapi/nsapi/ |
H A D | nsapi.c | 248 register int i; in php_nsapi_init_dynamic_symbols() local 258 for (i=0; nsapi_dlls[i]; i++) { in php_nsapi_init_dynamic_symbols() 404 register int i; in PHP_FUNCTION() local 414 for (i=0; i < rc->rq->headers->hsize; i++) { in PHP_FUNCTION() 428 register int i; in PHP_FUNCTION() local 438 for (i=0; i < rc->rq->srvhdrs->hsize; i++) { in PHP_FUNCTION() 667 for (i = 0; i < nsapi_reqpb_size; i++) { in sapi_nsapi_register_server_variables() 674 for (i=0; i < rc->rq->headers->hsize; i++) { in sapi_nsapi_register_server_variables() 698 for (i = 0; i < nsapi_vars_size; i++) { in sapi_nsapi_register_server_variables() 705 for (i = 0; i < nsapi_client_size; i++) { in sapi_nsapi_register_server_variables() [all …]
|
/PHP-5.4/ext/interbase/ |
H A D | ibase_query.c | 101 int i; in _php_ibase_free_xsqlda() local 108 for (i = 0; i < sqlda->sqld; i++, var++) { in _php_ibase_free_xsqlda() 211 for (i = *array_cnt = 0; i < sqlda->sqld; ++i) { in _php_ibase_alloc_array() 220 for (i = n = 0; i < sqlda->sqld; ++i) { in _php_ibase_alloc_array() 452 for (i = 0; i < dim_len; ++i) { in _php_ibase_bind_array() 642 for (i = 0; i < sqlda->sqld; ++i) { /* bound vars */ in _php_ibase_bind() 813 for (i = 0; i < sqlda->sqld; i++) { in _php_ibase_alloc_xsqlda() 875 for (i = 0; i < argc; ++i) { in _php_ibase_exec() 1442 for (i = 0; i < dim_len; ++i) { in _php_ibase_arr_zval() 1506 for (i = 0; i < ib_result->out_sqlda->sqld; ++i) { in _php_ibase_fetch_hash() [all …]
|
/PHP-5.4/ext/json/tests/ |
H A D | bug46944.phpt | 8 for ($i = 1; $i <= 16; $i++) { 9 $first = 0xf0|($i >> 2); 10 $second = 0x8f|($i & 3) << 4;
|
H A D | bug47644.phpt | 11 for ($i = 10000000000000000; $i < 10000000000000006; $i++) { 12 var_dump(json_decode("[$i]"));
|
/PHP-5.4/ext/gd/tests/ |
H A D | libgd00186.phpt | 21 for ($i=0; $i<10; $i++) { 22 imagesetpixel($im,$i,$i,IMG_COLOR_TILED);
|
/PHP-5.4/ext/hash/tests/ |
H A D | mhash_002.phpt | 33 for ($i=0; $i < $hc; $i++) { 34 $known_hash_al[mhash_get_hash_name($i)] = $i;
|
/PHP-5.4/scripts/dev/generate-phpt/src/testcase/ |
H A D | gtVariationContainerMethod.php | 33 for($i = 1; $i <= $numberOfArguments; $i++) { 38 $testCase->setUp($this->method, $i, $d);
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug68594.phpt | 5 for ($i=4; $i<100; $i++) { 13 $m->ddd = str_repeat("A", $i);
|
/PHP-5.4/ext/pdo_firebird/ |
H A D | firebird_statement.c | 38 int i; in free_sqlda() local 40 for (i = 0; i < sqlda->sqld; ++i) { in free_sqlda() 54 int result = 1, i; in firebird_stmt_dtor() local 63 for (i = 0; i < S->out_sqlda.sqld; ++i) { in firebird_stmt_dtor() 123 while (result[i] != isc_info_end && i < result_size) { in firebird_stmt_execute() 128 i += len + 3; in firebird_stmt_execute() 229 unsigned short i; in firebird_fetch_blob() local 244 for (i = 0; i < sizeof(bl_info); ) { in firebird_fetch_blob() 260 i += item_len+2; in firebird_fetch_blob() 474 int i; in firebird_stmt_param_hook() local [all …]
|
/PHP-5.4/win32/build/ |
H A D | projectgen.js | 10 for(i = 0; i < arr.length; i++) { 11 if (core.match(arr[i])) { 14 core += " " + arr[i]; 44 for (i = 0; i < arr.length; i++) { 45 if (arr[i].length > 1) { 54 libpath = arr[i].substr(2, arr[i].lastIndexOf("\\") - 2); 121 for (i = 0; i < arr.length; i++) { 156 for (i = 0; i < defs.length; i++) { 158 cmds += "\ttype ..\\" + defs[i] + (i == 0 ? " > " : " >> ") + path + " \\\r\n"; 587 for (i= 0; i < bcflags.length; i++) { [all …]
|
/PHP-5.4/Zend/ |
H A D | zend_ptr_stack.c | 86 int i = stack->top; in zend_ptr_stack_apply() local 88 while (--i >= 0) { in zend_ptr_stack_apply() 89 func(stack->elements[i]); in zend_ptr_stack_apply() 98 int i = stack->top; in zend_ptr_stack_clean() local 100 while (--i >= 0) { in zend_ptr_stack_clean() 101 pefree(stack->elements[i], stack->persistent); in zend_ptr_stack_clean()
|
/PHP-5.4/ext/date/tests/ |
H A D | date_modify-1.phpt | 9 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 11 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 15 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 17 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 20 echo date_format($ts, 'D, d M Y H:i:s T'), "\n"; 22 echo date_format($ts, 'D, d M Y H:i:s T'), "\n";
|
H A D | bug33414-2.phpt | 8 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 10 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n"; 16 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 18 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n"; 24 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 32 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 40 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 48 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 56 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; 64 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n"; [all …]
|
/PHP-5.4/tests/lang/operators/ |
H A D | operator_identical_basic.phpt | 34 for ($i = 0; $i < count($toCompare); $i +=3) { 35 $typeToTest = $toCompare[$i]; 36 $valid_compares = $toCompare[$i + 1]; 37 $invalid_compares = $toCompare[$i + 2];
|
H A D | operator_notequals_basic.phpt | 34 for ($i = 0; $i < count($toCompare); $i +=3) { 35 $typeToTest = $toCompare[$i]; 36 $valid_compares = $toCompare[$i + 1]; 37 $invalid_compares = $toCompare[$i + 2];
|
H A D | operator_notidentical_basic.phpt | 34 for ($i = 0; $i < count($toCompare); $i +=3) { 35 $typeToTest = $toCompare[$i]; 36 $valid_compares = $toCompare[$i + 1]; 37 $invalid_compares = $toCompare[$i + 2];
|
/PHP-5.4/ext/pdo_oci/ |
H A D | config.w32 | 19 for (i = 0; i < pdo_oci_dirs.length; i++) { 20 pdo_oci_lib_paths += pdo_oci_dirs[i] + "\\lib;"; 21 pdo_oci_lib_paths += pdo_oci_dirs[i] + "\\lib\\msvc;"; 22 pdo_oci_inc_paths += pdo_oci_dirs[i] + "\\include;";
|
/PHP-5.4/ext/com_dotnet/ |
H A D | com_typeinfo.c | 95 unsigned int i, j; in php_com_load_typelib() local 109 for (i = 0; i < SubKeys && TL == NULL; i++) { in php_com_load_typelib() 158 int i, j, interfaces; in php_com_import_typelib() local 173 for (i = 0; i < interfaces; i++) { in php_com_import_typelib() 335 int i; in php_com_locate_typeinfo() local 339 for (i = 0; i < attr->cImplTypes; i++) { in php_com_locate_typeinfo() 413 int i; in vt_to_string() local 414 for (i = 0; vt_names[i].name != NULL; i++) { in vt_to_string() 415 if (vt_names[i].vt == vt) in vt_to_string() 438 int i; in php_com_process_typeinfo() local [all …]
|
/PHP-5.4/ext/recode/ |
H A D | config.m4 | 11 for i in $RECODE_LIST; do 12 if test -f $i/include/recode.h; then 13 RECODE_DIR=$i 17 if test -f $i/include/recode/recode.h; then 18 RECODE_DIR=$i 22 if test -f $i/recode/include/recode.h; then 23 RECODE_DIR=$i/recode
|
/PHP-5.4/ext/oci8/tests/ |
H A D | commit_001.phpt | 21 for ($i = 0; $i<3; $i++) { 27 for ($i = 0; $i<3; $i++) { 60 for ($i = 0; $i<3; $i++) {
|
/PHP-5.4/tests/output/ |
H A D | bug60768.phpt | 12 for($i = 0; $i < 10; $i++) { 13 echo str_pad($i, 9, ' ', STR_PAD_LEFT) . "\n"; // full buffer dumped every time
|