PHP file handle open कैसे करते हैं? की PHP best practice क्या है?

Other Published Updated 0 Views Verified
PHP file handle open कैसे करते हैं? की PHP best practice क्या है? सही विकल्प चुनें और 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

openfile('data.txt')

openfile('data.txt')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Sarkari Resultess
Editorial Answer 1
Verified

fopen_file('data.txt')

fopen_file('data.txt')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Sarkari Resultess
Editorial Answer 2
Verified

file.open('data.txt')

file.open('data.txt')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Sarkari Resultess
Editorial Answer 3
Verified Correct Answer

$handle = fopen('data.txt', 'r');

$handle = fopen('data.txt', 'r');
Additional Explanation
fopen() file/stream handle खोलता है।
Sarkari Resultess
Editorial Answer 4