--- /dev/null
+--TEST--
+empty() on array elements
+--FILE--
+<?php
+$a=array('0','empty'=>'0');
+var_dump(empty($a['empty']));
+var_dump(empty($a[0]));
+$b='0';
+var_dump(empty($b));
+?>
+--EXPECT--
+bool(true)
+bool(true)
+bool(true)
--- /dev/null
+<?php
+
+throw new Exception();
+
+?>
--- /dev/null
+<?php
+echo "Included!\n";
+?>
\ No newline at end of file
--- /dev/null
+<?php
+eval("require_once 'echo.inc';");
+?>
\ No newline at end of file
--- /dev/null
+<?php
+function test() { require_once 'echo.inc'; }
+?>
--- /dev/null
+--TEST--
+include() a file from the current script directory
+--FILE--
+<?php
+include("inc.inc");
+?>
+--EXPECT--
+Included!
--- /dev/null
+--TEST--
+Including a file in the current script directory from an included function
+--FILE--
+<?php
+require_once 'include_files/function.inc';
+test();
+?>
+--EXPECT--
+Included!
--- /dev/null
+--TEST--
+Including a file in the current script directory from eval'd code
+--FILE--
+<?php
+require_once 'include_files/eval.inc';
+?>
+--EXPECT--
+Included!
\ No newline at end of file
--- /dev/null
+--TEST--
+Catching an exception thrown from an included file
+--FILE--
+<?php
+
+try {
+ include "inc_throw.inc";
+} catch (Exception $e) {
+ echo "caught exception\n";
+}
+
+?>
+--EXPECT--
+caught exception