3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $val = 0/5; echo($val); } catch (Exception $e) { echo "エラー:" . $e->getMessage(); //メッセージ表示 //ここでエラー回復処理 }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 3
Branch analysis from position: 3
2 jumps found. (Code = 107) Position 1 = 4, Position 2 = -2
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gPoLe
function name:  (null)
number of ops:  9
compiled vars:  !0 = $val, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ECHO                                                     !0
          2      > JMP                                                      ->8
    5     3  E > > CATCH                                       last         'Exception'
    6     4    >   INIT_METHOD_CALL                                         !1, 'getMessage'
          5        DO_FCALL                                      0  $3      
          6        CONCAT                                           ~4      '%E3%82%A8%E3%83%A9%E3%83%BC%3A', $3
          7        ECHO                                                     ~4
    8     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.17 ms | 1392 KiB | 13 Q