3v4l.org

run code in 300+ PHP versions simultaneously
<?php eval(' //$closure = function(){ /* This template demonstrates a typical piece of code that will execute normally under the default PHPSandbox configuration */ it(); function it() { echo \'This is it\'; } //}; //if(method_exists($closure, "bindTo")){ $closure = $closure->bindTo(null); } //return $closure();');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kYDAR
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INCLUDE_OR_EVAL                                          '%0A%2F%2F%24closure+%3D+function%28%29%7B%0A%2F%2A%0A++++This+template+demonstrates+a+typical+piece+of+code+that+will+execute%0A++++normally+under+the+default+PHPSandbox+configuration%0A%2A%2F%0Ait%28%29%3B%0Afunction+it%28%29%0A%7B%0A++++echo+%27This+is+it%27%3B%0A%7D%0A%2F%2F%7D%3B%0A%2F%2Fif%28method_exists%28%24closure%2C+%22bindTo%22%29%29%7B+%24closure+%3D+%24closure-%3EbindTo%28null%29%3B+%7D%0A%2F%2Freturn+%24closure%28%29%3B', EVAL
   16     1      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.7 ms | 1392 KiB | 13 Q