3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vars['head_title'] = 'test'.htmlentities('&reg;').'string title'; echo 'test '.htmlentities('&reg;').'string title'; echo 'test '.html_entity_decode('&reg;').'string title';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BJcRM
function name:  (null)
number of ops:  20
compiled vars:  !0 = $vars
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'htmlentities'
          1        SEND_VAL                                                 '%26reg%3B'
          2        DO_ICALL                                         $2      
          3        CONCAT                                           ~3      'test', $2
          4        CONCAT                                           ~4      ~3, 'string+title'
          5        ASSIGN_DIM                                               !0, 'head_title'
          6        OP_DATA                                                  ~4
    4     7        INIT_FCALL                                               'htmlentities'
          8        SEND_VAL                                                 '%26reg%3B'
          9        DO_ICALL                                         $5      
         10        CONCAT                                           ~6      'test+', $5
         11        CONCAT                                           ~7      ~6, 'string+title'
         12        ECHO                                                     ~7
    5    13        INIT_FCALL                                               'html_entity_decode'
         14        SEND_VAL                                                 '%26reg%3B'
         15        DO_ICALL                                         $8      
         16        CONCAT                                           ~9      'test+', $8
         17        CONCAT                                           ~10     ~9, 'string+title'
         18        ECHO                                                     ~10
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.85 ms | 1011 KiB | 15 Q