3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_t=getdate(date("U")); print("$my_t[weekday], $my_t[month] $my_t[mday], $my_t[year]"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fdnuS
function name:  (null)
number of ops:  20
compiled vars:  !0 = $my_t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'getdate'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'U'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    3     7        FETCH_DIM_R                                      ~4      !0, 'weekday'
          8        ROPE_INIT                                     7  ~9      ~4
          9        ROPE_ADD                                      1  ~9      ~9, '%2C+'
         10        FETCH_DIM_R                                      ~5      !0, 'month'
         11        ROPE_ADD                                      2  ~9      ~9, ~5
         12        ROPE_ADD                                      3  ~9      ~9, '+'
         13        FETCH_DIM_R                                      ~6      !0, 'mday'
         14        ROPE_ADD                                      4  ~9      ~9, ~6
         15        ROPE_ADD                                      5  ~9      ~9, '%2C+'
         16        FETCH_DIM_R                                      ~7      !0, 'year'
         17        ROPE_END                                      6  ~8      ~9, ~7
         18        ECHO                                                     ~8
    4    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.12 ms | 1395 KiB | 17 Q