3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = tmpfile(); fwrite($fp, "aiue\0o"); var_dump(fgetcsv($fp));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7n9ma
function name:  (null)
number of ops:  14
compiled vars:  !0 = $fp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'tmpfile'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    3     3        INIT_FCALL                                               'fwrite'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'aiue%00o'
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'fgetcsv'
          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:
164.86 ms | 1394 KiB | 21 Q