Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metaform: display page has edit link at top
[wfpl.git]
/
misc.php
diff --git
a/misc.php
b/misc.php
index
857f6db
..
b18abd4
100644
(file)
--- a/
misc.php
+++ b/
misc.php
@@
-126,4
+126,8
@@
function ref(&$foo) {
return new stupid_reference($foo);
}
return new stupid_reference($foo);
}
+function &last(&$array) {
+ if(count($array)) return $array[count($array) - 1];
+}
+
?>
?>