3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = "❤"; $line = "test1❤test2❤test3"; $header = str_getcsv($line, $test); var_dump($header);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ohc4Q
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test, !1 = $line, !2 = $header
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%E2%9D%A4'
    5     1        ASSIGN                                                   !1, 'test1%E2%9D%A4test2%E2%9D%A4test3'
    6     2        INIT_FCALL                                               'str_getcsv'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    7     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.1 ms | 1394 KiB | 17 Q