3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = eval('$baz = function($s){ echo "shat"; };'); $s();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PsNj2
function name:  (null)
number of ops:  5
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INCLUDE_OR_EVAL                                  $1      '%24baz+%3D+function%28%24s%29%7B+echo+%22shat%22%3B+%7D%3B', EVAL
          1        ASSIGN                                                   !0, $1
    5     2        INIT_DYNAMIC_CALL                                        !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.06 ms | 1392 KiB | 13 Q