3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hour = date('H'); $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/d4PUN
function name:  (null)
number of ops:  31
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        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    4     4        INIT_FCALL                                               'mktime'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    5     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'H'
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    6    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'r'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $9      
         17        SEND_VAR                                                 $9
         18        SEND_VAR                                                 !0
         19        SEND_VAR                                                 !2
         20        SEND_VAR                                                 !1
         21        INIT_FCALL                                               'date'
         22        SEND_VAL                                                 'r'
         23        INIT_FCALL                                               'mktime'
         24        SEND_VAL                                                 1445017797
         25        DO_ICALL                                         $10     
         26        SEND_VAR                                                 $10
         27        DO_ICALL                                         $11     
         28        SEND_VAR                                                 $11
         29        DO_ICALL                                                 
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.66 ms | 1395 KiB | 19 Q