3v4l.org

run code in 300+ PHP versions simultaneously
<?php $info_details = array( "<b>title:</b> this is title", "<b>name:</b> this is name", "<b>created</b> this is date" ); $return = array(); foreach($info_details as $val){ list ($key, $value) = explode("</b>",$val, 2); $key = strip_tags($key); $return[$key] = $value; } print_r($return);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 21
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 21
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/CaCUt
function name:  (null)
number of ops:  26
compiled vars:  !0 = $info_details, !1 = $return, !2 = $val, !3 = $key, !4 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN                                                   !1, <array>
    8     2      > FE_RESET_R                                       $7      !0, ->21
          3    > > FE_FETCH_R                                               $7, !2, ->21
    9     4    >   INIT_FCALL                                               'explode'
          5        SEND_VAL                                                 '%3C%2Fb%3E'
          6        SEND_VAR                                                 !2
          7        SEND_VAL                                                 2
          8        DO_ICALL                                         $8      
          9        FETCH_LIST_R                                     $9      $8, 0
         10        ASSIGN                                                   !3, $9
         11        FETCH_LIST_R                                     $11     $8, 1
         12        ASSIGN                                                   !4, $11
         13        FREE                                                     $8
   10    14        INIT_FCALL                                               'strip_tags'
         15        SEND_VAR                                                 !3
         16        DO_ICALL                                         $13     
         17        ASSIGN                                                   !3, $13
   11    18        ASSIGN_DIM                                               !1, !3
         19        OP_DATA                                                  !4
    8    20      > JMP                                                      ->3
         21    >   FE_FREE                                                  $7
   14    22        INIT_FCALL                                               'print_r'
         23        SEND_VAR                                                 !1
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.04 ms | 1000 KiB | 16 Q