3v4l.org

run code in 300+ PHP versions simultaneously
<?php function do_the_thing(boolean $bool): boolean { return $bool; } do_the_thing((bool) true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d9tEK
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'do_the_thing'
          1        BOOL                                             ~0      <true>
          2        SEND_VAL                                                 ~0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

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

End of function do_the_thing

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.79 ms | 1401 KiB | 14 Q