tecnickcom/TCPDF — pull request #9 by evtuhovdo (2014-12-09 06:54:23+00:00)
Title: Fix calling protected method in register_shutdown_function.

Now it rase Exception.

(Registered shutdown functions) Unable to call TCPDF::_destroyAll() - function does not exist
Best way use:
register_shutdown_function(array($this, '_destroy'), true);