<?php class StandAlone { public function __construct() { echo "I am constructed!"; } public function __destruct() { echo "I am destructed!"; } } new StandAlone;