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/oj8IB
function name:  (null)
number of ops:  12
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        SEND_VAL                                                 '%5C'
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !1, $3
    5     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.58 ms | 1398 KiB | 17 Q