PHP - Manual: END_SILENCE
2024-12-25
<?php
/*
* no longer surpress error messages
* opcode number: 58
*/
$my_file = @file ('non_existent_file') or
die ("error:'$php_errormsg'");
?>
Function name: (null)
Compiled variables: !0=$my_file, !1=$php_errormsg
line | # | op | fetch | ext | return | operands |
---|---|---|---|---|---|---|
6 | 0 | BEGIN_SILENCE | ~0 | |||
1 | SEND_VAL | 'non_existent_file' | ||||
2 | DO_FCALL | 1 | 'file' | |||
3 | END_SILENCE | ~0 | ||||
4 | ASSIGN | $2 | !0,$1 | |||
5 | JMPNZ_EX | ~3 | $2,->11 | |||
7 | 6 | ADD_STRING | ~4 | 'error%3A%27' | ||
7 | ADD_VAR | ~4 | ~4,!1 | |||
8 | ADD_CHAR | ~4 | ~4,39 | |||
9 | EXIT | ~4 | ||||
10 | BOOL | ~3 | true | |||
11 | FREE | ~3 | ||||
8 | 12 | RETURN | 1 |
官方地址:https://www.php.net/manual/en/internals2.opcodes.end-silence.php