3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (date('d', strtotime('second thursday'))) { echo 'Today is.' . date('d', strtotime('second thursday')); } else { echo 'Today is not.'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 18
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/45hRH
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'd'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'second+thursday'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7      > JMPZ                                                     $1, ->18
    4     8    >   INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'd'
         10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 'second+thursday'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                         $3      
         15        CONCAT                                           ~4      'Today+is.', $3
         16        ECHO                                                     ~4
         17      > JMP                                                      ->19
    6    18    >   ECHO                                                     'Today+is+not.'
    7    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.11 ms | 1395 KiB | 17 Q