3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vote_date = date_create_from_format("H:i:s d.m.y", '19:45:12 25.12.13'); //$last_vote_date_str is 19:45:12 25.12.13 if ($vote_date == false) { echo "<span style='color:red'>Error: Unable to parse the last vote date ($last_vote_date_str) -> (".date_format($vote_date, "Y-m-d H:i:s").")!<br><br></span><br>"; } else { echo 'ok'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 18
Branch analysis from position: 7
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/rOMu0
function name:  (null)
number of ops:  20
compiled vars:  !0 = $vote_date, !1 = $last_vote_date_str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_create_from_format'
          1        SEND_VAL                                                 'H%3Ai%3As+d.m.y'
          2        SEND_VAL                                                 '19%3A45%3A12+25.12.13'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        BOOL_NOT                                         ~4      !0
          6      > JMPZ                                                     ~4, ->18
    5     7    >   ROPE_INIT                                     3  ~6      '%3Cspan+style%3D%27color%3Ared%27%3EError%3A+Unable+to+parse+the+last+vote+date+%28'
          8        ROPE_ADD                                      1  ~6      ~6, !1
          9        ROPE_END                                      2  ~5      ~6, '%29+-%3E+%28'
         10        INIT_FCALL                                               'date_format'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         13        DO_ICALL                                         $8      
         14        CONCAT                                           ~9      ~5, $8
         15        CONCAT                                           ~10     ~9, '%29%21%3Cbr%3E%3Cbr%3E%3C%2Fspan%3E%3Cbr%3E'
         16        ECHO                                                     ~10
         17      > JMP                                                      ->19
    9    18    >   ECHO                                                     'ok'
   11    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.23 ms | 1395 KiB | 17 Q