3v4l.org

run code in 300+ PHP versions simultaneously
<?php mkdir('lol'); dir('lol'); file_put_contents('hello', 'coucou'); echo file_get_contents('hello');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GTEum
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mkdir'
          1        SEND_VAL                                                 'lol'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'dir'
          4        SEND_VAL                                                 'lol'
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'file_put_contents'
          7        SEND_VAL                                                 'hello'
          8        SEND_VAL                                                 'coucou'
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'file_get_contents'
         11        SEND_VAL                                                 'hello'
         12        DO_ICALL                                         $3      
         13        ECHO                                                     $3
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.97 ms | 1394 KiB | 21 Q