3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = new stdClass; $arr->uid = 1; $arr->status = "complete"; $arr->order_id = 430; echo "Proof that the output is identical:\n"; print_r($arr); echo "\n"; echo "Order ID is: " . $arr->order_id;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ln2uj
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        ASSIGN_OBJ                                               !0, 'uid'
          4        OP_DATA                                                  1
    5     5        ASSIGN_OBJ                                               !0, 'status'
          6        OP_DATA                                                  'complete'
    6     7        ASSIGN_OBJ                                               !0, 'order_id'
          8        OP_DATA                                                  430
    8     9        ECHO                                                     'Proof+that+the+output+is+identical%3A%0A'
    9    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
   11    13        ECHO                                                     '%0A'
   12    14        FETCH_OBJ_R                                      ~8      !0, 'order_id'
         15        CONCAT                                           ~9      'Order+ID+is%3A+', ~8
         16        ECHO                                                     ~9
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.04 ms | 1394 KiB | 15 Q