3v4l.org

run code in 300+ PHP versions simultaneously
<?php function do_div($content){ return '<div>' . $content . '</div>'; } echo do_div('test');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q1SEU
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'do_div'
          1        SEND_VAL                                                 'test'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function do_div:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q1SEU
function name:  do_div
number of ops:  5
compiled vars:  !0 = $content
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        CONCAT                                           ~1      '%3Cdiv%3E', !0
          2        CONCAT                                           ~2      ~1, '%3C%2Fdiv%3E'
          3      > RETURN                                                   ~2
    5     4*     > RETURN                                                   null

End of function do_div

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.63 ms | 1396 KiB | 14 Q