3v4l.org

run code in 300+ PHP versions simultaneously
<?php $target_days = mktime(0,0,0,12,31,2013);// modify the birth day 12/31/2013 $today = time(); $diff_days = ($target_days - $today); $days = (int)($diff_days/86400); print "Days till next birthday: $days days!"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/esUbl
function name:  (null)
number of ops:  10
compiled vars:  !0 = $target_days
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'mktime'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 12
          5        SEND_VAL                                                 31
          6        SEND_VAL                                                 2013
          7        DO_ICALL                                         $1      
          8        ASSIGN                                                   !0, $1
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.09 ms | 1393 KiB | 15 Q