3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jd=cal_to_jd(CAL_GREGORIAN,date("m"),date("d"),date("Y")); echo(jddayofweek($jd,1)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vQQqI
function name:  (null)
number of ops:  23
compiled vars:  !0 = $jd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'cal_to_jd'
          1        FETCH_CONSTANT                                   ~1      'CAL_GREGORIAN'
          2        SEND_VAL_EX                                              ~1
          3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'm'
          5        DO_ICALL                                         $2      
          6        SEND_VAR_NO_REF_EX                                       $2
          7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'd'
          9        DO_ICALL                                         $3      
         10        SEND_VAR_NO_REF_EX                                       $3
         11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'Y'
         13        DO_ICALL                                         $4      
         14        SEND_VAR_NO_REF_EX                                       $4
         15        DO_FCALL                                      0  $5      
         16        ASSIGN                                                   !0, $5
    3    17        INIT_FCALL_BY_NAME                                       'jddayofweek'
         18        SEND_VAR_EX                                              !0
         19        SEND_VAL_EX                                              1
         20        DO_FCALL                                      0  $7      
         21        ECHO                                                     $7
    4    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.81 ms | 1395 KiB | 15 Q