FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP functions to convert markup efficiently
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP functions to convert markup efficiently [message #183812 is a reply to message #183811] Thu, 21 November 2013 18:39 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
On 21/11/13 18:30, James Harris wrote:
> I am looking for a way to mark up text in a way that PHP would be able to
> efficiently and quickly convert to HTML.
>

mark the text up with HTML!


> I could either use an existing markup language or design a new one but I
> wanted to know of which PHP functions would be ideal to use to process it
> most efficiently. To a large extent that will guide the choice of markup
> tags if I have to design it myself.
>
> For example, it looks like I could choose between PHP's expand(), fgets()
> and regular expression handling.
>
> Of course, implemenations may differ slightly but, on average, are there
> certain PHP approaches that could be expected to be faster than others? What
> is the accepted wisdom?
>
> James
>
>


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: changing iframe source via php
Next Topic: converting numbers to ascii values
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 03 13:15:17 GMT 2024

Total time taken to generate the page: 0.04004 seconds