3v4l.org

run code in 300+ PHP versions simultaneously
<?php $seconds = time() - 1355094000; echo $seconds/60/60/24/7;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D9ell
function name:  (null)
number of ops:  10
compiled vars:  !0 = $seconds
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $1      
          2        SUB                                              ~2      $1, 1355094000
          3        ASSIGN                                                   !0, ~2
    4     4        DIV                                              ~4      !0, 60
          5        DIV                                              ~5      ~4, 60
          6        DIV                                              ~6      ~5, 24
          7        DIV                                              ~7      ~6, 7
          8        ECHO                                                     ~7
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.52 ms | 1394 KiB | 15 Q