Bug #61666 [Com]: ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails

From: Date: Tue, 10 Apr 2012 02:02:07 +0000
Subject: Bug #61666 [Com]: ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169389@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61666&edit=1 ID: 61666 Comment by: mattficken@php.net Reported by: ab@php.net Summary: ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails Status: Open Type: Bug Package: Filesystem function related Operating System: Windows PHP Version: 5.3.10 Block user comment: N Private report: N New Comment: The patch works for me on Windows 7 and Gentoo Linux (x86 & x64) on php-5-3-r0f180a6. Previous Comments: ------------------------------------------------------------------------ [2012-04-08 10:28:06] 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-08 10:25:20] 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:23:35] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61666&edit=1

« previous php.bugs (#169389) next »