3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('d M, Y', strtotime('today'))."\n"; if(date('j', strtotime('today')) === '1') echo date('jS', strtotime('today')); elseif(date('j', strtotime('today')) === '2') echo date('jS', strtotime('today')); elseif(date('j', strtotime('today')) === '3') echo date('jS', strtotime('today'));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 27
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 62
Branch analysis from position: 62
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 45
Branch analysis from position: 36
1 jumps found. (Code = 42) Position 1 = 62
Branch analysis from position: 62
Branch analysis from position: 45
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 62
Branch analysis from position: 54
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 62
filename:       /in/a3pLW
function name:  (null)
number of ops:  63
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'd+M%2C+Y'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'today'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        CONCAT                                           ~2      $1, '%0A'
          8        ECHO                                                     ~2
    3     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'j'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 'today'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                         $4      
         16        IS_IDENTICAL                                             $4, '1'
         17      > JMPZ                                                     ~5, ->27
         18    >   INIT_FCALL                                               'date'
         19        SEND_VAL                                                 'jS'
         20        INIT_FCALL                                               'strtotime'
         21        SEND_VAL                                                 'today'
         22        DO_ICALL                                         $6      
         23        SEND_VAR                                                 $6
         24        DO_ICALL                                         $7      
         25        ECHO                                                     $7
         26      > JMP                                                      ->62
    4    27    >   INIT_FCALL                                               'date'
         28        SEND_VAL                                                 'j'
         29        INIT_FCALL                                               'strtotime'
         30        SEND_VAL                                                 'today'
         31        DO_ICALL                                         $8      
         32        SEND_VAR                                                 $8
         33        DO_ICALL                                         $9      
         34        IS_IDENTICAL                                             $9, '2'
         35      > JMPZ                                                     ~10, ->45
         36    >   INIT_FCALL                                               'date'
         37        SEND_VAL                                                 'jS'
         38        INIT_FCALL                                               'strtotime'
         39        SEND_VAL                                                 'today'
         40        DO_ICALL                                         $11     
         41        SEND_VAR                                                 $11
         42        DO_ICALL                                         $12     
         43        ECHO                                                     $12
         44      > JMP                                                      ->62
    5    45    >   INIT_FCALL                                               'date'
         46        SEND_VAL                                                 'j'
         47        INIT_FCALL                                               'strtotime'
         48        SEND_VAL                                                 'today'
         49        DO_ICALL                                         $13     
         50        SEND_VAR                                                 $13
         51        DO_ICALL                                         $14     
         52        IS_IDENTICAL                                             $14, '3'
         53      > JMPZ                                                     ~15, ->62
         54    >   INIT_FCALL                                               'date'
         55        SEND_VAL                                                 'jS'
         56        INIT_FCALL                                               'strtotime'
         57        SEND_VAL                                                 'today'
         58        DO_ICALL                                         $16     
         59        SEND_VAR                                                 $16
         60        DO_ICALL                                         $17     
         61        ECHO                                                     $17
         62    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.33 ms | 945 KiB | 18 Q