ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/a1tex.in/app/CPU/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/a1tex.in/app/CPU/async-web-request.php

<?php

namespace App\CPU;


class AsyncWebRequest extends \Thread
{
    public function __construct($arg) {
        $this->arg = $arg;
    }

    public function run() {
        if ($this->arg) {
            $sleep = mt_rand(1, 10);
            printf('%s: %s  -start -sleeps %d' . "\n", date("g:i:sa"), $this->arg, $sleep);
            sleep($sleep);
            printf('%s: %s  -finish' . "\n", date("g:i:sa"), $this->arg);
        }
    }
}

Zerion Mini Shell 1.0