3v4l.org

run code in 300+ PHP versions simultaneously
<?php function is_serializable($_){return !is_resource($_)&&!is_callable($_);}
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lX5bj
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > RETURN                                                   1

Function is_serializable:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/lX5bj
function name:  is_serializable
number of ops:  11
compiled vars:  !0 = $_
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        TYPE_CHECK                                  512  ~1      !0
          2        BOOL_NOT                                         ~2      ~1
          3      > JMPZ_EX                                          ~2      ~2, ->9
          4    >   INIT_FCALL                                               'is_callable'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        BOOL_NOT                                         ~4      $3
          8        BOOL                                             ~2      ~4
          9    > > RETURN                                                   ~2
         10*     > RETURN                                                   null

End of function is_serializable

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.12 ms | 1386 KiB | 15 Q