3v4l.org

run code in 500+ 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:  13
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                                                   'base64_encode'
          3        INIT_FCALL                                                   'microtime'
          4        DO_ICALL                                             $5      
          5        CONCAT                                               ~6      !0, $5
          6        SEND_VAL                                                     ~6
          7        DO_ICALL                                             $7      
          8        FRAMELESS_ICALL_3                substr              ~8      $7, 0
          9        OP_DATA                                                      !1
         10        ASSIGN                                                       !2, ~8
    5    11        ECHO                                                         !2
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
132.37 ms | 478 KiB | 9 Q