|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-23 01:00 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 11:00:02 2025 UTC |
Description: ------------ Double-flock()ing a file with different handles crashes. Reproduce code: --------------- <?php $fp = fopen('generic-textfile.txt', 'w'); flock($fp, LOCK_EX); $fp2 = fopen('generic-textfile.txt', 'w'); flock($fp2, LOCK_EX); echo 'Dun!'; ?> Expected result: ---------------- Dun! Actual result: -------------- Nothing