3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<EOT 86010800,class,Table Games,,"(10005183, 10005184, 10005185)" 86011100,class,Toy Vehicles – Non-ride,,"(10005192, 10005190, 10005191, 10005193, 10005194, 10005195, 10005196)" 86011000,class,Toys – Ride-on,,"(10005187, 10005188, 10005441, 10005189)" 86010900,class,Toys/Games Variety Packs,,(10005186) 10001686,brick,Airbrushes (Powered),"Definition: Includes any products that can be described/observed as a powered machine that scatters paint using air pressure and which is used for design illustrations, fine art and delicate fine spray applications. The machine comprises of a compression or propulsion device to scatter the paint.Specifically excludes Spray Paint and Aerosols.Excludes Airbrushing Replacement Parts and Accessories such as Airbrush Control Valves and Airbrush Hoses.",() 10001688,brick,Airbrushing Equipment – Replacement Parts/Accessories,Definition: Includes any products that can be described/observed as a replacement part/accessory for airbrushing equipment.Includes products such as Airbrush Control Valves and Airbrush Hoses.Excludes products such as complete Airbrushes.,(20001349) 10001690,brick,Airbrushing Supplies Other,"Definition: Includes any products that may be described/observed as Airbrushing Supplies products, where the user of the schema is not able to classify the products in existing bricks within the schema.Excludes all currently classified Airbrushing Supplies.",() EOT; $file = fopen('php://temp', 'r+'); fwrite($file, $data); rewind($file); while(!feof($file)) { $line = fgetcsv($file); var_dump($line); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 14
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 14
Branch analysis from position: 26
Branch analysis from position: 14
filename:       /in/TV32G
function name:  (null)
number of ops:  27
compiled vars:  !0 = $data, !1 = $file, !2 = $line
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '86010800%2Cclass%2CTable+Games%2C%2C%22%2810005183%2C+10005184%2C+10005185%29%22%0A86011100%2Cclass%2CToy+Vehicles+%E2%80%93+Non-ride%2C%2C%22%2810005192%2C+10005190%2C+10005191%2C+10005193%2C+10005194%2C+10005195%2C+10005196%29%22%0A86011000%2Cclass%2CToys+%E2%80%93+Ride-on%2C%2C%22%2810005187%2C+10005188%2C+10005441%2C+10005189%29%22%0A86010900%2Cclass%2CToys%2FGames+Variety+Packs%2C%2C%2810005186%29%0A10001686%2Cbrick%2CAirbrushes+%28Powered%29%2C%22Definition%3A%0A+Includes+any+products+that+can+be+described%2Fobserved+as+a+powered+%0Amachine+that+scatters+paint+using+air+pressure+and+which+is+used+for+%0Adesign+illustrations%2C+fine+art+and+delicate+fine+spray+applications.+The%0A+machine+comprises+of+a+compression+or+propulsion+device+to+scatter+the+%0Apaint.Specifically+excludes+Spray+Paint+and+Aerosols.Excludes+Airbrushing+Replacement+Parts+and+Accessories+such+as+Airbrush+Control+Valves+and+Airbrush+Hoses.%22%2C%28%29%0A10001688%2Cbrick%2CAirbrushing+Equipment+%E2%80%93+Replacement+Parts%2FAccessories%2CDefinition%3A+Includes+any+products+that+can+be+described%2Fobserved+as+a+replacement+part%2Faccessory+for+airbrushing+equipment.Includes+products+such+as+Airbrush+Control+Valves+and+Airbrush+Hoses.Excludes+products+such+as+complete+Airbrushes.%2C%2820001349%29%0A10001690%2Cbrick%2CAirbrushing+Supplies+Other%2C%22Definition%3A%0A+Includes+any+products+that+may+be+described%2Fobserved+as+Airbrushing+%0ASupplies+products%2C+where+the+user+of+the+schema+is+not+able+to+classify+%0Athe+products+in+existing+bricks+within+the+schema.Excludes+all+currently+classified+Airbrushing+Supplies.%22%2C%28%29'
   21     1        INIT_FCALL                                               'fopen'
          2        SEND_VAL                                                 'php%3A%2F%2Ftemp'
          3        SEND_VAL                                                 'r%2B'
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   22     6        INIT_FCALL                                               'fwrite'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
   23    10        INIT_FCALL                                               'rewind'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
   24    13      > JMP                                                      ->21
   25    14    >   INIT_FCALL                                               'fgetcsv'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                         $8      
         17        ASSIGN                                                   !2, $8
   26    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                                 
   24    21    >   INIT_FCALL                                               'feof'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $11     
         24        BOOL_NOT                                         ~12     $11
         25      > JMPNZ                                                    ~12, ->14
   27    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.17 ms | 948 KiB | 27 Q