3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach (HM_Product_Sales_Report_Pro::getOrderFieldNames() as $orderField) { $orderFieldHtml = htmlspecialchars($orderField); $orderFieldFound = $orderFieldFound || $reportSettings['order_meta_filter_key'] == $orderField; echo("<option value=\"$orderFieldHtml\"".($reportSettings['order_meta_filter_key'] == $orderField ? ' selected="selected"' : '').">$orderFieldHtml</option>"); } });
based on 5Wvgj
Output for 7.0.28 - 7.3.0rc3
Parse error: syntax error, unexpected '}', expecting end of file in /in/Vte9k on line 8
Process exited with code 255.
Output for 5.6.38
Parse error: syntax error, unexpected '}' in /in/Vte9k on line 8
Process exited with code 255.