3v4l.org

run code in 300+ PHP versions simultaneously
<?php $birthday = strtotime('2014-06-10'); $days = int(($birthday-time())/60/60/24); print "There are $days days until birthday."; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/99jn4
function name:  (null)
number of ops:  19
compiled vars:  !0 = $birthday, !1 = $days
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2014-06-10'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL_BY_NAME                                       'int'
          5        INIT_FCALL                                               'time'
          6        DO_ICALL                                         $4      
          7        SUB                                              ~5      !0, $4
          8        DIV                                              ~6      ~5, 60
          9        DIV                                              ~7      ~6, 60
         10        DIV                                              ~8      ~7, 24
         11        SEND_VAL_EX                                              ~8
         12        DO_FCALL                                      0  $9      
         13        ASSIGN                                                   !1, $9
    4    14        ROPE_INIT                                     3  ~12     'There+are+'
         15        ROPE_ADD                                      1  ~12     ~12, !1
         16        ROPE_END                                      2  ~11     ~12, '+days+until+birthday.'
         17        ECHO                                                     ~11
    5    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.38 ms | 1394 KiB | 17 Q