3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.19 ms | 1385 KiB | 15 Q