PHP Classes

File: src/eMacros/Runtime/Output/OutputEcho.php

Recommend this page to a friend!
  Classes of Emmanuel Antico   eMacros   src/eMacros/Runtime/Output/OutputEcho.php   Download  
File: src/eMacros/Runtime/Output/OutputEcho.php
Role: Class source
Content type: text/plain
Description: Class source
Class: eMacros
PHP LISP language interpreter
Author: By
Last change:
Date: 10 years ago
Size: 402 bytes
 

Contents

Class file image Download
<?php
namespace eMacros\Runtime\Output;

use
eMacros\Runtime\GenericFunction;

class
OutputEcho extends GenericFunction {
   
/**
     * Outputs a value
     * Usage: (echo "Hello World") (echo "Hello" " " "World")
     * Returns: NULL
     * (non-PHPdoc)
     * @see \eMacros\Runtime\GenericFunction::execute()
     */
   
public function execute(array $arguments) {
        foreach (
$arguments as $arg) {
            echo
$arg;
        }
    }
}
?>