3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "123~456!!!789~012!!!345~678!!!901~234!!!567~890!!!1234~5678"; $array = explode("!!!",$txt); foreach($array AS $key => $subarray) { $array[$key] = explode("~",$subarray); } print_r($array);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 16
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 16
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/7dEoC
function name:  (null)
number of ops:  21
compiled vars:  !0 = $txt, !1 = $array, !2 = $subarray, !3 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '123%7E456%21%21%21789%7E012%21%21%21345%7E678%21%21%21901%7E234%21%21%21567%7E890%21%21%211234%7E5678'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%21%21%21'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    4     6      > FE_RESET_R                                       $7      !1, ->16
          7    > > FE_FETCH_R                                       ~8      $7, !2, ->16
          8    >   ASSIGN                                                   !3, ~8
    5     9        INIT_FCALL                                               'explode'
         10        SEND_VAL                                                 '%7E'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $11     
         13        ASSIGN_DIM                                               !1, !3
         14        OP_DATA                                                  $11
    4    15      > JMP                                                      ->7
         16    >   FE_FREE                                                  $7
    7    17        INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.86 ms | 1395 KiB | 17 Q