3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<DATA 1363168337,21320,17408,5,"nice product " 1363168371,21180,17134,4,"A gorgeous shirt but had to return as a tight fit so looked a little small. Unfortunately they didn't have size large. " 1363168572,22509,15248,5,Fine! 1363168572,22509,16314,5,Fine! 1363168613,21351,17870,5,"The product was a gift so cannot review the item" 1363168950,21930,16020,4,"Product lived up to expectations and was as thought.\n\nProduct is worn as casual top" 1363168950,21930,17294,4,"Product lived up to expectations and was as thought.\n\nProduct is worn as casual top" 1363168988,21937,14733,4,"Product is good " DATA; $fp = fopen('php://memory', 'w+'); fwrite($fp, $data); rewind($fp); while ($line = fgetcsv($fp)) { var_dump($line); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 14
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 14
Branch analysis from position: 22
Branch analysis from position: 14
filename:       /in/BcEA0
function name:  (null)
number of ops:  23
compiled vars:  !0 = $data, !1 = $fp, !2 = $line
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1363168337%2C21320%2C17408%2C5%2C%22nice+product+%22%0A1363168371%2C21180%2C17134%2C4%2C%22A+gorgeous+shirt+but+had+to+return+as+a+tight+fit+so+looked+a+little+small.+Unfortunately+they+didn%27t+have+size+large.+%22%0A1363168572%2C22509%2C15248%2C5%2CFine%21%0A1363168572%2C22509%2C16314%2C5%2CFine%21%0A1363168613%2C21351%2C17870%2C5%2C%22The+product+was+a+gift+so+cannot+review+the+item%22%0A1363168950%2C21930%2C16020%2C4%2C%22Product+lived+up+to+expectations+and+was+as+thought.%0A%0AProduct+is+worn+as+casual+top%22%0A1363168950%2C21930%2C17294%2C4%2C%22Product+lived+up+to+expectations+and+was+as+thought.%0A%0AProduct+is+worn+as+casual+top%22%0A1363168988%2C21937%2C14733%2C4%2C%22Product+is+good+%22'
   14     1        INIT_FCALL                                               'fopen'
          2        SEND_VAL                                                 'php%3A%2F%2Fmemory'
          3        SEND_VAL                                                 'w%2B'
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   15     6        INIT_FCALL                                               'fwrite'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
   16    10        INIT_FCALL                                               'rewind'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
   17    13      > JMP                                                      ->17
   18    14    >   INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
   17    17    >   INIT_FCALL                                               'fgetcsv'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $9      
         20        ASSIGN                                           ~10     !2, $9
         21      > JMPNZ                                                    ~10, ->14
   19    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.62 ms | 1396 KiB | 23 Q