Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
emirb committed Nov 10, 2017
1 parent 40e25be commit dce1a16
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ public static function tokenize($source)
*/
private static function doTokenize($source)
{
if (version_compare(phpversion(), '5.3.0alpha3') < 0)
if (version_compare(phpversion(), '5.3.0alpha3') < 0) {
ini_set('track_errors', 'on');
}

$php_errormsg = null;

$tokens = @token_get_all($source);
Expand Down

0 comments on commit dce1a16

Please sign in to comment.