3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.57 ms | 1393 KiB | 15 Q