In 2013 I briefly contracted for a PHP shop. The hiring manager would invite people in for an interview and present them with the following code:
mysql_query('
INSERT INTO `products` (`name`, `descriptions`, `price`)
VALUES ( '.$_GET["name"].', '.$_GET["description"].', '.$_GET["price"].');
');
Then he would ask, "how do you feel about that?" He claimed this question weeded out a lot of potential candidates.