ID: 9091 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Other Operating System: Unix (Apache/1.3.14) PHP Version: 3.0.16 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. hard to tell without sample code but sounds more like proxy or browser reload problem btw: there are no desctructors in php 3 and 4 Previous Comments: ------------------------------------------------------------------------ [2001-02-03 17:53:11] [EMAIL PROTECTED] I builded a class and in the constructor of the class i made a entry in a Database. The entry contains among other values the actual time. Every time i call a script in whitch a instance of this class is made i get two entries in the database. I wondered why and added outputs to see when and how often the constructor is called. But in the script-output i saw that the contructor is called only one time. As i output the time() at the very end of my script i saw that the second entry was made after that time!! I thinkt in normal case that is not possible. I dont know if this is a bug, but i think this is not the normal behavior. On my own machine the same script produces only one entry in the database. Perhaps the constructor is called instead of the destructor. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=9091&edit=1