3v4l.org

run code in 300+ 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                                                 32767
         2        DO_ICALL                                                 
   3     3        ASSIGN_OBJ                                               'start'
   5     4        ASSIGN_OBJ                                               '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        ASSIGN_BW_OR                                  0  ~2      $1
         6      > JMP                                                      ->8
         7    >   ASSIGN_BW_OR                                  0  ~2      'nbsp%3B'
         8    > > RETURN                                                   ~2
         9*     > RETURN                                                   null

End of function _

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
13.27 ms | 411 KiB | 7 Q