3v4l.org

run code in 500+ PHP versions simultaneously
<?php $utf_1 = chr(0xD1) . chr(0x81); // U+0440; $utf_2 = chr(0xD8) . chr(0x80); // U+0600 $string = '"first #' . $utf_1 . $utf_2 . '";"second one"'; $d = str_getcsv($string, ';', '"', "#"); print_r($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QZJSC
function name:  (null)
number of ops:  17
compiled vars:  !0 = $utf_1, !1 = $utf_2, !2 = $string, !3 = $d
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%D1%81'
    4     1        ASSIGN                                                       !1, '%D8%80'
    6     2        CONCAT                                               ~6      '%22first+%23', !0
          3        CONCAT                                               ~7      ~6, !1
          4        CONCAT                                               ~8      ~7, '%22%3B%22second+one%22'
          5        ASSIGN                                                       !2, ~8
    7     6        INIT_FCALL                                                   'str_getcsv'
          7        SEND_VAR                                                     !2
          8        SEND_VAL                                                     '%3B'
          9        SEND_VAL                                                     '%22'
         10        SEND_VAL                                                     '%23'
         11        DO_ICALL                                             $10     
         12        ASSIGN                                                       !3, $10
    8    13        INIT_FCALL                                                   'print_r'
         14        SEND_VAR                                                     !3
         15        DO_ICALL                                                     
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.01 ms | 2244 KiB | 15 Q