3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.86 ms | 1386 KiB | 17 Q