3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://tiles.xbox.com/tiles/Bk/0z/0ICLiGJhbC81FQUbXVdRF0E3L2FjaC8wL0EAAAAA5+fn-xxNHQ==.jpg'; $str = str_replace('http://tiles.xbox.com/tiles', '', $url); $str = str_replace('/', '', $url); $str = str_replace('-', '/', $url); $str = str_replace('.jpg', '', $url); var_dump(base64_decode($str));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bif6q
function name:  (null)
number of ops:  32
compiled vars:  !0 = $url, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Ftiles.xbox.com%2Ftiles%2FBk%2F0z%2F0ICLiGJhbC81FQUbXVdRF0E3L2FjaC8wL0EAAAAA5%2Bfn-xxNHQ%3D%3D.jpg'
    5     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 'http%3A%2F%2Ftiles.xbox.com%2Ftiles'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    6     7        INIT_FCALL                                               'str_replace'
          8        SEND_VAL                                                 '%2F'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !1, $5
    7    13        INIT_FCALL                                               'str_replace'
         14        SEND_VAL                                                 '-'
         15        SEND_VAL                                                 '%2F'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $7      
         18        ASSIGN                                                   !1, $7
    8    19        INIT_FCALL                                               'str_replace'
         20        SEND_VAL                                                 '.jpg'
         21        SEND_VAL                                                 ''
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $9      
         24        ASSIGN                                                   !1, $9
   10    25        INIT_FCALL                                               'var_dump'
         26        INIT_FCALL                                               'base64_decode'
         27        SEND_VAR                                                 !1
         28        DO_ICALL                                         $11     
         29        SEND_VAR                                                 $11
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.71 ms | 1396 KiB | 19 Q