SarkariResultess QA Bank

PHP global variable access करने के लिए क्या उपयोग करते हैं? production project में safely कैसे use करें?

Other 0 Views Verified
PHP global variable access करने के लिए क्या उपयोग करते हैं? production project में safely कैसे use करें? सही विकल्प चुनें और code/solution को समझें।
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified Correct Answer

global $count;

global $count;
Additional Explanation
global function scope में global variable access देता है। Production में logging और safe error handling रखें।
Verified

root $count;

root $count;
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

public $count;

public $count;
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

outer $count;

outer $count;
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।