PHP Developer Question:
Download Questions PDF

How to pass a variable by value?

Answer:

Just like in C++, put an ampersand in front of it, like $a = &$b.

Download PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
How to encrypt the username and password using PHP?When you supposed to use endif to end the conditional statement?