3v4l.org

run code in 300+ PHP versions simultaneously
<?php $temp_file = tmpfile(); var_dump($temp_file); $file = new SplFileObject('foo.bar');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9XQqk
function name:  (null)
number of ops:  11
compiled vars:  !0 = $temp_file, !1 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'tmpfile'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    3     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    4     6        NEW                                              $5      'SplFileObject'
          7        SEND_VAL_EX                                              'foo.bar'
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !1, $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.49 ms | 1394 KiB | 17 Q