3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bloginfo($d){ if ($d == 'description') { return "some kind of description"; } } $blogname = "Wobbling Willy"; if ($blogname == 'Wobbling Willy') { echo <<<EOD <meta name="description" content="<?=bloginfo(description)?>" /> <meta name="keywords" content=”keyword1, keyword2, keyword3” /> EOD; } ?>
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
filename:       /in/IOi87
function name:  (null)
number of ops:  5
compiled vars:  !0 = $blogname
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 'Wobbling+Willy'
    9     1        IS_EQUAL                                                 !0, 'Wobbling+Willy'
          2      > JMPZ                                                     ~2, ->4
   11     3    >   ECHO                                                     '++++++++%3Cmeta+name%3D%22description%22+content%3D%22%3C%3F%3Dbloginfo%28description%29%3F%3E%22+%2F%3E%0A++++++++%3Cmeta+name%3D%22keywords%22+content%3D%E2%80%9Dkeyword1%2C+keyword2%2C+keyword3%E2%80%9D+%2F%3E'
   15     4    > > 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/IOi87
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:
159.35 ms | 1393 KiB | 13 Q