3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bloginfo($d){ if ($d == 'description') { return "some kind of description"; } } $description = bloginfo('description'); $blogname = "Wobbling Zilly"; if ($blogname == 'Wobbling Willy') { echo <<<EOD <meta name="description" content="$description" /> <meta name="keywords" content=”keyword1, keyword2, keyword3” /> EOD; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/ZI3KZ
function name:  (null)
number of ops:  12
compiled vars:  !0 = $description, !1 = $blogname
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'bloginfo'
          1        SEND_VAL                                                 'description'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    8     4        ASSIGN                                                   !1, 'Wobbling+Zilly'
   10     5        IS_EQUAL                                                 !1, 'Wobbling+Willy'
          6      > JMPZ                                                     ~5, ->11
   12     7    >   ROPE_INIT                                     3  ~7      '++++++++%3Cmeta+name%3D%22description%22+content%3D%22'
          8        ROPE_ADD                                      1  ~7      ~7, !0
          9        ROPE_END                                      2  ~6      ~7, '%22+%2F%3E%0A++++++++%3Cmeta+name%3D%22keywords%22+content%3D%E2%80%9Dkeyword1%2C+keyword2%2C+keyword3%E2%80%9D+%2F%3E'
         10        ECHO                                                     ~6
   16    11    > > RETURN                                                   1

Function bloginfo:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZI3KZ
function name:  bloginfo
number of ops:  5
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        IS_EQUAL                                                 !0, 'description'
          2      > JMPZ                                                     ~1, ->4
    4     3    > > RETURN                                                   'some+kind+of+description'
    6     4    > > RETURN                                                   null

End of function bloginfo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.75 ms | 1389 KiB | 14 Q