3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents("test", $x = tempnam()); var_dump(file_get_contents($x));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/p0SMM
function name:  (null)
number of ops:  14
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 'test'
          2        INIT_FCALL                                               'tempnam'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                           ~2      !0, $1
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'file_get_contents'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.29 ms | 1394 KiB | 21 Q