/PHP-5.5/ext/fileinfo/ |
H A D | create_data_file.php | 9 for ($i = 0; $i < $dta_l; $i++) { variable 10 printf("0x%02X, ", ord($dta[$i]));
|
/PHP-5.5/ext/session/tests/ |
H A D | session_encode_variation5.phpt | 33 string(64) "data|a:5:{i:0;i:1;i:1;i:2;i:2;i:3;s:3:"foo";R:1;s:4:"blah";R:1;}"
|
/PHP-5.5/ext/standard/ |
H A D | password.c | 71 size_t i = 0; in php_password_salt_is_alphabet() local 73 for (i = 0; i < len; i++) { in php_password_salt_is_alphabet() 74 …if (!((str[i] >= 'A' && str[i] <= 'Z') || (str[i] >= 'a' && str[i] <= 'z') || (str[i] >= '0' && st… in php_password_salt_is_alphabet() 114 size_t i, raw_length; in php_password_make_salt() local 155 for (i = 0; i < raw_length; i++) { in php_password_make_salt() 156 buffer[i] ^= (char) (255.0 * php_rand(TSRMLS_C) / RAND_MAX); in php_password_make_salt() 275 int status = 0, i; in PHP_FUNCTION() local 295 for (i = 0; i < hash_len; i++) { in PHP_FUNCTION() 296 status |= (ret[i] ^ hash[i]); in PHP_FUNCTION()
|
H A D | soundex.c | 32 int i, _small, str_len, code, last; in PHP_FUNCTION() local 72 for (i = 0, _small = 0; i < str_len && _small < 4; i++) { in PHP_FUNCTION() 77 code = toupper((int)(unsigned char)str[i]); in PHP_FUNCTION()
|
/PHP-5.5/ext/mcrypt/tests/ |
H A D | mcrypt_decrypt_3des_cbc.phpt | 51 for ($i = 0; $i < sizeof($keys); $i++) { 52 echo "\nkey length=".strlen($keys[$i])."\n"; 53 special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), $mode, $iv)); 58 for ($i = 0; $i < sizeof($ivs); $i++) { 59 echo "\niv length=".strlen($ivs[$i])."\n"; 60 special_var_dump(mcrypt_decrypt($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i]));
|
/PHP-5.5/tests/lang/ |
H A D | 022.phpt | 6 function switchtest ($i, $j) 8 switch ($i) { 27 for ($i=0; $i<3; $i++) {
|
H A D | bug27354.phpt | 11 int(%i) 12 int(%i) 13 int(%i) 14 int(%i)
|
/PHP-5.5/ext/enchant/ |
H A D | config.m4 | 16 for i in $ENCHANT_SEARCH_DIRS; do 17 if test -f $i/include/enchant/enchant.h; then 18 ENCHANT_DIR=$i 19 ENCHANT_INCDIR=$i/include/enchant 20 elif test -f $i/include/enchant.h; then 21 ENCHANT_DIR=$i 22 ENCHANT_INCDIR=$i/include
|
/PHP-5.5/ext/dba/tests/ |
H A D | dba006.phpt | 21 $i=0; 24 $i++; 26 echo $i; 27 for ($i=1; $i<6; $i++) { 28 echo dba_exists("key$i", $db_file) ? "Y" : "N";
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | 004.phpt | 6 for ($i = 1; $i < 6; $i++) { 7 @unlink("./TEST{$i}"); 52 for ($i = 1; $i < 6; $i++) { 53 @unlink("./TEST{$i}");
|
H A D | tempnam_variation1-win32.phpt | 20 for($i=1; $i<=10; $i++) { 21 echo "-- Iteration $i --\n"; 22 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 24 if( file_exists($files[$i]) ) { 27 print($files[$i]); 31 printf("%o", fileperms($files[$i]) ); 36 $file_dir = dirname($files[$i]); 53 for($i=1; $i<=10; $i++) { 54 unlink($files[$i]);
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_types.phpt | 43 if (!mysqli_stmt_bind_param($stmt, "i" . $bind_type, $id, $bind_value)) { 115 for ($i = 0; $i < $len; $i++) 121 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", -11, 20); 122 func_mysqli_stmt_get_result($link, $engine, "i", "TINYINT", NULL, 40); 126 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", 1, 100); 127 func_mysqli_stmt_get_result($link, $engine, "i", "BOOL", NULL, 120); 128 func_mysqli_stmt_get_result($link, $engine, "i", "BOOLEAN", 0, 140); 129 func_mysqli_stmt_get_result($link, $engine, "i", "BOOLEAN", NULL, 160); 146 func_mysqli_stmt_get_result($link, $engine, "i", "INTEGER", NULL, 440); 155 func_mysqli_stmt_get_result($link, $engine, "i", "BIGINT", NULL, 540); [all …]
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | 004.phpt | 14 for ($i = 0; $i < $times; $i++) { 25 for ($i = 0; $i < $times; $i++) {
|
H A D | bin2hex.phpt | 6 for($i=0; $i<256; $i++) { 7 $s .= chr($i);
|
/PHP-5.5/ext/pdo/ |
H A D | pdo_sqlstate.c | 314 int i; in pdo_sqlstate_init_error_table() local 322 for (i = 0; i < sizeof(err_initializer)/sizeof(err_initializer[0]); i++) { in pdo_sqlstate_init_error_table() 323 info = &err_initializer[i]; in pdo_sqlstate_init_error_table()
|
/PHP-5.5/ext/zip/tests/ |
H A D | utils.inc | 4 for($i=0; $i<$z->numFiles; $i++) { 5 $sb = $z->statIndex($i); 6 echo $i . ' ' . $sb['name'] . "\n";
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug54304.phpt | 13 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE); 14 $i->replacement = 42; 15 var_dump($i->replacement); 16 foreach ($i as $name=>$value) { 19 var_dump($i->replacement);
|
H A D | iterator_004.phpt | 9 protected $i; 20 $this->i = 0; 25 $ret = $this->i < count($this->a); 33 return $this->i; 39 return $this->a[$this->i]; 45 $this->i++; 54 $this->i = $index; 76 for($i = 1; $i < 4; $i++) 78 $l->seek($i);
|
/PHP-5.5/sapi/apache2handler/ |
H A D | php_apache.h | 61 int i; \ 63 for (i = 0; i < arr->nelts; i++) { \ 64 key = elts[i].key; \ 65 val = elts[i].val;
|
/PHP-5.5/ext/pspell/ |
H A D | config.m4 | 16 for i in $PSPELL_SEARCH_DIRS; do 17 if test -f $i/include/pspell/pspell.h; then 18 PSPELL_DIR=$i 19 PSPELL_INCDIR=$i/include/pspell 20 elif test -f $i/include/pspell.h; then 21 PSPELL_DIR=$i 22 PSPELL_INCDIR=$i/include
|
/PHP-5.5/ext/date/tests/ |
H A D | mktime_basic1.phpt | 5 /* Prototype : int mktime ([ int $hour= date("H") [, int $minute= date("i") [, int $second= dat… 37 int(%i) 38 int(%i) 39 int(%i) 40 int(%i) 41 int(%i) 42 int(%i) 45 int(%i)
|
H A D | mktime-1.phpt | 19 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,-1))."\n"; 20 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,0))."\n"; 21 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,1))."\n"; 22 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,-1))."\n"; 23 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,0))."\n"; 24 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,1))."\n"; 25 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,-1))."\n"; 26 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,0))."\n"; 27 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,1))."\n";
|
H A D | test-parse-from-format.phpt | 24 string(13) "Y-m-d\TH:i:sP" 35 string(16) "l, d-M-Y H:i:s T" 46 string(13) "Y-m-d\TH:i:sO" 57 string(16) "D, d M y H:i:s O" 68 string(16) "l, d-M-y H:i:s T" 79 string(16) "D, d M y H:i:s O" 90 string(16) "D, d M Y H:i:s O" 101 string(16) "D, d M Y H:i:s O" 112 string(13) "Y-m-d\TH:i:sP" 123 string(16) "D, d M Y H:i:s O" [all …]
|
/PHP-5.5/ext/tokenizer/tests/ |
H A D | token_get_all_variation19.phpt | 27 for ($i = 0; $i < 10; $i++) { 28 echo "Loop iteration $i\n"; 75 for ($i = 0; $i < 10; $i++) { 76 echo "Loop iteration $i\n";
|
/PHP-5.5/ext/gd/libgd/ |
H A D | xbm.c | 44 int bytes = 0, i; in gdImageCreateFromXbm() local 106 for (i = 0; i < bytes; i++) { in gdImageCreateFromXbm() 178 size_t i, l; in gdImageXbmCtx() local 189 for (i=0; i<l; i++) { in gdImageXbmCtx() 191 if (!isupper(name[i]) && !islower(name[i]) && !isdigit(name[i])) { in gdImageXbmCtx() 192 name[i] = '_'; in gdImageXbmCtx()
|