3v4l.org

run code in 300+ PHP versions simultaneously
<?php $note = "センター断裁\\r\\n工場出力不可"; $arr_note = str_replace(array('\r\n', '\r'),'\n', $note); $arr_note = explode('\n', $arr_note); print_r( $note ); print_r( $arr_note );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMteU
function name:  (null)
number of ops:  19
compiled vars:  !0 = $note, !1 = $arr_note
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E3%82%BB%E3%83%B3%E3%82%BF%E3%83%BC%E6%96%AD%E8%A3%81%5Cr%5Cn%E5%B7%A5%E5%A0%B4%E5%87%BA%E5%8A%9B%E4%B8%8D%E5%8F%AF'
    3     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 <array>
          3        SEND_VAL                                                 '%5Cn'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    4     7        INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '%5Cn'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    6    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
    7    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140 ms | 999 KiB | 16 Q