3v4l.org

run code in 300+ PHP versions simultaneously
<?php $seconds = time() - 1355094000; echo number_format($seconds/60/60/24/7);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qq7YA
function name:  (null)
number of ops:  13
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        INIT_FCALL                                               'number_format'
          5        DIV                                              ~4      !0, 60
          6        DIV                                              ~5      ~4, 60
          7        DIV                                              ~6      ~5, 24
          8        DIV                                              ~7      ~6, 7
          9        SEND_VAL                                                 ~7
         10        DO_ICALL                                         $8      
         11        ECHO                                                     $8
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.45 ms | 1398 KiB | 17 Q