<?php class test { function __construct() { } function __destruct() { } } $test = new test; ?>
W konstruktorze działa poprawnie a w destruktorze nie. Jak zrobić by działało??
<?php class test { function __construct() { } function __destruct() { } } $test = new test; ?>