summaryrefslogtreecommitdiff
path: root/shell/bin/echo.php
diff options
context:
space:
mode:
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;
+ }
}
+