Basic PHP Programming Question:

Download Job Interview Questions and Answers PDF

How do you pass a variable by value?

PHP Interview Question
PHP Interview Question

Answer:

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

Download PHP Interview Questions And Answers PDF

Previous QuestionNext Question
How can we encrypt the username and password using PHP?WHAT IS THE FUNCTIONALITY OF THE FUNCTIONS STRSTR() AND STRISTR()?