3v4l.org

run code in 300+ PHP versions simultaneously
<?php $scheduledPayment = (object)array( array( 'id_scheduled_payment' => 1, 'id_document' => 2, 'id_payment' => 3, 'id_updated_by' => 4, 'date_updated' => '2015-07-21 8:22:58', 'payment_amount' => 123.45, 'date_payment' => '2015-08-03 12:34:28', ) ); $key = 0; var_dump($scheduledPayment->$key[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u8Y2c
function name:  (null)
number of ops:  9
compiled vars:  !0 = $scheduledPayment, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   CAST                                          8  ~2      <array>
    3     1        ASSIGN                                                   !0, ~2
   14     2        ASSIGN                                                   !1, 0
   15     3        INIT_FCALL                                               'var_dump'
          4        FETCH_OBJ_R                                      ~5      !0, !1
          5        FETCH_DIM_R                                      ~6      ~5, 0
          6        SEND_VAL                                                 ~6
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
204.57 ms | 1398 KiB | 15 Q