3v4l.org

run code in 500+ PHP versions simultaneously
<?php $s = "q w e r t y"; $t = preg_replace('/\s+/', ' ', $s); print($t);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z6LWI
function name:  (null)
number of ops:  6
compiled vars:  !0 = $s, !1 = $t
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'q+w++e+++r+++++t++++%0A%0A%0Ay'
    7     1        FRAMELESS_ICALL_3                preg_replace        ~3      '%2F%5Cs%2B%2F', '+'
          2        OP_DATA                                                      !0
          3        ASSIGN                                                       !1, ~3
    8     4        ECHO                                                         !1
          5      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.55 ms | 1988 KiB | 13 Q