3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (strtotime("2017-06-06 04:00:00") - strtotime("2017-06-05 22:00:00"))/ 60; echo '/n' . strtotime("2017-06-05 22:00:00"); echo '/n' . strtotime("2017-06-06 04:00:00");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0lSTI
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2017-06-06+04%3A00%3A00'
          2        DO_ICALL                                         $0      
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2017-06-05+22%3A00%3A00'
          5        DO_ICALL                                         $1      
          6        SUB                                              ~2      $0, $1
          7        DIV                                              ~3      ~2, 60
          8        ECHO                                                     ~3
    5     9        INIT_FCALL                                               'strtotime'
         10        SEND_VAL                                                 '2017-06-05+22%3A00%3A00'
         11        DO_ICALL                                         $4      
         12        CONCAT                                           ~5      '%2Fn', $4
         13        ECHO                                                     ~5
    6    14        INIT_FCALL                                               'strtotime'
         15        SEND_VAL                                                 '2017-06-06+04%3A00%3A00'
         16        DO_ICALL                                         $6      
         17        CONCAT                                           ~7      '%2Fn', $6
         18        ECHO                                                     ~7
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
198.37 ms | 1395 KiB | 15 Q