3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(date('Y-') . (int) date('W')); var_dump(date('Y-n-j'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gCh7c
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-'
          3        DO_ICALL                                         $0      
          4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'W'
          6        DO_ICALL                                         $1      
          7        CAST                                          4  ~2      $1
          8        CONCAT                                           ~3      $0, ~2
          9        SEND_VAL                                                 ~3
         10        DO_ICALL                                                 
    4    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y-n-j'
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.84 ms | 1394 KiB | 17 Q