- print_r: documentation ( source)
- preg_grep: documentation ( source)
<?php
echo "Hi".PHP_EOL;
$order = array("Pre show 2013","JCK 2012","Pre show 2014","JCK 2014");
print_r($order);
echo PHP_EOL;
echo PHP_EOL;
print_r(preg_grep ("/$2014$/",$order));
echo PHP_EOL;