3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o1 = new stdclass($_GLOBALS['a']=8); var_dump($a); // Notice: Undefined variable: a var_dump($o1); $o2 = new Datetime($b='now'); var_dump($b); // string "now"
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CLVOG
function name:  (null)
number of ops:  21
compiled vars:  !0 = $o1, !1 = $_GLOBALS, !2 = $a, !3 = $o2, !4 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $5      'stdclass'
          1        ASSIGN_DIM                                       ~6      !1, 'a'
          2        OP_DATA                                                  8
          3        SEND_VAL_EX                                              ~6
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $5
    3     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                                 
    4     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    6    12        NEW                                              $11     'Datetime'
         13        ASSIGN                                           ~12     !4, 'now'
         14        SEND_VAL_EX                                              ~12
         15        DO_FCALL                                      0          
         16        ASSIGN                                                   !3, $11
    7    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !4
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.33 ms | 1395 KiB | 15 Q