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

Does PHP 5 support exceptions? State Whether True or False?

0 Answers  


How is traits used in php?

0 Answers  


Do you know how to delete a file from the system?

0 Answers  


What is php sequence?

0 Answers  


What are the variables in php?

0 Answers  


What is the use of super-global arrays in php?

0 Answers  


display selected value in dropdown list through javascript without page refresh

1 Answers  


What does mysqli_query return?

0 Answers  


Can you use both this () and super () in a constructor?

0 Answers  


What is dao in php?

0 Answers  


What are the three parts of an http request?

0 Answers  


How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?

0 Answers  


Categories