Skip to content

Instantly share code, notes, and snippets.

@vvikramjhu
Last active August 29, 2015 13:56
Show Gist options
  • Save vvikramjhu/8985735 to your computer and use it in GitHub Desktop.
Save vvikramjhu/8985735 to your computer and use it in GitHub Desktop.
<?php
$var = "";
$var2 = "";
function foo($var){
$var = $var."Hello World";
bar($var2):
)
function bar($var){
$var2 = $var2."I am good" ;
}
foo($var);
// What are $var and $var2?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment