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(":",strip_tags($val), 2); $return[$key] = $value; } print_r($return);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 20
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 20
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/tN02N
function name:  (null)
number of ops:  25
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, ->20
          3    > > FE_FETCH_R                                               $7, !2, ->20
    9     4    >   INIT_FCALL                                               'explode'
          5        SEND_VAL                                                 '%3A'
          6        INIT_FCALL                                               'strip_tags'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                         $8      
          9        SEND_VAR                                                 $8
         10        SEND_VAL                                                 2
         11        DO_ICALL                                         $9      
         12        FETCH_LIST_R                                     $10     $9, 0
         13        ASSIGN                                                   !3, $10
         14        FETCH_LIST_R                                     $12     $9, 1
         15        ASSIGN                                                   !4, $12
         16        FREE                                                     $9
   10    17        ASSIGN_DIM                                               !1, !3
         18        OP_DATA                                                  !4
    8    19      > JMP                                                      ->3
         20    >   FE_FREE                                                  $7
   13    21        INIT_FCALL                                               'print_r'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.35 ms | 1012 KiB | 16 Q