3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '2711.1966'; if (!empty($value) || (strtotime($value) > 0) ) { //$bdate = date_format(date_create($value), "d.m.Y"); //echo $bdate; echo '<br>' . strtotime($value); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
Branch analysis from position: 9
filename:       /in/63bCs
function name:  (null)
number of ops:  16
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2711.1966'
    4     1        ISSET_ISEMPTY_CV                                 ~2      !0
          2        BOOL_NOT                                         ~3      ~2
          3      > JMPNZ_EX                                         ~3      ~3, ->9
          4    >   INIT_FCALL                                               'strtotime'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        IS_SMALLER                                       ~5      0, $4
          8        BOOL                                             ~3      ~5
          9    > > JMPZ                                                     ~3, ->15
    7    10    >   INIT_FCALL                                               'strtotime'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        CONCAT                                           ~7      '%3Cbr%3E', $6
         14        ECHO                                                     ~7
   10    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.95 ms | 1386 KiB | 15 Q