3v4l.org

run code in 300+ PHP versions simultaneously
<?php $info = array('coffee', 'brown', 'caffeine'); $drink = 'water'; // 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/6NZ2f
function name:  (null)
number of ops:  18
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>
    3     1        ASSIGN                                                   !1, 'water'
    5     2        QM_ASSIGN                                        ~6      !0
          3        FETCH_LIST_R                                     $7      ~6, 0
          4        ASSIGN                                                   !1, $7
          5        FETCH_LIST_R                                     $9      ~6, 1
          6        ASSIGN                                                   !2, $9
          7        FETCH_LIST_R                                     $11     ~6, 2
          8        ASSIGN                                                   !3, $11
          9        FREE                                                     ~6
    6    10        ROPE_INIT                                     6  ~14     !1
         11        ROPE_ADD                                      1  ~14     ~14, '+is+'
         12        ROPE_ADD                                      2  ~14     ~14, !2
         13        ROPE_ADD                                      3  ~14     ~14, '+and+'
         14        ROPE_ADD                                      4  ~14     ~14, !3
         15        ROPE_END                                      5  ~13     ~14, '+makes+it+special.%0A'
         16        ECHO                                                     ~13
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.33 ms | 1393 KiB | 13 Q