3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "Apr 21 08:45 AM,RediMed Northeast,15,2015-04-21 08:00:00.000,2015-04-21 08:04:00.000,2015-04-21 08:17:00.000,2015-04-21 08:17:00.000,90 minutes Apr 21 08:45 AM,RediMed North,14,2015-04-21 08:00:00.000,2015-04-21 08:22:00.000,2015-04-21 08:27:00.000,2015-04-21 00:00:00.000,90 minutes Apr 21 09:00 AM,RediMed Northeast,15,2015-04-21 08:00:00.000,2015-04-21 08:04:00.000,2015-04-21 08:17:00.000,2015-04-21 08:17:00.000,90 minutes Apr 21 09:00 AM,RediMed North,14,2015-04-21 08:00:00.000,2015-04-21 08:13:00.000,2015-04-21 08:17:00.000,2015-04-21 08:25:00.000,90 minutes"; $data = explode("\n", $data); $csv = array_map('str_getcsv', $data); foreach ($csv as $v) { print_r($v); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 17
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 17
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/97f3h
function name:  (null)
number of ops:  19
compiled vars:  !0 = $data, !1 = $csv, !2 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Apr+21+08%3A45+AM%2CRediMed+Northeast%2C15%2C2015-04-21+08%3A00%3A00.000%2C2015-04-21+08%3A04%3A00.000%2C2015-04-21+08%3A17%3A00.000%2C2015-04-21+08%3A17%3A00.000%2C90+minutes%0AApr+21+08%3A45+AM%2CRediMed+North%2C14%2C2015-04-21+08%3A00%3A00.000%2C2015-04-21+08%3A22%3A00.000%2C2015-04-21+08%3A27%3A00.000%2C2015-04-21+00%3A00%3A00.000%2C90+minutes%0AApr+21+09%3A00+AM%2CRediMed+Northeast%2C15%2C2015-04-21+08%3A00%3A00.000%2C2015-04-21+08%3A04%3A00.000%2C2015-04-21+08%3A17%3A00.000%2C2015-04-21+08%3A17%3A00.000%2C90+minutes%0AApr+21+09%3A00+AM%2CRediMed+North%2C14%2C2015-04-21+08%3A00%3A00.000%2C2015-04-21+08%3A13%3A00.000%2C2015-04-21+08%3A17%3A00.000%2C2015-04-21+08%3A25%3A00.000%2C90+minutes'
    8     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !0, $4
   10     6        INIT_FCALL                                               'array_map'
          7        SEND_VAL                                                 'str_getcsv'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !1, $6
   12    11      > FE_RESET_R                                       $8      !1, ->17
         12    > > FE_FETCH_R                                               $8, !2, ->17
   13    13    >   INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
   12    16      > JMP                                                      ->12
         17    >   FE_FREE                                                  $8
   15    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.95 ms | 1395 KiB | 19 Q