#3814 [Opn->Bgs]: An process accepted in php 3.1.5 and not accepted in latest beta ver 4
| From: | hholzgra@php.net | Date: | Tue, 01 Oct 2002 18:38:28 +0000 |
| Subject: | #3814 [Opn->Bgs]: An process accepted in php 3.1.5 and not accepted in latest beta ver 4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21028@lists.php.net to get a copy of this message | ||
ID: 3814
Updated by: hholzgra@php.net
Reported By: imperfect_1999@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: Other
Operating System: Windows NT
PHP Version: 3.0.15
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2000-03-13 03:26:00] imperfect_1999@yahoo.com
Hi there,
I found a bug after i installed PHP 4(latest beta) on Win NT
Workstation 4.0 on Apache Web Server 1.3.9. And
i tried to shift my programs from php 3.15 to php 4(the latest).
Program:-
===============
<?php
class Promo {
var $RadioBox;
var $CheckBox;
var $ListBox;
var $TextBox;
var $TextArea;
var $Survey;
var $Questionare;
var $End;
var $CurrType;
var $Question;
var $db;
var $survey_master_table;
var $question_master_table;
var $log_table;
var $trans_table;
var $option_master_table;
Function Promo()
{
$this->RadioBox = "RADIOBOX";
$this->CheckBox = "CHECKBOX";
$this->ListBox = "LISTBOX";
$this->TextBox = "TEXTBOX";
$this->TextArea = "TEXTAREA";
$this->Questionare = "QUESTIONARE";
$this->Question = "QUESTION";
$this->Survey = "SURVEY";
$this->End = "END";
$this->CurrType = '';
//---------------------------------------
//This Code Especially
require("dblib.php3");
$db->Connect();
$this->db = $db;
//-----------------------------------------
$this->survey_master_table = "sv_master";
$this->question_master_table = "sv_questions";
$this->log_table = "sv_logs";
$this->trans_table = "sv_transactions";
$this->option_master_table = "sv_options";
}
$promo = new Promo();
//program ends here
=====================
Bug:- I cannot create a class in a class(by giving clause require file)
which had a class deffined in it.
Other... I cannot assign an object of another class to be on of the
object of this class or i cant declare an class object variable in a
class or if so then i can't
use it by $this->object->function(). It gives error.
Other if i declared a class outside a class and tried to use it in the
class by direct refrence to the
object .. it gives stack overflow and kills php in
process.
Rest of my configurations and modules used are very normal.
Amit
Web Programmer
Online Solutions
Bombay
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=3814&edit=1