3v4l.org

run code in 300+ PHP versions simultaneously
<?php static $log = ""; $log .= sprintf("--%s--%s\n", "foo", date('Y-m-d H:i:s',time())); print $log; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Co29v
function name:  (null)
number of ops:  15
compiled vars:  !0 = $log
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BIND_STATIC                                              !0
    4     1        INIT_FCALL                                               'sprintf'
          2        SEND_VAL                                                 '--%25s--%25s%0A'
          3        SEND_VAL                                                 'foo'
          4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          6        INIT_FCALL                                               'time'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                         $3      
         12        ASSIGN_OP                                     8          !0, $3
    5    13        ECHO                                                     !0
    6    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.75 ms | 1394 KiB | 19 Q