3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '2711.1966'; //$bdate = DateTime::createFromFormat('m.d.Y', $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 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/vMJ3W
function name:  (null)
number of ops:  9
compiled vars:  !0 = $value, !1 = $bdate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2711.1966'
    8     1        INIT_FCALL                                               'date_create'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        BOOL                                             ~4      $3
          5        ASSIGN                                           ~5      !1, ~4
          6      > JMPZ                                                     ~5, ->8
    9     7    >   ECHO                                                     'yeah'
   13     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.22 ms | 1385 KiB | 15 Q