Test: /ext/standard/tests/file/bug52624.phpt - Version 5.5.0-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 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/Op/OpppQ-6+EVO2N3GIz+GoZU+++TI/-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 (50%)
001+ Warning: tempnam(): open_basedir restriction in effect. File(/var/folders/0m/xjsg01p928q2rbm6clfd48xr0000gn/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