3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = (string) time(); $time = strrev($time); $time = substr($time, 0, 6); echo base64_encode($time);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P5jFD
function name:  (null)
number of ops:  19
compiled vars:  !0 = $time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $1      
          2        CAST                                          6  ~2      $1
          3        ASSIGN                                                   !0, ~2
    4     4        INIT_FCALL                                               'strrev'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    5     8        INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 6
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !0, $6
    7    14        INIT_FCALL                                               'base64_encode'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $8      
         17        ECHO                                                     $8
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.55 ms | 1394 KiB | 21 Q