3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cancel_str = "2020-aaa<br>2021-bbb<br>"; $cancel_array = explode("<br>", $cancel_str); $pos = 0; $result = $cancel_array[$pos]; var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DNoo7
function name:  (null)
number of ops:  13
compiled vars:  !0 = $cancel_str, !1 = $cancel_array, !2 = $pos, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2020-aaa%3Cbr%3E2021-bbb%3Cbr%3E'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%3Cbr%3E'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    5     6        ASSIGN                                                   !2, 0
    6     7        FETCH_DIM_R                                      ~8      !1, !2
          8        ASSIGN                                                   !3, ~8
    8     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.87 ms | 1459 KiB | 15 Q