include命令后的空白页面

If I use a code like this:

<?php

echo 'Text';

include("Class/MyClass.php");

echo 'Text';

?>

This code only returns one 'Text'. (The one before the include) I don't get an error (error reporting on), and the code works on my local XAMPP.

Debian 6.0 / PHP 5.3.3-7+squeeze15

Apologize in advance - it's not the answer but just wild guesses.

  1. "Class/MyClass.php" (or any file it includes) contains somewhere exit() or die() calls that depend on configuration.

  2. Try setting error_reporting(E_ALL) and ini_set('display_errors', '1') right before including.