[pkg-php-pear] Bug#877513: php-markdown: Not working in PHP7 for deprecated Markdown_Parser construct
valerio.bozzolan at gmail.com
Mon Oct 2 13:08:42 UTC 2017
I noticed that this library can't be used as-is in PHP7 (shipped with actual Debian stable Stretch) because of it throws a PHP warning:
> Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor in /usr/share/php/markdown.php on line 191.
I don't know why there was that Java-like construct, anyway this is yet reported and fixed upstream:
Just sobstituting 'function Markdown_Parser' to `function __construct` would be fine.
Thanks for your time :)
More information about the pkg-php-pear