3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Bronue MySql Injection foreach( $_POST AS $key => $value ) { if( is_array( $value ) ) { foreach( $value AS $innerKey => $innerValue ) { $_POST[ $key ][ $innerKey ] = addslashes( stripslashes( $innerValue ) ); } } else { $_POST[ $key ] = addslashes( mysql_real_escape_string( $value ) ); } } ?>
Output for 4.3.0 - 7.1.0