php-src/ext/standard
Nikita Popov 1b29e0cacd Switch zend_print_zval_r to use smart_str
Instead of directly writing to stdout. This allows doing a print_r
into a string, without using output buffering.

The motivation for this is bug #67467: print_r() in return mode
will still dump the string to stdout (causing a potential information
leak) if a fatal error occurs.
2016-06-13 18:04:22 +02:00
..
html_tables Improved table search 2015-03-11 15:02:47 +03:00
tests Merge branch 'PHP-7.0' 2016-06-13 21:08:23 +08:00
array.c Value should not be a reference here 2016-06-13 13:40:53 +08:00
assert.c Forbid dynamic calls to scope introspection functions 2016-05-24 20:48:24 +02:00
base64.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
base64.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
basic_functions.c Switch zend_print_zval_r to use smart_str 2016-06-13 18:04:22 +02:00
basic_functions.h Add back typedefs for php_uint32 and php_int32 2016-02-04 12:03:07 +01:00
browscap.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
config.m4 Move HAVE_ATTRIBUTE_ALIGNED check outside crypt block 2016-03-25 20:50:52 +01:00
config.w32 Initial implementation for CSPRNG API 2015-05-09 21:57:50 +02:00
crc32.c Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
crc32.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
credits_ext.h run credits script 2015-08-04 16:30:53 +02:00
credits_sapi.h run credits script 2015-05-30 09:43:10 +02:00
credits.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
credits.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
crypt_blowfish.c bump year 2015-01-15 23:27:30 +08:00
crypt_blowfish.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
crypt_freesec.c fix uninitialized value 2016-03-15 06:43:29 +01:00
crypt_freesec.h
crypt_sha256.c fix thread safety 2015-07-29 10:36:28 +02:00
crypt_sha512.c fix thread safety 2015-07-29 10:36:28 +02:00
crypt.c Remove HAVE_CRYPT checks 2016-03-25 21:09:47 +01:00
css.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
css.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
cyr_convert.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
cyr_convert.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
datetime.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
datetime.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
dir.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
dl.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
dl.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
dns_win32.c Fixed Bug #72193 (dns_get_record returns array containing elements of type 'unknown') 2016-05-11 17:31:46 +08:00
dns.c fix #71609: Segmentation fault on ZTS with gethostbyname 2016-03-31 12:39:01 +01:00
exec.c reapply the sysconf error check patch 2016-02-02 14:26:58 +01:00
exec.h Merge branch 'PHP-5.5.32' into PHP-5.6.18 2016-02-01 18:32:31 -08:00
file.c fix constants availability 2016-04-29 11:37:19 +02:00
file.h fix #71609: Segmentation fault on ZTS with gethostbyname 2016-03-31 12:39:01 +01:00
filestat.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
filters.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
flock_compat.c Merge branch 'PHP-5.6' into PHP-7.0 2016-03-10 11:39:16 +01:00
flock_compat.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
formatted_print.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
fsock.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
fsock.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
ftok.c Merge branch 'PHP-7.0' 2016-01-01 20:04:31 +02:00
ftp_fopen_wrapper.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
head.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
head.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
html_tables.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
html.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
html.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
http_fopen_wrapper.c emalloc never returns NULL (partially fix for #71753) 2016-03-10 15:15:26 +08:00
http.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
image.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
incomplete_class.c Use special type IS_ERROR instread of EG(error_zval). (we still need EG(error_zval) for SPL support). 2016-01-28 18:00:06 +03:00
info.c Switch zend_print_zval_r to use smart_str 2016-06-13 18:04:22 +02:00
info.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
iptc.c Remove TSRMLS_* from code, they are not used anymore 2016-02-17 22:44:05 -08:00
lcg.c Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
levenshtein.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
link_win32.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
link.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
mail.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
Makefile.frag
math.c Replace php_math_is_finite with zend_finite 2016-03-20 00:15:39 +00:00
md5.c Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
md5.h Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
metaphone.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
microtime.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
microtime.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
pack.c unpack() function accepts an additional optional argument $offset. 2016-03-03 13:49:45 +03:00
pack.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
pageinfo.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
pageinfo.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
password.c Remove HAVE_CRYPT checks 2016-03-25 21:09:47 +01:00
php_array.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_assert.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_browscap.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_crypt_r.c Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
php_crypt_r.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_crypt.h Remove HAVE_CRYPT checks 2016-03-25 21:09:47 +01:00
php_dir.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_dns.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_ext_syslog.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_filestat.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_fopen_wrapper.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_fopen_wrappers.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_ftok.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_http.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_image.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_incomplete_class.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_iptc.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_lcg.h Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
php_link.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_mail.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_math.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_metaphone.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_password.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_rand.h Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
php_random.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_smart_string_public.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_smart_string.h Remove use of register keyword in headers 2016-02-04 13:34:19 +01:00
php_standard.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_string.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_type.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_uuencode.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_var.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
php_versioning.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
proc_open.c Fixed bug #72306 (Heap overflow through proc_open and $env parameter) 2016-06-13 21:08:04 +08:00
proc_open.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
quot_print.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
quot_print.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
rand.c Merge branch 'PHP-7.0' 2016-02-18 11:25:15 +00:00
random.c Happy new year (Update copyright to 2016) 2016-01-01 20:03:16 +02:00
scanf.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
scanf.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
sha1.c Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
sha1.h Replace usage of php_int32 and php_uint32 with int32_t and uint32_t 2016-02-04 11:57:41 +01:00
soundex.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
streamsfuncs.c Fixed bug #72075 (Referencing socket resources breaks stream_select) 2016-04-22 21:21:49 -07:00
streamsfuncs.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
string.c Forbid dynamic calls to scope introspection functions 2016-05-24 20:48:24 +02:00
strnatcmp.c trailing whitespace removal 2015-01-10 15:07:38 -08:00
syslog.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
type.c Warn about invalid strings in arithmetic 2016-03-30 01:44:27 +01:00
uniqid.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
uniqid.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
url_scanner_ex.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
url_scanner_ex.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
url_scanner_ex.re Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
url.c Merge branch 'PHP-7.0' 2016-03-29 11:27:39 +02:00
url.h Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
user_filters.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
uuencode.c Merge branch 'PHP-5.6' into PHP-7.0 2016-03-10 15:23:40 +08:00
var_unserializer.c Use zend_string_safe_alloc 2016-04-27 12:45:02 +08:00
var_unserializer.re Use zend_string_safe_alloc 2016-04-27 12:45:02 +08:00
var.c Merge branch 'PHP-7.0' 2016-05-17 18:07:36 +08:00
versioning.c Merge branch 'PHP-5.6' into PHP-7.0 2016-01-01 19:48:25 +02:00
winver.h Merge branch 'PHP-5.6' 2015-06-18 22:05:07 +02:00