3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('/ru\.www\./', 'ru.', 'ru.www.gorgany.com');
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/WHMnQ
function name:  (null)
number of ops:  7
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'preg_replace'
         1        SEND_VAL                                                 '%2Fru%5C.www%5C.%2F'
         2        SEND_VAL                                                 'ru.'
         3        SEND_VAL                                                 'ru.www.gorgany.com'
         4        DO_ICALL                                         $0      
         5        ECHO                                                     $0
         6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0