php-src/ext/standard
Nikita Popov e2c8ab7c33 Print "interned" instead of fake refcount in debug_zval_dump()
debug_zval_dump() currently prints refcount 1 for interned strings
and arrays, which does not really reflect the truth. These values
are not refcounted, so the refcount is misleading. Instead print
an "interned" tag.

Closes GH-6598.
2021-01-15 12:21:24 +01:00
..
html_tables Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
tests Print "interned" instead of fake refcount in debug_zval_dump() 2021-01-15 12:21:24 +01:00
array.c Make convert_to_*_ex simple aliases of convert_to_* 2021-01-14 12:11:11 +01:00
assert.c Fixed bug #80290 2020-10-30 11:13:35 +01:00
base64.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
base64.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
basic_functions_arginfo.h Fix parameter name 2021-01-01 23:04:28 +01:00
basic_functions.c Make convert_to_*_ex simple aliases of convert_to_* 2021-01-14 12:11:11 +01:00
basic_functions.h Export php_getenv() API 2021-01-04 14:52:07 +01:00
basic_functions.stub.php Fix parameter name 2021-01-01 23:04:28 +01:00
browscap.c Remove Z_PARAM separate params where they don't make sense 2021-01-14 11:58:08 +01:00
config.m4 Use pkg-config for libargon2 2020-11-24 11:52:43 +01:00
config.w32 Merge branch 'PHP-7.4' into PHP-8.0 2020-10-26 11:06:10 +01:00
crc32_x86.c Avoid direct calls to zend_cpu_supports() 2020-11-27 11:18:10 +01:00
crc32_x86.h X86: Fast CRC32 computation using PCLMULQDQ instruction 2020-09-02 15:10:41 +02:00
crc32.c Mac M1 crc32 detection support 2021-01-04 11:41:52 +01:00
crc32.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
credits_ext.h Update CREDITS 2020-06-17 13:04:01 +00:00
credits_sapi.h Update CREDITS for PHP 7.2.30 2020-04-14 15:16:26 +00:00
credits.c Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
credits.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
crypt_blowfish.c Add "const". Move constant strings to read-only memory. 2020-09-07 21:35:48 +03:00
crypt_blowfish.h Clean house in cryptographic hashing code 2020-06-24 13:40:27 +02:00
crypt_freesec.c Clean house in cryptographic hashing code 2020-06-24 13:40:27 +02:00
crypt_freesec.h
crypt_sha256.c Enforce min/max rounds in sha256/sha512 crypt 2020-06-24 12:41:56 +02:00
crypt_sha512.c Enforce min/max rounds in sha256/sha512 crypt 2020-06-24 12:41:56 +02:00
crypt.c Drop support for crypt() without explicit salt 2020-09-07 15:43:26 +02:00
css.c Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
css.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
datetime.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
datetime.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
dir_arginfo.h Don't accept dir handle in Directory methods 2020-09-29 14:50:40 +02:00
dir.c Parameter type and name fixes in ext/standard 2020-10-27 11:27:25 +01:00
dir.stub.php Don't accept dir handle in Directory methods 2020-09-29 14:50:40 +02:00
dl_arginfo.h Include stub hash in generated arginfo files 2020-06-24 09:55:19 +02:00
dl.c Check linker compatibility directly from HMODULE 2020-09-21 16:25:31 +02:00
dl.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
dl.stub.php Add stubs for some SAPIs 2020-05-14 13:35:12 +02:00
dns_win32.c Normalize behaviour of DNS function on Windows 2020-09-12 18:41:25 +02:00
dns.c Fix bug #79405 - gethostbyname() silently truncates after a null byte 2021-01-04 01:20:22 -08:00
exec.c Make null byte error a ValueError 2020-09-08 15:23:23 +02:00
exec.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
file.c Make convert_to_*_ex simple aliases of convert_to_* 2021-01-14 12:11:11 +01:00
file.h Extract common flock code 2020-09-04 14:29:31 +02:00
filestat.c Make is_file() and friends return false when path contains 0-byte 2020-12-03 09:43:15 +01:00
filters.c Add "const". Move constant strings to read-only memory. 2020-09-07 21:35:48 +03:00
flock_compat.c Refactor parts of SPL Dir/SplFileObject 2020-09-03 14:23:18 +02:00
flock_compat.h Refactor parts of SPL Dir/SplFileObject 2020-09-03 14:23:18 +02:00
formatted_print.c php_formatted_print() throws on failure 2020-12-27 22:40:25 +01:00
fsock.c Fix UNKNOWN default values in ext/standard 2020-09-07 18:58:11 +02:00
fsock.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
ftok.c Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
ftp_fopen_wrapper.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
head.c Declare array|int and object-of-class|int types in stubs 2020-09-14 11:59:32 +02:00
head.h Promote warnings to errors for set(raw)cookie() 2020-09-08 14:28:49 +02:00
hrtime.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
hrtime.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
html_tables.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
html.c Remove Z_PARAM separate params where they don't make sense 2021-01-14 11:58:08 +01:00
html.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
http_fopen_wrapper.c Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper 2020-10-28 12:59:00 +03:00
http.c http_build_query() cannot fail 2020-09-22 11:30:02 +02:00
image.c Back memory stream by a zend_string 2020-12-18 17:07:07 +01:00
incomplete_class.c Promote incomplete class to modification to Error 2020-08-28 11:14:43 +02:00
info.c rename COMPILER and ARCHITECTURE macro (too generic) 2021-01-04 10:13:54 +01:00
info.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
iptc.c Merge branch 'PHP-7.4' into PHP-8.0 2020-11-24 13:10:35 +01:00
lcg.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
levenshtein.c Remove string length limit from levenshtein() 2020-10-09 16:12:08 +02:00
link.c Tweak some macro definition on Windows 2020-09-22 23:05:12 +01:00
mail.c Remove IGNORE_URL_WIN macro 2020-10-18 23:36:36 +02:00
Makefile.frag
Makefile.frag.w32
math.c Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
md5.c hash: Support custom algo parameters 2020-12-13 14:14:07 +01:00
md5.h hash: Support custom algo parameters 2020-12-13 14:14:07 +01:00
metaphone.c Validate phonemes parameter of metaphone() 2020-09-22 11:19:02 +02:00
microtime.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
mt_rand.c Use php_random_bytes() in mt_srand() and uniqid() 2021-01-04 14:20:49 +01:00
net.c Fix a few ZEND_UNREACHABLE() calls 2020-09-23 10:07:58 +02:00
pack.c Make convert_to_*_ex simple aliases of convert_to_* 2021-01-14 12:11:11 +01:00
pack.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
pageinfo.c Tweak some macro definition on Windows 2020-09-22 23:05:12 +01:00
pageinfo.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
password.c Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
php_array.h Make sorting stable 2020-06-25 10:49:34 +02:00
php_assert.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_browscap.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_crypt_r.c Add "const". Move constant strings to read-only memory. 2020-09-07 21:35:48 +03:00
php_crypt_r.h Clean house in cryptographic hashing code 2020-06-24 13:40:27 +02:00
php_crypt.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_dir.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_dns.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_ext_syslog.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_filestat.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_fopen_wrapper.c Improve argument error messages in ext/standard 2020-03-18 19:56:10 +01:00
php_fopen_wrappers.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_http.h Removed broken php_url_encode_hash macro 2020-10-09 15:08:29 +02:00
php_image.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
php_incomplete_class.h Use zend_string when storing incomplete class name 2020-08-28 10:01:46 +02:00
php_lcg.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_mail.h Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
php_math.h Add more argument types to stubs 2020-08-07 12:35:30 +02:00
php_mt_rand.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_net.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_password.h Fix warning of strict-prototypes 2020-06-07 10:36:50 +02:00
php_rand.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_random.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_smart_string_public.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_smart_string.h Remove mention of PHP major version in Copyright headers 2019-09-25 14:51:43 +02:00
php_standard.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
php_string.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
php_uuencode.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
php_var.h [RFC] Only unserialize Phar metadata when getMetadata() is called 2020-08-03 13:28:51 -04:00
php_versioning.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
proc_open.c Add support for Solaris 11.4 openpty implementation. 2020-10-09 16:10:03 +02:00
proc_open.h Further refactoring of proc_open.c 2020-05-14 10:25:52 +02:00
quot_print.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
quot_print.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
rand.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
random.c Use arc4random_buf on macOS 2021-01-12 10:42:09 +01:00
scanf.c Drop various unused macros/APIs 2020-08-26 12:59:43 +02:00
scanf.h Promote warnings to exceptions in *scanf() functions 2019-12-10 13:01:59 +01:00
sha1.c hash: Support custom algo parameters 2020-12-13 14:14:07 +01:00
sha1.h hash: Support custom algo parameters 2020-12-13 14:14:07 +01:00
soundex.c Don't return false for empty string in soundex() 2020-09-22 11:44:35 +02:00
streamsfuncs.c Merge branch 'PHP-7.4' into PHP-8.0 2020-12-02 11:29:41 +01:00
streamsfuncs.h Remove now unnecessary PHP_FUNCTION() declarations 2020-04-03 15:41:41 +02:00
string.c Remove some INDIRECT handling in standard library 2021-01-06 12:46:31 +01:00
strnatcmp.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
syslog.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
type.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
uniqid.c Use php_random_bytes() in mt_srand() and uniqid() 2021-01-04 14:20:49 +01:00
url_scanner_ex.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
url_scanner_ex.re Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
url.c Merge branch 'PHP-7.4' into PHP-8.0 2021-01-04 01:47:09 -08:00
url.h Merge branch 'PHP-7.4' into PHP-8.0 2020-11-04 14:57:17 +01:00
user_filters_arginfo.h Add all the missing parameter types to stubs 2020-08-13 14:47:18 +02:00
user_filters.c Fix memory leak when user filter onCreate returns false 2020-11-12 12:18:33 +01:00
user_filters.stub.php Add all the missing parameter types to stubs 2020-08-13 14:47:18 +02:00
uuencode.c Support uuencoding empty string 2020-09-22 12:39:39 +02:00
var_unserializer.re Fix another typed resource issue in unserialization 2020-12-07 12:36:09 +01:00
var.c Print "interned" instead of fake refcount in debug_zval_dump() 2021-01-15 12:21:24 +01:00
versioning.c Disallow version_compare() $operator abbreviations 2020-12-13 23:55:33 +01:00
winver.h