|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-01-12 06:58 UTC] cataphract@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 01:00:02 2025 UTC |
Description: ------------ I just installed the markdown pecl package with: sudo pecl install markdown channel://pecl.php.net/markdown-0.1.0 I tried to use the functions as described on the mkd.php file on the Examples directory. Reproduce code: --------------- <?php error_reporting(E_ALL | E_STRICT); echo Markdown::parseToString('a simple "string" to parse'); Expected result: ---------------- To run the string without problems, but I get the following error: Strict Standards: Non-static method Markdown::parseToString() should not be called statically in /home/jackbravo/work/mark.php on line 4 a simple ?string? to parse Actual result: -------------- a simple ?string? to parse