3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = file_get_contents("http://pbs.twimg.com/media/COMiwt-XAAAxOZ0.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/BTZ0h
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                                                 'http%3A%2F%2Fpbs.twimg.com%2Fmedia%2FCOMiwt-XAAAxOZ0.jpg'
         2        DO_ICALL                                         $1      
         3        ASSIGN                                                   !0, $1
   3     4        INIT_FCALL                                               'base64_encode'
         5        SEND_VAR                                                 !0
         6        DO_ICALL                                         $3      
         7        ASSIGN                                                   !0, $3
   4     8        CONCAT                                           ~5      '%3Cimg+src%3D%22data%3Aimage%2Fjpeg%3Bbase64%2C', !0
         9        CONCAT                                           ~6      ~5, '%22+%2F%3E'
        10        ASSIGN                                                   !0, ~6
   5    11        ECHO                                                     !0
   6    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0