3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myBook = array("The Grapes of Wrath", "John Steinbeck", 1939); list($title, $author, $pubYear) = $myBook; echo $title .", ". $author .", ". $pubYear;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Af69O
function name:  (null)
number of ops:  15
compiled vars:  !0 = $myBook, !1 = $title, !2 = $author, !3 = $pubYear
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     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
    5     9        CONCAT                                           ~12     !1, '%2C+'
         10        CONCAT                                           ~13     ~12, !2
         11        CONCAT                                           ~14     ~13, '%2C+'
         12        CONCAT                                           ~15     ~14, !3
         13        ECHO                                                     ~15
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.61 ms | 1393 KiB | 13 Q