uopz_get_exit_status

(PECL uopz 5, PECL uopz 6)

uopz_get_exit_statusRetrieve the last set exit status

˵��

uopz_get_exit_status ( void ) : 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.

����

Example #1 uopz_get_exit_status() example

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

�������̻������

123

ע��

Caution

OPcache optimizes away dead code after unconditional exit.

�μ�