3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(strftime("%B %D %Y %X", mktime(10,0,0,11,21,2004))."\n"); echo(strftime("%b %d %Y %X", mktime(20,0,0,12,31,98))."\n"); echo(strftime("Today is %a on %b %d, %Y, %X time zone: %Z",time())); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mksbl
function name:  (null)
number of ops:  36
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strftime'
          1        SEND_VAL                                                 '%25B+%25D+%25Y+%25X'
          2        INIT_FCALL                                               'mktime'
          3        SEND_VAL                                                 10
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 11
          7        SEND_VAL                                                 21
          8        SEND_VAL                                                 2004
          9        DO_ICALL                                         $0      
         10        SEND_VAR                                                 $0
         11        DO_ICALL                                         $1      
         12        CONCAT                                           ~2      $1, '%0A'
         13        ECHO                                                     ~2
    3    14        INIT_FCALL                                               'strftime'
         15        SEND_VAL                                                 '%25b+%25d+%25Y+%25X'
         16        INIT_FCALL                                               'mktime'
         17        SEND_VAL                                                 20
         18        SEND_VAL                                                 0
         19        SEND_VAL                                                 0
         20        SEND_VAL                                                 12
         21        SEND_VAL                                                 31
         22        SEND_VAL                                                 98
         23        DO_ICALL                                         $3      
         24        SEND_VAR                                                 $3
         25        DO_ICALL                                         $4      
         26        CONCAT                                           ~5      $4, '%0A'
         27        ECHO                                                     ~5
    4    28        INIT_FCALL                                               'strftime'
         29        SEND_VAL                                                 'Today+is+%25a+on+%25b+%25d%2C+%25Y%2C+%25X+time+zone%3A+%25Z'
         30        INIT_FCALL                                               'time'
         31        DO_ICALL                                         $6      
         32        SEND_VAR                                                 $6
         33        DO_ICALL                                         $7      
         34        ECHO                                                     $7
    5    35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.65 ms | 1388 KiB | 19 Q