3v4l.org

run code in 500+ PHP versions simultaneously
<?php // What about an object? $option = new stdClass; $value = str_replace( ' ', "\n", $option );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/poqHP
function name:  (null)
number of ops:  7
compiled vars:  !0 = $option, !1 = $value
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   NEW                                                  $2      'stdClass'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $2
    5     3        FRAMELESS_ICALL_3                str_replace         ~5      '+', '%0A'
          4        OP_DATA                                                      !0
          5        ASSIGN                                                       !1, ~5
          6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.27 ms | 3375 KiB | 13 Q