Req #34457 [Opn->Sus]: fcut - removes byte from a file

From: Date: Sun, 05 Jan 2020 11:45:40 +0000
Subject: Req #34457 [Opn->Sus]: fcut - removes byte from a file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224709@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=34457&edit=1 ID: 34457 Updated by: cmb@php.net Reported by: shadowturtle at vype dot de Summary: fcut - removes byte from a file -Status: Open +Status: Suspended Type: Feature/Change Request Package: Filesystem function related Operating System: windows xp home sp2 PHP Version: 4.4.0 Block user comment: N Private report: N New Comment: Removing files from a byte is an expensive and rarely needed operation, and can be implemented in userland. If you want to have this as built-in function, please pursue the RFC process[1]. [1] <https://wiki.php.net/rfc/howto> Previous Comments: ------------------------------------------------------------------------ [2005-09-10 17:39:34] shadowturtle at vype dot de Description: ------------ I want a function like fcut; Remove bytes from a file: Begin to Length. fcut ( FileHandle, Begin, Length); Sorry for my bad english. I comes from German (Europe). Reproduce code: --------------- <?PHP // Content "plee.txt": // abcdefghijklmnopqrstuvwxyz $myfile = fopen( "plee.txt", 'r+' ); fcut( $myfile, 10, 5); fclose( $myfile ); // New Content: // abcdefghijpqrstuvwxyz ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=34457&edit=1

« previous php.bugs (#224709) next »