3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.83 ms | 1394 KiB | 15 Q