3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Anil kumar\r\nAhmedabad\r\nAhmedabad,Goa - 380015, India"; $order = array("\r\n", "\n", "\r"); $order1 = array("<br />", "<br />", "<br />"); echo str_replace($order, $order1, $HotArr['billaddress'])."<br />";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Qj6t
function name:  (null)
number of ops:  12
compiled vars:  !0 = $str, !1 = $order, !2 = $order1, !3 = $HotArr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Anil+kumar%0D%0AAhmedabad%0D%0AAhmedabad%2CGoa+-+380015%2C+India'
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    6     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !2
          6        FETCH_DIM_R                                      ~7      !3, 'billaddress'
          7        SEND_VAL                                                 ~7
          8        DO_ICALL                                         $8      
          9        CONCAT                                           ~9      $8, '%3Cbr+%2F%3E'
         10        ECHO                                                     ~9
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.38 ms | 1394 KiB | 15 Q