php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24880 Can't create class which extends stdClass
Submitted: 2003-07-31 06:51 UTC Modified: 2003-08-01 08:48 UTC
From: d dot stogov at turck dot spb dot ru Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5.0.0b1 (beta1) 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: d dot stogov at turck dot spb dot ru
New email:
PHP Version: OS:

 

 [2003-07-31 06:51 UTC] d dot stogov at turck dot spb dot ru
Description:
------------
The following script produce a error during compilation in PHP 5.0.0b1 but it works well with PHP 4.


Reproduce code:
---------------
<?php
class c extends stdClass {
}
echo "ok";
?>


Expected result:
----------------
ok

Actual result:
--------------
Fatal error: Class 'stdclass' not found in c:\apache\htdocs\std_class.php on line 2


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-01 08:48 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

This seems to be fixed in CVS.
Try the snapshot.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 15 07:00:02 2025 UTC