|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-07-19 05:48 UTC] aharvey@php.net
-Status: Open
+Status: Assigned
-Package: Streams related
+Package: Documentation problem
-Assigned To:
+Assigned To: aharvey
[2010-07-19 05:48 UTC] aharvey@php.net
[2010-07-19 05:48 UTC] aharvey@php.net
-Type: Bug
+Type: Documentation Problem
[2010-07-19 06:30 UTC] aharvey@php.net
[2010-07-19 06:30 UTC] aharvey@php.net
-Status: Assigned
+Status: Closed
[2010-07-19 06:30 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 03:00:02 2025 UTC |
Description: ------------ Documentation for gzopen() says it returns a file pointer so I expected flock() to work on that file pointer but it doesn't. Test script: --------------- <?php $fp = gzopen("filename",'wb'); if (!$fp) die("gzopen() failed\n"); if (!flock($fp,LOCK_EX)) die("flock() failed\n"); print "Success\n"; ?> Expected result: ---------------- Success Actual result: -------------- flock() failed