3v4l.org

run code in 300+ PHP versions simultaneously
<?php $send = []; $number = '16467274262+113'; if (strpos($number, '+') !== 0) { $nums = explode('+', $number); print_r($nums); $number = $nums[0]; $ext = $nums[1]; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 20
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/9T3MJ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $send, !1 = $number, !2 = $nums, !3 = $ext
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, '16467274262%2B113'
    7     2        INIT_FCALL                                               'strpos'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 '%2B'
          5        DO_ICALL                                         $6      
          6        IS_NOT_IDENTICAL                                         $6, 0
          7      > JMPZ                                                     ~7, ->20
    8     8    >   INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%2B'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !2, $8
    9    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
   10    16        FETCH_DIM_R                                      ~11     !2, 0
         17        ASSIGN                                                   !1, ~11
   11    18        FETCH_DIM_R                                      ~13     !2, 1
         19        ASSIGN                                                   !3, ~13
   12    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.98 ms | 1395 KiB | 19 Q