3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = 'one //There are spaces here two '; $row = explode(PHP_EOL,$row); $row = $row[0]; preg_match('/( +)$/',$row,$matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RNC1B
function name:  (null)
number of ops:  14
compiled vars:  !0 = $row, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'one++++++++%2F%2FThere+are+spaces+here%0Atwo++'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
    5     6        FETCH_DIM_R                                      ~5      !0, 0
          7        ASSIGN                                                   !0, ~5
    6     8        INIT_FCALL                                               'preg_match'
          9        SEND_VAL                                                 '%2F%28+%2B%29%24%2F'
         10        SEND_VAR                                                 !0
         11        SEND_REF                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.74 ms | 1394 KiB | 17 Q