Seems like I have some Coding error here, maybe someone can help me. Example:
class test {
public function check() {
$fp = fsockopen('10.10.5.55','80', $errno, $errstr, 1.5);
}
}
class Main extends Thread {
public function run() {
$N = new test();
$N->check();
}
}
$N = new Main();
$N->start();
Usually since this is Threaded, I would expect, that the job is done async, but it is not. It waits until the connection gets a response, what did I do wrong?
Thanks.