3v4l.org

run code in 300+ PHP versions simultaneously
<?php $function = new ReflectionFunction(function( $a0, &$a1, array $a2, array &$a3, Type $a4, Type &$a5, Namespaced\Type $a6, Namespaced\Type &$a7, $a8 = 'string', &$a9 = 111, array $a10 = array('a', 'b', 'c' => 'd'), array &$a11 = null, Type $a12 = null, Type &$a13 = null, Namespaced\Type $a14 = null, Namespaced\Type &$a15 = null ){}); $parameters = $function->getParameters(); $parameters = array_map('strval', $parameters); echo implode("\n", $parameters);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g5elt
function name:  (null)
number of ops:  19
compiled vars:  !0 = $function, !1 = $parameters
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'ReflectionFunction'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Fg5elt%3A3%240'
   20     2        SEND_VAL_EX                                              ~3
          3        DO_FCALL                                      0          
    3     4        ASSIGN                                                   !0, $2
   21     5        INIT_METHOD_CALL                                         !0, 'getParameters'
          6        DO_FCALL                                      0  $6      
          7        ASSIGN                                                   !1, $6
   22     8        INIT_FCALL                                               'array_map'
          9        SEND_VAL                                                 'strval'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !1, $8
   23    13        INIT_FCALL                                               'implode'
         14        SEND_VAL                                                 '%0A'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $10     
         17        ECHO                                                     $10
         18      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2Fg5elt%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g5elt
function name:  {closure}
number of ops:  17
compiled vars:  !0 = $a0, !1 = $a1, !2 = $a2, !3 = $a3, !4 = $a4, !5 = $a5, !6 = $a6, !7 = $a7, !8 = $a8, !9 = $a9, !10 = $a10, !11 = $a11, !12 = $a12, !13 = $a13, !14 = $a14, !15 = $a15
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
          6        RECV                                             !6      
          7        RECV                                             !7      
          8        RECV_INIT                                        !8      'string'
          9        RECV_INIT                                        !9      111
         10        RECV_INIT                                        !10     <array>
         11        RECV_INIT                                        !11     null
         12        RECV_INIT                                        !12     null
         13        RECV_INIT                                        !13     null
         14        RECV_INIT                                        !14     null
         15        RECV_INIT                                        !15     null
   20    16      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2Fg5elt%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.72 ms | 1388 KiB | 17 Q