/PHP-7.4/ |
H A D | NEWS | 420 . Fixed bug #78680 (mysqlnd's mysql_clear_password does not transmit 760 . Fixed bug #79030 (Upgrade apache2handler's php_apache_sapi_get_request_time 898 . Fixed bug #79536 (zend_clear_exception prevent exception's destructor to be 922 with <1s timeout). (Joe Cai) 1217 . Fixed bug #79029 (Use After Free's in XMLReader / XMLWriter). (Laruence) 2544 . Fixed bug #75169 (BCMath errors/warnings bypass PHP's error handling). (cmb)
|
H A D | configure.ac | 112 set $(echo AC_PACKAGE_VERSION | "${SED}" 's/\([[0-9\.]]*\)\(.*\)/\1\.\2/') 254 CFLAGS="$CFLAGS -xmemalign=8s" 394 dnl uClibc will bark at linking with glibc's libnsl. 555 if test "`uname -s 2>/dev/null`" != "QNX"; then 580 #include <netinet/in.h>]], [[struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; … 803 CFLAGS=`echo "$CFLAGS" | "${SED}" -e 's/-O[0-9s]*//g'` 804 CXXFLAGS=`echo "$CXXFLAGS" | "${SED}" -e 's/-O[0-9s]*//g'` 823 CFLAGS=`echo "$CFLAGS" | "${SED}" -e 's/-O[0-9s]*//g'` 824 CXXFLAGS=`echo "$CXXFLAGS" | "${SED}" -e 's/-O[0-9s]*//g'` 905 [whether to enable PHP's own SIGCHLD handler], [all …]
|
/PHP-7.4/ext/gd/ |
H A D | gd.c | 204 ZEND_ARG_INFO(0, s) 559 ZEND_ARG_INFO(0, s)
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug81739.phpt | 9 $s = fopen(__DIR__ . "/font.font", "w"); 11 fwrite($s, "\x01\x00\x00\x00\x20\x00\x00\x00\x08\x00\x00\x00\x08\x00\x00\x00"); 12 fclose($s); 21 in %s on line %d 23 Warning: imageloadfont(): Error reading font, invalid font header in %s on line %d
|
/PHP-7.4/ext/phar/ |
H A D | phar.c | 401 if (entry->metadata_str.s) { in destroy_phar_manifest_entry_int() 403 entry->metadata_str.s = NULL; in destroy_phar_manifest_entry_int() 2685 main_metadata_str.s = NULL; in phar_flush() 2724 if (entry->metadata_str.s) { in phar_flush() 2727 entry->metadata_str.s = NULL; in phar_flush() 2732 if (entry->metadata_str.s) { in phar_flush() 2909 phar_set_32(manifest, main_metadata_str.s ? ZSTR_LEN(main_metadata_str.s) : 0); in phar_flush() 2911 …&& ZSTR_LEN(main_metadata_str.s) != php_stream_write(newfile, ZSTR_VAL(main_metadata_str.s), ZSTR_… in phar_flush() 2978 phar_set_32(entry_buffer+20, entry->metadata_str.s ? ZSTR_LEN(entry->metadata_str.s) : 0); in phar_flush() 2981 || (entry->metadata_str.s && in phar_flush() [all …]
|
/PHP-7.4/ext/phar/tests/ |
H A D | bug81726.phpt | 13 Warning: fopen(phar://%s): failed to open stream: unable to decompress gzipped phar archive "%s" in…
|
/PHP-7.4/main/ |
H A D | php_variables.c | 353 vars->ptr = ZSTR_VAL(vars->str.s); in add_post_vars() 354 vars->end = ZSTR_VAL(vars->str.s) + ZSTR_LEN(vars->str.s); in add_post_vars() 366 memmove(ZSTR_VAL(vars->str.s), vars->ptr, ZSTR_LEN(vars->str.s) = vars->end - vars->ptr); in add_post_vars() 382 if (s && SUCCESS == php_stream_rewind(s)) { in SAPI_POST_HANDLER_FUNC() 385 while (!php_stream_eof(s)) { in SAPI_POST_HANDLER_FUNC() 403 if (post_data.str.s) { in SAPI_POST_HANDLER_FUNC() 549 const char *s; in valid_environment_name() local 551 for (s = name; s < end; s++) { in valid_environment_name() 552 if (*s == ' ' || *s == '.' || *s == '[') { in valid_environment_name() 644 } else if (s && *s) { in php_build_argv() [all …]
|
/PHP-7.4/ext/pgsql/ |
H A D | pgsql.c | 70 smart_str_0(&s); \ 71 RETURN_NEW_STR(s.s); \ 850 for (s = (char *)str; s - str < len; ++s) { in php_pgsql_PQescapeInternal() 851 if (*s == '\'' || *s == '\\') { in php_pgsql_PQescapeInternal() 852 *rp++ = *s; in php_pgsql_PQescapeInternal() 853 *rp++ = *s; in php_pgsql_PQescapeInternal() 855 *rp++ = *s; in php_pgsql_PQescapeInternal() 863 for (s = (char *)str; s - str < len; ++s) { in php_pgsql_PQescapeInternal() 868 *rp++ = *s; in php_pgsql_PQescapeInternal() 2575 RETURN_NEW_STR(s.s); [all …]
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 474 …if (p->authentication_plugin_data.s && p->authentication_plugin_data.s != p->intern_auth_plugin_da… in php_mysqlnd_greet_free_mem() 475 efree(p->authentication_plugin_data.s); in php_mysqlnd_greet_free_mem() 476 p->authentication_plugin_data.s = NULL; in php_mysqlnd_greet_free_mem() 1090 if (packet->info_or_local_file.s) { in php_mysqlnd_rset_header_read() 1117 if (packet->info_or_local_file.s) { in php_mysqlnd_rset_header_read() 1153 if (p->info_or_local_file.s) { in php_mysqlnd_rset_header_free_mem() 1154 mnd_efree(p->info_or_local_file.s); in php_mysqlnd_rset_header_free_mem() 1155 p->info_or_local_file.s = NULL; in php_mysqlnd_rset_header_free_mem() 1890 if (p->message.s) { in php_mysqlnd_stats_free_mem() 1891 mnd_efree(p->message.s); in php_mysqlnd_stats_free_mem() [all …]
|
/PHP-7.4/ext/filter/ |
H A D | logical_filters.c | 500 char *e, *s, *t; in _php_filter_validate_domain() local 505 s = domain; in _php_filter_validate_domain() 522 if(*s == '.' || (hostname && !isalnum((int)*(unsigned char *)s))) { in _php_filter_validate_domain() 526 while (s < e) { in _php_filter_validate_domain() 527 if (*s == '.') { in _php_filter_validate_domain() 529 …if (*(s + 1) == '.' || (hostname && (!isalnum((int)*(unsigned char *)(s - 1)) || !isalnum((int)*(u… in _php_filter_validate_domain() 536 if (i > 63 || (hostname && *s != '-' && !isalnum((int)*(unsigned char *)s))) { in _php_filter_validate_domain() 543 s++; in _php_filter_validate_domain() 599 char *e, *s, *t; in php_filter_validate_url() local 608 e = s + l; in php_filter_validate_url() [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_string.h | 59 #define IS_INTERNED(s) ZSTR_IS_INTERNED(s) in END_EXTERN_C() argument 101 return ZSTR_H(s) ? ZSTR_H(s) : zend_string_hash_func(s); 106 ZSTR_H(s) = 0; in zend_string_forget_hash_val() 170 return s; in zend_string_copy() 176 return s; in zend_string_dup() 216 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), ZSTR_LEN(s) + 1); in zend_string_extend() 268 pefree(s, GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_free() 277 efree(s); in zend_string_efree() 284 pefree(s, GC_FLAGS(s) & IS_STR_PERSISTENT); in zend_string_release() 295 free(s); in zend_string_release_ex() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | array.c | 229 if (s->key) { in php_array_key_compare_string_case() 262 if (s->key) { in php_array_key_compare_string() 295 if (s->key) { in php_array_key_compare_string_natural_general() 343 if (s->key) { in php_array_key_compare_string_locale() 367 Bucket *s; in php_array_data_compare() local 402 Bucket *s; in php_array_data_compare_numeric() local 432 Bucket *s; in php_array_data_compare_string_case() local 462 Bucket *s; in php_array_data_compare_string() local 532 Bucket *s; in php_array_data_compare_string_locale() local 957 Bucket *s; in php_array_user_compare() local [all …]
|
H A D | dns.c | 449 u_short s; in php_parserr() local 632 GETSHORT(s, cp); in php_parserr() 633 if (s != 0) { in php_parserr() 639 tp += sprintf((char*)tp,"%x",s); in php_parserr() 702 GETSHORT(s, cp); in php_parserr() 703 if (s != 0) { in php_parserr() 709 tp += sprintf((char*)tp,"%x",s); in php_parserr()
|
/PHP-7.4/ext/dom/tests/ |
H A D | bug79971_2.phpt | 19 …plementation::createDocumentType(): URI must not contain percent-encoded NUL bytes in %s on line %d
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | bug79971_1.phpt | 21 Warning: simplexml_load_file(): URI must not contain percent-encoded NUL bytes in %s on line %d 23 …l_load_file(): I/O warning : failed to load external entity "%s/bug79971_1.xml%00foo" in %s on lin… 26 Warning: SimpleXMLElement::asXML(): URI must not contain percent-encoded NUL bytes in %s on line %d
|
/PHP-7.4/ext/libxml/ |
H A D | libxml.c | 273 libxml_globals->error_buffer.s = NULL; in PHP_GINIT_FUNCTION() 418 php_stream *s = (php_stream *) context; in php_libxml_input_buffer_create_filename() local 420 if (Z_TYPE(s->wrapperdata) == IS_ARRAY) { in php_libxml_input_buffer_create_filename() 423 ZEND_HASH_FOREACH_VAL_IND(Z_ARRVAL(s->wrapperdata), header) { in php_libxml_input_buffer_create_filename() 610 _php_list_set_error_structure(NULL, ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler() 620 php_error_docref(NULL, E_WARNING, "%s", ZSTR_VAL(LIBXML(error_buffer).s)); in php_libxml_internal_error_handler() 1192 int php_libxml_xmlCheckUTF8(const unsigned char *s) in php_libxml_xmlCheckUTF8() argument 1197 for (i = 0; (c = s[i++]);) { in php_libxml_xmlCheckUTF8() 1200 if ((s[i++] & 0xc0) != 0x80) { in php_libxml_xmlCheckUTF8() 1204 if ((s[i++] & 0xc0) != 0x80 || (s[i++] & 0xc0) != 0x80) { in php_libxml_xmlCheckUTF8() [all …]
|
/PHP-7.4/ext/intl/locale/ |
H A D | locale_methods.c | 98 #define isIDPrefix(s) (isPrefixLetter(s[0])&&isIDSeparator(s[1])) argument 99 #define isKeywordPrefix(s) ( isKeywordSeparator(s[0]) ) argument 903 #define RETURN_SMART_STR(str) smart_str_0((str)); RETURN_NEW_STR((str)->s)
|
/PHP-7.4/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.cpp | 249 uint32_t s = bufferSize; in createBufferClone() local 252 s = 0; in createBufferClone() 257 s -= offsetUp; in createBufferClone() 261 if (s < sizeof(CodePointBreakIterator)) { in createBufferClone()
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.c | 1205 char *s, *s2; in php_mb_rfc1867_basename() local 1216 if (s && s2) { in php_mb_rfc1867_basename() 1217 if (s > s2) { in php_mb_rfc1867_basename() 1218 return ++s; in php_mb_rfc1867_basename() 1222 } else if (s) { in php_mb_rfc1867_basename() 1223 return ++s; in php_mb_rfc1867_basename() 2223 char *s, *mimetype = NULL; in PHP_FUNCTION() local 4369 zval *s; in PHP_FUNCTION() local 4429 p = strchr(Z_STRVAL_P(s), ';'); in PHP_FUNCTION() 5242 if (s != NULL) return enc->mblen_table[*(unsigned char *)s]; in php_mb_mbchar_bytes_ex() [all …]
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_scoreboard.c | 202 struct fpm_scoreboard_s *s; in fpm_scoreboard_acquire() local 204 s = scoreboard ? scoreboard : fpm_scoreboard; in fpm_scoreboard_acquire() 205 if (!s) { in fpm_scoreboard_acquire() 209 if (!fpm_spinlock(&s->lock, nohang)) { in fpm_scoreboard_acquire() 212 return s; in fpm_scoreboard_acquire()
|
/PHP-7.4/ext/date/tests/ |
H A D | bug53437_var3.phpt | 7 …s = 'O:12:"DateInterval":15:{s:1:"y";s:1:"2";s:1:"m";s:1:"0";s:1:"d";s:3:"bla";s:1:"h";s:1:"6";s:1… 9 $di = unserialize($s); 26 ["s"]=>
|
H A D | bug53437_var5.phpt | 7 …s = 'O:12:"DateInterval":15:{s:1:"y";s:1:"2";s:1:"m";s:1:"0";s:1:"d";s:3:"bla";s:1:"h";s:1:"6";s:1… 9 $di = unserialize($s); 26 ["s"]=>
|
H A D | bug81500.phpt | 7 var_dump($interval->s, $interval->f); 10 var_dump($interval->s, $interval->f);
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | bug69425.phpt | 17 $data = unserialize('a:2:{i:0;O:4:"test":1:{s:4:"ryat";R:1;}i:1;i:2;}'); 21 $data = unserialize('a:2:{i:0;O:12:"DateInterval":1:{s:1:"y";R:1;}i:1;i:2;}'); 40 ["s"]=>
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 47 # define DATE_I64A(i, s, len) _i64toa_s(i, s, len, 10) argument 48 # define DATE_A64I(i, s) i = _atoi64(s) argument 54 s[st] = '\0'; \ 57 # define DATE_A64I(i, s) i = atoll(s) argument 59 # define DATE_A64I(i, s) i = strtoll(s, NULL, 10) argument 1276 return string.s; in date_format() 1597 now->s = sec; in php_mktime() 1698 ta.tm_sec = ts->s; in php_strftime() 3285 dateobj->time->s = tmp_time->s; in php_date_modify() 3611 dateobj->time->s = s; in php_date_time_set() [all …]
|