Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / php / ext / standard / tests / file / bug52624.phpt
blobee61eb90e6f45f8c58ee80bd51bbc69cfd2048b7
1 --TEST--
2 Bug #52624 (tempnam() by-pass open_basedir with inexistent directory)
3 --INI--
4 open_basedir=.
5 --FILE--
6 <?php
8 echo tempnam("directory_that_not_exists", "prefix_");
11 --EXPECTF--
12 Warning: tempnam(): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (%s) in %s on line %d