3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.38 ms | 1394 KiB | 17 Q