3v4l.org

run code in 300+ PHP versions simultaneously
<?php $trans_id = 'vGGFu8t/vVJI+sqZAJKL0sGhcSM='; $html_in = array('/\+/', '/=/', '/\//'); $html_out = array('%2B', '%3D', '%2F'); echo(preg_replace($html_in, $html_out, $trans_id));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/78Xcm
function name:  (null)
number of ops:  10
compiled vars:  !0 = $trans_id, !1 = $html_in, !2 = $html_out
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'vGGFu8t%2FvVJI%2BsqZAJKL0sGhcSM%3D'
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    6     3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !2
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ECHO                                                     $6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.31 ms | 1394 KiB | 15 Q