Created
September 29, 2016 14:18
-
-
Save polachok/a1f7fd3b3b998bdd516f451e5ee3aeda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[/tmp]% cat test.txt | |
0 | |
[/tmp]% cat test.php | |
<?php> | |
$file = fopen("test.txt", "r"); | |
$buf = ''; | |
while ($buf = fread($file, 1)) { | |
echo("inside\n"); | |
} | |
echo("outside\n"); | |
[/tmp]% php test.php | |
outside |
Seems like a php file, ok. EWW PHP
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what is this??