3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = '/picture?width=%%WIDTH%%&height=%%HEIGHT%%'; echo str_replace(['%%WIDTH%%', '%%HEIGHT%%'], [200, 300], $url);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2r28I
function name:  (null)
number of ops:  8
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2Fpicture%3Fwidth%3D%25%25WIDTH%25%25%26height%3D%25%25HEIGHT%25%25'
    5     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 <array>
          3        SEND_VAL                                                 <array>
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.98 ms | 1394 KiB | 15 Q