3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.74 ms | 1394 KiB | 15 Q