3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = strtotime(null); print round(abs(time() - $result) / 60, 0); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PWXMZ
function name:  (null)
number of ops:  20
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 null
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'round'
          5        INIT_FCALL                                               'abs'
          6        INIT_FCALL                                               'time'
          7        DO_ICALL                                         $3      
          8        SUB                                              ~4      $3, !0
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                         $5      
         11        DIV                                              ~6      $5, 60
         12        SEND_VAL                                                 ~6
         13        SEND_VAL                                                 0
         14        DO_ICALL                                         $7      
         15        ECHO                                                     $7
    5    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.74 ms | 1394 KiB | 23 Q