3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 99; $o = new stdclass($x=125); var_dump($o,$x); 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/X0EAo
function name:  (null)
number of ops:  23
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        ASSIGN                                           ~6      !0, 125
          3        SEND_VAL_EX                                              ~6
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    5    10        ECHO                                                     '%0A'
    6    11        NEW                                              $10     'stdclass'
         12        ASSIGN                                           ~11     !3, 8
         13        SEND_VAL_EX                                              ~11
         14        DO_FCALL                                      0          
         15        ASSIGN                                                   !2, $10
    7    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !3
         18        DO_ICALL                                                 
    8    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !2
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.51 ms | 1395 KiB | 15 Q