Test: /ext/standard/tests/file/bug52624.phpt - Version 5.3.9RC3        

Bug #52624 tempnam() by-pass open_basedir with inexistent directory
Submitted: 2010-08-17 14:39:52 Modified: 2011-11-15 17:00:15
From: hirad.navid Assigned: felipe
Status: Closed Package: Unknown/Other Function
PHP Version: 5.2.14 OS: RHEL 5

There are 3 different diffs reported by users for this test.

Count Diff
2 (50%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/tmp/) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (25%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/zd/dzbfrpv51wx9fbm9_hwg19t00000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (25%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/b1/sbtc17_96zz7twptrmbvc7sw0000gn/T) is not within the allowed path(s): (.) in %s/bug52624.php on line 3
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d