3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function gimmeAnInt(): int { return PHP_INT_MAX + 1; } echo gimmeAnInt();
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/WtIFn
function name:  (null)
number of ops:  5
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   8     1        INIT_FCALL                                               'gimmeanint'
         2        DO_FCALL                                      0  $0      
         3        ECHO                                                     $0
         4      > RETURN                                                   1

Function gimmeanint:
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/WtIFn
function name:  gimmeAnInt
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   5     0  E >   VERIFY_RETURN_TYPE                               ~0      9.22337e+18
         1      > RETURN                                                   ~0
   6     2*       VERIFY_RETURN_TYPE                                       
         3*     > RETURN                                                   null

End of function gimmeanint

Generated using Vulcan Logic Dumper, using php 7.2.0