3v4l.org

run code in 300+ PHP versions simultaneously
<?php class fechis { } $date=date("Y/m/d"); $DOY=date('z',$date) + 1; var_dump($DOY);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f8o75
function name:  (null)
number of ops:  14
compiled vars:  !0 = $date, !1 = $DOY
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y%2Fm%2Fd'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    6     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'z'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ADD                                              ~5      $4, 1
          9        ASSIGN                                                   !1, ~5
    7    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Class fechis: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.44 ms | 1394 KiB | 17 Q