1--TEST-- 2Bug #41655 (open_basedir bypass via glob()) 1/2 3--SKIPIF-- 4<?php 5if (substr(PHP_OS, 0, 3) != 'WIN') { 6 die('skip only for Windows'); 7} 8?> 9--CREDITS-- 10Dave Kelsey <d_kelsey@uk.ibm.com> 11--INI-- 12open_basedir="{TMP}" 13--FILE-- 14<?php 15$a=glob("./*.jpeg"); 16var_dump($a); 17echo "Done\n"; 18?> 19--EXPECT-- 20array(0) { 21} 22Done 23