PHP Types
2/35
Mistake 7: Misapplying Semantics
PHP Types cont...
<?php
$fp
=
fopen
(
'sample.txt'
,
"r"
);
while (
$line
=
fread
(
"
$fp
"
,
1024
))
{
echo
$line
;
}
fclose
(
$fp
);
?>
Output