<?php $string = "//define('ID', '');"; $tokens = token_get_all("<?php $string"); if ($tokens[1][0] == T_COMMENT) { echo 'comment'; } else { echo 'nope'; }
You have javascript disabled. You will not be able to edit any code.