43 if (!file_exists(
$file)) {
62 if (!file_exists(
$file)) {
93 if ($line ===
false) {
96 $line = rtrim($line,
"\n\r");
97 if (!
$state && $line ===
'') {
100 if ($line ===
'----') {
103 if (strncmp(
'--#', $line, 3) === 0) {
106 } elseif (strncmp(
'--', $line, 2) === 0) {
108 $state = trim($line,
'- ');
115 if (strpos($line,
':') !==
false) {
117 list(
$state, $line) = explode(
':', $line, 2);
131 }
while (!feof(
$fh));
parseHandle($fh)
Internal parser that acepts a file handle.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
parseFile($file)
Parses a file that contains a single string-hash.
Create styles array
The data for the language used.
Parses string hash files.
parseMultiFile($file)
Parses a file that contains multiple string-hashes delimited by '-—'.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file