3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime( $foo = 'now' ); $object = new \stdClass( $bar = 'propertyValue' ); var_dump($foo, $bar);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2v6Gi
function name:  (null)
number of ops:  15
compiled vars:  !0 = $date, !1 = $foo, !2 = $object, !3 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $4      'DateTime'
          1        ASSIGN                                           ~5      !1, 'now'
          2        SEND_VAL_EX                                              ~5
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $4
    4     5        NEW                                              $8      'stdClass'
          6        ASSIGN                                           ~9      !3, 'propertyValue'
          7        SEND_VAL_EX                                              ~9
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !2, $8
    6    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        SEND_VAR                                                 !3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.65 ms | 1394 KiB | 15 Q