3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_content('/tmp/ryat', "<?php exit('hi'); ?>\r\n<?php echo('ryat'); ?>"); include '/tmp/ryat'; echo 'ryatryat';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZOgOJ
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'file_put_content'
          1        SEND_VAL_EX                                              '%2Ftmp%2Fryat'
          2        SEND_VAL_EX                                              '%3C%3Fphp+exit%28%27hi%27%29%3B+%3F%3E%0D%0A%3C%3Fphp+echo%28%27ryat%27%29%3B+%3F%3E'
          3        DO_FCALL                                      0          
    3     4        INCLUDE_OR_EVAL                                          '%2Ftmp%2Fryat', INCLUDE
    4     5        ECHO                                                     'ryatryat'
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.86 ms | 1392 KiB | 13 Q