3v4l.org

run code in 300+ PHP versions simultaneously
<?php $field_from_table = 'el1;el2;el3'; $field_from_table = explode(';', $field_from_table); $field_from_table = '<li>' . implode("</li>\r\n<li>", $field_from_table) . '</li>'; echo $field_from_table;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CAbbU
function name:  (null)
number of ops:  15
compiled vars:  !0 = $field_from_table
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'el1%3Bel2%3Bel3'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%3B'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    4     6        INIT_FCALL                                               'implode'
          7        SEND_VAL                                                 '%3C%2Fli%3E%0D%0A%3Cli%3E'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        CONCAT                                           ~5      '%3Cli%3E', $4
         11        CONCAT                                           ~6      ~5, '%3C%2Fli%3E'
         12        ASSIGN                                                   !0, ~6
    6    13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.57 ms | 1394 KiB | 17 Q