How to access a global variable inside a function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More PHP Interview Questions

How many ways are there for passing variables between pages in PHP and what are they ?

10 Answers  


How many functions are there in php?

0 Answers  


Is php 7 backwards compatible?

0 Answers  


Difference between notify url, return url in paypal payment gateway?

4 Answers   A1 Technology, Capital IQ, CMS, Essar, HCL, IAS, Karvy, L&T, State Bank Of India SBI, TATA, Tisco, WNS,


How to convert a string to lowercase in php?

0 Answers  






What are php data types?

0 Answers  


How do I install php and apache on windows 10?

0 Answers  


When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?

0 Answers  


What is encapsulation in oop php?

0 Answers  


What are php magic methods/functions?

0 Answers  


What are the advantages of stored procedures in php?

0 Answers  


How to write php function in html onclick?

0 Answers  


Categories