summaryrefslogtreecommitdiff
path: root/shell/bin/echo.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-27 11:23:55 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-27 11:23:55 -0500
commitfb0380f48203a11584773f3db335eaadd9cc6fdf (patch)
tree98f7eb36ed8a3ec99c1cba5c9c0742af8931783b /shell/bin/echo.php
parent3d6790614bb0dc776e02a95835e5c274263d1d1a (diff)
This zip file was identified as ltshell-3.5.zip
Diffstat (limited to 'shell/bin/echo.php')
-rw-r--r--shell/bin/echo.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/shell/bin/echo.php b/shell/bin/echo.php
index 82487b0..75f1c3b 100644
--- a/shell/bin/echo.php
+++ b/shell/bin/echo.php
@@ -1,6 +1,9 @@
<?php
-function main($args) {
- array_shift($args);
- echo implode(' ',$args)."\n";
- return 0;
+class p_echo extends prog {
+ public static function main($args, $env) {
+ array_shift($args);
+ echo implode(' ',$args)."\n";
+ return 0;
+ }
}
+