3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jd = gregoriantojd(3,9,1876); $gregorian = cal_from_jd($jd, CAL_GREGORIAN); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YCsPg
function name:  (null)
number of ops:  13
compiled vars:  !0 = $jd, !1 = $gregorian
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'gregoriantojd'
          1        SEND_VAL_EX                                              3
          2        SEND_VAL_EX                                              9
          3        SEND_VAL_EX                                              1876
          4        DO_FCALL                                      0  $2      
          5        ASSIGN                                                   !0, $2
    5     6        INIT_FCALL_BY_NAME                                       'cal_from_jd'
          7        SEND_VAR_EX                                              !0
          8        FETCH_CONSTANT                                   ~4      'CAL_GREGORIAN'
          9        SEND_VAL_EX                                              ~4
         10        DO_FCALL                                      0  $5      
         11        ASSIGN                                                   !1, $5
    6    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.07 ms | 1392 KiB | 13 Q