3v4l.org

run code in 300+ PHP versions simultaneously
<?php $coupon = explode(')', 'Coupon(VALUE)'); $coupon = explode('(', $coupon[0]); print_r($coupon[1]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lffBm
function name:  (null)
number of ops:  16
compiled vars:  !0 = $coupon
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '%29'
          2        SEND_VAL                                                 'Coupon%28VALUE%29'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    5     5        INIT_FCALL                                               'explode'
          6        SEND_VAL                                                 '%28'
          7        FETCH_DIM_R                                      ~3      !0, 0
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    7    11        INIT_FCALL                                               'print_r'
         12        FETCH_DIM_R                                      ~6      !0, 1
         13        SEND_VAL                                                 ~6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.65 ms | 1394 KiB | 17 Q