Browse Source

organize some fragments a bit

Brennen Bearnes 1 year ago
parent
commit
607cb077c2

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

@@ -0,0 +1,7 @@
1
+<?php
2
+function foo (&$arg) {
3
+  $arg = 'something else';
4
+}
5
+$baz = 'something';
6
+foo($baz);
7
+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