3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time1 = '2014-08-26 14:35:29'; $time2 = '2014-08-26 14:45:29'; $strtotime1 = strtotime($time1); $strtotime2 = strtotime($time2); echo $strtotime1; echo "\n"; echo $strtotime2; echo "\n"; echo $strtotime2 - $strtotime1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7gUBB
function name:  (null)
number of ops:  17
compiled vars:  !0 = $time1, !1 = $time2, !2 = $strtotime1, !3 = $strtotime2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2014-08-26+14%3A35%3A29'
    3     1        ASSIGN                                                   !1, '2014-08-26+14%3A45%3A29'
    5     2        INIT_FCALL                                               'strtotime'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !2, $6
    6     6        INIT_FCALL                                               'strtotime'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !3, $8
    8    10        ECHO                                                     !2
    9    11        ECHO                                                     '%0A'
   10    12        ECHO                                                     !3
   11    13        ECHO                                                     '%0A'
   12    14        SUB                                              ~10     !3, !2
         15        ECHO                                                     ~10
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.24 ms | 1394 KiB | 15 Q