3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Text = "There is a pleasure in the pathless woods, There is a rapture on the lonely shore, There is society, where none intrudes."; $Text=trim($Text); $Text=preg_replace("/[\r\n]+/", "\n", $Text); echo $Text;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VuVFq
function name:  (null)
number of ops:  13
compiled vars:  !0 = $Text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'There+is+a+pleasure+in+the+pathless+woods%2C%0A%0A%0AThere+is+a+rapture+on+the+lonely+shore%2C%0A%0A%0AThere+is+society%2C+where+none+intrudes.'
   13     1        INIT_FCALL                                               'trim'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
   14     5        INIT_FCALL                                               'preg_replace'
          6        SEND_VAL                                                 '%2F%5B%0D%0A%5D%2B%2F'
          7        SEND_VAL                                                 '%0A'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
   16    11        ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.29 ms | 1394 KiB | 17 Q