presentations/highlight-js/test/markup/php/comments.txt

20 lines
245 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
<?php
/**
* @param int $a
* @return bool
*/
function isEven($a) {
return ($a % 2) === 0;
}
/**
* TODO: Rely on isEven, but do not highlight bug.
*
* @param int $a
* @return bool
*/
function isOdd($a) {
return ($a % 2) === 1;
}