3v4l.org

run code in 500+ PHP versions simultaneously
<?php $txt = "22.300859182388606 -127.66133104264736 1528577039 22.30103320995603 -127.66234927624464 1528577041 22.300184137952726 -127.661628767848 1528577042 22.29943548054545 -127.66242001950741 1528577045"; $find = "22.300184137952726 -127.661628767848"; // third line Echo preg_replace("/". $find . ".*\n/", "", $txt);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aW14j
function name:  (null)
number of ops:  8
compiled vars:  !0 = $txt, !1 = $find
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '22.300859182388606+-127.66133104264736+1528577039%0A22.30103320995603+-127.66234927624464+1528577041%0A22.300184137952726+-127.661628767848+1528577042%0A22.29943548054545+-127.66242001950741+1528577045'
    9     1        ASSIGN                                                       !1, '22.300184137952726+-127.661628767848'
   11     2        CONCAT                                               ~4      '%2F', !1
          3        CONCAT                                               ~5      ~4, '.%2A%0A%2F'
          4        FRAMELESS_ICALL_3                preg_replace        ~6      ~5, ''
          5        OP_DATA                                                      !0
          6        ECHO                                                         ~6
          7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
186.2 ms | 2571 KiB | 13 Q