3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a{} $as = array_pad([], 100000, new a()); array_map(function($a){}, $as);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E34F9
function name:  (null)
number of ops:  14
compiled vars:  !0 = $as
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'array_pad'
          1        SEND_VAL                                                 <array>
          2        SEND_VAL                                                 100000
          3        NEW                                              $1      'a'
          4        DO_FCALL                                      0          
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !0, $3
          8        INIT_FCALL                                               'array_map'
          9        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FE34F9%3A2%240'
         10        SEND_VAL                                                 ~5
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FE34F9%3A2%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E34F9
function name:  {closure}
number of ops:  2
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FE34F9%3A2%240

Class a: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.96 ms | 1395 KiB | 17 Q