3v4l.org

run code in 300+ PHP versions simultaneously
<?php $in = '"A";"B";"C";"D";"E";;"{\"Name\":\"Richard B Mephisto\"}"'; $out = str_getcsv($in, ';', '"'); var_dump($out);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MUCBs
function name:  (null)
number of ops:  11
compiled vars:  !0 = $in, !1 = $out
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%22A%22%3B%22B%22%3B%22C%22%3B%22D%22%3B%22E%22%3B%3B%22%7B%5C%22Name%5C%22%3A%5C%22Richard+B+Mephisto%5C%22%7D%22'
    4     1        INIT_FCALL                                               'str_getcsv'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%3B'
          4        SEND_VAL                                                 '%22'
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    5     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.93 ms | 1385 KiB | 17 Q