3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/Montevideo'); $hoy = date('d-m-Y H:i:s'); $hoystr = strtotime($hoy); $mañana = date('d-m-Y H:i:s',strtotime('+1 day', $hoystr)); echo $hoy; echo "\n"; echo $mañana; echo "\n"; echo date('H:i',$hoystr); echo "\n"; echo strtotime('09:00:00');
based on 133RI
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/R5ONu
function name:  (null)
number of ops:  35
compiled vars:  !0 = $hoy, !1 = $hoystr, !2 = $mañana
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
         1        SEND_VAL                                                 'America%2FMontevideo'
         2        DO_ICALL                                                 
   4     3        INIT_FCALL                                               'date'
         4        SEND_VAL                                                 'd-m-Y+H%3Ai%3As'
         5        DO_ICALL                                         $4      
         6        ASSIGN                                                   !0, $4
   5     7        INIT_FCALL                                               'strtotime'
         8        SEND_VAR                                                 !0
         9        DO_ICALL                                         $6      
        10        ASSIGN                                                   !1, $6
   6    11        INIT_FCALL                                               'date'
        12        SEND_VAL                                                 'd-m-Y+H%3Ai%3As'
        13        INIT_FCALL                                               'strtotime'
        14        SEND_VAL                                                 '%2B1+day'
        15        SEND_VAR                                                 !1
        16        DO_ICALL                                         $8      
        17        SEND_VAR                                                 $8
        18        DO_ICALL                                         $9      
        19        ASSIGN                                                   !2, $9
   7    20        ECHO                                                     !0
   8    21        ECHO                                                     '%0A'
   9    22        ECHO                                                     !2
  10    23        ECHO                                                     '%0A'
  11    24        INIT_FCALL                                               'date'
        25        SEND_VAL                                                 'H%3Ai'
        26        SEND_VAR                                                 !1
        27        DO_ICALL                                         $11     
        28        ECHO                                                     $11
  12    29        ECHO                                                     '%0A'
  13    30        INIT_FCALL                                               'strtotime'
        31        SEND_VAL                                                 '09%3A00%3A00'
        32        DO_ICALL                                         $12     
        33        ECHO                                                     $12
        34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0