3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '2711.1966'; //$bdate = DateTime::createFromFormat('m.d.Y', $value); $bdate = date_create($value); //$bdate = date_format(date_create($value), "d.m.Y"); //$dateTime = DateTime::createFromFormat('m/d/Y', $date); if ($bdate = date_create($value) != false) { echo 'yeah'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/SL2ES
function name:  (null)
number of ops:  13
compiled vars:  !0 = $value, !1 = $bdate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2711.1966'
    4     1        INIT_FCALL                                               'date_create'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    8     5        INIT_FCALL                                               'date_create'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $5      
          8        BOOL                                             ~6      $5
          9        ASSIGN                                           ~7      !1, ~6
         10      > JMPZ                                                     ~7, ->12
    9    11    >   ECHO                                                     'yeah'
   13    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.68 ms | 1394 KiB | 15 Q