3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '=> '.preg_replace('', '', "a \033[0;31mred\033[0m color").' <=';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fZUfk
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 ''
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 'a+%1B%5B0%3B31mred%1B%5B0m+color'
          4        DO_ICALL                                         $0      
          5        CONCAT                                           ~1      '%3D%3E+', $0
          6        CONCAT                                           ~2      ~1, '+%3C%3D'
          7        ECHO                                                     ~2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.11 ms | 1385 KiB | 15 Q