SarkariResultess QA Bank

PHP file handle open कैसे करते हैं? के सही और गलत approach में क्या फर्क है?

Other 0 Views Verified
PHP file handle open कैसे करते हैं? के सही और गलत approach में क्या फर्क है? सही विकल्प चुनें और code/solution को समझें।
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

openfile('data.txt')

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

file.open('data.txt')

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

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

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

fopen_file('data.txt')

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