3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = function() {}; var_dump(is_object($a)); $a(); exit; function a($a) { } $b = 3; a($b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/lggqV
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FlggqV%3A2%240'
          1        ASSIGN                                                   !0, ~2
    3     2        INIT_FCALL                                               'var_dump'
          3        TYPE_CHECK                                  256  ~4      !0
          4        SEND_VAL                                                 ~4
          5        DO_ICALL                                                 
    4     6        INIT_DYNAMIC_CALL                                        !0
          7        DO_FCALL                                      0          
    5     8      > EXIT                                                     
    8     9*       ASSIGN                                                   !1, 3
    9    10*       INIT_FCALL                                               'a'
         11*       SEND_VAR                                                 !1
         12*       DO_FCALL                                      0          
         13*     > RETURN                                                   1

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

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

Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lggqV
function name:  a
number of ops:  2
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    7     1      > RETURN                                                   null

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.93 ms | 1398 KiB | 16 Q