The behaviour of these functions is affected by settings in php.ini.
INI_ALL
Here's a short explanation of the configuration directives.
stomp.default_broker
stomp.default_connection_timeout_sec
stomp.default_connection_timeout_usec
stomp.default_read_timeout_sec
stomp.default_read_timeout_usec