3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = '123.23.23.4/17,'; $str .= '123.23.23.4/23,'; $str .= '123.23.23.4/8,'; $str .= '123.23.23.4/18'; $lines = explode(',', $str); foreach($lines as $line){ $parts = explode('/', $line); var_dump($parts); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 20
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 20
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/u5eNH
function name:  (null)
number of ops:  22
compiled vars:  !0 = $str, !1 = $lines, !2 = $line, !3 = $parts
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '123.23.23.4%2F17%2C'
    4     1        ASSIGN_OP                                         8          !0, '123.23.23.4%2F23%2C'
    5     2        ASSIGN_OP                                         8          !0, '123.23.23.4%2F8%2C'
    6     3        ASSIGN_OP                                         8          !0, '123.23.23.4%2F18'
    8     4        INIT_FCALL                                                   'explode'
          5        SEND_VAL                                                     '%2C'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                             $8      
          8        ASSIGN                                                       !1, $8
    9     9      > FE_RESET_R                                           $10     !1, ->20
         10    > > FE_FETCH_R                                                   $10, !2, ->20
   10    11    >   INIT_FCALL                                                   'explode'
         12        SEND_VAL                                                     '%2F'
         13        SEND_VAR                                                     !2
         14        DO_ICALL                                             $11     
         15        ASSIGN                                                       !3, $11
   11    16        INIT_FCALL                                                   'var_dump'
         17        SEND_VAR                                                     !3
         18        DO_ICALL                                                     
    9    19      > JMP                                                          ->10
         20    >   FE_FREE                                                      $10
   12    21      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.23 ms | 2085 KiB | 15 Q