3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '/var/www/vb/frontend/web/img/up/bf9b12de5ea78cecacd3dde69f2a72f8/140/5982aff2432c4e1847306300b0bd7622/19/s.jpg'; var_dump(strtr($s, [ '/var/www/vb/frontend/web' => '' ]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7bomk
function name:  (null)
number of ops:  9
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2Fvar%2Fwww%2Fvb%2Ffrontend%2Fweb%2Fimg%2Fup%2Fbf9b12de5ea78cecacd3dde69f2a72f8%2F140%2F5982aff2432c4e1847306300b0bd7622%2F19%2Fs.jpg'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'strtr'
          3        SEND_VAR                                                 !0
    4     4        SEND_VAL                                                 <array>
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    5     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.45 ms | 1394 KiB | 17 Q