Skip to content

Instantly share code, notes, and snippets.

@syossan27
Created June 3, 2014 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syossan27/d71e725c3ce9540be9d5 to your computer and use it in GitHub Desktop.
Save syossan27/d71e725c3ce9540be9d5 to your computer and use it in GitHub Desktop.
Laravel4.2+HHVMでのバグっぽい挙動 ref: http://qiita.com/syo/items/0a84d0c4d90e6b4a1bd1
protected function compileEchos($value)
{
// 引数の$valueをerror_logなどで確認すればよく分かる
$difference = strlen($this->contentTags[0]) - strlen($this->escapedTags[0]);
if ($difference > 0)
{
return $this->compileEscapedEchos($this->compileRegularEchos($value));
}
return $this->compileRegularEchos($this->compileEscapedEchos($value));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment