Skip to content

Instantly share code, notes, and snippets.

@michaelcullum
Forked from erikfrerejean/gist:2912871
Created June 11, 2012 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelcullum/2912897 to your computer and use it in GitHub Desktop.
Save michaelcullum/2912897 to your computer and use it in GitHub Desktop.
<?php
// Code line
$var = 'foo';
print ($var);
// MOD 1 changes foo to foobar and prints in upper case
$var = 'foobar';
print (strtoupper($var));
// MOD 2 changes foo to bar
$var = 'bar';
print (strtoupper($var));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment