<?php

namespace app\actions;

class getPHPInfo
{
    public function handle($param = [])
    {
        $sel = isset($param['sel']) ? (bool)$param['sel'] : true;

        if ($sel) {
            echo "xxxxx\n";
        } else {
            echo "cccc\n";
        }

        return [
            'php_version' => phpversion(),
        ];
    }
}