/PHP-7.4/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_variation7.phpt | 3 EXPLODE_ALLOC_STEP (64) and the $limit is negative 9 /* Prototype : array explode ( string $delimiter , string $string [, int $limit ] )
|
/PHP-7.4/ext/opcache/tests/ |
H A D | jmp_elim_002.phpt | 9 'type' => 'monthly', 'limit' => '', 17 if ( ! empty( $r['limit'] ) ) { 18 $r['limit'] = absint( $r['limit'] ); 19 $r['limit'] = ' LIMIT ' . $r['limit'];
|
/PHP-7.4/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-7.4/ext/pdo/tests/ |
H A D | bug_65946.phpt | 21 $sql = 'SELECT TOP :limit * FROM test'; 24 $sql = 'SELECT TOP (:limit) * FROM test'; 27 $sql = 'SELECT FIRST :limit * FROM test'; 30 //$sql = 'SELECT * FROM test FETCH FIRST :limit ROWS ONLY'; // Oracle 12c syntax 31 …ql = "select id from (select a.*, rownum rnum from (SELECT * FROM test) a where rownum <= :limit)"; 34 $sql = 'SELECT * FROM test LIMIT :limit'; 38 $stmt->bindValue('limit', 1, PDO::PARAM_INT);
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_context.c | 376 ccontext->parens_nest_limit = limit; in pcre2_set_parens_nest_limit() 419 pcre2_set_heap_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_heap_limit() argument 421 mcontext->heap_limit = limit; in pcre2_set_heap_limit() 426 pcre2_set_match_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_match_limit() argument 428 mcontext->match_limit = limit; in pcre2_set_match_limit() 433 pcre2_set_depth_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_depth_limit() argument 435 mcontext->depth_limit = limit; in pcre2_set_depth_limit() 440 pcre2_set_offset_limit(pcre2_match_context *mcontext, PCRE2_SIZE limit) in pcre2_set_offset_limit() argument 442 mcontext->offset_limit = limit; in pcre2_set_offset_limit() 450 pcre2_set_recursion_limit(pcre2_match_context *mcontext, uint32_t limit) in pcre2_set_recursion_limit() argument [all …]
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | max_depth.phpt | 66 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/sockets/tests/ |
H A D | mcast_helpers.php.inc | 2 function checktimeout($sock, $limit) { 5 if (socket_select($readfs, $writefs, $exceptfs, 0, $limit*1000) != 1) {
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug61453.phpt | 5 $limit = 1000; 7 for($i = 0; $i < $limit; $i++){
|
/PHP-7.4/sapi/fpm/tests/ |
H A D | logtool.inc | 41 private $limit; 60 * @param int $limit 66 $this->limit = $limit; 219 … "The continuous line length is $lineLen but it should equal to limit $this->limit" 251 if ($lineLen > $this->limit) { 253 "The line length is $lineLen which is higher than limit $this->limit" 460 'limit' => 1050, 475 'limit' => 1050, 491 'limit' => 1024, 497 'limit' => 1024, [all …]
|
H A D | bug78323.phpt | 14 passthru("$php --memory-limit=1G 2>&1", $exitCode); 25 passthru("$php -dmemory-limit=1G -v", $exitCode);
|
/PHP-7.4/Zend/tests/ |
H A D | bug81070.phpt | 2 Bug #81070 Setting memory limit to below current usage 13 Warning: Failed to set memory limit to 3145728 bytes (Current memory usage is %d bytes) in %s on li…
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_fetch_array_large.phpt | 39 /* buffered result set - let's hope we do not run into PHP memory limit... */ 85 function parse_memory_limit($limit) { 87 $val = trim($limit); 122 … $limit = (ini_get('memory_limit') > 0) ? parse_memory_limit(ini_get('memory_limit')) : pow(2, 32); 124 /* try to respect php.ini but make run time a soft limit */ 129 if ($package_size > $limit) { 130 printf("stop: memory limit - %s vs. %s\n", $package_size, $limit); 144 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…
|
/PHP-7.4/ext/intl/transliterator/ |
H A D | transliterator_methods.c | 305 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/standard/tests/network/ |
H A D | bug68925.phpt | 9 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/ |
H A D | mt_rand.c | 215 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()
|
/PHP-7.4/sapi/cli/tests/ |
H A D | 006.phpt | 94 Parameter #3 [ <optional> $limit ] 104 Parameter #3 [ <optional> $limit ] 114 Parameter #2 [ <optional> $limit ] 125 Parameter #3 [ <optional> $limit ] 134 Parameter #2 [ <optional> $limit ]
|
/PHP-7.4/sapi/cgi/tests/ |
H A D | bug78323.phpt | 14 passthru("$php --memory-limit=1G 2>&1", $exitCode); 26 passthru("$php -dmemory-limit=1G -v", $exitCode);
|
/PHP-7.4/ext/exif/tests/ |
H A D | bug68799.phpt | 17 function doStuff ($limit) { 22 for ($i = 0; $i < $limit; $i++) {
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mbregex_stack_limit2.phpt | 2 Test oniguruma stack limit 30 Warning: mb_ereg_replace(): mbregex search failure in php_mbereg_replace_exec(): match-stack limit …
|
/PHP-7.4/win32/ |
H A D | select.c | 35 ULONGLONG ms_total, limit; in php_select() local 101 limit = GetTickCount64() + ms_total; in php_select() 153 } while (retcode == 0 && (ms_total == INFINITE || GetTickCount64() < limit)); in php_select()
|
/PHP-7.4/Zend/ |
H A D | zend_builtin_functions.h | 26 ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int options, int limit);
|
/PHP-7.4/ext/gmp/tests/ |
H A D | gmp_random_bits.phpt | 18 $limit = (2 ** 30) - 1; 22 if ($result < 0 || $result > $limit) {
|