<?php class myFunctions extends saja {



function
add($x, $y){
    if(
$x=='' || $y==''){
        
$this->text('Missing x or y value.', 'errors');
        return
$this->send();
    }
    
    if(
is_numeric($x) && is_numeric($y)){
        return
$x + $y;
    }

    echo
$x.$y;
    return
$this->send();
}



}
?>