File
[ class tree: File ] [ index: File ] [ all elements ]

File: File.php

Source Location: /File-1.4.1/File.php

Classes:

File
Class for handling files

Page Details:

File

PHP versions 4 and 5

LICENSE: This source file is subject to version 3.0 of the PHP license that is available through the world-wide-web at the following URI: http://www.php.net/license/3_0.txt. If you did not receive a copy of the PHP License and are unable to obtain it through the web, please send a note to license@php.net so we can mail you a copy immediately.

Includes:

require_once('PEAR.php') [line 29]
Requires PEAR

FILE_DEFAULT_READSIZE [line 35]

FILE_DEFAULT_READSIZE = 1024,true
The default number of bytes for reading

[ Top ]



FILE_LOCKS_BLOCK [line 49]

FILE_LOCKS_BLOCK = true,true
Whether file locks should block

[ Top ]



FILE_LOCK_EXCLUSIVE [line 75]

FILE_LOCK_EXCLUSIVE = LOCK_EX|(FILE_LOCKS_BLOCK?0:LOCK_NB),true
Use this when an exclusive (write) lock is required

[ Top ]



FILE_LOCK_SHARED [line 70]

FILE_LOCK_SHARED = LOCK_SH|(FILE_LOCKS_BLOCK?0:LOCK_NB),true
Use this when a shared (read) lock is required

[ Top ]



FILE_MAX_LINE_READSIZE [line 42]

FILE_MAX_LINE_READSIZE = 40960,true
The maximum number of bytes for reading lines

[ Top ]



FILE_MODE_APPEND [line 65]

FILE_MODE_APPEND = 'ab',true
Mode to use for appending to files

[ Top ]



FILE_MODE_READ [line 55]

FILE_MODE_READ = 'rb',true
Mode to use for reading from files

[ Top ]



FILE_MODE_WRITE [line 60]

FILE_MODE_WRITE = 'wb',true
Mode to use for truncating files, then writing

[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:48:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.