pcntl_unshare()
function pcntl_unshare(int $flags): bool
Disassociates selected Linux process execution contexts.
Parameters:
$flags(int)
Returns: bool
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/pcntl/pcntl_unshare.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how pcntl_unshare is implemented in the compiler, see the internals page.