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));
 
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
An exception for terminatinating execution or to throw for unit testing.
Parses string hash files.
parseHandle($fh)
Internal parser that acepts a file handle.
parseMultiFile($file)
Parses a file that contains multiple string-hashes delimited by '-—'.
parseFile($file)
Parses a file that contains a single string-hash.
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file