3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = new SplTempFileObject(0); $csv = $file->fgetcsv(); while (is_array($csv)) { echo var_export($csv, true); $csv = $file->fgetcsv(); } echo var_export($csv, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 8
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 8
Branch analysis from position: 18
Branch analysis from position: 8
filename:       /in/Y7g3v
function name:  (null)
number of ops:  24
compiled vars:  !0 = $file, !1 = $csv
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'SplTempFileObject'
          1        SEND_VAL_EX                                              0
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    4     4        INIT_METHOD_CALL                                         !0, 'fgetcsv'
          5        DO_FCALL                                      0  $5      
          6        ASSIGN                                                   !1, $5
    6     7      > JMP                                                      ->16
    7     8    >   INIT_FCALL                                               'var_export'
          9        SEND_VAR                                                 !1
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                         $7      
         12        ECHO                                                     $7
    9    13        INIT_METHOD_CALL                                         !0, 'fgetcsv'
         14        DO_FCALL                                      0  $8      
         15        ASSIGN                                                   !1, $8
    6    16    >   TYPE_CHECK                                  128          !1
         17      > JMPNZ                                                    ~10, ->8
   12    18    >   INIT_FCALL                                               'var_export'
         19        SEND_VAR                                                 !1
         20        SEND_VAL                                                 <true>
         21        DO_ICALL                                         $11     
         22        ECHO                                                     $11
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.99 ms | 1010 KiB | 14 Q