3v4l.org

run code in 300+ PHP versions simultaneously
<?php function do_html_heading($level = 1, $heading) { // print heading echo "<h" . (int)$level ? : 1 . ">" . $heading . "</h" . $heading; var_dump($level); } do_html_heading("jkjsdkds", "mon titre");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IcS9E
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'do_html_heading'
          1        SEND_VAL                                                 'jkjsdkds'
          2        SEND_VAL                                                 'mon+titre'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function do_html_heading:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IcS9E
function name:  do_html_heading
number of ops:  14
compiled vars:  !0 = $level, !1 = $heading
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV_INIT                                        !0      1
          1        RECV                                             !1      
    4     2        CAST                                          4  ~2      !0
          3        CONCAT                                           ~3      '%3Ch', ~2
          4        JMP_SET                                          ~4      ~3, ->9
          5        CONCAT                                           ~5      '1%3E', !1
          6        CONCAT                                           ~6      ~5, '%3C%2Fh'
          7        CONCAT                                           ~7      ~6, !1
          8        QM_ASSIGN                                        ~4      ~7
          9        ECHO                                                     ~4
    5    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    6    13      > RETURN                                                   null

End of function do_html_heading

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
199.22 ms | 1397 KiB | 16 Q