3v4l.org

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

Function do_html_heading:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8qU7Z
function name:  do_html_heading
number of ops:  15
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      
    3     2        CAST                                          4  ~2      !0
          3        JMP_SET                                          ~3      ~2, ->5
          4        QM_ASSIGN                                        ~3      1
          5        ASSIGN                                           ~4      !0, ~3
          6        CONCAT                                           ~5      '%3Ch', ~4
          7        CONCAT                                           ~6      ~5, '%3E'
          8        CONCAT                                           ~7      ~6, !1
          9        ROPE_INIT                                     3  ~9      '%3C%2Fh'
         10        ROPE_ADD                                      1  ~9      ~9, !0
         11        ROPE_END                                      2  ~8      ~9, '%3E'
         12        CONCAT                                           ~11     ~7, ~8
         13        ECHO                                                     ~11
    4    14      > RETURN                                                   null

End of function do_html_heading

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.74 ms | 1397 KiB | 14 Q