How do you pass a variable by value?
Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.
Have Programming Question? Ask it here!
Pass a variable by value in PHP just like C++, put an ampersand in front of it, like $username = &$name.