3v4l.org

run code in 500+ PHP versions simultaneously
<?php $var = "stdClass(); call_some_dangerous_function(); new std"; eval('$bar = new '.$var.'Class(\'var for __construct()\');');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DOBF1
function name:  (null)
number of ops:  5
compiled vars:  !0 = $var
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'stdClass%28%29%3B+call_some_dangerous_function%28%29%3B+new+std'
    4     1        CONCAT                                               ~2      '%24bar+%3D+new+', !0
          2        CONCAT                                               ~3      ~2, 'Class%28%27var+for+__construct%28%29%27%29%3B'
          3        INCLUDE_OR_EVAL                                              ~3, EVAL
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
247.62 ms | 2854 KiB | 13 Q