|
Threaded::getTerminationInfoError Detection Warnung
This method has been removed in pthreads v3. Beschreibung
public array Threaded::getTerminationInfo
( void
)
Retrieves terminal error information from the referenced object Parameter-ListeDiese Funktion hat keine Parameter. Rückgabewertearray containing the termination conditions of the referenced object Beispiele
Beispiel #1 Detecting fatal errors in Threads
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
bool(true)
array(4) {
["scope"]=>
string(2) "My"
["function"]=>
string(3) "run"
["file"]=>
string(29) "/usr/src/pthreads/sandbox.php"
["line"]=>
int(4)
}
|