Commit Graph

183 Commits

Author SHA1 Message Date
Antony Dovgal
c1e0866da3 reverted because of test failures 2008-08-18 07:46:31 +00:00
Arnaud Le Blanc
f59fbc3755 MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:08:17 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Lars Strojny
4cc5f49d97 Return null on when param parsing errors occur 2008-07-15 09:09:09 +00:00
Lars Strojny
9cd815a956 New parameter parsing API 2008-07-15 08:50:04 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Yiduo (David) Wang
4b4d634cb9 MFH: Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:22:07 +00:00
Antony Dovgal
f5bf263b88 initialize all fields of the struct (it's generally good idea even though they should not be used) 2007-09-21 13:08:00 +00:00
Brian Shire
f088268f91 fix fold typo 2007-04-16 02:25:24 +00:00
Dmitry Stogov
52f6312866 Fixed bug #40259 (ob_start call many times - memory error). (Dmitry) 2007-01-29 11:21:31 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
2030a7a2ed fix #36869 (memory leak in output buffering when using chunked output) 2006-03-27 08:26:10 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
30b14ee8e9 MFH: Remainder of the 34191 bug fix. 2005-08-24 16:19:57 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Antony Dovgal
b0d5236605 fix #32828 (Throwing exception in output_callback function with ob_start and
ob_end_clean leads to segfault)
2005-04-28 14:20:28 +00:00
Stanislav Malyshev
f799da0a21 MF4: fix double bailout in HEAD when output is attempted from shutdown 2004-10-20 15:31:06 +00:00
Marcus Boerger
97b5bb474e Guard display_startup_errors with checking for default (working) output
functions.
2004-03-14 23:56:07 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
5e9a18a5c0 Fixed bug #24951 (ob_flush() needlessly destroys output handler). 2003-08-08 23:43:45 +00:00
Ilia Alshanetsky
ecbcd7f59f Fixed bug #22154 (Possible crash when memory_limit is reached and
output buffering in addition to session.use_trans_sid is used).
2003-07-31 19:46:03 +00:00
Marcus Boerger
bdfed34ef6 Bugfix #22690 2003-07-16 08:36:04 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Wez Furlong
84fc3f384a Fix segfault 2003-05-17 09:34:37 +00:00
Wez Furlong
e9b62698c7 Stronger validation of ob_start() parameters. 2003-05-16 19:08:13 +00:00
Sebastian Bergmann
4c8e30eccc MFB: Fix for bug #23489. 2003-05-06 04:22:01 +00:00
Sascha Schumann
7f5a42da17 Backout Jani's commit to resync branches 2003-04-04 08:40:48 +00:00
foobar
ff22d581d9 WS & CS fix 2003-04-03 18:44:00 +00:00
Sascha Schumann
7e2fcf986e Add some checks and avoid passing invalid data to call_user_function_ex.
Fixes some heap corruption and allocation of negative amounts of memory.
2003-04-03 18:19:15 +00:00
Moriyoshi Koizumi
f7a8499806 Fixed memleak in output buffering facility 2003-04-03 00:50:17 +00:00
Sascha Schumann
e2333fd1df Fix an uninitialized read, default to FAILURE 2003-04-01 19:14:47 +00:00
Sebastian Bergmann
5ca078779a Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32. 2003-03-25 08:07:13 +00:00
David Hill
5c90216d2c 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
foobar
a09e1397c7 Fixed compile failures when ZLIB / PCRE are compiled as shared
extensions in same build.
2003-02-09 19:09:52 +00:00
Hartmut Holzgraefe
2546f09b08 proto-fix 2003-02-03 23:36:19 +00:00
Ilia Alshanetsky
9bb3dc6903 Removed pointless checks. 2003-01-27 17:22:22 +00:00
Sebastian Bergmann
2c5d4b8c23 Bump year. 2002-12-31 15:59:15 +00:00
Ilia Alshanetsky
87a8b04051 Fix ZTS build. 2002-12-31 00:04:52 +00:00
Ilia Alshanetsky
0acb52fc3b Fixed bug #21228 (broken check for ob_gzhandler).
Fixed a bug that made ob_start return incorrect return value.
2002-12-30 19:39:31 +00:00
Zeev Suraski
1143a7023c Whitespace 2002-10-07 11:21:06 +00:00
Zeev Suraski
df55f35798 Revert the implicit_flush mess.
Do not revert it again under any circumstances!

Yasuo/anybody else - if there are issues with implicit_flush, please inform
me and I will fix them.
2002-10-06 12:02:53 +00:00
Zeev Suraski
de36720e0e Begin the cleanup - remove ob_flush_all() 2002-10-06 09:06:24 +00:00
Marcus Boerger
518e61de97 suggest paranthesis around || and && 2002-10-04 17:11:35 +00:00
Yasuo Ohgaki
39b0eb9b22 Fixed broken code by Derick.
ob_implicit_flush() and ob_flush_all() are stopped working.
var_dump() and hightlisht_string() outputs buffer contents wrongly
with ob_implicit_flush().

Everyone should be happy now.
It was only OG(implicit_flush) interpretation issue after all.
2002-10-03 13:32:01 +00:00
James Moore
df431074de Keep comments and code in sync. 2002-10-03 11:56:10 +00:00
Sebastian Bergmann
b169932d1c Fix warnings. 2002-10-03 11:08:09 +00:00
Derick Rethans
9b517c4b93 - Revert changed to implicit_flush behavior. The new behavior was not
intended in the first place.
2002-10-03 10:35:33 +00:00
Yasuo Ohgaki
6c7202e116 Added comment for php_output_set_status().
Please use this function if you would like to prevent unwanted flush
by implicit_flush=On or ob_implicit_flush().
2002-10-03 08:54:13 +00:00