1--TEST-- 2CWD on open_basedir should not imply that everything is accessible 3--FILE-- 4<?php 5 6$cwd = getcwd(); 7ini_set('open_basedir', $cwd); 8var_dump(file_get_contents('/some/path/outside/open/basedir')); 9 10?> 11--EXPECTF-- 12Warning: file_get_contents(): open_basedir restriction in effect. File(/some/path/outside/open/basedir) is not within the allowed path(s): (%s) in %s on line %d 13 14Warning: file_get_contents(/some/path/outside/open/basedir): Failed to open stream: Operation not permitted in %s on line %d 15bool(false) 16