Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13380 invoked from network); 13 Nov 2011 15:48:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Nov 2011 15:48:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qw0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:37319] helo=mail-qw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/11-07511-0B6EFBE4 for ; Sun, 13 Nov 2011 10:48:00 -0500 Received: by qabg40 with SMTP id g40so838221qab.8 for ; Sun, 13 Nov 2011 07:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tQOSGhCOnci2XrYk3DKi5VFHMoO1NdMM3wMVl/2jJSM=; b=jHrT/48D/341VQe/lnnBpJWyjVyf6dwkkLdj21zpnKCaTFIrl6S+k/OB46+JjKS213 vgaNkxZ040KunPaGnJshhuvVzjpT6zeFr9pmBOfwYO3McwyeI5paedkxa477liSzVzKm 8tfB++n6/KUDFngLOc9LK7rYUy1hQTsylR5D0= MIME-Version: 1.0 Received: by 10.229.101.93 with SMTP id b29mr2816820qco.110.1321199277740; Sun, 13 Nov 2011 07:47:57 -0800 (PST) Received: by 10.229.38.134 with HTTP; Sun, 13 Nov 2011 07:47:57 -0800 (PST) In-Reply-To: <4EBFE189.9090608@thelounge.net> References: <4EBFE189.9090608@thelounge.net> Date: Sun, 13 Nov 2011 16:47:57 +0100 Message-ID: To: Reindl Harald Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=001636499237a0923404b19fad77 Subject: Re: [PHP-DEV] function ob_gzhandler is missed in 5.4 From: tyra3l@gmail.com (Ferenc Kovacs) --001636499237a0923404b19fad77 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Nov 13, 2011 at 4:26 PM, Reindl Harald wrot= e: > > > Am 13.11.2011 16:11, schrieb Laruence: > > Hi: > > > > this revisioin remove the ob_* functions: > > http://svn.php.net/viewvc?view=3Drevision&revision=3D299980 > > > > is this intentional? if yes, I think this will become a doc problem > > i think / hope this is an accident > > if the ob_functions(9 are replaced in any way this is not a doc-problem > > it would be a major BC-break and destroy all my work of the last 10 years > rely on ob_start(), ob_get_contents(), ob_get_clean() and the fact > that multiple ob_start() can work inside another one as example to > include module-files using normal output-functions, buffer the output > and replace a palceholder in a template with the buffer while we are > in another template (site-template, list-templates, item-templates) > > I see these functions present in the current trunk: ob_functions in current trunk/5.4 branch: tyrael@chronos:~/checkouts/php-src/trunk$ ./sapi/cli/php -r 'var_dump(get_defined_functions());'|grep 'ob_' string(8) "ob_start" string(8) "ob_flush" string(8) "ob_clean" string(12) "ob_end_flush" string(12) "ob_end_clean" string(12) "ob_get_flush" string(12) "ob_get_clean" string(13) "ob_get_length" string(12) "ob_get_level" string(13) "ob_get_status" string(15) "ob_get_contents" string(17) "ob_implicit_flush" string(16) "ob_list_handlers" tyrael@chronos:~/checkouts/php-src/branches/PHP_5_4$ ./sapi/cli/php -r 'var_dump(get_defined_functions());'|grep 'ob_' string(8) "ob_start" string(8) "ob_flush" string(8) "ob_clean" string(12) "ob_end_flush" string(12) "ob_end_clean" string(12) "ob_get_flush" string(12) "ob_get_clean" string(13) "ob_get_length" string(12) "ob_get_level" string(13) "ob_get_status" string(15) "ob_get_contents" string(17) "ob_implicit_flush" string(16) "ob_list_handlers" ob functions in 5.3: tyrael@chronos:~/checkouts/php-src/branches/PHP_5_4$ php -r 'var_dump(get_defined_functions());'|grep 'ob_' string(12) "ob_gzhandler" string(16) "ob_iconv_handler" string(8) "ob_start" string(8) "ob_flush" string(8) "ob_clean" string(12) "ob_end_flush" string(12) "ob_end_clean" string(12) "ob_get_flush" string(12) "ob_get_clean" string(13) "ob_get_length" string(12) "ob_get_level" string(13) "ob_get_status" string(15) "ob_get_contents" string(17) "ob_implicit_flush" string(16) "ob_list_handlers" as you can see, there is 2 functions gone in 5.4/trunk: string(12) "ob_gzhandler" string(16) "ob_iconv_handler" --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001636499237a0923404b19fad77--