Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / _files / FatalTest.php
diff --git a/vendor/phpunit/phpunit/tests/_files/FatalTest.php b/vendor/phpunit/phpunit/tests/_files/FatalTest.php
new file mode 100644 (file)
index 0000000..bf005f9
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+
+class FatalTest extends PHPUnit_Framework_TestCase
+{
+    public function testFatalError()
+    {
+        if (extension_loaded('xdebug')) {
+            xdebug_disable();
+        }
+
+        eval('class FatalTest {}');
+    }
+}