array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.uopz-get-exit-status.php', 1 => 'uopz_get_exit_status', 2 => 'Retrieve the last set exit status', ), 'up' => array ( 0 => 'ref.uopz.php', 1 => 'Uopz Функції', ), 'prev' => array ( 0 => 'function.uopz-function.php', 1 => 'uopz_function', ), 'next' => array ( 0 => 'function.uopz-get-hook.php', 1 => 'uopz_get_hook', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/uopz/functions/uopz-get-exit-status.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

uopz_get_exit_status

(PECL uopz 5, PECL uopz , PECL uopz 7)

uopz_get_exit_statusRetrieve the last set exit status

Опис

uopz_get_exit_status(): mixed

Retrieves the last set exit status, i.e. the value passed to exit().

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

This function returns the last exit status, or null if exit() has not been called.

Приклади

Приклад #1 uopz_get_exit_status() example

<?php
exit(123);
echo
uopz_get_exit_status();?>

Поданий вище приклад виведе:

123

Примітки

Застереження

OPcache optimizes away dead code after unconditional exit.

Прогляньте також