php包含锁定文件吗?

I am using the include function to insert the contents of a text file into my webpage.

Something like:

include ("mytextfile.txt");

That works ok when I test it but what happens when you have simultaneous access requests? Can each webpage access the file and its contents or is there some locking that will prevent that?

If there is locking going on, how can I allow multiple read accesses to a text file?

Thanks

There's no locking. Each page that has an include simply parses the file defined in the include. No need to lock since it's read-only.