3v4l.org

run code in 500+ PHP versions simultaneously
<?php function getTime(): DateTimeInterface { return $time; } echo __LINE__; // OK getTime(); // Segfault echo __LINE__; // We aren't getting here
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VRAoq
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                         7
    8     1        INIT_FCALL                                                   'gettime'
          2        DO_FCALL                                          0          
    9     3        ECHO                                                         9
          4      > RETURN                                                       1

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

End of function gettime

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
221.74 ms | 2165 KiB | 14 Q