3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<HTML Dear friends, I just wanted so Hello. How are you guys? I'm fine, thanks! Greetings, Bill HTML; echo preg_replace('/\R/', '<br />', $html);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Eub3H
function name:  (null)
number of ops:  8
compiled vars:  !0 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Dear+friends%2C+I+just+wanted+so+Hello.+How+are+you+guys%3F+I%27m+fine%2C+thanks%21%0A%0AGreetings%2C%0ABill'
   10     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5CR%2F'
          3        SEND_VAL                                                 '%3Cbr+%2F%3E'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.96 ms | 996 KiB | 14 Q