3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rData = (object)["DateOfBirth"=>"1985-01-01","FirstName"=>"john"]; $rData2 = (object)["DateOfBirth"=>"1980-12-12","FirstName"=>"jane"]; $rArray = array( $rData ); array_push( $rArray, $rData2 ); var_dump($rArray);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NibJT
function name:  (null)
number of ops:  14
compiled vars:  !0 = $rData, !1 = $rData2, !2 = $rArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CAST                                          8  ~3      <array>
          1        ASSIGN                                                   !0, ~3
    3     2        CAST                                          8  ~5      <array>
          3        ASSIGN                                                   !1, ~5
    4     4        INIT_ARRAY                                       ~7      !0
          5        ASSIGN                                                   !2, ~7
    5     6        INIT_FCALL                                               'array_push'
          7        SEND_REF                                                 !2
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.51 ms | 1010 KiB | 15 Q