0) { if (file_exists($tokenSigningFilePath)) { $tokenSigningFileFound = True; break; } $sleepMsecs = 10; usleep($sleepMsecs * 1000); if (!$noTimeout) { $timeoutMsecs -= $sleepMsecs; } // file_exists() caches results, we want to invalidate the cache. clearstatcache(); } echo "
\n"; if ($tokenSigningFileFound) { echo "Token signing request received."; $tokenSigningFile = fopen($tokenSigningFilePath, 'r'); while ($line = fgets($tokenSigningFile)) { echo "