3v4l.org

run code in 300+ PHP versions simultaneously
<?php $csv = <<<CSV A;;1358;;20140725;1084;"Rick Kuipers";rick@thewebmen.com;"Hofstraat 105";7311KS;Apeldoorn;NLD;0.0000;0.0000;0.0000;85.0000;85;85;CC37843;"Bon Soigné";"Hofstraat 105";7311KS;Apeldoorn;NLD;;;;; B;1358;1;10712;3;18.6000;55.7900;21.0000;11.7100;67.5000;;;;;;;;;;;;;;;;;;; B;1358;2;10643;1;14.4600;14.4600;21.0000;3.0400;17.5000;;;;;;;;;;;;;;;;;;; CSV; $csv = explode("\n", $csv); foreach ($csv as $row) { echo count(explode(';', $row)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/XVuFG
function name:  (null)
number of ops:  17
compiled vars:  !0 = $csv, !1 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'A%3B%3B1358%3B%3B20140725%3B1084%3B%22Rick+Kuipers%22%3Brick%40thewebmen.com%3B%22Hofstraat+105%22%3B7311KS%3BApeldoorn%3BNLD%3B0.0000%3B0.0000%3B0.0000%3B85.0000%3B85%3B85%3BCC37843%3B%22Bon+Soign%C3%A9%22%3B%22Hofstraat+105%22%3B7311KS%3BApeldoorn%3BNLD%3B%3B%3B%3B%3B%0AB%3B1358%3B1%3B10712%3B3%3B18.6000%3B55.7900%3B21.0000%3B11.7100%3B67.5000%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%0AB%3B1358%3B2%3B10643%3B1%3B14.4600%3B14.4600%3B21.0000%3B3.0400%3B17.5000%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B%3B'
    9     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
   11     6      > FE_RESET_R                                       $5      !0, ->15
          7    > > FE_FETCH_R                                               $5, !1, ->15
   12     8    >   INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%3B'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12        COUNT                                            ~7      $6
         13        ECHO                                                     ~7
   11    14      > JMP                                                      ->7
         15    >   FE_FREE                                                  $5
   13    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.33 ms | 1395 KiB | 15 Q