Class WSThread
use !Thread::isThreadRun() in the main thread to not destroy the return value with echo/print or other outputs
since serialize() does not support the resource type, this class can't be used to pass in or return the resource type.
Located at thread.lib.php
Methods summary
public
Thread
|
#
__construct( string $url = null, integer $port = null, integer $timeout = 3, string $thread_script = null, string $host = null )
Webserver Thread Object |
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
string
|
|
public static
boolean
|
|
public static
|
Properties summary
private
|
$m_func
|
|
private
|
$m_arg
|
|
private
|
$m_threadScript
|
|
private
|
$m_fp
|
|
private
|
$m_host
|
|
private
|
$m_port
|
|
private
string
|
$m_http_ret
|
#
""
|
private
|
$m_retval
|
#
null
|
private
boolean
|
$m_socket_answer_readed
|
#
false
|
private
integer
|
$m_timeout
|
#
3
|
private
|
$m_host_webserver
|
#
null
|