3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.14 ms | 1400 KiB | 19 Q