php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14810 ob_clean() undefined
Submitted: 2002-01-02 19:22 UTC Modified: 2002-01-02 19:32 UTC
From: ed dot swartz at sandypondconsulting dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ed dot swartz at sandypondconsulting dot com
New email:
PHP Version: OS:

 

 [2002-01-02 19:22 UTC] ed dot swartz at sandypondconsulting dot com
According to PHP Manual, dated 4-12-2001, the ob_clean() function is available. When I code it on a page I get:

Fatal error: Call to undefined function: ob_clean() in C:\Inetpub\wwwroot\PHP_Library\SPCG_ACCESS_Form2.php on line 21.

I did a print_r( get_defined_funcs() ). ob_clean() is not shown in the function list.

ob_start and ob_end_clean() work fine.

I did a standard/default install.


Ed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-02 19:32 UTC] jimw@php.net
and as the page says, this function is only available in the CVS version right now.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 22:01:26 2025 UTC