3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/ONh6K
function name:  (null)
number of ops:  9
compiled vars:  !0 = $i, !1 = $_v, !2 = $_k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'f2'
          1        DO_FCALL                                      0  $3      
          2        ASSIGN                                                   !0, $3
   11     3      > FE_RESET_R                                       $5      !0, ->7
          4    > > FE_FETCH_R                                       ~6      $5, !1, ->7
          5    >   ASSIGN                                                   !2, ~6
          6      > JMP                                                      ->4
          7    >   FE_FREE                                                  $5
          8      > RETURN                                                   1

Function doesnotacceptnull:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ONh6K
function name:  doesNotAcceptNull
number of ops:  4
compiled vars:  !0 = $_p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1      > RETURN                                                   'yay%21'
          2*       VERIFY_RETURN_TYPE                                       
          3*     > RETURN                                                   null

End of function doesnotacceptnull

Function f2:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 161) Position 1 = -2
filename:       /in/ONh6K
function name:  f2
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   GENERATOR_CREATE                                         
    7     1        INIT_FCALL                                               'doesnotacceptnull'
          2        YIELD                                            $0      1
          3        SEND_VAR                                                 $0
          4        DO_FCALL                                      0  $1      
          5        ECHO                                                     $1
    8     6      > GENERATOR_RETURN                                         

End of function f2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.46 ms | 967 KiB | 15 Q