The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Is there a CDATA/qq equivalent for PHP?
CDATA in XML is basically an enclosure tag (like quote or double quote), except that it tells the parser not to parse anything within the enclosure. I come from a PERL background, and in perl I use something very similar with the qq()pp quote like operators.
Now I'm wondering if there is some sort of equivalent in PHP? Code:
$dm->set('svcThumb', "preg_match('/[\w+%.-]*'.\$feed['serviceVAL'].'([\w]*)[\w+%.-]*/i',\$arr['ROW']['embed'],\$match);\$thu='http://img1.megavideo.com/'.\$match[1].'.jpg';"); With the code above in PHP, you can see that I have to comment out a lot of things to get it to read. I would prefer not to have to do that. Is there any solution? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|