3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test\Cases; function exec(callable $call) {} exec(function() {return true;});
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pvh0H
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_NS_FCALL_BY_NAME                                    'Test%5CCases%5Cexec'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00test%5Ccases%5C%7Bclosure%7D%2Fin%2Fpvh0H%3A6%240'
          2        SEND_VAL_EX                                              ~0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function test%5Ccases%5Cexec:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pvh0H
function name:  Test\Cases\exec
number of ops:  2
compiled vars:  !0 = $call
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function test%5Ccases%5Cexec

Function %00test%5Ccases%5C%7Bclosure%7D%2Fin%2Fpvh0H%3A6%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pvh0H
function name:  Test\Cases\{closure}
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   <true>
          1*     > RETURN                                                   null

End of function %00test%5Ccases%5C%7Bclosure%7D%2Fin%2Fpvh0H%3A6%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.71 ms | 1395 KiB | 15 Q