3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'php'; list($a, $b, $c) = $string; var_dump($a, $b, $c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lLU8q
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string, !1 = $a, !2 = $b, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'php'
    5     1        QM_ASSIGN                                        ~5      !0
          2        FETCH_LIST_R                                     $6      ~5, 0
          3        ASSIGN                                                   !1, $6
          4        FETCH_LIST_R                                     $8      ~5, 1
          5        ASSIGN                                                   !2, $8
          6        FETCH_LIST_R                                     $10     ~5, 2
          7        ASSIGN                                                   !3, $10
          8        FREE                                                     ~5
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !2
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.77 ms | 1394 KiB | 15 Q