summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/bug41655_1.phpt
blob: 9b047bcace5081096c8ba5ad1c4218e9d20eddf7 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Bug #41655: open_basedir bypass via glob()
--INI--
open_basedir=/tmp
--FILE--
<?php
	$a=glob("./*.jpeg");
?>
--EXPECTF--
Warning: glob() [%s]: open_basedir restriction in effect. File(.) is not within the allowed path(s): (/tmp) in %s on line %d