3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'test'; $id = 15; $start_date = 'date'; $end_date = 'another_date'; $status = 'some status'; $details = 'a line of text'; $ar_var = compact('name', 'id', 'start_date', 'end_date', 'status', 'details'); print_r($ar_var);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8jnCe
function name:  (null)
number of ops:  19
compiled vars:  !0 = $name, !1 = $id, !2 = $start_date, !3 = $end_date, !4 = $status, !5 = $details, !6 = $ar_var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'test'
    3     1        ASSIGN                                                   !1, 15
    4     2        ASSIGN                                                   !2, 'date'
    5     3        ASSIGN                                                   !3, 'another_date'
    6     4        ASSIGN                                                   !4, 'some+status'
    7     5        ASSIGN                                                   !5, 'a+line+of+text'
    9     6        INIT_FCALL                                               'compact'
          7        SEND_VAL                                                 'name'
          8        SEND_VAL                                                 'id'
          9        SEND_VAL                                                 'start_date'
         10        SEND_VAL                                                 'end_date'
         11        SEND_VAL                                                 'status'
         12        SEND_VAL                                                 'details'
         13        DO_ICALL                                         $13     
         14        ASSIGN                                                   !6, $13
   11    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !6
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.94 ms | 1399 KiB | 17 Q