3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tempInicioTime = substr('2017-01-01 08:00:00', 11, 5); echo $tempInicioTime . "\n"; $tempInicioTime = strtotime($tempInicioTime); echo $tempInicioTime; $tempFimTime = substr('2017-01-01 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/erGEM
function name:  (null)
number of ops:  24
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        CONCAT                                           ~4      !0, '%0A'
          7        ECHO                                                     ~4
    5     8        INIT_FCALL                                               'strtotime'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !0, $5
    6    12        ECHO                                                     !0
    7    13        INIT_FCALL                                               'substr'
         14        SEND_VAL                                                 '2017-01-01+12%3A00%3A00'
         15        SEND_VAL                                                 11
         16        SEND_VAL                                                 5
         17        DO_ICALL                                         $7      
         18        ASSIGN                                                   !1, $7
    8    19        INIT_FCALL                                               'strtotime'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                         $9      
         22        ASSIGN                                                   !1, $9
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.47 ms | 1399 KiB | 17 Q