3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
128.53 ms | 1398 KiB | 19 Q