3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $amount = 5; $stuff = '<div><div class="rev_slider_2_2_wrapper"></div><i id="rev_slider_2_2_wrapper"></i></div>'; preg_replace( '~rev_slider_(\d)_(\d)_wrapper~ui', $stuff, $amount ); print_r( $stuff ); print_r( $args );
Output for 5.0.4 - 7.1.0
<div><div class="rev_slider_2_2_wrapper"></div><i id="rev_slider_2_2_wrapper"></i></div> Notice: Undefined variable: args in /in/IkTbH on line 11
Output for 4.3.0 - 5.0.3
<div><div class="rev_slider_2_2_wrapper"></div><i id="rev_slider_2_2_wrapper"></i></div> Notice: Undefined variable: args in /in/IkTbH on line 11