php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails
Submitted: 2012-04-08 10:23 UTC Modified: 2014-01-05 22:48 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: Filesystem function related
PHP Version: 5.3.10 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ab@php.net
New email:
PHP Version: OS:

 

 [2012-04-08 10:23 UTC] ab@php.net
Description:
------------
Test diff:

030-
031- Warning: file_put_contents(): Filename cannot be empty in %s on line %d: file_put_contents(): Filename cannot be empty in %s on line %d

The test fails on PHP 5.3 only

Expected result:
----------------
test pass

Actual result:
--------------
test fail

Patches

61666.diff (last revision 2012-04-08 10:25 UTC by ab@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-08 10:25 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: 61666.diff
Revision:   1333880720
URL:        https://bugs.php.net/patch-display.php?bug=61666&patch=61666.diff&revision=1333880720
 [2012-04-08 10:28 UTC] ab@php.net
the warning for \0 isn't issued but an early return false is done, so just adopted the expected value
 [2012-04-10 02:02 UTC] mattficken@php.net
The patch works for me on Windows 7 and Gentoo Linux (x86 & x64) on php-5-3-r0f180a6.
 [2012-04-10 13:26 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=fde96342e82a11ebeffd7385db1a3ae54663ef5f
Log: Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails
 [2014-01-05 22:48 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2014-01-05 22:48 UTC] ab@php.net
fixed but not closed for some reason
 [2014-10-07 23:27 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=fde96342e82a11ebeffd7385db1a3ae54663ef5f
Log: Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails
 [2014-10-07 23:37 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=fde96342e82a11ebeffd7385db1a3ae54663ef5f
Log: Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC