3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Seen = "µ4~456456446µ"; echo print_r($Seen)."\n"; $Seen = explode("µµ", mb_substr($Seen, 1, -1, "UTF-8")); echo print_r($Seen)."\n"; foreach($Seen as &$Entr) { echo print_r($Entr)."\n"; $Temp = explode("~", $Entr); echo print_r($Temp)."\n"; $Entr = array('UserID' => intval($Temp[0]), 'Timestamp' => intval($Temp[1])); echo print_r($Entr)."\n"; } echo print_r($Seen)."\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 23, Position 2 = 52
Branch analysis from position: 23
2 jumps found. (Code = 126) Position 1 = 24, Position 2 = 52
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 52
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 52
filename:       /in/GgEHs
function name:  (null)
number of ops:  59
compiled vars:  !0 = $Seen, !1 = $Entr, !2 = $Temp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%C2%B54%7E456456446%C2%B5'
    3     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        CONCAT                                           ~5      $4, '%0A'
          5        ECHO                                                     ~5
    4     6        INIT_FCALL                                               'explode'
          7        SEND_VAL                                                 '%C2%B5%C2%B5'
          8        INIT_FCALL                                               'mb_substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 1
         11        SEND_VAL                                                 -1
         12        SEND_VAL                                                 'UTF-8'
         13        DO_ICALL                                         $6      
         14        SEND_VAR                                                 $6
         15        DO_ICALL                                         $7      
         16        ASSIGN                                                   !0, $7
    5    17        INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $9      
         20        CONCAT                                           ~10     $9, '%0A'
         21        ECHO                                                     ~10
    6    22      > FE_RESET_RW                                      $11     !0, ->52
         23    > > FE_FETCH_RW                                              $11, !1, ->52
    8    24    >   INIT_FCALL                                               'print_r'
         25        SEND_VAR                                                 !1
         26        DO_ICALL                                         $12     
         27        CONCAT                                           ~13     $12, '%0A'
         28        ECHO                                                     ~13
    9    29        INIT_FCALL                                               'explode'
         30        SEND_VAL                                                 '%7E'
         31        SEND_VAR                                                 !1
         32        DO_ICALL                                         $14     
         33        ASSIGN                                                   !2, $14
   10    34        INIT_FCALL                                               'print_r'
         35        SEND_VAR                                                 !2
         36        DO_ICALL                                         $16     
         37        CONCAT                                           ~17     $16, '%0A'
         38        ECHO                                                     ~17
   11    39        FETCH_DIM_R                                      ~18     !2, 0
         40        CAST                                          4  ~19     ~18
         41        INIT_ARRAY                                       ~20     ~19, 'UserID'
         42        FETCH_DIM_R                                      ~21     !2, 1
         43        CAST                                          4  ~22     ~21
         44        ADD_ARRAY_ELEMENT                                ~20     ~22, 'Timestamp'
         45        ASSIGN                                                   !1, ~20
   12    46        INIT_FCALL                                               'print_r'
         47        SEND_VAR                                                 !1
         48        DO_ICALL                                         $24     
         49        CONCAT                                           ~25     $24, '%0A'
         50        ECHO                                                     ~25
    6    51      > JMP                                                      ->23
         52    >   FE_FREE                                                  $11
   14    53        INIT_FCALL                                               'print_r'
         54        SEND_VAR                                                 !0
         55        DO_ICALL                                         $26     
         56        CONCAT                                           ~27     $26, '%0A'
         57        ECHO                                                     ~27
         58      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
231.71 ms | 1404 KiB | 19 Q