3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.58 ms | 1394 KiB | 19 Q