3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a= "@table(hello)"; $b = "@column"; list($key, $value) = explode("(", rtrim($a, ")")); var_dump($key); var_dump($value);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H9EeF
function name:  (null)
number of ops:  22
compiled vars:  !0 = $a, !1 = $b, !2 = $key, !3 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%40table%28hello%29'
    4     1        ASSIGN                                                   !1, '%40column'
    6     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%28'
          4        INIT_FCALL                                               'rtrim'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '%29'
          7        DO_ICALL                                         $6      
          8        SEND_VAR                                                 $6
          9        DO_ICALL                                         $7      
         10        FETCH_LIST_R                                     $8      $7, 0
         11        ASSIGN                                                   !2, $8
         12        FETCH_LIST_R                                     $10     $7, 1
         13        ASSIGN                                                   !3, $10
         14        FREE                                                     $7
    7    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                                 
    8    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !3
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.71 ms | 1395 KiB | 19 Q