3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = '"2012-08-01 00:00:00","41121","26295532","pneuman.sklik@seznam.cz","clie13546","15789276","""Pneu servis Internacional, spol. s r. o.""","None","None","False","corporate","deposit","","wbox_deductible","channel_transfer","15000.00","newbusinessreport","13546","15789276","\\Pneu servis Internacional, spol. s r. o.\"""""","Český Krumlov","Jihočeský kraj","Hanzal Petr","Sauto","Obchod","Sauto","Hanzal Petr","Sauto","Obchod","Sauto","Hanzal Petr","Sauto","Obchod","Sauto","Štětková Naděžda","JV Čechy 4","Obchodní síť","JVC"'; $line = explode('","', $line); $line[0] = substr(trim($line[0], "\t\n\r"), 1); $lastItemIndex = count($line) - 1; $lastItem = rtrim($line[$lastItemIndex], "\t\n\r"); $line[$lastItemIndex] = substr($lastItem, 0, strlen($lastItem)-1); foreach ($line as &$l) { $l = str_replace('\"', '"', $l); //$l = stripcslashes($l); } print_r($line);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 36, Position 2 = 44
Branch analysis from position: 36
2 jumps found. (Code = 126) Position 1 = 37, Position 2 = 44
Branch analysis from position: 37
1 jumps found. (Code = 42) Position 1 = 36
Branch analysis from position: 36
Branch analysis from position: 44
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 44
filename:       /in/fZrir
function name:  (null)
number of ops:  49
compiled vars:  !0 = $line, !1 = $lastItemIndex, !2 = $lastItem, !3 = $l
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%222012-08-01+00%3A00%3A00%22%2C%2241121%22%2C%2226295532%22%2C%22pneuman.sklik%40seznam.cz%22%2C%22clie13546%22%2C%2215789276%22%2C%22%22%22Pneu+servis+Internacional%2C+spol.+s+r.+o.%22%22%22%2C%22None%22%2C%22None%22%2C%22False%22%2C%22corporate%22%2C%22deposit%22%2C%22%22%2C%22wbox_deductible%22%2C%22channel_transfer%22%2C%2215000.00%22%2C%22newbusinessreport%22%2C%2213546%22%2C%2215789276%22%2C%22%5CPneu+servis+Internacional%2C+spol.+s+r.+o.%5C%22%22%22%22%22%22%2C%22%C4%8Cesk%C3%BD+Krumlov%22%2C%22Jiho%C4%8Desk%C3%BD+kraj%22%2C%22Hanzal+Petr%22%2C%22Sauto%22%2C%22Obchod%22%2C%22Sauto%22%2C%22Hanzal+Petr%22%2C%22Sauto%22%2C%22Obchod%22%2C%22Sauto%22%2C%22Hanzal+Petr%22%2C%22Sauto%22%2C%22Obchod%22%2C%22Sauto%22%2C%22%C5%A0t%C4%9Btkov%C3%A1+Nad%C4%9B%C5%BEda%22%2C%22JV+%C4%8Cechy+4%22%2C%22Obchodn%C3%AD+s%C3%AD%C5%A5%22%2C%22JVC%22'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%22%2C%22'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !0, $5
    5     6        INIT_FCALL                                               'substr'
          7        INIT_FCALL                                               'trim'
          8        FETCH_DIM_R                                      ~8      !0, 0
          9        SEND_VAL                                                 ~8
         10        SEND_VAL                                                 '%09%0A%0D'
         11        DO_ICALL                                         $9      
         12        SEND_VAR                                                 $9
         13        SEND_VAL                                                 1
         14        DO_ICALL                                         $10     
         15        ASSIGN_DIM                                               !0, 0
         16        OP_DATA                                                  $10
    6    17        COUNT                                            ~11     !0
         18        SUB                                              ~12     ~11, 1
         19        ASSIGN                                                   !1, ~12
    7    20        INIT_FCALL                                               'rtrim'
         21        FETCH_DIM_R                                      ~14     !0, !1
         22        SEND_VAL                                                 ~14
         23        SEND_VAL                                                 '%09%0A%0D'
         24        DO_ICALL                                         $15     
         25        ASSIGN                                                   !2, $15
    8    26        INIT_FCALL                                               'substr'
         27        SEND_VAR                                                 !2
         28        SEND_VAL                                                 0
         29        STRLEN                                           ~18     !2
         30        SUB                                              ~19     ~18, 1
         31        SEND_VAL                                                 ~19
         32        DO_ICALL                                         $20     
         33        ASSIGN_DIM                                               !0, !1
         34        OP_DATA                                                  $20
    9    35      > FE_RESET_RW                                      $21     !0, ->44
         36    > > FE_FETCH_RW                                              $21, !3, ->44
   10    37    >   INIT_FCALL                                               'str_replace'
         38        SEND_VAL                                                 '%5C%22'
         39        SEND_VAL                                                 '%22'
         40        SEND_VAR                                                 !3
         41        DO_ICALL                                         $22     
         42        ASSIGN                                                   !3, $22
    9    43      > JMP                                                      ->36
         44    >   FE_FREE                                                  $21
   13    45        INIT_FCALL                                               'print_r'
         46        SEND_VAR                                                 !0
         47        DO_ICALL                                                 
         48      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.23 ms | 1392 KiB | 25 Q