/PHP-5.3/ext/standard/tests/strings/ |
H A D | explode_variation6.phpt | 15 echo "\n-- positive limit with null separator --\n"; 24 echo "\n-- limit = 0 --\n"; 27 echo "\n-- limit = -1 --\n"; 30 echo "\n-- large limit = -100 --\n"; 33 function test_explode($delim, $string, $limit) 35 $e = explode($delim, $string, $limit); 46 -- positive limit with null separator -- 50 -- negative limit (since PHP 5.1) with null separator -- 57 -- limit = 0 -- 60 -- limit = -1 -- [all …]
|
H A D | explode_variation5.phpt | 6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] ) 14 echo "\n-- positive limit --\n"; 17 echo "\n-- negative limit (since PHP 5.1) --\n"; 20 echo "\n-- negative limit (since PHP 5.1) with null string -- \n"; 27 -- positive limit -- 35 -- negative limit (since PHP 5.1) -- 45 -- negative limit (since PHP 5.1) with null string --
|
H A D | explode_error.phpt | 6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] ) 19 $limit = 5; 21 var_dump( explode($delimeter, $string, $limit, $extra_arg) );
|
H A D | explode_variation3.phpt | 2 Test explode() function : usage variations - test values for $limit argument 6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] ) 11 echo "*** Testing explode() function: with unexpected inputs for 'limit' argument ***\n"; 75 foreach($limits as $limit) { 77 var_dump( explode($delimeter, $string, $limit) ); 86 *** Testing explode() function: with unexpected inputs for 'limit' argument ***
|
H A D | explode1.phpt | 8 /* Prototype: array explode ( string $delimiter, string $string [, int $limit] ); 11 If limit is set, the returned array will contain a maximum of limit 50 echo "\n-- Passing limit values 0 and 1 to explode() --\n"; 54 /* to check the maximum limit of string that can be given with limit<=0, 56 echo "\n*** Testing explode() for maximum limit of string with Limit = -1 ***\n"; 329 -- Passing limit values 0 and 1 to explode() -- 339 *** Testing explode() for maximum limit of string with Limit = -1 ***
|
H A D | explode_variation2.phpt | 6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] ) 74 $limit = 5; 77 var_dump( explode($delimeter, $string, $limit) );
|
/PHP-5.3/tests/func/ |
H A D | 010.phpt | 12 $limit = $boundary+42; 32 for($i=0; $i < $limit; ++$i) { 33 $str .= '$v'.dechex($i).($i===($limit-1) ? '' : ','); 41 test($v'.dechex($limit-1).", '".dechex($limit-1).'\'); // last 50 for($i=0; $i< $limit; ++$i) { 51 $str .= "'".dechex($i)."'".($i===($limit-1) ? '' : ',');
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_fetch_array_large.phpt | 37 /* buffered result set - let's hope we do not run into PHP memory limit... */ 83 function parse_memory_limit($limit) { 85 $val = trim($limit); 120 $limit = (ini_get('memory_limit') > 0) ? parse_memory_limit(ini_get('memory_limit')) : pow(2, 32); 122 /* try to respect php.ini but make run time a soft limit */ 127 if ($package_size > $limit) { 128 printf("stop: memory limit - %s vs. %s\n", $package_size, $limit); 142 printf("stop: time limit - %2.2fs\n", $max_runtime);
|
H A D | mysqli_mysqlnd_read_timeout.phpt | 2 mysqlnd.net_read_timeout limit check 9 …/* The libmysql read_timeout limit default is 365 * 24 * 3600 seconds. It cannot be altered throug…
|
H A D | mysqli_stmt_send_long_data_packet_size_libmysql.phpt | 52 $limit = min(floor($max_allowed_packet / 1024 / 2), 10240); 53 for ($i = 0; $i < $limit; $i++) 71 $limit = $max_allowed_packet - strlen($blob) + 1; 73 for ($i = 0; $i < $limit; $i++)
|
/PHP-5.3/TSRM/ |
H A D | tsrm_config_common.h | 58 # define tsrm_do_alloca_ex(size, limit, use_heap) \ argument 59 ((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size))
|
/PHP-5.3/sapi/cgi/ |
H A D | fastcgi.c | 1113 int limit, rest; local 1137 if (rest < limit) { 1143 req->out_pos += limit; 1144 rest -= limit; 1145 str += limit; 1156 if (limit < 0) limit = 0; 1159 if (len < limit) { 1169 if (limit > 0) { 1171 req->out_pos += limit; 1176 if (len > limit) { [all …]
|
/PHP-5.3/ext/pcre/tests/ |
H A D | preg_replace_error.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 18 $limit = 10; 20 var_dump(preg_replace($regex, $replace, $subject, $limit, $count, $extra_arg));
|
H A D | preg_split_error.phpt | 6 * proto array preg_split(string pattern, string subject [, int limit [, int flags]]) 17 $limit = 10; 20 var_dump(preg_split($pattern, $subject, $limit, $flags, $extra_arg));
|
H A D | preg_replace_callback_error.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 22 $limit = 10; 24 var_dump(preg_replace_callback($regex, 'integer_word', $subject, $limit, $count, $extra_arg));
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | mb_split_error.phpt | 10 /* Prototype : proto array mb_split(string pattern, string string [, int limit]) 27 $limit = 0; 29 var_dump( mb_split($pattern, $string, $limit, $extra_arg) );
|
/PHP-5.3/ext/ereg/tests/ |
H A D | split_error_001.phpt | 5 /* Prototype : proto array split(string pattern, string string [, int limit]) 18 $limit = 10; 20 var_dump( split($pattern, $string, $limit, $extra_arg) );
|
H A D | spliti_error_001.phpt | 5 /* Prototype : proto array spliti(string pattern, string string [, int limit]) 18 $limit = 10; 20 var_dump( spliti($pattern, $string, $limit, $extra_arg) );
|
H A D | split_variation_004.phpt | 2 Test split() function : usage variations - out-of-range values for limit 5 /* Prototype : proto array split(string pattern, string string [, int limit])
|
H A D | spliti_variation_004.phpt | 2 Test spliti() function : usage variations - out-of-range values for limit 5 /* Prototype : proto array spliti(string pattern, string string [, int limit])
|
/PHP-5.3/sapi/cli/tests/ |
H A D | 006.phpt | 83 Parameter #3 [ <optional> $limit ] 93 Parameter #3 [ <optional> $limit ] 103 Parameter #3 [ <optional> $limit ] 112 Parameter #2 [ <optional> $limit ]
|
/PHP-5.3/win32/ |
H A D | select.c | 39 DWORD ms_total, limit; in php_select() local 100 limit = GetTickCount() + ms_total; in php_select() 152 } while (retcode == 0 && (ms_total == INFINITE || GetTickCount() < limit)); in php_select()
|
/PHP-5.3/ext/spl/internal/ |
H A D | infiniteiterator.inc | 26 $limit = new LimitIterator($infinite, 0, 5); 27 foreach($limit as $val=>$key)
|
/PHP-5.3/ext/pcre/ |
H A D | php_pcre.h | 36 …ect_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_coun… 61 int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC);
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fastcgi.c | 955 int limit, rest; local 966 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf); 968 limit -= sizeof(fcgi_header); 969 if (limit < 0) limit = 0; 972 if (len < limit) { 982 if (limit > 0) { 983 memcpy(req->out_pos, str, limit); 984 req->out_pos += limit; 989 if (len > limit) { 991 memcpy(req->out_pos, str + limit, len - limit); [all …]
|