3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('m/d/Y', strtotime('08/22/1980')); echo '\n'; echo date('m/d/y', strtotime('08/22/1980 -3 days'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rio4b
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'm%2Fd%2FY'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '08%2F22%2F1980'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
    3     8        ECHO                                                     '%5Cn'
    4     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'm%2Fd%2Fy'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '08%2F22%2F1980+-3+days'
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                         $3      
         16        ECHO                                                     $3
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.75 ms | 1394 KiB | 17 Q