question about <<<EOF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

i want on inner EOF do something, calculate and call function ? can not ? if 
yes, how to ?

<?
echo <<<EOF
some text....
can i calculate on inner EOF ? 10*100 display 1000 ?
can i add function on inner EOF ? date('Y') display 2008 ?
any more text.
EOF;
//i want output is
/*
some text....
can i calculate on inner EOF ? 1000 display 1000 ?
can i add function on inner EOF ? 2008 display 2008 ?
any more text.
*/
?>

Thank You. 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux