3v4l.org

run code in 300+ PHP versions simultaneously
<?php $deliverable = (object) array( 'sku' => 'M/Monit License #', 'price' => 0, 'qty' => 1, ); $deliverable->sku = "hello"; $deliverable->price = 1.03; print $deliverable->sku; print $deliverable->price; print $deliverable->qty; var_dump($deliverable);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R9i61
function name:  (null)
number of ops:  16
compiled vars:  !0 = $deliverable
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          8  ~1      <array>
    2     1        ASSIGN                                                   !0, ~1
    7     2        ASSIGN_OBJ                                               !0, 'sku'
          3        OP_DATA                                                  'hello'
    8     4        ASSIGN_OBJ                                               !0, 'price'
          5        OP_DATA                                                  1.03
   10     6        FETCH_OBJ_R                                      ~5      !0, 'sku'
          7        ECHO                                                     ~5
   11     8        FETCH_OBJ_R                                      ~6      !0, 'price'
          9        ECHO                                                     ~6
   12    10        FETCH_OBJ_R                                      ~7      !0, 'qty'
         11        ECHO                                                     ~7
   14    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.14 ms | 1394 KiB | 15 Q