3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.29 ms | 1395 KiB | 15 Q