Returns whether PHP has been compiled with the '--enable-sigchild' option or not.
Boolean
protected function isSigchildEnabled() {
if (null !== self::$sigchild) {
return self::$sigchild;
}
ob_start();
phpinfo(INFO_GENERAL);
return self::$sigchild = false !== strpos(ob_get_clean(), '--enable-sigchild');
}