3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.66 ms | 1394 KiB | 17 Q