Browse Source

organize some fragments a bit

master
Brennen Bearnes 3 years ago
parent
commit
607cb077c2
3 changed files with 7 additions and 0 deletions
  1. +7
    -0
      home/fragments/pass-by-reference.php
  2. +0
    -0
      home/fragments/preg-replace.php
  3. +0
    -0
      home/fragments/test-returnval.py

+ 7
- 0
home/fragments/pass-by-reference.php View File

@ -0,0 +1,7 @@
<?php
function foo (&$arg) {
$arg = 'something else';
}
$baz = 'something';
foo($baz);
print $baz . "\n";

home/fragments/php-preg-replace.php → home/fragments/preg-replace.php View File


home/fragments/python-test-returnval.py → home/fragments/test-returnval.py View File


Loading…
Cancel
Save