3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Name1: qqqq wwww eeee rrrr Name2: rrrr tttt yyyy name3: iiii oooo pppp aaaa name4: ssss dddd ffff gggg name5: hhhh jjjj kkkk'; Echo str_replace(PHP_EOL, "." . PHP_EOL, $str) . ".";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oi1HG
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Name1%3A+qqqq+wwww+eeee+rrrr%0AName2%3A+rrrr+tttt+yyyy%0Aname3%3A+iiii+oooo+pppp+aaaa%0Aname4%3A+ssss+dddd+ffff+gggg%0Aname5%3A+hhhh+jjjj+kkkk'
    9     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAL                                                 '.%0A'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        CONCAT                                           ~3      $2, '.'
          7        ECHO                                                     ~3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.36 ms | 1000 KiB | 14 Q