ID: 32889
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type:Documentation problem
PHP Version: Irrelevant
New Comment:
The previous fix was wrong.
The docs have been updated to "The file pointer is
not changed."
Previous Comments:
ID: 32889
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type:Documentation problem
PHP Version: Irrelevant
New Comment:
Tnx. Now everything is clear.
Previous Comments:
---
ID: 32889
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type:Documentation problem
PHP Version: Irrelevant
New Comment:
The file pointer is not changed at all by PHP when you truncate.
This is consistent with ANSI ftruncate (man ftruncate