3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tempInicioTime = substr('2017-01-01 08:00:00', 11, 5); echo $tempInicioTime; $tempInicioTime = strtotime($tempInicioTime); echo $tempInicioTime; $tempFimTime = substr('12:00:00', 11, 5); $tempFimTime = strtotime($tempFimTime);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MPJcd
function name:  (null)
number of ops:  23
compiled vars:  !0 = $tempInicioTime, !1 = $tempFimTime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'substr'
          1        SEND_VAL                                                 '2017-01-01+08%3A00%3A00'
          2        SEND_VAL                                                 11
          3        SEND_VAL                                                 5
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    4     6        ECHO                                                     !0
    5     7        INIT_FCALL                                               'strtotime'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    6    11        ECHO                                                     !0
    7    12        INIT_FCALL                                               'substr'
         13        SEND_VAL                                                 '12%3A00%3A00'
         14        SEND_VAL                                                 11
         15        SEND_VAL                                                 5
         16        DO_ICALL                                         $6      
         17        ASSIGN                                                   !1, $6
    8    18        INIT_FCALL                                               'strtotime'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                         $8      
         21        ASSIGN                                                   !1, $8
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.35 ms | 1395 KiB | 17 Q