public function testIsAboveRoot1() { $path = '/foo/baz/bar/../../../../'; $this->assertTrue(isAboveRoot($path)); }