3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.59 ms | 1394 KiB | 19 Q