PHP line-by-line file read कैसे करते हैं? इसका सही PHP syntax क्या है?

Other Published Updated 0 Views Verified
PHP line-by-line file read कैसे करते हैं? इसका सही PHP syntax क्या है? सही विकल्प चुनें और code/solution को समझें।
Looking for the latest Sarkari Result 2026 updates? Check the latest government exam results, merit lists and result updates on Sarkari Resultess.
Sarkari Resultess
Questions & Answers

Answer & Explanation

4 Answers
Verified

get_line_file($handle)

get_line_file($handle)
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Sarkari Resultess
Editorial Answer 1
Verified

readline_file($handle)

readline_file($handle)
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Sarkari Resultess
Editorial Answer 2
Verified

file_line($handle)

file_line($handle)
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Sarkari Resultess
Editorial Answer 3
Verified Correct Answer

$line = fgets($handle);

$line = fgets($handle);
Additional Explanation
fgets() stream से एक line पढ़ता है।
Sarkari Resultess
Editorial Answer 4