3v4l.org

run code in 300+ PHP versions simultaneously
<?php $info = array('0'=>'coffee', '1'=>'brown', '2'=>'caffeine'); // Listing all the variables list($drink, $color, $power) = $info; echo "$drink is $color and $power makes it special.\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wc045
function name:  (null)
number of ops:  17
compiled vars:  !0 = $info, !1 = $drink, !2 = $color, !3 = $power
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    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
    6     9        ROPE_INIT                                     6  ~13     !1
         10        ROPE_ADD                                      1  ~13     ~13, '+is+'
         11        ROPE_ADD                                      2  ~13     ~13, !2
         12        ROPE_ADD                                      3  ~13     ~13, '+and+'
         13        ROPE_ADD                                      4  ~13     ~13, !3
         14        ROPE_END                                      5  ~12     ~13, '+makes+it+special.%0A'
         15        ECHO                                                     ~12
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.91 ms | 1393 KiB | 13 Q