3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "asd asd cxv fgg fds fda "; $strArray = explode(PHP_EOL, $str); print_r(preg_replace('/^(?:.* )?(.*)$/m', '$1', $str));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hGfm8
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str, !1 = $strArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'asd+asd%0Acxv+fgg%0Afds+fda%0A'
    8     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    9     6        INIT_FCALL                                               'print_r'
          7        INIT_FCALL                                               'preg_replace'
          8        SEND_VAL                                                 '%2F%5E%28%3F%3A.%2A+%29%3F%28.%2A%29%24%2Fm'
          9        SEND_VAL                                                 '%241'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.52 ms | 1394 KiB | 19 Q