3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = 'aaa'; list($a, $b) = (array)$c; echo $a, PHP_EOL, $b;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v8slf
function name:  (null)
number of ops:  11
compiled vars:  !0 = $c, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'aaa'
    5     1        CAST                                          7  ~4      !0
          2        FETCH_LIST_R                                     $5      ~4, 0
          3        ASSIGN                                                   !1, $5
          4        FETCH_LIST_R                                     $7      ~4, 1
          5        ASSIGN                                                   !2, $7
          6        FREE                                                     ~4
    7     7        ECHO                                                     !1
          8        ECHO                                                     '%0A'
          9        ECHO                                                     !2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.86 ms | 1393 KiB | 13 Q