return pq($node)->siblings()->size() == 0 ? $node : null;
}
)->elements;
break;
case 'first-child':
$this->elements = $this->map(
function ($node) { return pq($node)->prevAll()->size() == 0 ? $node : null; }
)->elements;
break;
case 'last-child':
$this->elements = $this->map(
function ($node) { return pq($node)->nextAll()->size() == 0 ? $node : null; }
)->elements;
break;
case 'nth-child':
$param = trim($args, "\"'");
if (! $param)
break;
// nth-child(n+b) to nth-child(1n+b)
if ($param{0} == 'n')
$param = '1'.$param;
// :nth-child(index/even/odd/equation)
if ($param == 'even' || $param == 'odd')
$mapped = $this->map(
function ($node, $param) {
$index = pq($node)->prevAll()->size()+1;
if ($param == "even" && ($index%2) == 0)
return $node;
else if ($param == "odd" && $index%2 == 1)
return $node;
else
return null;
},
new CallbackParam(), $param
);
else if (mb_strlen($param) > 1 && preg_match('/^(\d*)n([-+]?)(\d*)/', $param) === 1)
// an+b
$mapped = $this->map(
function ($node, $param) {
$prevs = pq($node)->prevAll()->size();
*
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param Throwable $exception
*
* @return Inspector
*/
private function getInspector($exception)
{
return new Inspector($exception);
}
/**
* Resolves the giving handler.
*
* @param callable|HandlerInterface $handler
*
* @return HandlerInterface
}
// Propagate error to the next handler.
if ($this->platformExceptionHandler) {
call_user_func_array($this->platformExceptionHandler, [&$exception]);
}
}
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
$handler = $this->whoopsShutdownHandler;
$error = $this->getLastError();
// Ignore core warnings and errors.
if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
$handler();
}
}
}
Key | Value |
joomla | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMDgzMDk1ODtzOjQ6Imxhc3QiO2k6MTcxMDgzMDk1ODtzOjM6Im5vdyI7aToxNzEwODMwOTU4O319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9 |
Key | Value |
CONTEXT_DOCUMENT_ROOT | /home/wyzesol/public_html |
CONTEXT_PREFIX | |
DOCUMENT_ROOT | /home/wyzesol/public_html |
GATEWAY_INTERFACE | CGI/1.1 |
HTTP_ACCEPT | */* |
HTTP_HOST | wyzesolutionz.com |
HTTP_USER_AGENT | claudebot |
PATH | /bin:/usr/bin |
PATH_INFO | /office-furnishings/signage |
PATH_TRANSLATED | /home/wyzesol/public_html/index.php |
PHP_INI_SCAN_DIR | /opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:. |
QUERY_STRING | |
REDIRECT_STATUS | 200 |
REMOTE_ADDR | 54.205.179.155 |
REMOTE_PORT | 58712 |
REQUEST_METHOD | GET |
REQUEST_SCHEME | http |
REQUEST_URI | /index.php/office-furnishings/signage |
SCRIPT_FILENAME | /home/wyzesol/public_html/index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | http://wyzesolutionz.com/index.php/office-furnishings/signage |
SCRIPT_URL | /index.php/office-furnishings/signage |
SERVER_ADDR | 184.171.244.113 |
SERVER_ADMIN | webmaster@wyzesolutionz.com |
SERVER_NAME | wyzesolutionz.com |
SERVER_PORT | 80 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
TZ | America/New_York |
UNIQUE_ID | Zfk1bo1EZy8fnSRU3xE-kwAAAHU |
PHP_SELF | /index.php/office-furnishings/signage |
REQUEST_TIME_FLOAT | 1710830958.1695 |
REQUEST_TIME | 1710830958 |
argv | Array ( ) |
argc | 0 |