3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.87 ms | 1003 KiB | 16 Q