3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mission_type = 0; $start_dttm = ($mission_type == 0) ? strtotime("last Monday") : strtotime("last Friday"); // 리그 시작 일자 $end_dttm = ($mission_type == 0) ? strtotime("next Tuesday") : strtotime("next Thursday"); // 리그 종료 일자 // echo strtotime("last Monday"); // echo time(); // echo date('ymd', strtotime("this Tuesday")); // echo '<br>'; // echo date('ymd', strtotime("next Tuesday")); // echo '<br>'; // echo date('ymd', $start_dttm); echo strtotime("this Tuesday"); echo strtotime("next Tuesday");
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 20
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 20
Branch analysis from position: 15
Branch analysis from position: 20
filename:       /in/hohfh
function name:  (null)
number of ops:  34
compiled vars:  !0 = $mission_type, !1 = $start_dttm, !2 = $end_dttm
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    5     1        IS_EQUAL                                                 !0, 0
          2      > JMPZ                                                     ~4, ->8
          3    >   INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 'last+Monday'
          5        DO_ICALL                                         $5      
          6        QM_ASSIGN                                        ~6      $5
          7      > JMP                                                      ->12
          8    >   INIT_FCALL                                               'strtotime'
          9        SEND_VAL                                                 'last+Friday'
         10        DO_ICALL                                         $7      
         11        QM_ASSIGN                                        ~6      $7
         12    >   ASSIGN                                                   !1, ~6
    6    13        IS_EQUAL                                                 !0, 0
         14      > JMPZ                                                     ~9, ->20
         15    >   INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 'next+Tuesday'
         17        DO_ICALL                                         $10     
         18        QM_ASSIGN                                        ~11     $10
         19      > JMP                                                      ->24
         20    >   INIT_FCALL                                               'strtotime'
         21        SEND_VAL                                                 'next+Thursday'
         22        DO_ICALL                                         $12     
         23        QM_ASSIGN                                        ~11     $12
         24    >   ASSIGN                                                   !2, ~11
   18    25        INIT_FCALL                                               'strtotime'
         26        SEND_VAL                                                 'this+Tuesday'
         27        DO_ICALL                                         $14     
         28        ECHO                                                     $14
   19    29        INIT_FCALL                                               'strtotime'
         30        SEND_VAL                                                 'next+Tuesday'
         31        DO_ICALL                                         $15     
         32        ECHO                                                     $15
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.3 ms | 1396 KiB | 15 Q