3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "yes:".preg_replace("/phpinfo();#|apple/e","phpinfo();#|apple/e","apple"); ?>
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/KJUD5
function name:  (null)
number of ops:  8
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'preg_replace'
         1        SEND_VAL                                                 '%2Fphpinfo%28%29%3B%23%7Capple%2Fe'
         2        SEND_VAL                                                 'phpinfo%28%29%3B%23%7Capple%2Fe'
         3        SEND_VAL                                                 'apple'
         4        DO_ICALL                                         $0      
         5        CONCAT                                           ~1      'yes%3A', $0
         6        ECHO                                                     ~1
         7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0