3v4l.org

run code in 500+ PHP versions simultaneously
<?php error_reporting(E_ALL); echo('start'); function _($x){return ($x)?htmlspecialchars($x):'nbsp;';} echo('end');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f9poH
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     30719
          2        DO_ICALL                                                     
    3     3        ECHO                                                         'start'
    5     4        ECHO                                                         'end'
          5      > RETURN                                                       1

Function _:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 7
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f9poH
function name:  _
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
          1      > JMPZ                                                         !0, ->7
          2    >   INIT_FCALL                                                   'htmlspecialchars'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $1      
          5        QM_ASSIGN                                            ~2      $1
          6      > JMP                                                          ->8
          7    >   QM_ASSIGN                                            ~2      'nbsp%3B'
          8    > > RETURN                                                       ~2
          9*     > RETURN                                                       null

End of function _

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
214.78 ms | 2672 KiB | 15 Q