Home
last modified time | relevance | path

Searched refs:limit (Results 76 – 100 of 119) sorted by path

12345

/PHP-7.4/ext/standard/
H A Dstring.c1060 …I void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit) in php_explode() argument
1084 } while (p2 != NULL && --limit > 1); in php_explode()
1096 …ode_negative_limit(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit) in php_explode_negative_limit() argument
1124 to_return = limit + found; in php_explode_negative_limit()
1141 zend_long limit = ZEND_LONG_MAX; /* No limit */ in PHP_FUNCTION() local
1148 Z_PARAM_LONG(limit) in PHP_FUNCTION()
1159 if (limit >= 0) { in PHP_FUNCTION()
1166 if (limit > 1) { in PHP_FUNCTION()
1167 php_explode(delim, str, return_value, limit); in PHP_FUNCTION()
1168 } else if (limit < 0) { in PHP_FUNCTION()
[all …]
H A Durl_scanner_ex.re839 char *start, *end, *limit;
894 limit = ZSTR_VAL(url_state->url_app.s) + ZSTR_LEN(url_state->url_app.s);
897 while (end < limit) {
933 limit = ZSTR_VAL(url_state->form_app.s) + ZSTR_LEN(url_state->form_app.s);
935 while (end < limit) {
H A Dvar_unserializer.re373 #define YYLIMIT limit
463 "The depth limit can be changed using the max_depth unserialize() option "
774 const unsigned char *cursor, *limit, *marker, *start;
777 limit = max;
/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/tests/http/
H A Dbug38802.phpt108 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a…
121 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a…
130 Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: Redirection limit reached, a…
/PHP-7.4/ext/standard/tests/network/
H A Dbug68925.phpt9 Warning: gethostbyname(): Host name is too long, the limit is %d characters in %s%ebug68925.php on …
12 Warning: gethostbynamel(): Host name is too long, the limit is %d characters in %s%ebug68925.php on…
/PHP-7.4/ext/standard/tests/serialize/
H A Dmax_depth.phpt66 echo "Nested unserialize combined depth limit:\n";
77 // If depth limit is overridden, the depth should be counted
89 echo "Nested unserialize overridden depth limit:\n";
107 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max…
114 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max…
121 Warning: unserialize(): Maximum depth of 128 exceeded. The depth limit can be changed using the max…
128 Warning: unserialize(): Maximum depth of 256 exceeded. The depth limit can be changed using the max…
132 Nested unserialize combined depth limit:
134 Warning: unserialize(): Maximum depth of 256 exceeded. The depth limit can be changed using the max…
140 Nested unserialize overridden depth limit:
[all …]
/PHP-7.4/ext/standard/tests/streams/
H A Dproc_open_bug69900.phpt50 /* It is expected that the first call takes more than the limit.
/PHP-7.4/ext/standard/tests/strings/
H A Dexplode1.phpt8 /* 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 Dexplode_variation4.phpt6 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
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 …]
H A Dexplode_variation7.phpt3 EXPLODE_ALLOC_STEP (64) and the $limit is negative
9 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
/PHP-7.4/main/
H A Dfastcgi.c1543 int limit, rest; local
1567 if (rest < limit) {
1573 req->out_pos += limit;
1574 rest -= limit;
1575 str += limit;
1586 if (limit < 0) limit = 0;
1589 if (len < limit) {
1599 if (limit > 0) {
1601 req->out_pos += limit;
1606 if (len > limit) {
[all …]
/PHP-7.4/
H A Dphp.ini-development291 ; A value of 0 disables the depth limit.
408 ; http://php.net/memory-limit
1031 ; PCRE library backtracking limit.
1032 ; http://php.net/pcre.backtrack-limit
1035 ; PCRE library recursion limit.
1038 ; stack size limit imposed by the Operating System).
1039 ; http://php.net/pcre.recursion-limit
1118 ; Maximum number of persistent links. -1 means no limit.
1139 ; Maximum number of persistent links. -1 means no limit.
1151 ; Maximum number of links. -1 means no limit.
[all …]
H A Dphp.ini-production291 ; A value of 0 disables the depth limit.
408 ; http://php.net/memory-limit
1031 ; PCRE library backtracking limit.
1032 ; http://php.net/pcre.backtrack-limit
1035 ; PCRE library recursion limit.
1038 ; stack size limit imposed by the Operating System).
1039 ; http://php.net/pcre.recursion-limit
1118 ; Maximum number of persistent links. -1 means no limit.
1139 ; Maximum number of persistent links. -1 means no limit.
1151 ; Maximum number of links. -1 means no limit.
[all …]
/PHP-7.4/sapi/cgi/tests/
H A Dbug78323.phpt14 passthru("$php --memory-limit=1G 2>&1", $exitCode);
26 passthru("$php -dmemory-limit=1G -v", $exitCode);
/PHP-7.4/sapi/cli/tests/
H A D006.phpt94 Parameter #3 [ <optional> $limit ]
104 Parameter #3 [ <optional> $limit ]
114 Parameter #2 [ <optional> $limit ]
125 Parameter #3 [ <optional> $limit ]
134 Parameter #2 [ <optional> $limit ]
H A Dbug78323.phpt43 passthru("$php --memory-limit=1G 2>&1", $exitCode);
55 passthru("$php -dmemory-limit=1G -v", $exitCode);
/PHP-7.4/sapi/fpm/
H A Dphp-fpm.conf.in44 ; Log limit on number of characters in the single line (log entry). If the
45 ; line is over the limit, it is wrapped on multiple lines. The limit is for
76 ; Time limit for child processes to wait for a reaction on signals from master.
85 ; Note: A value of 0 indicates no limit
/PHP-7.4/sapi/fpm/tests/
H A Dbug78323.phpt14 passthru("$php --memory-limit=1G 2>&1", $exitCode);
25 passthru("$php -dmemory-limit=1G -v", $exitCode);
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 73 milliseconds

12345