A: 

Shows the error for me:

class ClassName
{
    public function __construct()
    {
        $line = $error
        echo 'Contructor' . "\n";
    }
}

Output:

Before load...
Parse error: syntax error, unexpected T_ECHO in ClassName.php on line 8

See Fanis' comment.

GZipp
Doesn't works, I don't know what's happening, I did an example like this question, and shows the error, but not in my code...
Cris Hong Kong CRISHK
I don't know what's wrong with this, but I solved putting Fani's instructions inside the autoload function... Why doesn't works in the global scope?
Cris Hong Kong CRISHK