How can I debug a segmentation fault when running php script with hhvm? When I run it, I get:
Core dumped: Segmentation fault
Segmentation fault
In stacktrace I get that it error when I call a method of the same object.
Is there any code analyzer that might tell me wrong php code or somehow to get more verbose on errors or stack trace?
When I use
$r = mysql_query($sql, $link); //crashes
$r = mysql_query($sql); //does not crash