3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateTemplate = 'd.m.Y h.i'; $dateTime = date($dateTemplate); $dateTimeChe = '30.12.2013 09.00'; echo($dateTime); if($dateTime == date($dateTemplate, strtotime($dateTimeChe))){ echo('Yes its time Che!'); } else { echo('No!'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vSE6N
function name:  (null)
number of ops:  20
compiled vars:  !0 = $dateTemplate, !1 = $dateTime, !2 = $dateTimeChe
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'd.m.Y+h.i'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        ASSIGN                                                   !2, '30.12.2013+09.00'
    5     6        ECHO                                                     !1
    7     7        INIT_FCALL                                               'date'
          8        SEND_VAR                                                 !0
          9        INIT_FCALL                                               'strtotime'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $7      
         12        SEND_VAR                                                 $7
         13        DO_ICALL                                         $8      
         14        IS_EQUAL                                                 !1, $8
         15      > JMPZ                                                     ~9, ->18
    8    16    >   ECHO                                                     'Yes+its+time+Che%21'
         17      > JMP                                                      ->19
   10    18    >   ECHO                                                     'No%21'
   11    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.29 ms | 1395 KiB | 17 Q