php-src/ext/standard/tests/file/bug41655_1.phpt
Antony Dovgal 76cf8c0636 fix test
2007-06-25 21:24:44 +00:00

11 lines
252 B
PHP

--TEST--
Bug #41655 (open_basedir bypass via glob())
--INI--
open_basedir=/tmp
--FILE--
<?php
$a=glob("./*.jpeg");
?>
--EXPECTF--
Warning: glob(): open_basedir restriction in effect. File%s.) is not within the allowed path(s): (/tmp) in %s on line %d