![]() |
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? |
All times are GMT. The time now is 01:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|