3v4l.org

run code in 500+ PHP versions simultaneously
<?php //$dom = new DOMDocument(); // //$file = file_get_contents(__DIR__ . '/test.xml'); //$dom->loadXML($file, LIBXML_NOWARNING); // //$xpath = new DOMXPath($dom); //$xpath->registerNamespace('soap', 'http://schemas.xmlsoap.org/soap/envelope/'); //$result = $xpath->query('//soap:Body/*')->item(0); // //file_put_contents(__DIR__ . '/update2.xml', $dom->saveXML($result)); $input = "test 124 gdfjg hdfg df"; echo str_replace(['124', 'gdfgdfg'], '', $input);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e58r4
function name:  (null)
number of ops:  5
compiled vars:  !0 = $input
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   14     0  E >   ASSIGN                                                       !0, 'test+124+gdfjg+hdfg+df'
   16     1        FRAMELESS_ICALL_3                str_replace         ~2      <array>, ''
          2        OP_DATA                                                      !0
          3        ECHO                                                         ~2
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.21 ms | 770 KiB | 8 Q