Home
last modified time | relevance | path

Searched refs:limit (Results 51 – 75 of 119) sorted by last modified time

12345

/PHP-7.4/ext/standard/tests/strings/
H A Dexplode_variation5.phpt6 /* 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 Dexplode_variation6.phpt15 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 …]
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_bug30730.phpt2 Bug #30730 Filename path length limit broken on NTFS volume, using rename
/PHP-7.4/ext/standard/
H A Drandom.c256 zend_ulong limit = ZEND_ULONG_MAX - (ZEND_ULONG_MAX % umax) - 1; in php_random_int() local
259 while (trial > limit) { in php_random_int()
H A Dmt_rand.c215 uint32_t result, limit; in rand_range32() local
233 limit = UINT32_MAX - (UINT32_MAX % umax) - 1; in rand_range32()
236 while (UNEXPECTED(result > limit)) { in rand_range32()
245 uint64_t result, limit; in rand_range64() local
264 limit = UINT64_MAX - (UINT64_MAX % umax) - 1; in rand_range64()
267 while (UNEXPECTED(result > limit)) { in rand_range64()
H A Dphp_string.h135 … void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit);
/PHP-7.4/ext/spl/
H A Dspl_iterators.h138 } limit; member
/PHP-7.4/ext/pcre/tests/
H A Dpreg_replace_callback_error1.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
H A Dpreg_replace_error2.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
H A Dpreg_split_error1.phpt6 * proto array preg_split(string pattern, string subject [, int limit [, int flags]])
H A Dpreg_replace_error1.phpt6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])
/PHP-7.4/ext/pcre/
H A Dphp_pcre.h30 …_str, char *subject, size_t subject_len, zend_string *replace_str, size_t limit, size_t *replace_c…
49 size_t limit, size_t *replace_count);
/PHP-7.4/ext/intl/transliterator/
H A Dtransliterator_methods.c305 limit = -1; in PHP_FUNCTION() local
318 &arg1, &str, &str_len, &start, &limit ) == FAILURE ) in PHP_FUNCTION()
352 &str, &str_len, &start, &limit ) == FAILURE ) in PHP_FUNCTION()
359 if( limit < -1 ) in PHP_FUNCTION()
367 if( start < 0 || ((limit != -1 ) && (start > limit )) ) in PHP_FUNCTION()
385 if( ( start > ustr_len ) || (( limit != -1 ) && (limit > ustr_len ) ) ) in PHP_FUNCTION()
407 int32_t temp_limit = ( limit == -1 ? ustr_len : (int32_t) limit ); in PHP_FUNCTION()
/PHP-7.4/ext/intl/uchar/
H A Duchar.c186 UChar32 start, UChar32 limit, in enumCharType_callback() argument
196 ZVAL_LONG(&args[1], limit); in enumCharType_callback()
294 ZEND_ARG_INFO(0, limit)
329 UChar32 start, limit; in IC_METHOD() local
337 (convert_cp(&limit, zlimit) == FAILURE)) { in IC_METHOD()
341 …u_enumCharNames(start, limit, (UEnumCharNamesFn*)enumCharNames_callback, &context, nameChoice, &er… in IC_METHOD()
/PHP-7.4/ext/json/
H A Djson_scanner.re27 #define YYLIMIT s->limit
99 s->limit = (php_json_ctype *) str + str_len;
202 if (s->limit < s->cursor) {
H A Dphp_json_scanner.h30 php_json_ctype *limit; /* the last read character + 1 position */ member
/PHP-7.4/ext/gmp/tests/
H A Dgmp_random_bits.phpt18 $limit = (2 ** 30) - 1;
22 if ($result < 0 || $result > $limit) {
/PHP-7.4/Zend/tests/
H A Dbug74408.phpt2 Bug #74408 (Endless loop bypassing execution time limit)
/PHP-7.4/win32/
H A Dglob.c440 size_t limit = 0; local
498 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, &limit)) != 0)
511 return(globextend(pattern, pglob, &limit));
/PHP-7.4/tests/func/
H A D010.phpt12 $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-7.4/tests/basic/
H A Drfc1867_post_max_size.phpt18 Warning: POST Content-Length of %d bytes exceeds the limit of 1 bytes in %s
/PHP-7.4/sapi/fpm/tests/
H A Dlog-bm-limit-1024-msg-80.phpt2 FPM: Buffered message output log with limit 1024 and msg 80
H A Dlog-bm-limit-2048-msg-4000.phpt2 FPM: Buffered message output log with limit 2048 and msg 4000
H A Dlog-bwd-limit-1050-msg-2048.phpt2 FPM: Buffered worker output decorated log with limit 1050 with 2048 msg
H A Dlog-bwd-limit-1050-msg-2900.phpt2 FPM: Buffered worker output decorated log with limit 1050 with 2900 msg

Completed in 105 milliseconds

12345