3v4l.org

run code in 300+ PHP versions simultaneously
<?php function pre($_value) { if ($_value === null || $_value === false || $_value === true) { var_dump ( $_value ); } else { echo "<pre>"; print_r ( $_value ); echo "</pre>"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b9BoW
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   1

Function pre:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 5
filename:       /in/b9BoW
function name:  pre
number of ops:  19
compiled vars:  !0 = $_value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        TYPE_CHECK                                    2  ~1      !0
          2      > JMPNZ_EX                                         ~1      ~1, ->5
          3    >   TYPE_CHECK                                    4  ~2      !0
          4        BOOL                                             ~1      ~2
          5    > > JMPNZ_EX                                         ~1      ~1, ->8
          6    >   TYPE_CHECK                                    8  ~3      !0
          7        BOOL                                             ~1      ~3
          8    > > JMPZ                                                     ~1, ->13
    5     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > JMP                                                      ->18
    7    13    >   ECHO                                                     '%3Cpre%3E'
    8    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                                 
    9    17        ECHO                                                     '%3C%2Fpre%3E'
   11    18    > > RETURN                                                   null

End of function pre

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.38 ms | 1395 KiB | 17 Q