PHP Doku:: BEGIN_SILENCE - internals2.opcodes.begin-silence.html

Verlauf / Chronik / History: (5) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchPHP im Kern: Das Entwicklerhandbuch für die Zend EngineZend Engine 2 opcode listOpcodesBEGIN_SILENCE

Ein Service von Reinhard Neidl - Webprogrammierung.

Opcodes

<<ASSIGN_SUB

BOOL>>

BEGIN_SILENCE

PHP code

<?php
/*
 * prepare to perform function call without displaying error messages
 * opcode number: 57
 */
/* Intentional file error */
$my_file = @file ('non_existent_file') or
   die (
"error:'$php_errormsg'");
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$my_file, !1=$php_errormsg

line#op fetchextreturn operands
70 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
86 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
912 RETURN     1

Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)