php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56954 when HttpResponse is a parent class, then php crashes
Submitted: 2006-04-12 10:11 UTC Modified: 2006-04-12 13:57 UTC
From: marek at lewczuk dot com Assigned: mike (profile)
Status: Not a bug Package: pecl_http (PECL)
PHP Version: 5.1.2 OS: Windows
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: marek at lewczuk dot com
New email:
PHP Version: OS:

 

 [2006-04-12 10:11 UTC] marek at lewczuk dot com
Description:
------------
When I want to create a class which extends HttpResponse class, then php crashes. My php version is 5.1.2.

It is not a problem with php or windows platform, because I can create class which extends e.g. HttpRequest;

Reproduce code:
---------------
class TestClass extends HttpResponse {
}

TestClass::setContentDisposition("test.txt");

Expected result:
----------------
Should work...

Actual result:
--------------
PHP/Apache crash

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-12 12:12 UTC] mike@php.net
Cannot reproduce.

Which extension version are you using?
Did already you try the current one from pecl4win.php.net?

Thanks
 [2006-04-12 13:31 UTC] marek at lewczuk dot com
My mistake. I should check if this is not caused by other extension... I did that and it seems that this crash is caused by pecl/apc extension. Should I report this as a apc bug ?
 [2006-04-12 13:57 UTC] mike@php.net
Well, usually yes, but check if there isn't already such a bug :)

http://pecl.php.net/bugs/search.php?cmd=display&status=Open&package_name[]=APC

Thanks
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 04:01:38 2025 UTC