3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents('testi.php', "<?php\necho 'blah';\n"); chmod('testi.php', 0755); require_once 'testi.php';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iRHHF
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 'testi.php'
          2        SEND_VAL                                                 '%3C%3Fphp%0Aecho+%27blah%27%3B%0A'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'chmod'
          5        SEND_VAL                                                 'testi.php'
          6        SEND_VAL                                                 493
          7        DO_ICALL                                                 
    5     8        INCLUDE_OR_EVAL                                          'testi.php', REQUIRE_ONCE
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.82 ms | 1394 KiB | 17 Q