Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Interview
»
Technology
How do you pass a variable by value?
Correct Answer:
Just like in C++, put an ampersand in front of it, like $a = &$b
← Previous Question
Next Question→
More Questions from
Technology
Explain the ternary conditional operator in PHP?
Are objects passed by value or by reference?
How do you call a constructor for a parent class?
Would you initialize your strings with single quotes or double quotes?
For printing out strings, there are echo, print and printf. Explain the differences.
What’s the difference between htmlentities( ) and htmlspecialchars( )?
How to open a file?
Why we use array_flip
What is a .htacces file
Can we use include ("xyz.PHP") two times in a PHP page "index.PHP"?
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments