php-src/ext/standard
Nikita Popov 3e6b447979 Partially deprecate Serializable
If Serializable is implemented, require that __serialize() and
__unserialize() are implemented as well, else issue a deprecation
warning.

Also deprecate use of PDO::FETCH_SERIALIZE.

RFC: https://wiki.php.net/rfc/phase_out_serializable

Closes GH-6494.
2021-04-28 16:55:14 +02:00
..
html_tables
tests Partially deprecate Serializable 2021-04-28 16:55:14 +02:00
array.c Speed up array_column for consecutive objects of the same class 2021-04-16 09:52:57 +02:00
assert.c Use zend_throw_unwind_exit() for assert.bail (#6826) 2021-04-13 15:23:36 +08:00
base64.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
base64.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
basic_functions_arginfo.h Merge branch 'PHP-8.0' 2021-04-28 11:06:54 +02:00
basic_functions.c Use interned strings for error_get_last() 2021-04-23 11:05:14 +02:00
basic_functions.h Improve SPL directory and stat() cache using zend_srting* instead of char* 2021-02-26 02:28:46 +03:00
basic_functions.stub.php Merge branch 'PHP-8.0' 2021-04-28 11:06:54 +02:00
browscap.c Add known strings for jit autoglobals 2021-04-09 15:37:59 +02:00
config.m4 Better support for cross-compilation 2021-04-16 17:28:54 +03: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 crc32 module, clang spurious warning removal. 2021-02-25 10:17:21 +01:00
crc32.h
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
credits.h
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 Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
crypt_sha512.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
crypt.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
css.c
css.h
datetime.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
datetime.h
dir_arginfo.h Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend 2021-02-22 15:24:03 +01:00
dir.c Merge branch 'PHP-8.0' 2021-04-12 11:14:28 +02:00
dir.stub.php Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend 2021-02-22 15:24:03 +01:00
dl_arginfo.h Include stub hash in generated arginfo files 2020-06-24 09:55:19 +02:00
dl.c Fixed bug #80718 2021-02-11 16:49:39 +01: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 Use zend_string_equals_(literal_)ci() API more often 2021-04-09 02:34:50 +01:00
dns.c Use zend_string_equals_(literal_)ci() API more often 2021-04-09 02:34:50 +01:00
exec.c Introduce pseudo-keyword ZEND_FALLTHROUGH 2021-04-07 00:46:29 +01:00
exec.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
file.c Add fsync() and fdatasync() functions 2021-04-13 16:09:22 +02:00
file.h Fix #42357: fputcsv() has an optional parameter for line endings 2021-03-29 13:34:38 +01:00
filestat.c Attempt to fix ext/spl/tests/bug67359.phpt broken by f323baa845 2021-04-02 19:09:29 +03:00
filters.c Introduce pseudo-keyword ZEND_FALLTHROUGH 2021-04-07 00:46:29 +01: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 Introduce pseudo-keyword ZEND_FALLTHROUGH 2021-04-07 00:46:29 +01:00
fsock.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
fsock.h
ftok.c Promote a few remaining errors in ext/standard 2020-09-15 14:26:16 +02:00
ftp_fopen_wrapper.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
head.c Introduce pseudo-keyword ZEND_FALLTHROUGH 2021-04-07 00:46:29 +01:00
head.h Promote warnings to errors for set(raw)cookie() 2020-09-08 14:28:49 +02:00
hrtime.c hrtime implementation update for Mac 2021-01-18 10:01:21 +01:00
hrtime.h
html_tables.h
html.c Use ENT_QUOTES|ENT_SUBSTITUTE default for HTML encoding and decoding functions 2021-01-18 15:45:28 +01:00
html.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
http_fopen_wrapper.c Micro optimizations for http_fopen_wrapper.c (#6864) 2021-04-15 16:34:17 +08:00
http.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
image.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
incomplete_class.c Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend 2021-02-22 15:24:03 +01:00
info.c Merge branch 'PHP-8.0' 2021-03-30 13:55:36 +02:00
info.h change PHP_EGG_LOGO_DATA_URI to php8 elePHPant called InPHPinity 2021-04-13 11:49:42 +02:00
iptc.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +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 Use zend_string_equals_(literal_)ci() API more often 2021-04-09 02:34:50 +01:00
Makefile.frag Revert "Remove some unnecessary explicit header dependencies" 2021-03-16 14:22:25 +01:00
Makefile.frag.w32
math.c Introduce pseudo-keyword ZEND_FALLTHROUGH 2021-04-07 00:46:29 +01:00
md5.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +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 Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
mt_rand.c Use php_random_bytes() in mt_srand() and uniqid() 2021-01-04 14:20:49 +01:00
net.c Introduce pseudo-keyword ZEND_FALLTHROUGH 2021-04-07 00:46:29 +01:00
pack.c Make convert_to_*_ex simple aliases of convert_to_* 2021-01-14 12:11:11 +01:00
pack.h
pageinfo.c Tweak some macro definition on Windows 2020-09-22 23:05:12 +01:00
pageinfo.h
password.c Merge branch 'PHP-8.0' 2021-02-11 10:23:09 +01:00
php_array.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
php_assert.h Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend 2021-02-22 15:24:03 +01:00
php_browscap.h
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 Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
php_dir.h
php_dns.h
php_ext_syslog.h
php_filestat.h Reduce number of stat() calls 2021-04-02 13:39:12 +03:00
php_fopen_wrapper.c
php_fopen_wrappers.h
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 Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend 2021-02-22 15:24:03 +01:00
php_lcg.h
php_mail.h Use zend_string_equals_(literal_)ci() API more often 2021-04-09 02:34:50 +01:00
php_math.h Add more argument types to stubs 2020-08-07 12:35:30 +02:00
php_mt_rand.h
php_net.h
php_password.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
php_rand.h
php_random.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
php_smart_string_public.h
php_smart_string.h
php_standard.h
php_string.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01: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
proc_open.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01: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
rand.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
random.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
scanf.c Drop various unused macros/APIs 2020-08-26 12:59:43 +02:00
scanf.h
sha1.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +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 Accept null for microseconds argument in stream_select() (#6879) 2021-04-22 10:09:55 +02:00
streamsfuncs.h
string.c Merge branch 'PHP-8.0' 2021-04-16 16:19:43 +08:00
strnatcmp.c Loop invariant code motion 2021-03-04 02:10:10 +03:00
syslog.c Remove proto comments from C files 2020-07-06 21:13:34 +02:00
type.c Add array_is_list(array $array) function 2021-01-20 18:53:48 -05:00
uniqid.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
url_scanner_ex.h Constify char * arguments of APIs 2020-06-08 10:38:45 +02:00
url_scanner_ex.re Add known strings for jit autoglobals 2021-04-09 15:37:59 +02:00
url.c Merge branch 'PHP-8.0' 2021-01-27 00:19:21 -08:00
url.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
user_filters_arginfo.h Use typed properties in php_user_filter 2021-04-20 14:45:42 +02:00
user_filters.c Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend 2021-02-22 15:24:03 +01:00
user_filters.stub.php Use typed properties in php_user_filter 2021-04-20 14:45:42 +02:00
uuencode.c Support uuencoding empty string 2020-09-22 12:39:39 +02:00
var_unserializer.re Add ZEND_CLASS_CONST_FLAGS() macro 2021-04-28 14:51:54 +02:00
var.c Implement enums 2021-03-17 19:08:03 +01:00
versioning.c Disallow version_compare() $operator abbreviations 2020-12-13 23:55:33 +01:00
winver.h