3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = time(); $event = mktime(21,0,0,31,10,2019); $countdown = round(($event - $today)/86400); echo "$countdown days until the competition!";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g8EdE
function name:  (null)
number of ops:  22
compiled vars:  !0 = $today, !1 = $event, !2 = $countdown
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $3      
          2        ASSIGN                                                   !0, $3
    4     3        INIT_FCALL                                               'mktime'
          4        SEND_VAL                                                 21
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 31
          8        SEND_VAL                                                 10
          9        SEND_VAL                                                 2019
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    5    12        INIT_FCALL                                               'round'
         13        SUB                                              ~7      !1, !0
         14        DIV                                              ~8      ~7, 86400
         15        SEND_VAL                                                 ~8
         16        DO_ICALL                                         $9      
         17        ASSIGN                                                   !2, $9
    6    18        NOP                                                      
         19        FAST_CONCAT                                      ~11     !2, '+days+until+the+competition%21'
         20        ECHO                                                     ~11
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.35 ms | 1395 KiB | 19 Q