3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(str_replace(" \012", 't\0t', " \01234"));
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/FI8Zu
function name:  (null)
number of ops:  9
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'var_dump'
         1        INIT_FCALL                                               'str_replace'
         2        SEND_VAL                                                 '+%0A'
         3        SEND_VAL                                                 't%5C0t'
         4        SEND_VAL                                                 '+%0A34'
         5        DO_ICALL                                         $0      
         6        SEND_VAR                                                 $0
         7        DO_ICALL                                                 
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0