<?php
namespace Test;
class A {
public function T(){
sleep(1000);
//Code not possible for thread to perform
}
}
?>
But, When call method T, Program Stucking occured. how can i delay without stucking?
i can use thread but, the code that I wrote with using API doesn't accept Thread.
sorry for bad English, and thanks