3v4l.org

run code in 300+ PHP versions simultaneously
<?php function evalRichText($richText) { if (substr($richText, 0, 5) == "#FNC#") { $richText = substr($richText, 5) . ';'; eval("\$richTextResult=$richText"); return $richTextResult; } else { return evalRichTextVars(evalRichTextLang($richText)); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7uvJ4
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E > > RETURN                                                   1

Function evalrichtext:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 19
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7uvJ4
function name:  evalRichText
number of ops:  27
compiled vars:  !0 = $richText, !1 = $richTextResult
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 5
          5        DO_ICALL                                         $2      
          6        IS_EQUAL                                                 $2, '%23FNC%23'
          7      > JMPZ                                                     ~3, ->19
    6     8    >   INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 5
         11        DO_ICALL                                         $4      
         12        CONCAT                                           ~5      $4, '%3B'
         13        ASSIGN                                                   !0, ~5
    7    14        NOP                                                      
         15        FAST_CONCAT                                      ~7      '%24richTextResult%3D', !0
         16        INCLUDE_OR_EVAL                                          ~7, EVAL
    8    17      > RETURN                                                   !1
         18*       JMP                                                      ->26
   10    19    >   INIT_FCALL_BY_NAME                                       'evalRichTextVars'
         20        INIT_FCALL_BY_NAME                                       'evalRichTextLang'
         21        SEND_VAR_EX                                              !0
         22        DO_FCALL                                      0  $9      
         23        SEND_VAR_NO_REF_EX                                       $9
         24        DO_FCALL                                      0  $10     
         25      > RETURN                                                   $10
   12    26*     > RETURN                                                   null

End of function evalrichtext

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
244.5 ms | 1396 KiB | 16 Q