3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.28 ms | 1394 KiB | 15 Q