3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = file_get_contents(" https://pbs.twimg.com/media/COMFAk-WoAA4Fsv.jpg "); $test = base64_encode($test); $test = '<img src="data:image/jpeg;base64,' . $test . '" />'; echo $test; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O98cn
function name:  (null)
number of ops:  13
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 '%0Ahttps%3A%2F%2Fpbs.twimg.com%2Fmedia%2FCOMFAk-WoAA4Fsv.jpg%0A'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    5     4        INIT_FCALL                                               'base64_encode'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !0, $3
    6     8        CONCAT                                           ~5      '%3Cimg+src%3D%22data%3Aimage%2Fjpeg%3Bbase64%2C', !0
          9        CONCAT                                           ~6      ~5, '%22+%2F%3E'
         10        ASSIGN                                                   !0, ~6
    7    11        ECHO                                                     !0
    8    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.42 ms | 1394 KiB | 17 Q