3v4l.org

run code in 300+ PHP versions simultaneously
{source} <?php if (true) { $document = JFactory::getDocument(); $style = '.item-135 {display: none;}'; $document->addStyleDeclaration($style); } ?> {/source}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 9
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/g0pls
function name:  (null)
number of ops:  11
compiled vars:  !0 = $document, !1 = $style
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%7Bsource%7D%0A'
    3     1      > JMPZ                                                     <true>, ->9
    4     2    >   INIT_STATIC_METHOD_CALL                                  'JFactory', 'getDocument'
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
    5     5        ASSIGN                                                   !1, '.item-135+%7Bdisplay%3A+none%3B%7D'
    6     6        INIT_METHOD_CALL                                         !0, 'addStyleDeclaration'
          7        SEND_VAR_EX                                              !1
          8        DO_FCALL                                      0          
    9     9    >   ECHO                                                     '%7B%2Fsource%7D'
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.67 ms | 1392 KiB | 13 Q