3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('W', strtotime("2014-04-22").add('+2 days'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mc8fB
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'W'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '2014-04-22'
          4        DO_ICALL                                         $0      
          5        INIT_FCALL_BY_NAME                                       'add'
          6        SEND_VAL_EX                                              '%2B2+days'
          7        DO_FCALL                                      0  $1      
          8        CONCAT                                           ~2      $0, $1
          9        SEND_VAL                                                 ~2
         10        DO_ICALL                                         $3      
         11        ECHO                                                     $3
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.12 ms | 1394 KiB | 17 Q