René's URL Explorer Experiment


Title: PHP: flock - Manual

X Title: PHP: flock - Manual

Open Graph Description: Portable advisory file locking

X Description: Portable advisory file locking

X: @official_php

direct link

Domain: www.php.net

DescriptionPortable advisory file locking
twitter:cardsummary_large_image
twitter:creator@official_php
twitter:image:srchttps://www.php.net/images/meta-image.png
Nonehttps://www.php.net/images/meta-image.png
og:imagehttps://www.php.net/images/meta-image.png

Links:

update page nowhttps://www.php.net/x-myracloud-5958a2bbbed300a9b9ac631223924e0b/1768222563.263
https://www.php.net/
Downloads https://www.php.net/downloads.php
Documentation https://www.php.net/docs.php
Get Involved https://www.php.net/get-involved.php
Help https://www.php.net/support.php
https://www.php.net/releases/8.5/index.php
https://www.php.net/lookup-form.php
https://www.php.net/menu.php
Getting Startedhttps://www.php.net/manual/en/getting-started.php
Introductionhttps://www.php.net/manual/en/introduction.php
A simple tutorialhttps://www.php.net/manual/en/tutorial.php
Language Referencehttps://www.php.net/manual/en/langref.php
Basic syntaxhttps://www.php.net/manual/en/language.basic-syntax.php
Typeshttps://www.php.net/manual/en/language.types.php
Variableshttps://www.php.net/manual/en/language.variables.php
Constantshttps://www.php.net/manual/en/language.constants.php
Expressionshttps://www.php.net/manual/en/language.expressions.php
Operatorshttps://www.php.net/manual/en/language.operators.php
Control Structureshttps://www.php.net/manual/en/language.control-structures.php
Functionshttps://www.php.net/manual/en/language.functions.php
Classes and Objectshttps://www.php.net/manual/en/language.oop5.php
Namespaceshttps://www.php.net/manual/en/language.namespaces.php
Enumerationshttps://www.php.net/manual/en/language.enumerations.php
Errorshttps://www.php.net/manual/en/language.errors.php
Exceptionshttps://www.php.net/manual/en/language.exceptions.php
Fibershttps://www.php.net/manual/en/language.fibers.php
Generatorshttps://www.php.net/manual/en/language.generators.php
Attributeshttps://www.php.net/manual/en/language.attributes.php
References Explainedhttps://www.php.net/manual/en/language.references.php
Predefined Variableshttps://www.php.net/manual/en/reserved.variables.php
Predefined Exceptionshttps://www.php.net/manual/en/reserved.exceptions.php
Predefined Interfaces and Classeshttps://www.php.net/manual/en/reserved.interfaces.php
Predefined Attributeshttps://www.php.net/manual/en/reserved.attributes.php
Context options and parametershttps://www.php.net/manual/en/context.php
Supported Protocols and Wrappershttps://www.php.net/manual/en/wrappers.php
Securityhttps://www.php.net/manual/en/security.php
Introductionhttps://www.php.net/manual/en/security.intro.php
General considerationshttps://www.php.net/manual/en/security.general.php
Installed as CGI binaryhttps://www.php.net/manual/en/security.cgi-bin.php
Installed as an Apache modulehttps://www.php.net/manual/en/security.apache.php
Session Securityhttps://www.php.net/manual/en/security.sessions.php
Filesystem Securityhttps://www.php.net/manual/en/security.filesystem.php
Database Securityhttps://www.php.net/manual/en/security.database.php
Error Reportinghttps://www.php.net/manual/en/security.errors.php
User Submitted Datahttps://www.php.net/manual/en/security.variables.php
Hiding PHPhttps://www.php.net/manual/en/security.hiding.php
Keeping Currenthttps://www.php.net/manual/en/security.current.php
Featureshttps://www.php.net/manual/en/features.php
HTTP authentication with PHPhttps://www.php.net/manual/en/features.http-auth.php
Cookieshttps://www.php.net/manual/en/features.cookies.php
Sessionshttps://www.php.net/manual/en/features.sessions.php
Handling file uploadshttps://www.php.net/manual/en/features.file-upload.php
Using remote fileshttps://www.php.net/manual/en/features.remote-files.php
Connection handlinghttps://www.php.net/manual/en/features.connection-handling.php
Persistent Database Connectionshttps://www.php.net/manual/en/features.persistent-connections.php
Command line usagehttps://www.php.net/manual/en/features.commandline.php
Garbage Collectionhttps://www.php.net/manual/en/features.gc.php
DTrace Dynamic Tracinghttps://www.php.net/manual/en/features.dtrace.php
Function Referencehttps://www.php.net/manual/en/funcref.php
Affecting PHP's Behaviourhttps://www.php.net/manual/en/refs.basic.php.php
Audio Formats Manipulationhttps://www.php.net/manual/en/refs.utilspec.audio.php
Authentication Serviceshttps://www.php.net/manual/en/refs.remote.auth.php
Command Line Specific Extensionshttps://www.php.net/manual/en/refs.utilspec.cmdline.php
Compression and Archive Extensionshttps://www.php.net/manual/en/refs.compression.php
Cryptography Extensionshttps://www.php.net/manual/en/refs.crypto.php
Database Extensionshttps://www.php.net/manual/en/refs.database.php
Date and Time Related Extensionshttps://www.php.net/manual/en/refs.calendar.php
File System Related Extensionshttps://www.php.net/manual/en/refs.fileprocess.file.php
Human Language and Character Encoding Supporthttps://www.php.net/manual/en/refs.international.php
Image Processing and Generationhttps://www.php.net/manual/en/refs.utilspec.image.php
Mail Related Extensionshttps://www.php.net/manual/en/refs.remote.mail.php
Mathematical Extensionshttps://www.php.net/manual/en/refs.math.php
Non-Text MIME Outputhttps://www.php.net/manual/en/refs.utilspec.nontext.php
Process Control Extensionshttps://www.php.net/manual/en/refs.fileprocess.process.php
Other Basic Extensionshttps://www.php.net/manual/en/refs.basic.other.php
Other Serviceshttps://www.php.net/manual/en/refs.remote.other.php
Search Engine Extensionshttps://www.php.net/manual/en/refs.search.php
Server Specific Extensionshttps://www.php.net/manual/en/refs.utilspec.server.php
Session Extensionshttps://www.php.net/manual/en/refs.basic.session.php
Text Processinghttps://www.php.net/manual/en/refs.basic.text.php
Variable and Type Related Extensionshttps://www.php.net/manual/en/refs.basic.vartype.php
Web Serviceshttps://www.php.net/manual/en/refs.webservice.php
Windows Only Extensionshttps://www.php.net/manual/en/refs.utilspec.windows.php
XML Manipulationhttps://www.php.net/manual/en/refs.xml.php
GUI Extensionshttps://www.php.net/manual/en/refs.ui.php
fnmatch » https://www.php.net/function.fnmatch.php
« filetype https://www.php.net/function.filetype.php
PHP Manualhttps://www.php.net/index.php
Function Referencehttps://www.php.net/funcref.php
File System Related Extensionshttps://www.php.net/refs.fileprocess.file.php
Filesystemhttps://www.php.net/book.filesystem.php
Filesystem Functionshttps://www.php.net/ref.filesystem.php
resourcehttps://www.php.net/language.types.resource.php
inthttps://www.php.net/language.types.integer.php
inthttps://www.php.net/language.types.integer.php
nullhttps://www.php.net/reserved.constants.php#constant.null
boolhttps://www.php.net/language.types.boolean.php
fclose()https://www.php.net/function.fclose.php
LOCK_NBhttps://www.php.net/filesystem.constants.php#constant.lock-nb
resourcehttps://www.php.net/language.types.resource.php
fopen()https://www.php.net/function.fopen.php
LOCK_SHhttps://www.php.net/filesystem.constants.php#constant.lock-sh
LOCK_EXhttps://www.php.net/filesystem.constants.php#constant.lock-ex
LOCK_UNhttps://www.php.net/filesystem.constants.php#constant.lock-un
LOCK_NBhttps://www.php.net/filesystem.constants.php#constant.lock-nb
truehttps://www.php.net/reserved.constants.php#constant.true
falsehttps://www.php.net/reserved.constants.php#constant.false
LOCK_NBhttps://www.php.net/filesystem.constants.php#constant.lock-nb
fopen()https://www.php.net/function.fopen.php
fopen()https://www.php.net/function.fopen.php
streamWrapper::stream_lock()https://www.php.net/streamwrapper.stream-lock.php
falsehttps://www.php.net/reserved.constants.php#constant.false
Learn How To Improve This Pagehttps://github.com/php/doc-base/blob/master/README.md
Submit a Pull Requesthttps://github.com/php/doc-en/blob/master/reference/filesystem/functions/flock.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffunction.flock%0A%0A---
+add a notehttps://www.php.net/manual/add-note.php?sect=function.flock&repo=en&redirect=https://www.php.net/manual/en/function.flock.php
uphttps://www.php.net/manual/vote-note.php?id=78318&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=78318&page=function.flock&vote=down
Antti Haapalahttps://www.php.net/function.flock.php#78318
https://www.php.net/function.flock.php#78318
uphttps://www.php.net/manual/vote-note.php?id=116782&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=116782&page=function.flock&vote=down
ravenswd at gmail dot comhttps://www.php.net/function.flock.php#116782
https://www.php.net/function.flock.php#116782
uphttps://www.php.net/manual/vote-note.php?id=78320&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=78320&page=function.flock&vote=down
Antti Haapalahttps://www.php.net/function.flock.php#78320
https://www.php.net/function.flock.php#78320
uphttps://www.php.net/manual/vote-note.php?id=120874&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=120874&page=function.flock&vote=down
jlh at gmx dot chhttps://www.php.net/function.flock.php#120874
https://www.php.net/function.flock.php#120874
uphttps://www.php.net/manual/vote-note.php?id=117162&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=117162&page=function.flock&vote=down
forzi at mail333 dot comhttps://www.php.net/function.flock.php#117162
https://www.php.net/function.flock.php#117162
uphttps://www.php.net/manual/vote-note.php?id=100864&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=100864&page=function.flock&vote=down
webmaster at bitpush dot comhttps://www.php.net/function.flock.php#100864
https://www.php.net/function.flock.php#100864
uphttps://www.php.net/manual/vote-note.php?id=109237&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=109237&page=function.flock&vote=down
mdessaintes at gmail dot comhttps://www.php.net/function.flock.php#109237
https://www.php.net/function.flock.php#109237
uphttps://www.php.net/manual/vote-note.php?id=95257&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=95257&page=function.flock&vote=down
dejangex at yahoo dot comhttps://www.php.net/function.flock.php#95257
https://www.php.net/function.flock.php#95257
uphttps://www.php.net/manual/vote-note.php?id=88907&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=88907&page=function.flock&vote=down
Fernando Gabrieli fgabrieli at gmailhttps://www.php.net/function.flock.php#88907
https://www.php.net/function.flock.php#88907
uphttps://www.php.net/manual/vote-note.php?id=111984&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=111984&page=function.flock&vote=down
metamarkers at gmail dot comhttps://www.php.net/function.flock.php#111984
https://www.php.net/function.flock.php#111984
uphttps://www.php.net/manual/vote-note.php?id=120274&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=120274&page=function.flock&vote=down
markus at malkusch dot dehttps://www.php.net/function.flock.php#120274
https://www.php.net/function.flock.php#120274
uphttps://www.php.net/manual/vote-note.php?id=79913&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=79913&page=function.flock&vote=down
mallory dot dessaintes at gmail dot comhttps://www.php.net/function.flock.php#79913
https://www.php.net/function.flock.php#79913
uphttps://www.php.net/manual/vote-note.php?id=32443&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=32443&page=function.flock&vote=down
joel[at_sign]purerave.comhttps://www.php.net/function.flock.php#32443
https://www.php.net/function.flock.php#32443
uphttps://www.php.net/manual/vote-note.php?id=61921&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=61921&page=function.flock&vote=down
marc dot vanwoerkom at fernuni-hagen dot dehttps://www.php.net/function.flock.php#61921
https://www.php.net/function.flock.php#61921
uphttps://www.php.net/manual/vote-note.php?id=82521&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=82521&page=function.flock&vote=down
John dot wellesz at teaser dot frhttps://www.php.net/function.flock.php#82521
https://www.php.net/function.flock.php#82521
http://pastey.net/85793http://pastey.net/85793
uphttps://www.php.net/manual/vote-note.php?id=43705&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=43705&page=function.flock&vote=down
Joby https://www.php.net/function.flock.php#43705
https://www.php.net/function.flock.php#43705
uphttps://www.php.net/manual/vote-note.php?id=84824&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=84824&page=function.flock&vote=down
tinymountain at nospam dot gmail dot comhttps://www.php.net/function.flock.php#84824
https://www.php.net/function.flock.php#84824
uphttps://www.php.net/manual/vote-note.php?id=107939&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=107939&page=function.flock&vote=down
ondrej dot nemecek at gmail dot comhttps://www.php.net/function.flock.php#107939
https://www.php.net/function.flock.php#107939
uphttps://www.php.net/manual/vote-note.php?id=45464&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=45464&page=function.flock&vote=down
rudy dot metzger at pareto dot nlhttps://www.php.net/function.flock.php#45464
https://www.php.net/function.flock.php#45464
uphttps://www.php.net/manual/vote-note.php?id=101226&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=101226&page=function.flock&vote=down
holdoffhunger at gmail dot comhttps://www.php.net/function.flock.php#101226
https://www.php.net/function.flock.php#101226
uphttps://www.php.net/manual/vote-note.php?id=92731&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=92731&page=function.flock&vote=down
Kuzma dot Deretuke at gmail dot comhttps://www.php.net/function.flock.php#92731
https://www.php.net/function.flock.php#92731
uphttps://www.php.net/manual/vote-note.php?id=80006&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=80006&page=function.flock&vote=down
admin ifyouwantblood dehttps://www.php.net/function.flock.php#80006
https://www.php.net/function.flock.php#80006
uphttps://www.php.net/manual/vote-note.php?id=118933&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=118933&page=function.flock&vote=down
emilchemical at gmail dot comhttps://www.php.net/function.flock.php#118933
https://www.php.net/function.flock.php#118933
uphttps://www.php.net/manual/vote-note.php?id=55664&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=55664&page=function.flock&vote=down
damasta at onwebworx dot nethttps://www.php.net/function.flock.php#55664
https://www.php.net/function.flock.php#55664
uphttps://www.php.net/manual/vote-note.php?id=101701&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=101701&page=function.flock&vote=down
Evan Battagliahttps://www.php.net/function.flock.php#101701
https://www.php.net/function.flock.php#101701
uphttps://www.php.net/manual/vote-note.php?id=115558&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=115558&page=function.flock&vote=down
sinus-php at sinpi dot nethttps://www.php.net/function.flock.php#115558
https://www.php.net/function.flock.php#115558
uphttps://www.php.net/manual/vote-note.php?id=68875&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=68875&page=function.flock&vote=down
jerry at gh33 dot orghttps://www.php.net/function.flock.php#68875
https://www.php.net/function.flock.php#68875
uphttps://www.php.net/manual/vote-note.php?id=129025&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=129025&page=function.flock&vote=down
andy at andyslife dot orghttps://www.php.net/function.flock.php#129025
https://www.php.net/function.flock.php#129025
uphttps://www.php.net/manual/vote-note.php?id=128609&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=128609&page=function.flock&vote=down
orkans at gmail dot comhttps://www.php.net/function.flock.php#128609
https://www.php.net/function.flock.php#128609
uphttps://www.php.net/manual/vote-note.php?id=121196&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=121196&page=function.flock&vote=down
peripeltus at gmail dot comhttps://www.php.net/function.flock.php#121196
https://www.php.net/function.flock.php#121196
uphttps://www.php.net/manual/vote-note.php?id=114928&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=114928&page=function.flock&vote=down
tom dot vom dot berg at online dot dehttps://www.php.net/function.flock.php#114928
https://www.php.net/function.flock.php#114928
uphttps://www.php.net/manual/vote-note.php?id=79668&page=function.flock&vote=up
downhttps://www.php.net/manual/vote-note.php?id=79668&page=function.flock&vote=down
candide at idees-et-solutions dot frhttps://www.php.net/function.flock.php#79668
https://www.php.net/function.flock.php#79668
+add a notehttps://www.php.net/manual/add-note.php?sect=function.flock&repo=en&redirect=https://www.php.net/manual/en/function.flock.php
Filesystem Functionshttps://www.php.net/ref.filesystem.php
basenamehttps://www.php.net/function.basename.php
chgrphttps://www.php.net/function.chgrp.php
chmodhttps://www.php.net/function.chmod.php
chownhttps://www.php.net/function.chown.php
clearstatcachehttps://www.php.net/function.clearstatcache.php
copyhttps://www.php.net/function.copy.php
deletehttps://www.php.net/function.delete.php
dirnamehttps://www.php.net/function.dirname.php
disk_​free_​spacehttps://www.php.net/function.disk-free-space.php
disk_​total_​spacehttps://www.php.net/function.disk-total-space.php
diskfreespacehttps://www.php.net/function.diskfreespace.php
fclosehttps://www.php.net/function.fclose.php
fdatasynchttps://www.php.net/function.fdatasync.php
feofhttps://www.php.net/function.feof.php
fflushhttps://www.php.net/function.fflush.php
fgetchttps://www.php.net/function.fgetc.php
fgetcsvhttps://www.php.net/function.fgetcsv.php
fgetshttps://www.php.net/function.fgets.php
fgetsshttps://www.php.net/function.fgetss.php
filehttps://www.php.net/function.file.php
file_​existshttps://www.php.net/function.file-exists.php
file_​get_​contentshttps://www.php.net/function.file-get-contents.php
file_​put_​contentshttps://www.php.net/function.file-put-contents.php
fileatimehttps://www.php.net/function.fileatime.php
filectimehttps://www.php.net/function.filectime.php
filegrouphttps://www.php.net/function.filegroup.php
fileinodehttps://www.php.net/function.fileinode.php
filemtimehttps://www.php.net/function.filemtime.php
fileownerhttps://www.php.net/function.fileowner.php
filepermshttps://www.php.net/function.fileperms.php
filesizehttps://www.php.net/function.filesize.php
filetypehttps://www.php.net/function.filetype.php
flockhttps://www.php.net/function.flock.php
fnmatchhttps://www.php.net/function.fnmatch.php
fopenhttps://www.php.net/function.fopen.php
fpassthruhttps://www.php.net/function.fpassthru.php
fputcsvhttps://www.php.net/function.fputcsv.php
fputshttps://www.php.net/function.fputs.php
freadhttps://www.php.net/function.fread.php
fscanfhttps://www.php.net/function.fscanf.php
fseekhttps://www.php.net/function.fseek.php
fstathttps://www.php.net/function.fstat.php
fsynchttps://www.php.net/function.fsync.php
ftellhttps://www.php.net/function.ftell.php
ftruncatehttps://www.php.net/function.ftruncate.php
fwritehttps://www.php.net/function.fwrite.php
globhttps://www.php.net/function.glob.php
is_​dirhttps://www.php.net/function.is-dir.php
is_​executablehttps://www.php.net/function.is-executable.php
is_​filehttps://www.php.net/function.is-file.php
is_​linkhttps://www.php.net/function.is-link.php
is_​readablehttps://www.php.net/function.is-readable.php
is_​uploaded_​filehttps://www.php.net/function.is-uploaded-file.php
is_​writablehttps://www.php.net/function.is-writable.php
is_​writeablehttps://www.php.net/function.is-writeable.php
lchgrphttps://www.php.net/function.lchgrp.php
lchownhttps://www.php.net/function.lchown.php
linkhttps://www.php.net/function.link.php
linkinfohttps://www.php.net/function.linkinfo.php
lstathttps://www.php.net/function.lstat.php
mkdirhttps://www.php.net/function.mkdir.php
move_​uploaded_​filehttps://www.php.net/function.move-uploaded-file.php
parse_​ini_​filehttps://www.php.net/function.parse-ini-file.php
parse_​ini_​stringhttps://www.php.net/function.parse-ini-string.php
pathinfohttps://www.php.net/function.pathinfo.php
pclosehttps://www.php.net/function.pclose.php
popenhttps://www.php.net/function.popen.php
readfilehttps://www.php.net/function.readfile.php
readlinkhttps://www.php.net/function.readlink.php
realpathhttps://www.php.net/function.realpath.php
realpath_​cache_​gethttps://www.php.net/function.realpath-cache-get.php
realpath_​cache_​sizehttps://www.php.net/function.realpath-cache-size.php
renamehttps://www.php.net/function.rename.php
rewindhttps://www.php.net/function.rewind.php
rmdirhttps://www.php.net/function.rmdir.php
set_​file_​bufferhttps://www.php.net/function.set-file-buffer.php
stathttps://www.php.net/function.stat.php
symlinkhttps://www.php.net/function.symlink.php
tempnamhttps://www.php.net/function.tempnam.php
tmpfilehttps://www.php.net/function.tmpfile.php
touchhttps://www.php.net/function.touch.php
umaskhttps://www.php.net/function.umask.php
unlinkhttps://www.php.net/function.unlink.php
Copyright © 2001-2026 The PHP Documentation Grouphttps://www.php.net/manual/en/copyright.php
My PHP.nethttps://www.php.net/my.php
Contacthttps://www.php.net/contact.php
Other PHP.net siteshttps://www.php.net/sites.php
Privacy policyhttps://www.php.net/privacy.php
javascript:;

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.