php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65404 OO with screen of death
Submitted: 2013-08-06 13:34 UTC Modified: 2013-08-06 14:00 UTC
From: info at djdb dot be Assigned:
Status: Not a bug Package: Output Control
PHP Version: Irrelevant OS: win (irrelevant)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
36 - 17 = ?
Subscribe to this entry?

 
 [2013-08-06 13:34 UTC] info at djdb dot be
Description:
------------
file--1
$myobject = new object1();
class object1{
...
}
file--2
$myobject = new object2();
include(file--1)
class object2{
...
}

so the name of variable of instanties arr the same but no error message is write
so i was many time watching wat there was wrong (the file was to big to place them here)


Test script:
---------------
file--1
$myobject = new object1();
class object1{
...
}
file--2
$myobject = new object2();
include(file--1)
class object2{
...
}



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-06 14:00 UTC] johannes@php.net
-Status: Open +Status: Not a bug
 [2013-08-06 14:00 UTC] johannes@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Variables can be reassigned.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC