3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.77 ms | 1400 KiB | 19 Q