PHP copy function returns TRUE value
Issue
When copying a file to a destination where not enough free space is available, PHP always returns boolean TRUE which results in a truncated file and risk of data loss.
Environment
Red Hat Enterprise Linux 6.3
RPMs:
php-common-5.3.3-22.el6.x86_64
php-cli-5.3.3-22.el6.x86_64
php-5.3.3-22.el6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.