3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.87 ms | 1394 KiB | 17 Q