Skip to content

Commit a00304d

Browse files
villfapetk
authored andcommitted
Replace dirname(__FILE__) by __DIR__ in tests
1 parent ad0a83a commit a00304d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/004.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ InterBase: BLOB test
1818
/* create 100k blob file */
1919
$blob_str = rand_binstr(100*1024);
2020

21-
$name = tempnam(dirname(__FILE__),"blob.tmp");
21+
$name = tempnam(__DIR__,"blob.tmp");
2222
$ftmp = fopen($name,"w");
2323
fwrite($ftmp,$blob_str);
2424
fclose($ftmp);

0 commit comments

Comments
 (0)