3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.73 ms | 1400 KiB | 19 Q