3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(idate('Y', mktime(0, 0, 0, 1, 1, -1))); var_dump(idate('Y', mktime(0, 0, 0, 1, 1, -2)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A4Loi
function name:  (null)
number of ops:  31
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'idate'
          2        SEND_VAL                                                     'Y'
          3        INIT_FCALL                                                   'mktime'
          4        SEND_VAL                                                     0
          5        SEND_VAL                                                     0
          6        SEND_VAL                                                     0
          7        SEND_VAL                                                     1
          8        SEND_VAL                                                     1
          9        SEND_VAL                                                     -1
         10        DO_ICALL                                             $0      
         11        SEND_VAR                                                     $0
         12        DO_ICALL                                             $1      
         13        SEND_VAR                                                     $1
         14        DO_ICALL                                                     
    4    15        INIT_FCALL                                                   'var_dump'
         16        INIT_FCALL                                                   'idate'
         17        SEND_VAL                                                     'Y'
         18        INIT_FCALL                                                   'mktime'
         19        SEND_VAL                                                     0
         20        SEND_VAL                                                     0
         21        SEND_VAL                                                     0
         22        SEND_VAL                                                     1
         23        SEND_VAL                                                     1
         24        SEND_VAL                                                     -2
         25        DO_ICALL                                             $3      
         26        SEND_VAR                                                     $3
         27        DO_ICALL                                             $4      
         28        SEND_VAR                                                     $4
         29        DO_ICALL                                                     
         30      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.09 ms | 3420 KiB | 16 Q