xref: /PHP-5.3/ext/standard/tests/file/bug52624.phpt (revision 848d71da)
1--TEST--
2Bug #52624 (tempnam() by-pass open_basedir with inexistent directory)
3--INI--
4open_basedir=.
5--FILE--
6<?php
7
8echo tempnam("directory_that_not_exists", "prefix_");
9
10?>
11--EXPECTF--
12Warning: tempnam(): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (%s) in %s on line %d
13