3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.29 ms | 1395 KiB | 21 Q