User Tools

Site Tools


uphp:functions:feof

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:feof [2017/04/10 13:20]
jeff
uphp:functions:feof [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
-<span style="color:black"> +<span style="color:black">feof (
-</html> +
-[[feof]] ( +
-<html>+
 <span style="color:green">int <span style="color:green">int
 <span style="color:blue">$handle <span style="color:blue">$handle
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 Return 1 (true) if no more data is available: The pointer is at the end of the file (EOF) or there is no more data pending in the stream's input. Return 1 (true) if no more data is available: The pointer is at the end of the file (EOF) or there is no more data pending in the stream's input.
Line 28: Line 23:
 <html><b><span style="color:blue">$handle<span style="color:black"></b></html>:  Valid handle of a previously opened resource <html><b><span style="color:blue">$handle<span style="color:black"></b></html>:  Valid handle of a previously opened resource
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1 if no data available, 0 if more data available <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1 if no data available, 0 if more data available
Line 34: Line 29:
 ====Example==== ====Example====
  
-**Read the file index.cgi line by line and format the output for display on the screen:**+===Read the file index.cgi line by line and format the output for display on the screen===
  
 <code php> <code php>
Line 74: Line 69:
 [[fclose()]] - Close a file, stream or socket [[fclose()]] - Close a file, stream or socket
  
-[[htmlspecialchars()]] - Convert characters for display in HTML+[[htmlspecialchars()]] - Convert special characters for display in HTML
  
uphp/functions/feof.1491830411.txt.gz · Last modified: 2021/09/13 05:56 (external edit)