3v4l.org

run code in 500+ PHP versions simultaneously
<?php $file = new SplTempFileObject(0); $csv = $file->fgetcsv(); while (is_array($csv)) { $csv = $file->fgetcsv(); } echo var_export($csv, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 8
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 8
Branch analysis from position: 13
Branch analysis from position: 8
filename:       /in/udltZ
function name:  (null)
number of ops:  19
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                                                          ->11
    7     8    >   INIT_METHOD_CALL                                             !0, 'fgetcsv'
          9        DO_FCALL                                          0  $7      
         10        ASSIGN                                                       !1, $7
    6    11    >   TYPE_CHECK                                      128          !1
         12      > JMPNZ                                                        ~9, ->8
   10    13    >   INIT_FCALL                                                   'var_export'
         14        SEND_VAR                                                     !1
         15        SEND_VAL                                                     <true>
         16        DO_ICALL                                             $10     
         17        ECHO                                                         $10
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.28 ms | 2049 KiB | 14 Q