(PECL uopz 5)
uopz_allow_exit — Allows control over disabled exit opcode
$allow
) : voidBy default uopz disables the exit opcode, so exit() calls are practically ignored. uopz_allow_exit() allows to control this behavior.
allow
Whether to allow the execution of exit opcodes or not.
Hiçbir değer dönmez.
Örnek 1 uopz_allow_exit() example
<?php
exit(1);
echo 1;
uopz_allow_exit(true);
exit(2);
echo 2;
?>
Yukarıdaki örneğin çıktısı:
1
OPcache optimizes away dead code after unconditional exit.
Bilginize: Bu bir işlev değil, dil oluşumu olduğundan değişken işlevler kullanılarak çağrılamaz.
Bu işlev ikil dosyalarla çalışırken dosya içeriğini değiştirebilir.
Bilginize: register_globals için önemli bilgi
PHP 4.2.0'dan itibaren, register_globals yönergesinin öntanımlı değeri off olup PHP 6.0.0'dan itibaren tamamen kaldırılmıştır. PHP topluluğu, geliştiricilere, bu yönergeyi kullanmaktan vazgeçmelerini ve yerine süper küreselleri tercih etmelerini önermektedir.