On Aug 23, 2006, at 11:41 AM, Jochem Maas wrote:
you can still use OOP, only you can't rely on auto destruct with
regard to object existance.
try the ini settings auto_prepend_file auto_append_file
http://php.net/manual/en/ini.core.php#ini.auto-append-file
and use them to control the startup
Richard K Miller wrote:
>
> On Aug 23, 2006, at 2:33 AM, Jochem Maas wrote:
>
>> how do you know which object is destroyed first?
>>
>> also you are using 3 different versions of php - not something that will
>> help narrow down the problem.
>>
...
>>
>
> No errors when I use unset(). I see
On Aug 23, 2006, at 2:33 AM, Jochem Maas wrote:
how do you know which object is destroyed first?
also you are using 3 different versions of php - not something that
will
help narrow down the problem.
Richard K Miller wrote:
Good afternoon. I'm getting a weird mysqli error in my object
de
how do you know which object is destroyed first?
also you are using 3 different versions of php - not something that will
help narrow down the problem.
Richard K Miller wrote:
> Good afternoon. I'm getting a weird mysqli error in my object
> destructor. Here's an example:
>
>
> $db = new mys
Good afternoon. I'm getting a weird mysqli error in my object
destructor. Here's an example:
query("SELECT 'test'");
print_r($db->error);
}
function __destruct()
{
global $db;
$db->query("SELECT 'test'")
5 matches
Mail list logo