3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<?php use function \PHPStan\dumpType; /** @var list<mixed> */ $args = []; '; echo implode("\n", array_map(function (string $fn) { return 'dumpType(\'' . $fn . '\'); dumpType(' . $fn . '(...$args));'; }, get_defined_functions()['internal']));

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SXRNM
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     '%3C%3Fphp%0A%0Ause+function+%5CPHPStan%5CdumpType%3B%0A%0A%2F%2A%2A+%40var+list%3Cmixed%3E+%2A%2F%0A%24args+%3D+%5B%5D%3B%0A%0A'
   12     1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%0A'
          3        INIT_FCALL                                               'array_map'
          4        DECLARE_LAMBDA_FUNCTION                          ~0      [0]
   14     5        SEND_VAL                                                 ~0
          6        INIT_FCALL                                               'get_defined_functions'
          7        DO_ICALL                                         $1      
          8        FETCH_DIM_R                                      ~2      $1, 'internal'
          9        SEND_VAL                                                 ~2
   12    10        DO_ICALL                                         $3      
   14    11        SEND_VAR                                                 $3
   12    12        DO_ICALL                                         $4      
   14    13        ECHO                                                     $4
         14      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SXRNM
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $fn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   13     1        CONCAT                                           ~1      'dumpType%28%27', !0
          2        CONCAT                                           ~2      ~1, '%27%29%3B+dumpType%28'
          3        CONCAT                                           ~3      ~2, !0
          4        CONCAT                                           ~4      ~3, '%28...%24args%29%29%3B'
          5      > RETURN                                                   ~4
   14     6*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.14 ms | 1000 KiB | 16 Q