3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "あああああ\r\nああああ"; $lineSeparator = "/\n|\r\n/"; echo mb_ereg_replace($lineSeparator, "", $str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Gol7M
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str, !1 = $lineSeparator
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E3%81%82%E3%81%82%E3%81%82%E3%81%82%E3%81%82%0D%0A%E3%81%82%E3%81%82%E3%81%82%E3%81%82'
    3     1        ASSIGN                                                   !1, '%2F%0A%7C%0D%0A%2F'
    4     2        INIT_FCALL                                               'mb_ereg_replace'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ECHO                                                     $4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.1 ms | 1394 KiB | 15 Q