Test: /ext/standard/tests/file/bug52624.phpt - Version 5.4.0RC2-dev        

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 6 different diffs reported by users for this test.

Count Diff
3 (38%)
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 (13%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/z4/nrpq90hx73v10w3_klgc2zs80000gn/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 (13%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/_l/2vt9k1zx4959wgbjhl02wmj40000gn/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 (13%)
001+ /tmp/prefix_ut9tyA
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (13%)
001+ /tmp/prefix_e1e5nv
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d
1 (13%)
001+ /tmp/prefix_FdyYAr
001- Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (%s) in %s on line %d