3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.23 ms | 1394 KiB | 17 Q