Home
last modified time | relevance | path

Searched refs:info (Results 26 – 50 of 342) sorted by relevance

12345678910>>...14

/php-src/ext/spl/tests/
H A DSplFileInfo_setFileClass_basic.phpt8 $info = new SplFileInfo(__FILE__);
10 $info->setFileClass('MyFileObject');
11 echo get_class($info->openFile()), "\n";
13 $info->setFileClass('SplFileObject');
14 echo get_class($info->openFile()), "\n";
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_errmode.phpt43 $info = $db->errorInfo();
47 if ($code !== $info[0])
49 $code, $info[0]);
50 if ('' == $info[1])
52 if ('' == $info[2])
63 if ($code !== $info[0])
66 if ('' == $info[1])
68 if ('' == $info[2])
84 if ('' == $info[1])
86 if ('' == $info[2])
[all …]
/php-src/ext/fileinfo/libmagic/
H A Dreadcdf.c154 switch (info[i].pi_type) { in cdf_file_property_info()
159 info[i].pi_s16) == -1) in cdf_file_property_info()
174 info[i].pi_f) == -1) in cdf_file_property_info()
179 info[i].pi_d) == -1) in cdf_file_property_info()
216 tp = info[i].pi_tp; in cdf_file_property_info()
290 cdf_property_info_t *info; in cdf_file_summary_info() local
338 efree(info); in cdf_file_summary_info()
535 cdf_info_t info; in file_trycdf() local
545 info.i_fd = fd; in file_trycdf()
546 info.i_buf = buf; in file_trycdf()
[all …]
/php-src/Zend/Optimizer/
H A Dzend_func_info.c37 uint32_t info; member
41 #define F0(name, info) \ argument
42 {name, sizeof(name)-1, (info), NULL}
43 #define F1(name, info) \ argument
45 #define FN(name, info) \ argument
119 func_info_t *info = Z_PTR_P(zv); in zend_get_internal_func_info() local
120 if (info->info_func) { in zend_get_internal_func_info()
123 uint32_t ret = info->info; in zend_get_internal_func_info()
182 if (info) { in zend_get_func_info()
183 ret = info->return_info.type; in zend_get_func_info()
[all …]
/php-src/ext/intl/tests/
H A Dbug72506.phpt4 Actually, the $info array should be populated for these cases, but at least it's
16 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
17 var_dump($result, $info);
21 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
22 var_dump($result, $info);
26 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
27 var_dump($result, $info);
H A Dnormalizer_normalize_kc_cf.phpt69 . "\terror info: '$error_message' ($error_code)\n"
77 . "\terror info: '$error_message' ($error_code)\n"
90 'ABC' normalized to form 'UNORM_FORM_KC_CF' is 'abc' error info: 'U_ZERO_ERROR' (0)
91 is in form 'UNORM_FORM_KC_CF'? = no error info: 'U_ZERO_ERROR' (0)
92 'abc' normalized to form 'UNORM_FORM_KC_CF' is 'abc' error info: 'U_ZERO_ERROR' (0)
93 is in form 'UNORM_FORM_KC_CF'? = yes error info: 'U_ZERO_ERROR' (0)
95 is in form 'UNORM_FORM_KC_CF'? = yes error info: 'U_ZERO_ERROR' (0)
97 is in form 'UNORM_FORM_KC_CF'? = no error info: 'U_ZERO_ERROR' (0)
99 is in form 'UNORM_FORM_KC_CF'? = no error info: 'U_ZERO_ERROR' (0)
101 is in form 'UNORM_FORM_KC_CF'? = no error info: 'U_ZERO_ERROR' (0)
[all …]
H A Dnormalizer_get_raw_decomposition.phpt40 $result .= "error info: '$error_message' ($error_code)\n";
53 error info: 'U_ZERO_ERROR' (0)
56 error info: 'U_ZERO_ERROR' (0)
59 error info: 'U_ZERO_ERROR' (0)
62 error info: 'Input string must be exactly one UTF-8 encoded code point long.: U_ILLEGAL_ARGUMENT_ER…
65 error info: 'Input string must be exactly one UTF-8 encoded code point long.: U_ILLEGAL_ARGUMENT_ER…
68 error info: 'Code point out of range: U_ILLEGAL_ARGUMENT_ERROR' (1)
/php-src/ext/mysqli/tests/
H A Dmysqli_get_client_info.phpt7 if (!is_string($info = mysqli_get_client_info()) || ('' === $info))
8 printf("[001] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info);
H A Dmysqli_get_client_version.phpt7 if (!is_int($info = mysqli_get_client_version()) || ($info < 100))
8 printf("[001] Expecting int/any_non_empty, got %s/%s\n", gettype($info), $info);
H A Dmysqli_get_host_info.phpt18 if (!is_string($info = mysqli_get_host_info($link)) || ('' === $info))
19 printf("[003] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info);
23 if (!stristr($info, "TCP/IP"))
24 printf("[004] Should be a TCP/IP connection but mysqlnd says '%s'\n", $info);
H A Dmysqli_get_proto_info.phpt18 if (!is_int($info = mysqli_get_proto_info($link)) || ($info < 1))
19 printf("[003] Expecting int/any_non_empty, got %s/%s\n", gettype($info), $info);
H A Dmysqli_get_server_info.phpt18 if (!is_string($info = mysqli_get_server_info($link)) || ('' === $info))
19 printf("[003] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info);
H A Dmysqli_get_server_version.phpt20 if (!is_int($info = mysqli_get_server_version($link)) || ($info < (3 * 10000)))
21 printf("[003] Expecting int/any >= 30000, got %s/%s\n", gettype($info), $info);
/php-src/ext/opcache/jit/ir/
H A Dir_elf.h48 uint32_t info; member
71 uint8_t info; member
80 uint8_t info;
86 #define ELFSYM_BIND(info) ((info) >> 4) argument
87 #define ELFSYM_TYPE(info) ((info) & 0xf) argument
/php-src/ext/opcache/tests/
H A Dgh11715.phpt12 $info = opcache_get_status()['interned_strings_usage'];
13 var_dump($info['used_memory'] + $info['free_memory']);
14 var_dump($info['buffer_size']);
H A Dssa_bug_008.phpt7 if (!is_int($info = gc_collect_cycles()) || ($info < 100)) {
8 echo gettype($info)."\n";
/php-src/Zend/tests/closures/
H A Dclosure_from_callable.inc139 $info = ['__call'];
140 $info[] = $name;
141 $info = array_merge($info, $arguments);
142 return implode(',', $info);
147 $info = ['__callStatic'];
148 $info[] = $name;
149 $info = array_merge($info, $arguments);
150 return implode(',', $info);
/php-src/ext/curl/tests/
H A Dcurl_pushfunction.phpt41 $info = curl_multi_info_read($mh);
42 if (false !== $info && $info['msg'] == CURLMSG_DONE) {
43 $handle = $info['handle'];
45 $responses[] = curl_multi_getcontent($info['handle']);
50 } while ($info);
H A Dbug77946.phpt20 $info = curl_multi_info_read($mh);
21 if (false !== $info) {
22 var_dump($info['result']);
23 var_dump(curl_errno($info['handle']));
24 var_dump(curl_error($info['handle']));
H A Dcurl_pushfunction_trampoline.phpt44 $info = curl_multi_info_read($mh);
45 if (false !== $info && $info['msg'] == CURLMSG_DONE) {
46 $handle = $info['handle'];
48 $responses[] = curl_multi_getcontent($info['handle']);
53 } while ($info);
/php-src/ext/opcache/
H A Dzend_file_cache.c272 info->str_size += len;
936 info->str_size = 0;
1021 { .iov_base = (void *)info, .iov_len = sizeof(*info) },
1043 written = write(fd, info, sizeof(*info));
1128 __msan_unpoison(&info, sizeof(info));
1133 info.checksum = zend_adler32(info.checksum, (unsigned char*)ZSTR_VAL(s), info.str_size);
1801 if (read(fd, &info, sizeof(info)) != sizeof(info)) {
1843 mem = zend_arena_alloc(&CG(arena), info.mem_size + info.str_size + 64);
1846 mem = zend_arena_alloc(&CG(arena), info.mem_size + info.str_size);
1849 if (read(fd, mem, info.mem_size + info.str_size) != (ssize_t)(info.mem_size + info.str_size)) {
[all …]
/php-src/ext/opcache/tests/jit/
H A Dbug80839.phpt19 $gft->info(33);
22 // $x contains what was echoed in the function 'info'
27 public function info($info, $prefix = ' Info:') {
28 echo $this->strVal.$prefix.serialize($info).'aaaa';
/php-src/ext/dba/
H A Ddba_lmdb.c44 int mode = info->file_permission; in DBA_OPEN_FUNC()
45 zend_long map_size = info->map_size; in DBA_OPEN_FUNC()
53 ZEND_ASSERT(info->driver_flags >= 0); in DBA_OPEN_FUNC()
54 switch (info->driver_flags) { in DBA_OPEN_FUNC()
57 flags = info->driver_flags; in DBA_OPEN_FUNC()
66 if (info->mode == DBA_READER) { in DBA_OPEN_FUNC()
100 info->dbf = pemalloc(sizeof(struct php_lmdb_info), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
101 if (!info->dbf) { in DBA_OPEN_FUNC()
105 memset(info->dbf, 0, sizeof(struct php_lmdb_info)); in DBA_OPEN_FUNC()
110 pefree(info->dbf, info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
[all …]
/php-src/build/
H A DMakefile.gcov30 php_lcov.info:
36 lcov-html: php_lcov.info
38 $(LTP_GENHTML) --legend --output-directory lcov_html/ --title "PHP Code Coverage" php_lcov.info
41 rm -f php_lcov.info
62 .PHONY: gcovr-html lcov-html php_lcov.info
/php-src/ext/gd/tests/
H A Dbug70047.phpt7 $info = gd_info();
8 var_dump(array_key_exists('WebP Support', $info));
9 var_dump($info['WebP Support'] === function_exists('imagewebp'));

Completed in 52 milliseconds

12345678910>>...14