3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total = 65000; $start = new DateTime("2014-03-07 15:30:00"); $diff = (time() - $start->getTimestamp()) / (60*60*24); echo $total / $diff;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9S8Ec
function name:  (null)
number of ops:  15
compiled vars:  !0 = $total, !1 = $start, !2 = $diff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 65000
    5     1        NEW                                              $4      'DateTime'
          2        SEND_VAL_EX                                              '2014-03-07+15%3A30%3A00'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
    6     5        INIT_FCALL                                               'time'
          6        DO_ICALL                                         $7      
          7        INIT_METHOD_CALL                                         !1, 'getTimestamp'
          8        DO_FCALL                                      0  $8      
          9        SUB                                              ~9      $7, $8
         10        DIV                                              ~10     ~9, 86400
         11        ASSIGN                                                   !2, ~10
    7    12        DIV                                              ~12     !0, !2
         13        ECHO                                                     ~12
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.12 ms | 1394 KiB | 15 Q