3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $search_term = 'test';//mysql_real_escape_string($_POST["search_box"]); $cols = ['First_Name', 'Last_Name', 'Phone', 'Email', 'Address']; echo($search_term);
based on EE2XT
Output for 5.4.2 - 7.2.0
test
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/LlPKQ on line 3
Process exited with code 255.