3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types=1); function my_mktime($hour, $min, $sec, $month, $day, $year) { try { return mktime($hour, $min, $sec, $month, $day, $year); } catch (EngineException $ex) { return false; } } var_dump(my_mktime(0, 0, 0, null, null, null));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qgp3u
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'my_mktime'
          2        SEND_VAL                                                     0
          3        SEND_VAL                                                     0
          4        SEND_VAL                                                     0
          5        SEND_VAL                                                     null
          6        SEND_VAL                                                     null
          7        SEND_VAL                                                     null
          8        DO_FCALL                                          0  $0      
          9        SEND_VAR                                                     $0
         10        DO_ICALL                                                     
         11      > RETURN                                                       1

Function my_mktime:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 16
Branch analysis from position: 16
2 jumps found. (Code = 107) Position 1 = 17, Position 2 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qgp3u
function name:  my_mktime
number of ops:  19
compiled vars:  !0 = $hour, !1 = $min, !2 = $sec, !3 = $month, !4 = $day, !5 = $year, !6 = $ex
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
          2        RECV                                                 !2      
          3        RECV                                                 !3      
          4        RECV                                                 !4      
          5        RECV                                                 !5      
    8     6        INIT_FCALL                                                   'mktime'
          7        SEND_VAR                                                     !0
          8        SEND_VAR                                                     !1
          9        SEND_VAR                                                     !2
         10        SEND_VAR                                                     !3
         11        SEND_VAR                                                     !4
         12        SEND_VAR                                                     !5
         13        DO_ICALL                                             $7      
         14      > RETURN                                                       $7
         15*       JMP                                                          ->18
    9    16  E > > CATCH                                           last         'EngineException'
   10    17    > > RETURN                                                       <false>
   12    18*     > RETURN                                                       null

End of function my_mktime

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
219.97 ms | 2853 KiB | 16 Q