3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "q w e r t y"; $t = $s; do $t = str_replace(' ', ' ', $t, $count); while($count); echo $t;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/6AWIt
function name:  (null)
number of ops:  12
compiled vars:  !0 = $s, !1 = $t, !2 = $count
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'q+w++e+++r+++++t++++%0A%0A%0Ay'
    7     1        ASSIGN                                                   !1, !0
    8     2    >   INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '++'
          4        SEND_VAL                                                 '+'
          5        SEND_VAR                                                 !1
          6        SEND_REF                                                 !2
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
          9      > JMPNZ                                                    !2, ->2
    9    10    >   ECHO                                                     !1
   10    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.81 ms | 1394 KiB | 15 Q