an attempt to fix broken trace in PHP 5.1, refs #144