3v4l.org

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

Function %00%7Bclosure%7D%2Fin%2Fmf1TW%3A2%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mf1TW
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%2Fmf1TW%3A2%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.7 ms | 1399 KiB | 17 Q